<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>TexTips</title><revhistory><revision><revnumber>6</revnumber><date>2013-03-08 10:17:28</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>5</revnumber><date>2006-10-19 12:17:36</date><authorinitials>IanNimmoSmith</authorinitials></revision><revision><revnumber>4</revnumber><date>2006-10-19 12:13:52</date><authorinitials>IanNimmoSmith</authorinitials></revision><revision><revnumber>3</revnumber><date>2006-10-19 12:10:52</date><authorinitials>IanNimmoSmith</authorinitials></revision><revision><revnumber>2</revnumber><date>2006-10-19 12:10:06</date><authorinitials>IanNimmoSmith</authorinitials></revision><revision><revnumber>1</revnumber><date>2006-10-19 12:08:30</date><authorinitials>IanNimmoSmith</authorinitials></revision></revhistory></articleinfo><section><title>Slides and Powerpoint</title><para>This is taken from a note that Adrian Bowman wrote in MSOR Connections 1(2), May 2001. </para><screen><![CDATA[\newcommand{\buildslidefour}[4]{
\newpage #1 \newpage #1 #2 \newpage #1 #2 #3 \newpage #1 #2 #3 #4}]]></screen><para>The Editor noted: Go to CTAN, click on <code>Search</code> and search for <code>seminar</code> where you will get several packages making seminars in pdf format. </para><glosslist><glossentry><glossterm>xcomment</glossterm><glossdef><para>Allows selected environments to be included/excluded: <code>macros/latex/contrib/other/seminar/src/</code> </para></glossdef></glossentry><glossentry><glossterm>seminar</glossterm><glossdef><para>Overhead slides: <code>macros/latex/contrib/other/seminar/</code> </para></glossdef></glossentry><glossentry><glossterm>hcbundle</glossterm><glossdef><para>Replacement for the LaTeX classes: <code>macros/latex/contrib/supported/hc/</code> </para></glossdef></glossentry><glossentry><glossterm>prosper</glossterm><glossdef><para>LaTeX class for high quality slides: <code>macros/latex/contrib/supported/prosper/</code> </para></glossdef></glossentry><glossentry><glossterm>ifmslide</glossterm><glossdef><para>Presentation slides (from computer screen) and printouts: <code>macros/latex/contrib/supported/ifmslide/</code> </para></glossdef></glossentry></glosslist></section><section><title>argmax</title><para>(A tip from Wikipedia) </para><para>LaTeX has no built-in \argmax command. Most people get around this by using \arg\max. This is undesirable, because </para><itemizedlist><listitem><para>it causes a small space to appear between the words &quot;arg&quot; and &quot;max&quot; (as seen above), </para></listitem><listitem><para>a subscripted variable will appear centered beneath the word &quot;max&quot;, instead of centered beneath the whole word. </para></listitem></itemizedlist><para>Both of these effects can be seen in the examples above. The following command can be used to define an \argmax command in LaTeX. </para><itemizedlist><listitem override="none"><para>\newcommand{\argmax}{\operatornamewithlimits{argmax}} </para></listitem></itemizedlist><para>Place it in the header of your LaTeX document. It can then be used as follows: </para><itemizedlist><listitem override="none"><para>\hat{e} = \argmax_{e} \Pr(e | f) </para></listitem></itemizedlist><para>This gives a much nicer appearance.  </para></section></article>