TexTips - CBU statistics Wiki
location: TexTips

### Slides and Powerpoint

This is taken from a note that Adrian Bowman wrote in MSOR Connections 1(2), May 2001.

\newcommand{\buildslidefour}[4]{
\newpage #1 \newpage #1 #2 \newpage #1 #2 #3 \newpage #1 #2 #3 #4}

The Editor noted: Go to CTAN, click on Search and search for seminar where you will get several packages making seminars in pdf format.

xcomment

Allows selected environments to be included/excluded: macros/latex/contrib/other/seminar/src/

seminar

hcbundle

Replacement for the LaTeX classes: macros/latex/contrib/supported/hc/

prosper

LaTeX class for high quality slides: macros/latex/contrib/supported/prosper/

ifmslide

Presentation slides (from computer screen) and printouts: macros/latex/contrib/supported/ifmslide/

### argmax

(A tip from Wikipedia)

LaTeX has no built-in \argmax command. Most people get around this by using \arg\max. This is undesirable, because

• it causes a small space to appear between the words "arg" and "max" (as seen above),
• a subscripted variable will appear centered beneath the word "max", instead of centered beneath the whole word.

Both of these effects can be seen in the examples above. The following command can be used to define an \argmax command in LaTeX.

• \newcommand{\argmax}{\operatornamewithlimits{argmax}}

Place it in the header of your LaTeX document. It can then be used as follows:

• \hat{e} = \argmax_{e} \Pr(e | f)

This gives a much nicer appearance.

None: TexTips (last edited 2013-03-08 10:17:28 by localhost)