Penguin

Differences between version 4 and predecessor to the previous major change of LaTeXNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 4 Last edited on Monday, August 22, 2005 12:15:43 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,40 @@
 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 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.