Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
LaTeXNotes
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
Notes on making the LaTeX markup language do what you want it to do. * use pdflatex(1) to create [PDF] files. See the [PdfLatexNotes] page for more. ** alternately, you could use [LaTeXpdf] (which is a different method for making PDFs from LaTeX). * [Here|http://www.giss.nasa.gov/latex/] is a really good online HTML doc about LaTeX commands ---- Here is a command that lets you do different things with numbers depending on their magnitude. <verbatim> \newcommand{\formatnumber}[[1]{ \ifnum#1=0 {\bf zero} \else \ifnum#1<2 {\bf one} \else {\bf two or more}\fi \fi } </verbatim> ---- !!! Error messages !!Float(s) lost <verbatim> ! LaTeX Error: Float(s) lost. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.2085 \end{figure} ? [34] ! LaTeX Error: This may be a LaTeX bug. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. </verbatim> I got this message when I had a figure at the start of a <tt>\subsection</tt> with no text before it. Moving the figure down a bit so that some text appeared before it in the input file fixed this.
2 pages link to
LaTeXNotes
:
UserSubmittedNotes
LaTeX