parsed.org

Tips by tag: latex

You can use the convert program (included with imagemagick) to convert a LaTeX file to an image:

$ convert -density 144 -geometry 100% source.dvi dest.jpeg
commandsconvertdviimageimagemagicklatextextypesetting
Document structure by cygnus on Jan 12, 2005 10:40 AM

This is the format for a basic LaTeX document:

documentclass{article}
\begin{document}
...
end{document}
documentlatextextypesetting
Paragraph Indentation by cygnus on Jan 16, 2005 02:22 PM

You can turn off paragraph indentation (which is on by default) and increase the space between paragraphs to indicate where they begin and end:

\setlength{\parindent}{0.0in}
\setlength{\parskip}{0.1in}
documentindentationlatextextypesetting
Typesetting an equation listing by cygnus on Jan 12, 2005 10:42 AM

Use the eqnarray environment to typeset a list of equations:

\begin{eqnarray}
... \
... \
...
end{eqnarray}

(No $$ or $ is required to typeset the equations.)

documentequationslatexmathtextypesetting
Typesetting math by cygnus on Jan 12, 2005 10:41 AM

Inline:

$x^2 = y$

Block-level:

$$sum_{i=1}^{n} {i}$$
documentequationslatexmathtextypesetting
RSS