latex2pdf
missing. So some underlying MacTeX components went missing in the upgrade from Tiger to Leopard.The solution was to (re)install MacTeX from the site. The catch being that the
.dmg
is 744M.
Spend time Googling for that perfect LaTeX incantation only to forget it six weeks later? Same here.
latex2pdf
missing. So some underlying MacTeX components went missing in the upgrade from Tiger to Leopard..dmg
is 744M.
inputenc
correctly. But different languages style and space punctuation and other typographic elements differently. The LaTeX babel
package and the \selectlanguage
command account for typographic differences between languages.
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[german, french, english]{babel}
\begin{document}
\begin{enumerate}
\item \selectlanguage{english} Taken together ...
\item \selectlanguage{french} Cette combinaison ...
\item \selectlanguage{german}Zusammen ...
\end{enumerate}
\end{document}
inputenc
and babel
packages. And repeated calls to the \selectlanguage
command inline.geometry
package initializes LaTeX tabloid landscape documents in one line.
\documentclass[10pt]{article}
\usepackage[papersize={17in, 11in}]{geometry}
\begin{document}
This document is in tabloid landscape.
\end{document}
\documentclass[10pt]{article}
\begin{document}
`Curiouser and curiouser!' cried Alice ...
\end{document}
setspace
package implements \setstretch
.
\documentclass[10pt]{article}
\usepackage{setspace}
\setstretch{1.4}
\begin{document}
`Curiouser and curiouser!' cried Alice ...
\end{document}
\documentclass[10pt]{article}
\begin{document}
\begin{list}{ }{ }
\item Whan that Aprille with his Shoures soote ...
\item \textsf{Whan that Aprille with his Shoures soote ...}
\item \texttt{Whan that Aprille with his Shoures soote ...}
\end{list}
\end{document}
palatino
package changes all three font families.
\documentclass[10pt]{article}
\usepackage{palatino}
\begin{document}
\begin{list}{ }{ }
\item Whan that Aprille with his Shoures soote ...
\item \textsf{Whan that Aprille with his Shoures soote ...}
\item \texttt{Whan that Aprille with his Shoures soote ...}
\end{list}
\end{document}
palatino
do not exist for all fonts.lilypond-book
LaTeX
file contains these four lines.
\documentclass[10pt]{article}
\begin{document}
hello!
\end{document}
lilypond-book
file contains these seven lines.
\documentclass[10pt]{article}
\begin{document}
hello!
\begin{lilypond}
\new Staff { c'4 }
\end{lilypond}
\end{document}
lilypond
context inserts in .tex
documents directly.lilypond-book
docs like this.
lilypond-book --pdf --output=out test.tex
cd out
pdflatex test.tex
open test.pdf
lilypond-book
with the --pdf
option tells lilypond-book
to generate a postprocessed version of test.tex
named test.tex
together with a number of helper files necessary to create some final .pdf
.lilypond-book
with the --pdf
option does not tell lilypond-book
to create a .pdf
directly; further processing with pdflatex
is still required.