Till Tantau  committed d7139ec

added T1 support

  • Participants
  • Parent commits 32e874f
  • Branches default

Comments (0)

Files changed (6)

-2004-01-10 Till Tantau <>
+2004-01-16 Till Tantau <>
 	- Reorganzed directory structure: new directories base and themes
 	- Added some explanations in user guide on font encodings and
 	  graphic file formats.
-	- Uses version 1.06 of xcolor now.
+	- T1 encoding is fully supported now. 
+	- lmodern and fourier fonts are supported now.
+	- \mathrm will always produce roman text now.
+	- \mathbf will produced boldface serif or sans-serif text,
+	  depending on the math font selection.
 	- Added options to include only certain sections in the table of
 	- Added option to hilight only the current subsection in the table
 	  given in pointed brackets.
 	- Command \plainframe has been replaced by \frame[plain].
 	- Renamed beamerboxes to beamerbaseboxes and beamertemplates to
-	  beamerbasetemplate. They are included automatically.
+	  beamerbasetemplate. They are included automatically, so simply
+	  delete an inclusion of the old packages).
 	- Fixed bug in beamerbaseboxes.
-	- Uncover now also works in tables and alignments (once more...).
+	- Uncover now also works for whole lines or passages in tables and
+	  alignments, both for completely invisible covered and
+	  transparent covered text.
 	- Added versioning system for head and toc entries. Will no longer
 	  do weird things when left over files from an old version are
 	  encountered. (Makes updating a lot easier.)
-	- Changed LyX stuff to work together with the syntax changes.
+	- Slightly changed LyX stuff to work together with the syntax
+	  changes. Still no real documentation.
+	- Uses version 1.06 of xcolor now.
 	- Uses pgf 0.50 now.
+	- Mechanism for alternate selection of images and shading is
+	  slightly changed and incompatible with the old one. 
+	- pgf's cvs is now also on SourceForge next to the beamer class.
 2003-12-09 Till Tantau <>

File base/beamerbasefont.sty

-% Font size stuff
+% Font size stuff - redefinition for oversized fonts. Not used if
+% other packages like lmodern kick in.
 % supress for mathtime serif
-  \DeclareSymbolFont{numbers}{OT1}{\mathfamilydefault}{m}{n}
-  \DeclareSymbolFont{pureletters}{OT1}{\mathfamilydefault}{m}{it}
+  \DeclareSymbolFont{numbers}{\encodingdefault}{\mathfamilydefault}{m}{n}
+  \DeclareSymbolFont{pureletters}{\encodingdefault}{\mathfamilydefault}{m}{it}
+  \DeclareMathAlphabet{\mathrm}{\encodingdefault}{\rmdefault}{m}{n}
+  \DeclareMathAlphabet{\mathbf}{\encodingdefault}{\mathfamilydefault}{bx}{n}
+  \DeclareMathAlphabet{\mathsf}{\encodingdefault}{\sfdefault}{m}{n}
+  \DeclareMathAlphabet{\mathit}{\encodingdefault}{\mathfamilydefault}{m}{it}
+  \DeclareMathAlphabet{\mathtt}{\encodingdefault}{\ttdefault}{m}{n}
-  \SetSymbolFont{numbers}{bold}{OT1}{\mathfamilydefault}{bx}{n}
-  \SetSymbolFont{pureletters}{bold}{OT1}{\mathfamilydefault}{bx}{it}
+  \SetSymbolFont{numbers}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{n}
+  \SetSymbolFont{pureletters}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{it}
+  \SetMathAlphabet{\mathrm}{bold}{\encodingdefault}{\rmdefault}{bx}{n}
+  \SetMathAlphabet{\mathbf}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{n}
+  \SetMathAlphabet{\mathsf}{bold}{\encodingdefault}{\sfdefault}{bx}{n}
+  \SetMathAlphabet{\mathit}{bold}{\encodingdefault}{\mathfamilydefault}{bx}{it}
+  \SetMathAlphabet{\mathtt}{bold}{\encodingdefault}{\ttdefault}{bx}{n}

File doc/beameruserguide.pdf

Binary file modified.

File doc/beameruserguide.tex

 \usepackage[pdfborder={0 0 0}]{hyperref}
-  Currently, you should \emph{not} use this option. Only bitmapped
-  versions of the Computer Modern fonts are available in the T1~encoding
-  in a standard installation. This option will result in very poor
-  rendering of your presentation when viewed with \pdf\ viewer
-  applications like Acrobat or |xpdf|. See also
-  Section~\ref{section-font-encoding}. 
+  Use this option only with fonts that have outline fonts available in
+  the T1 encoding like Times or the lmodern fonts. In a standard
+  installation the standard Computer Modern fonts (the fonts Donald
+  Knuth orginally designed and which are used by default) are
+  \emph{not} available in the T1 encoding. Using this  option with
+  them will result in very poor rendering of your presentation when
+  viewed with \pdf\ viewer applications like Acrobat or |xpdf|. To use
+  the Computer Modern fonts with the T1 encoding, use the package
+  |lmodern|.  See also Section~\ref{section-font-encoding}.
+  The package switches to a T1~encoding, but it does not redefine all
+  fonts such that outline fonts (non-bitmapped fonts) are used by
+  default. For example, the sans-serif text and the typewriter text
+  are not replaced. To use outline fonts for these, write
+  |\usepackage{lmodern}| \emph{before} including the |fourier|
+  package. 
-\subsubsection{Serif Fonts and Sans Serif Fonts}
+\subsubsection{Serif Fonts and Sans-Serif Fonts}
 By default, the beamer class uses the Computer Modern sans-serif fonts
 for typesetting a presentation. The Computer Modern font family is the
   impression, which might be exactly what you wish to create.
-You must decide whether the text should be typeset in sans serif or in
+You must decide whether the text should be typeset in sans-serif or in
 serif. To choose this, use either the class option |sans| or
 |serif|. By default, |sans| is selected, so you do not
-need to specify this. Furthermore, you can specify one of the two
-options |mathsans| or |mathserif|. These options
-override the overall sans-serif/serif choice for math text.
+need to specify this.
   Use a sans-serif font during the presentation. (Default.)
   Use a serif font during the presentation.
+\subsubsection{Fonts in Mathematical Text}
+By default, if a sans-serif font is used for the main text,
+mathematical formulas are also typeset using sans-serif letters. In
+most cases, this is visually the pleasing and easily readable way of
+typesetting mathematical formulas. However, in mathematical texts the
+font used to render, say, a variable is sometimes used to
+differentiate between different meanings of this variable. In such
+case, it may be necessary to typeset mathematical text using serif
+letters. Also, if you have a lot of mathematical text, the audience
+may be quicker to ``parse'' it, if it typeset in the way people
+usually read mathematical text: in a serif font.
+You can use the two options |mathsans| and |mathserif| to override the
+overall sans-serif/serif choice for math text. However, using the option
+|mathsans| in a |serif| environment makes little sense in my opinion.
   Override the math font to be a sans-serif font.
   Override the math font to be a serif font.
+The command |\mathrm| will always produce upright (not slanted), serif
+text and the command |\mathsf| will always produce upright, sans-serif
+text. The command |\mathbf| will produce upright, bold-face,
+sans-serif or serif text, depending on whether |mathsans| or
+|mathserif| is used.
+To produce an upright, sans-serif or serif text, depending on
+whether |mathsans| or |mathserif| is used, you can use for instance
+the command |\operatorname| from the |amsmath| package. Using this
+command instead of |\mathrm| or |\mathsf| directly will  automatically
+adjust  upright mathematical text if you switch from sans-serif to
+serif or back.
 \subsubsection{Font Families}
 Independently of the serif/sans-serif choice, you can switch the
 installation. For this reason, using the T1~encoding will produce
 \pdf\ files that render very poorly.
-I recommend that you use the standard OT1 encoding and remove
-|\usepackage[T1]{fontenc}| if present. Hyphenation should
-no occur in a presentation anyway. If you really have to hyphenate,
-you should do so by inserting a hyphenation point using the
-command~|\-| as for example in |haplo\-typing|.
+Most standard PostScript fonts are available in T1~encoding. For
+example, you can use Times in the T1~encoding. The package |lmodern|
+makes the standard Computer Modern fonts available in the
+T1~encoding. Furthermore, if you use |lmodern| several extra fonts
+become available (like a sans-serif boldface math) and extra symbols
+(like proper guillemots).
 \subsection{Margin Sizes}

File examples/beamerexample1.pdf

Binary file modified.

File examples/beamerexample1.tex

 % Use some nice templates
   \frametitle{Explanation of Different Abbreviations}
-%    \rowcolors[]{1}{structure!25!averagebackgroundcolor}{structure!10!averagebackgroundcolor}
+    \rowcolors[]{1}{structure!25!averagebackgroundcolor}{structure!10!averagebackgroundcolor}
       \structure{$\DOF$} & \structure{D}eterministic \structure{O}verhead-\structure{F}ree.\\
       \structure{$\NOF$} & \structure{N}ondeterministic \structure{O}verhead-\structure{F}ree.\\