Differences between version 5 and revision by previous author of LaTeXNotes.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Tuesday, October 25, 2005 10:39:49 pm | by JohnMcPherson | Revert |
Older page: | version 3 | Last edited on Wednesday, August 13, 2003 9:02:51 pm | by StuartYeates | Revert |
@@ -1,15 +1,54 @@
Notes on making the LaTeX markup language do what you want it to do.
-* [LaTeXpdf] How to make
LaTeX output nice pdf files
+* 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>
- \newcommand
{\formatnumber
}[[1
]{
- \ifnum#1=0
{\bf zero
} \else
- \ifnum#1<2
{\bf one
} \else
-
{\bf two or more
}\fi
- \fi
- }
+!! Error message - "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.
+
+!!Relative Include (<tt>\input</tt>) Paths
+See the LatexMakefiles page.
+
+!!Arbitrary Angles
+<verbatim>
+ \usepackage
{rotating
}
+ ...
+ \begin
{turn
}{90
}%
+ vertical
+ \end{turn
}
+</verbatim>
+see /usr/share/doc/tetex-''version''/latex/rotating/examples.tex if you have the tetex-doc package installed.
+
+----
+See also LatexWordcount.