Sunday, December 06, 2009

latex tips

suppress the page number in latex

http://people.csail.mit.edu/jrennie/latex/

\thispagestyle{empty}

right alignment in latex

http://www.personal.ceu.hu/tex/environ.htm

flushright

 \begin{flushright}  Text on line 1 \\  Text on line 2 \\  . . .  \end{flushright} 
The flushright environment allows you to create a paragraph consisting of lines that are flushed right to the right-hand margin. Each line must be terminated with the string \\.




http://web.science.mq.edu.au/~rdale/resources/writingnotes/latexstyle.html

Paragraph Indenting and Spacing: By default, LaTeX indents each paragraph. If you don't like this and want to suppress paragraph indenting, you also have to increase the spacing between paragraphs so that paragraph boundaries are clear. Putting the following two lines in the preamble of your document (i.e., between the \documentstyle line and the\begin{document} line) will get you what you want:
\setlength{\parindent}{0.0in}
\setlength{\parskip}{0.1in}

No comments: