\usepackage[normalem]{ulem} % Part of the standard distribution ... \uwave{text goes here}
\usepackage[normalem]{ulem} % Part of the standard distribution ... \sout{text goes here}
For math mode,
\usepackage{cancel} % Part of the standard distribution ... \cancel{math text goes here}
\usepackage{fontspec} \setmainfont{Arial Unicode} % For exampleThis also works for OpenType fonts (OTF), which is a superior format.
The above command sets that font for the entire document. If you want to use a special font for just a snippet of text, do the following:
\usepackage{fontspec} \newfontfamily\myfont{Arial Unicode} ... Foo \myfont{bar} baz
\usepackage[osf]{mathpazo} % Mathpazo package includes accompanying math fonts
\usepackage{tree-dvips} ... \node{the}{the} \node{dog}{dog} \node{eats}{eats} \node{food}{food} \anodecurve[t]{the}{dog}{1.1em} \anodecurve[t]{eats}{the}{1.8em} \anodecurve[t]{eats}{food}{1.2em}
\DeclareMathOperator*{\argmax}{arg\,max} % In your preamble ... \argmax_{...} % In your formula
\def\Tiny{ \font\Tinyfont = cmr10 at 3pt \relax \Tinyfont}Now you can use {\Tiny ... }. Replace the 3pt with any positive real-numbered value as you see fit. Unfortunately this only uses Computer Modern fonts with the roman typeface.
A less robust, but more elegant solution is to put the following command in your preamble:
\def\Tiny{\fontsize{5pt}{5pt} \selectfont}The usage is the same as before, but this only scales down to 5pt. It works with most fonts. You can use the type1cm package for smaller sizes.
A really robust, but very different way is to use the \scalebox command from the graphicx package:
\usepackage{graphicx} % In your preamble. ... \scalebox{0.20}{Really small text here}You could of course define a macro in your preamble using this:
\usepackage{graphicx} % In your preamble. \newcommand{\teeny}[1]{\scalebox{0.20}{#1}} % In your preamble ... \teeny{Really small text here, with math $\alpha_i$}
\usepackage{amsmath} % In your preamble. or \usepackage{amsbsy} ... $\boldsymbol{\lambda}$If \boldsymbol{} still doesn't work (like for ∑, ∏, ∫, etc.), then use the "poor man's bold", a bunch of jittered copies:
$\pmb{\sum}$
\begin{samepage} \exg. Dies ist eine erste Glosse \\ This is a first gloss \end{samepage}The above example uses the Linguex package, but the samepage environment should work for others as well.
\usepackage{verbatim} % Part of the standard distribution ... \begin{comment} This is a comment !@#$%^&*()_+{}|\][:";'<>?,./ This is another comment \end{comment}The verbatim package also supports multiple line verbatims, using the verbatim environment.
\usepackage{verbatim} % Part of the standard distribution ... \begin{frame}[fragile] \frametitle{The Frame Title} \begin{verbatim} !@#$%^&*()_+{}|\][:";'<>?,./ \end{verbatim} \end{frame}
\begin{description} \item Text goes here \item More text goes here \end{description}
... so that we have $ \sum\limits_{i \in C} g(i)$ and then ...
\begin{equation} r = \frac{ \sum\limits_{j=1} f(i) }{Z} \end{equation}Use judiciously.
\usepackage[firstpage]{draftwatermark} % Not part of the standard distribution.Download the package at CTAN . If you want the message on every page, remove the optional argument, so just \usepackage{draftwatermark} . You can customize or change the message, such as \SetWatermarkText{Hi!} . See the documentation for more details.
\pdfpagewidth=210 true mm \pdfpageheight=297 true mmAnother solution is to use the geometry package, as:
\usepackage[a4paper]{geometry} % Part of the standard distributionThis is a great package, but it will change your default margins as well. Manually adjusting the margins with this package is pretty easy; see the documentation for details.
\newcommand{\comment}[1]{} ... Hello \comment{My Comment} world
\usepackage[draft]{todonotes} ... Hello \todo{My Comment} world Hello \todo[inline]{My Inline Comment} world