I'm using \docummentclass{amsart}and when using \section it prints it out in the center of the line how to make it on left I used \begin{flushleft} \section \end{flushlef} but it didn't work.
122882
I use a LaTeX template which center aligns all section titles. I want to left align these section titles but I do not know how. I tried  \begin{flushleft} \section{\textbf{Introduction and Background}} \end{flushleft}   but it has no effect on the section title (i.e., it is still centered). I tried   \begin{flushleft} \textbf{Introduction and Background} \end{flushleft}   and it is left aligned the word "Introduction and Background" but it is no longer a section title and thus the numbering using section number are all messed up.   I am new to LaTeX so please keep it simple.
52962
I am using documentclass moderncv to style my resume, and I'd like to put the information that normally goes at the bottom of the document, such as phone number and email, to the space next to the name aligned on the left of the document. I'm a beginnner user, so I'd love to get some enlightenment on this.  \documentclass[11pt,letterpaper,sans]{moderncv}  % moderncv themes \moderncvstyle{casual} \moderncvcolor{blue} \usepackage[scale=0.75]{geometry}  % personal data \firstname{John} \familyname{Doe} \mobile{+1~(234)~567~890}  % content  \begin{document} \makecvtitle \pagestyle{empty}  \section{Education} \cventry{1998-2007}{Degree}{Institution}{City}{\textit{Grade}}{Description}   \section{Computer skills}  \thispagestyle{plain} \end{document}    Simply put, I want to move \mobile from the bottom to the top left.
86041
As a documentclass I use book. Chapters always start on the right hand side.  How can I turn it off? I don't want to have empty pages. I don't care on which side starts  new chapter.
41808
Under TeX, when I write a line too long, it prints a fat black box at the end of the line.  That is probably a feature, but I dislike it.  How to turn that OFF? Is there a command-line option or something else?   I usually use LaTeX, but I have a complicated file which happens to be plain TeX.
26672
I found this program and I was wondering how can I add on a left brace as in the systeme package or in the cases environment? Also is it possible to left align the right-hand side of the equal sign ?  \documentclass{article} \usepackage{amsmath} \begin{document} \begin{alignat*}{4}    2x &amp; {}+{} &amp;  y &amp; {}+{} &amp; 3z &amp; {}={} &amp; 10 \\     x &amp; {}+{} &amp;  y &amp; {}+{} &amp;  z &amp; {}={} &amp;  6 \\     x &amp; {}+{} &amp; 3y &amp; {}+{} &amp; 2z &amp; {}={} &amp; 13 \end{alignat*} \end{document}
84507
I am writing a small KOMA-Script scrartcl document with multiple sections. In the table of contents, LaTeX fills the current line with dots between the end of the section name and the page number. Is there any way to customize this behavior? I would like to reduce the space between the single dots (i.e. use more dots in the same space).
109646
I want to put the section title in the left margin using titlesec. However, it results to a superfluous empty line when using list environment. How should I remove it without using vspace?  Minimal example:  \documentclass{article}  \usepackage{geometry} \geometry{   a4paper,   top=2cm,   bottom=2cm,   left=4.5cm,   right=1.5cm, }  \usepackage{titlesec} \titleformat{\section}[leftmargin]{\large\scshape\sffamily}{}{0cm}{} \titlespacing{\section}{2.5cm}{2ex}{0.5cm}  \usepackage{enumitem}  \usepackage{mwe}  \begin{document}  \section{Section A}  This line is aligned with the section title.  \blindtext  \section{Section B}  \begin{itemize}[nosep]   \item This line is not aligned with the section title. \end{itemize}  \end{document}
121388
How can I get the details and transpose it to horizontal form? Every record ends after Couse. Couse will never be blank or null. Note: These four headers will be there for the below data: Name, City, Age, Couse If you see the second record, there isn't any &quot;Name&quot;: &quot;&quot; -&gt; missing so it should be null in place of that and the remaining will be appended after that with a pipe separated like this:     null                | Ors  | 11 | MB I have data like below in the demo.txt file &quot;Name&quot;:&quot;asxadadad  ,aaf dsf&quot; &quot;City&quot;:&quot;Mum&quot; &quot;Age&quot;:&quot;23&quot; &quot;Couse&quot;:&quot;BBS&quot; &quot;City&quot;:&quot;Ors&quot; &quot;Age&quot;:&quot;11&quot; &quot;Couse&quot;:&quot;MB&quot; &quot;Name&quot;:&quot;adad sf&quot; &quot;City&quot;:&quot;Kol&quot; &quot;Age&quot;:&quot;21&quot; &quot;Couse&quot;:&quot;BB&quot; &quot;Name&quot;:&quot;pqr&quot; &quot;Age&quot;:&quot;21&quot; &quot;Couse&quot;:&quot;NN&quot;  Expected Output: asxadadad  ,aaf dsf | Mum  | 23 | BBS null                | Ors  | 11 | MB adad sf             | Kol  | 21 | BB pqr                 | null | 21 | NN  I tried the below code: but not working my logic counter=0 var_0='Couse'   while read -r line     echo &quot;$line&quot;     counter=$(( counter + 1 ))     var_1=`echo &quot;$line&quot; | grep -oh &quot;Couse&quot;`     if [ $var_0 == $var_1 ]    then         head -$counter demo.txt &gt; temp.txt         sed -i '1,$counter' demo.txt         counter = 0    else         echo &quot;No thing to do&quot;    fi   done &lt; demo.txt
5087
I have a figure that is wider than the \textwidth of my document. (I don't want to change the \textwidth.) As a result, the leftmost part of the figure is flush with the left margin, while the rightmost part spills into the right margin too much. I'd like to center the figure, so that it will exceed the \textwidth equally on both sides.
30899
I'm trying to create a toc in a large Latex document which uses the KOMA script.  In the toc I would like to center the parts and remove all other components (pagenumber, partnumber). I use tocloft (a hard requirement for other reasons).  While I managed to remove the pagenumber, the partnumber is still there and the parts are very much on the right site instead of being centered.  A simplified example is:  \documentclass{scrbook} \usepackage[ngerman]{babel}  \usepackage{lipsum}  \usepackage{tocloft} \renewcommand{\cftpartfont}{\hfill\Large\bfseries} \renewcommand{\cftpartaftersnum}{\hfill} \addtocontents{toc}{\cftpagenumbersoff{part}}  \begin{document} \tableofcontents \part{A} \section{a} \lipsum \part{B} \section{b} \lipsum  \end{document}   I have adapted the commands for the centering from an example of the tocloft manual, where      \renewcommand{\cftZtitlefont}{\hfill\Large\bfseries} together with   \renewcommand{\cftafterZtitle}{\hfill} will give a centered Large   bold title.   was used to center the title (instead of the parts).   So my question, how can I center the parts and remove the partnumber?
108496
I am trying to use the titlesec package to achieve this but I'm not certain as to what the syntax should be...  \usepackage{titlesec}  \newcommand{\centeredsection}{\titleformat{\section}{\centering}}   Thanks for your help.
24643
My LaTeX document is acting strangely. Here is a simplified version of it:  \documentclass{article}  \begin{document}  \tableofcontents \newpage  \addcontentsline{toc}{part}{A Part of My Document} \include{includedfile}  \end{document}   And in includedfile.tex:  \section{My Section Title} Quack.   Clearly, in the table of contents, the heading for the part should precede the one for the section, but it doesn't! What's wrong?
105092
I've been trying to create the 7 I'm used to writing by hand in LaTeX with a horizontal line through the middle. This seems like it should be a simple thing to do, but I don't see any native support for this. This is the look I am trying to get:
9471
I can't get my code to do what I want. I'm working in beamer and I want to position my figure on the left side of the frame and the text next to it, but I would like to work with alineas in my text. Here's my latest attempt:  \documentclass{beamer}   \usetheme{Madrid}    \usepackage[dutch]{babel}   \usepackage{curvedarrows}   \usepackage{cutwin}   \usepackage{lipsum}   \usepackage[3D]{movie15}   \def\leq{\leqslant}   \def\geq{\geqslant}     \title{De regel van Horner: \\ Een vleugje geschiedenis}   \date{}    \begin{document}  \addtocounter{framenumber}{-1}    \begin{frame}[plain]     \titlepage   \end{frame}    \begin{frame}          \begin{tabular}{cl}              \includegraphics[height=5cm, width=3.5cm]{horner} &amp; bla bla       *here I want to start a new alinea, so in my second column* bla bla            \end{tabular}       \end{frame}  \end{document}
100280
I used the ‎\documentclass[11pt,twoside,fleqn]{book}‎ for set formulas left, but I want to put formulas to center in some cases like original type without [fleqn]. What command do I use? %%%%%%%%%%%%%% ‎  \documentclass[11pt,twoside,fleqn]{book}‎‎ ‎‎\usepackage{amsmath,amsfonts,amssymb,amsthm}‎ \begin{document} ‎\begin{align*}‎‎%This is in left  ‎y=f(x) ‎\end{align*}‎‎ \begin{align*}‎‎%This should be at the center \centering ‎y=g(x) ‎\end{align*}‎ \end{document}
47888
\section{last paragraph} Here are some words in the last paragraph. Now a figure is inserted below. \begin{figure}[H] \centering \includegraphics[width=5cm]{...jpg} \caption[Example .]{.,,} \label{...} \end{figure} Now I want to start a new line after this figure. But there is always indentation at the begining. How to delete this indentation?   Here is the complied result:   I add the usage exmaple:  \documentclass[a4paper,12pt]{article}  \usepackage[english]{babel} \usepackage{graphicx} \usepackage{float}  \begin{document} \section{Paragraph} Here are some words in the last paragraph. Now a figure is inserted below. \begin{figure}[H] \caption{A picture of a gull.} \centering \includegraphics[width=0.5\textwidth]{Penguins.jpg} \end{figure} Now I want to start a new line after this figure. But there is always indentation at the begining. How to delete this indentation? \end{document}   Here is the compiled result:
5012
If your document use itemize a lot of time, you are likely to get fed up putting \begin{}...\end{}. Is there any better way to do this? Something like a org mode of emacs use or lyx use?