Debian Codegraph @

texmf-dist/doc/latex/tpslifonts/slifontsexample.tex

raw
1 %-----------------------------------------------------------------------------------------------------------------
2 % File: slifontsexample.tex
3 %
4 % Example for the package tpslifonts.sty.
5 %
6 % This file can be compiled with pdfLaTeX or (standard) LaTeX. When using standard LaTeX, the dvi file produced should
7 % be converted to pdf afterwards (using dvips+distill/ps2pdf or dvipdf, for instance).
8 %
9 % The resulting pdf file is meant for presenting `interactively' with Adobe Acrobat Reader.
10 %
11 %-----------------------------------------------------------------------------------------------------------------
12 % Author: Stephan Lehmke <[email protected]>
13 %
14 % v0.1 Nov 14, 2002: First version for the pre-alpha release of TeXPower.
15 %
16 % v0.2 Jan 07, 2003: Adapted to tpslifonts v0.4 (added support for cmbright).
17 %
18 % v0.3 Mar 28, 2003: Adapted to tpslifonts v0.5 (added support for T1 encoding).
19 %
20 % v0.4 May 28, 2003: Adapted to tpslifonts v0.6.
21 %
22 %-----------------------------------------------------------------------------------------------------------------
23 % Please go to USER CONFIGURATION AREA below to find configuration options for experimenting with font settings.
24 %-----------------------------------------------------------------------------------------------------------------
25
26 \newif\ifTPaware
27 \IfFileExists{texpower.sty}{\TPawaretrue}{\TPawarefalse}
28
29 \ifTPaware
30 \documentclass[letterpaper,landscape,KOMA,smallheadings,calcdimensions,display]{powersem}
31 %-----------------------------------------------------------------------------------------------------------------
32 % Set slide margins rather small for maximum use of space. This is a demo, remember.
33 \renewcommand{\slidetopmargin}{5mm}
34 \renewcommand{\slidebottommargin}{5mm}
35 \renewcommand{\slideleftmargin}{5mm}
36 \renewcommand{\sliderightmargin}{5mm}
37 %-----------------------------------------------------------------------------------------------------------------
38 % Some setup for more reasonable spacing.
39 \makeatletter
40 \renewcommand\section{\@startsection{section}{1}{\z@}%
41 {-1.5ex\@plus -1ex \@minus -.5ex}%
42 {.5ex \@plus .2ex}%
43 {\raggedsection\normalfont\size@section\sectfont}}
44 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
45 {-1.25ex\@plus -1ex \@minus -.2ex}%
46 {.5ex \@plus .2ex}%
47 {\raggedsection\normalfont\size@subsection\sectfont}}
48 \def\slideitemsep{.5ex plus .3ex minus .2ex}
49 \makeatother
50 %-----------------------------------------------------------------------------------------------------------------
51 % We need some more packages...
52 \usepackage{url}
53 \usepackage[latin1]{inputenc}
54 % One more Text emphasis command...
55 \let\name=\textsc
56 \else % NOT TPaware
57 % Make a `poor man's presentation mode.
58 \documentclass{article}
59 \setlength{\paperwidth}{13cm}
60 \setlength{\paperheight}{10cm}
61 \usepackage[left=3mm,right=3mm,top=3mm,bottom=3mm]{geometry}
62 \setlength{\parindent}{0pt}
63 \setlength{\parskip}{1ex plus .5ex minus .5ex}
64 \linespread{1.3}
65 \usepackage{url}
66 \usepackage{calc}
67 \raggedbottom
68 \fi % END TPaware
69
70 %=================================================================================================================
71 % begin USER CONFIGURATION AREA.
72 % In the following, you can configure this demo by changing settings made below (until the ``end USER CONFIGURATION
73 % AREA mark).
74 % Note in particular the part below labelled ``Configuration scenarios''.
75 %=================================================================================================================
76
77 %-----------------------------------------------------------------------------------------------------------------
78 % Packages and Preamble settings individual for this example.
79
80 % We use a lot of fonts for demonstration. You can comment out any of the following \usepackage calls to emulate your
81 % own working environment. Note, however, that some of the examples will vanish then because of lacking commands.
82
83 \usepackage{amssymb}
84 \usepackage{latexsym}
85 \usepackage{wasysym}
86 \usepackage{stmaryrd}
87 \usepackage{mathrsfs}
88 \usepackage{dsfont}
89
90 \usepackage[override]{cmtt}
91
92 % Make nested braces grow.
93 \delimitershortfall-1sp\relax
94
95 % The following packages are needed only for the examples. If you're lacking any of them, just comment out the
96 % \usepackage call. Note, however, that some of the examples will vanish then because of lacking commands.
97
98 % Both amsmath and wasysym insist on defining \iint and \iiint.
99 \makeatletter\let\iint\@undefined\let\iiint\@undefined\makeatother
100 \usepackage[leqno]{amsmath}
101
102 \usepackage{amscd}
103
104 \usepackage{array}
105
106 \IfFileExists{easymat.sty}{\usepackage{easymat}}
107
108 %-----------------------------------------------------------------------------------------------------------------
109 % TeXPower configuration.
110
111 \PassOptionsToPackage{lightbackground,colorhighlight}{texpower}
112
113 % Comment out to avoid coloring math formulae.
114 \PassOptionsToPackage{colormath}{texpower}
115
116 \usepackage{ifthen}[2001/05/26]
117
118 %-----------------------------------------------------------------------------------------------------------------
119 % Configuration scenarios
120
121 % In the following, we give several `configuration scenarios' for presentation font selection with tpslifonts. Each
122 % hopefully represents a nice and readable selection of tpslifonts options and parameters. For some scenarios, you might
123 % need to have some Type1 fonts installed which are not part of every TeX distribution, otherwise bitmap versions will
124 % be used which look `blurred' in acroread.
125 % Of course taste varies, so after testing each scenario in turn and making yourself acquainted with the possibilities,
126 % you might start experimenting further by removing some options or parameters from a scenario or by adding parameters
127 % used in other scenarios.
128 % For selecting a scenario, just uncomment its code lines. Remember to comment out all other scenarios, otherwise there
129 % might be conflicts.
130
131 % Configuration scenario 1:
132 % Slifonts with cm italic math.
133 % -----------------------------
134 % This is a `standard' setting. The text fonts come from the lcmss family, Typewriter from cmtt and math from cmmi. Size
135 % differences are remedied by using `scaleup' options. The `textops' option causes operator names and digits to be taken
136 % from the text font lcmss. The `scale7pt' will hopefully make math look a little `bolder'.
137 % Type 1 versions of all fonts used by this scenario (apart from certain math fonts like dsrom) should be part of every
138 % moderately modern TeX distribution.
139
140 % \PassOptionsToPackage{scaleupmath,scaleuptt,textops,scale7pt}{tpslifonts}
141
142 % If you find the typewriter characters to be too `bold', try uncommenting the following line:
143
144 % \def\TPSFttscale{1.13}
145
146
147 % Configuration scenario 2:
148 % Slifonts with euler math.
149 % -------------------------
150 % Combining lcmss with euler math might look strange at first, but the euler math fonts are definitely extremely well
151 % readable on screen. The text fonts come from the lcmss family, Typewriter from cmtt and math from euler roman. Size
152 % differences are remedied by using `scaleup' options.
153 % Type 1 versions of all fonts used by this scenario (apart from certain math fonts like dsrom) should be part of every
154 % moderately modern TeX distribution.
155
156 % \PassOptionsToPackage{eulermath,scaleupmath,scaleuptt}{tpslifonts}
157
158 % If you uncomment the following option, digits are also taken from Euler math.
159
160 % \PassOptionsToPackage{eulerdigits}{tpslifonts}
161
162 % If you find the typewriter characters to be too `bold', try uncommenting the following line:
163
164 % \def\TPSFttscale{1.13}
165
166 % Configuration scenario 3:
167 % Slifonts with cmbright math.
168 % ----------------------------
169 % The cmbright family is the only existing source for a complete set of sans serif math fonts which fit the computer
170 % modern grand family. Although being slightly different from cmss, it fits well with lcmss . The text fonts come from
171 % the lcmss family, Typewriter from cmtt and math from cm bright. Size differences are remedied by using `scaleup'
172 % options. The `textops' option causes operator names and digits to be taken from the text font lcmss.
173 % Even with a modern TeX distribution, you might need to install Type1 versions of the cmbright fonts, for instance from
174 % the ``hfbright'' bundle by Harald Harders.
175
176 % \PassOptionsToPackage{cmbrightmath,scaleupmath,scaleuptt,textops}{tpslifonts}
177
178 % If you find the typewriter characters to be too `bold', try uncommenting the following line:
179
180 % \def\TPSFttscale{1.1}
181
182 % Configuration scenario 4:
183 % cmss fonts with cm italic math.
184 % -------------------------------
185 % The text fonts come from the cmss family, Typewriter from cmtt and math from cmmi. The `textops' option causes
186 % operator names and digits to be taken from the text font cmss. The `scale7pt' option makes characters look a little
187 % `bolder', enhancing readability.
188 % Type 1 versions of all fonts used by this scenario (apart from certain math fonts like dsrom) should be part of every
189 % moderately modern TeX distribution.
190
191 % \PassOptionsToPackage{cmss,textops,scale7pt}{tpslifonts}
192
193 % Configuration scenario 5:
194 % cmss fonts with euler math.
195 % ---------------------------
196 % Combining cmss with euler math might look strange at first, but the euler math fonts are definitely extremely well
197 % readable on screen. The text fonts come from the cmss family, Typewriter from cmtt and math from euler roman.
198 % Type 1 versions of all fonts used by this scenario (apart from certain math fonts like dsrom) should be part of every
199 % moderately modern TeX distribution.
200
201 % \PassOptionsToPackage{cmss,eulermath}{tpslifonts}
202
203 % If you uncomment the following option, digits are also taken from Euler math.
204
205 % \PassOptionsToPackage{eulerdigits}{tpslifonts}
206
207 % Configuration scenario 6:
208 % cmss fonts with cmbright math.
209 % ------------------------------
210 % The cmbright family is the only existing source for a complete set of sans serif math fonts which fit the computer
211 % modern grand family. Although being slightly different from cmss, it fits well with cmss. The text fonts come from
212 % the cmss family, Typewriter from cmtt and math from cm bright. The `textops' option causes operator names and digits
213 % to be taken from the text font cmss.
214 % Even with a modern TeX distribution, you might need to install Type1 versions of the cmbright fonts, for instance from
215 % the ``hfbright'' bundle by Harald Harders.
216
217 % \PassOptionsToPackage{cmss,cmbrightmath,textops}{tpslifonts}
218
219 % Configuration scenario 7:
220 % cmr fonts.
221 % -------------------------
222 % In this case, all fonts are the TeX standard computer modern roman. The text fonts come from the cmr family,
223 % Typewriter from cmtt and math from cmmi. The `scale7pt' option makes characters look a little `bolder', enhancing
224 % readability.
225 % Type 1 versions of all fonts used by this scenario (apart from certain math fonts like dsrom) should be part of every
226 % moderately modern TeX distribution.
227
228 \PassOptionsToPackage{cmr,scale7pt}{tpslifonts}
229
230 % Configuration scenario 8:
231 % cmbright fonts.
232 % -------------------------
233 % In this case, all fonts are taken from the cmbright family. The text fonts come from the cmbr family,
234 % Typewriter from cmtl and math from cmbrm.
235 % Even with a modern TeX distribution, you might need to install Type1 versions of the cmbright fonts, for instance from
236 % the ``hfbright'' bundle by Harald Harders.
237
238 % \PassOptionsToPackage{cmbright,cmbrightmath}{tpslifonts}
239
240 % Configuration scenario 9:
241 % concrete fonts with Euler math.
242 % -------------------------------
243 % In this case, text fonts are taken from the concrete family. The text fonts come from the ccr family,
244 % Typewriter from cmtt and math from Euler.
245 % Unfortunately, it seems there are no Type1 versions of OT1 encoded ccr fonts. Hence, to use this setup (at this
246 % moment) it is neccessary to select T1 fontencoding (see below) and install some Type1 collection of ``ec'' fonts like
247 % the cm-super fonts. Even then, there's no Type1 version of ccm math fonts, so for this scenario, (the matching) Euler
248 % math fonts are selected.
249
250 % \PassOptionsToPackage{concrete,eulermath}{tpslifonts}
251
252 % With this scenario, T1 fontencoding is neccessary because (to the authors knowledge) there exists no OT1 encoded Type1
253 % version of ccr.
254
255 % \usepackage[T1]{fontenc}
256
257 %-----------------------------------------------------------------------------------------------------------------
258 % Other tpslifonts settings.
259
260 % Use T1 font encoding. This will lead to using EC fonts instead of CM.
261
262 \usepackage[T1]{fontenc}
263
264 % tpslifonts allows to define independent scaling factors for different groups of fonts. Selecting one of the
265 % scaleup... options will define a default value supposed to match ``SliTeX'' fonts, but you can set any scaling factor
266 % by just defining (any of) the respective macros:
267
268 % Typewriter fonts.
269
270 % \def\TPSFttscale{1.1}
271
272 % Math fonts related to cm math.
273
274 % \def\TPSFmathscale{1.1}
275
276 % Euler math fonts.
277
278 % \def\TPSFeulerscale{1.05}
279
280 % cmbright math fonts.
281
282 % \def\TPSFcmbrscale{1.05}
283
284
285 %=================================================================================================================
286 % end USER CONFIGURATION AREA.
287 %=================================================================================================================
288
289
290 \RequirePackage{tpslifonts}
291
292 \makeatletter
293 \ifTPaware
294 %-----------------------------------------------------------------------------------------------------------------
295 % We load hyperref and fixseminar which fixes some problems with seminar.
296 \usepackage[plainpages=false,bookmarksopen,colorlinks,urlcolor=red,pdfpagemode=FullScreen]{hyperref}
297 \usepackage{fixseminar}
298 %-----------------------------------------------------------------------------------------------------------------
299 % Finally, the texpower package is loaded.
300 \usepackage{texpower}
301 %-----------------------------------------------------------------------------------------------------------------
302 % Some more parameters...
303 \slidesmag{5}
304 \slideframe{none}
305 \pagestyle{empty}
306 \setcounter{tocdepth}{2}
307 \renewcommand{\currentpagevalue}{\value{slide}}
308 %-----------------------------------------------------------------------------------------------------------------
309 % The following command produces a title page for every example and documentation file.
310 \newcommand{\makeslidetitle}[1]
311 {%
312 \title{The \TeX Power bundle\\[2ex]{\normalfont #1}}
313 \author
314 {%
315 Stephan Lehmke\\
316 \mdseries
317 University of Dortmund\\
318 \mdseries
319 Department of Computer Science I\\
320 \url{mailto:[email protected]}%
321 }
322 {\centerslidestrue
323 \maketitle
324 \newslide}
325 \setcounter{firststep}{1}% This way, the first step of all examples is displayed.
326 }
327 \hypersetup{pdftitle={texpower tpslifonts example}}
328 \slidesmag{4}
329 \else % NOT TPaware
330 % Load everything manually.
331 \pagestyle{empty}
332 \newcommand{\makeslidetitle}[1]
333 {%
334 \begin{center}
335 {\leavevmode\Large\sffamily
336
337 \vspace*{\fill}
338
339 \textbf{The \TeX Power bundle\\{\normalfont #1}}
340 \par}
341
342 \vspace*{\fill}
343
344 Stephan Lehmke\\
345 University of Dortmund\\
346 Department of Computer Science I\\
347 \url{mailto:[email protected]}%
348
349 \vspace*{\fill}
350 \today
351
352 \vspace*{\fill}
353
354 \vspace*{\fill}
355 \end{center}
356 \newpage
357 }
358
359 \renewcommand\section{\@startsection{section}{1}{\z@}%
360 {-1.5ex\@plus -1ex \@minus -.5ex}%
361 {.5ex \@plus .2ex}%
362 {\normalfont\large\sffamily\bfseries}}
363
364 \let\code\texttt
365 \let\concept\textbf
366 \let\underl\textbf
367 \let\name\textsc
368 \newcommand{\macroname}[1]{\code{\textbackslash##1}}
369
370 \newenvironment{slide}{\raggedright}{}
371
372 \newenvironment{presentbox}{\par\begin{minipage}[t]{\linewidth}}{\end{minipage}\par}
373
374 \let\present=\fbox
375 \fi % END TPaware
376
377 \newboolean{TPSFamsfonts}
378 \@ifpackageloaded{amsfonts}{\setboolean{TPSFamsfonts}{true}}{}
379 \newboolean{TPSFlasy}
380 \@ifpackageloaded{latexsym}{\setboolean{TPSFlasy}{true}}{}
381 \newboolean{TPSFwasysym}
382 \@ifpackageloaded{wasysym}{\setboolean{TPSFwasysym}{true}}{}
383 \newboolean{TPSFstmaryrd}
384 \@ifpackageloaded{stmaryrd}{\setboolean{TPSFstmaryrd}{true}}{}
385 \newboolean{TPSFrsfs}
386 \@ifpackageloaded{mathrsfs}{\setboolean{TPSFrsfs}{true}}{}
387 \newboolean{TPSFdstroke}
388 \@ifpackageloaded{dsfont}{\setboolean{TPSFdstroke}{true}}{}
389 \makeatother
390
391
392 %-----------------------------------------------------------------------------------------------------------------
393 % Finally, everything is set up. Here we go...
394 %
395 \begin{document}
396 \begin{slide}
397 %
398 %-----------------------------------------------------------------------------------------------------------------
399 %
400 % Body of slifonts example.
401 %
402
403 \newcommand{\textbfsl}[1]{\textbf{\textsl{#1}}}
404 \newcommand{\textbfit}[1]{\textbf{\textit{#1}}}
405 \newcommand{\textbfsc}[1]{\textbf{\textsc{#1}}}
406 \newcommand{\textcsl}[1]{\textc{\textsl{#1}}}
407 \newcommand{\textsbsl}[1]{\textsb{\textsl{#1}}}
408 \newcommand{\textsbc}[1]{{\fontseries{sbc}\selectfont#1}}
409 \newcommand{\textb}[1]{{\fontseries{b}\selectfont#1}}
410 \newcommand{\textsb}[1]{{\fontseries{sb}\selectfont#1}}
411 \newcommand{\textc}[1]{{\fontseries{c}\selectfont#1}}
412 \newcommand{\textui}[1]{{\fontshape{ui}\selectfont#1}}
413 \newcommand{\textff}[1]{{\fontfamily{cmfr}\selectfont#1}}
414 \newcommand{\textffi}[1]{{\fontfamily{cmfr}\textit{#1}}}
415 \newcommand{\textdh}[1]{{\fontfamily{cmdh}\selectfont#1}}
416 \newcommand{\textfib}[1]{{\fontfamily{cmfib}\selectfont#1}}
417 \newcommand{\textfibsl}[1]{{\fontfamily{cmfib}\selectfont\textsl{#1}}}
418
419 \makeatletter
420 \@namedef{TextFontNamelcmssOT1}{SliTeX Sans Serif (\code{lcmss})}
421
422 \@namedef{TextFontNameShortlcmssOT1}{\code{lcmss}}
423
424 \@namedef{TextItFontNamelcmssOT1}{SliTeX Sans-Serif Slanted (\code{lcmssi})}
425
426 \@namedef{TextFontslcmssOT1}%
427 {%
428 {SliTeX Sans Serif (\code{lcmss})}\textnormal,%
429 {SliTeX Sans-Serif Slanted (\code{lcmssi})}\textsl,%
430 {SliTeX Sans-Serif bold (\code{lcmssb})}\textbf%
431 }
432
433 \@namedef{TextFontNamelcmssT1}{European Computer Modern Sans Serif Quotation (\code{eclq})}
434
435 \@namedef{TextFontNameShortlcmssT1}{\code{eclq}}
436
437 \@namedef{TextItFontNamelcmssT1}{European Computer Modern Sans Serif Quotation Inclined (\code{ecli})}
438
439 \@namedef{TextFontslcmssT1}%
440 {%
441 {European Computer Modern Sans Serif Quotation (\code{eclq})}\textnormal,%
442 {European Computer Modern Sans Serif Quotation Inclined (\code{ecli})}\textsl,%
443 {European Computer Modern Sans Serif Quotation Bold (\code{eclb})}\textbf,%
444 {European Computer Modern Sans Serif Quotation Bold Oblique (\code{eclo})}\textbfsl%
445 }
446
447 \@namedef{TextFontNamecmrOT1}{Computer Modern Roman (\code{cmr})}
448 \expandafter\let\csname TextFontNamecmrmOT1\expandafter\endcsname\csname TextFontNamecmrOT1\endcsname
449
450 \@namedef{TextFontNameShortcmrOT1}{\code{cmr}}
451 \expandafter\let\csname TextFontNameShortcmrmOT1\expandafter\endcsname\csname TextFontNameShortcmrOT1\endcsname
452
453 \@namedef{TextItFontNamecmrOT1}{Computer Modern Text Italic (\code{cmti})}
454
455 \@namedef{TextFontscmrOT1}%
456 {%
457 {Computer Modern Roman (\code{cmr})}\textnormal,%
458 {Computer Modern Slanted Roman (\code{cmsl})}\textsl,%
459 {Computer Modern Text Italic (\code{cmti})}\textit,%
460 {Computer Modern Roman Caps and Small Caps (\code{cmcsc})}\textsc,%
461 {Computer Modern Unslanted Italic (\code{cmu})}\textui,%
462 {Computer Modern Bold Roman (\code{cmb})}\textb,%
463 {Computer Modern Bold Extended Roman (\code{cmbx})}\textbf,%
464 {Computer Modern Bold Extended Slanted Roman (\code{cmbxsl})}\textbfsl,%
465 {Computer Modern Bold Extended Text Italic (\code{cmbxti})}\textbfit,%
466 {Computer Modern Funny Roman (\code{cmff})}\textff,%
467 {Computer Modern Funny Italic (\code{cmfi})}\textffi,%
468 {Computer Modern Dunhill Roman (\code{cmdunh})}\textdh,%
469 {Computer Modern Roman Fibonacci Font (\code{cmfib})}\textfib%
470 }
471
472 \@namedef{TextFontNamecmrT1}{European Computer Modern Roman Medium (\code{ecrm})}
473 \expandafter\let\csname TextFontNamecmrmT1\expandafter\endcsname\csname TextFontNamecmrT1\endcsname
474
475 \@namedef{TextFontNameShortcmrT1}{\code{ecrm}}
476 \expandafter\let\csname TextFontNameShortcmrmT1\expandafter\endcsname\csname TextFontNameShortcmrT1\endcsname
477
478 \@namedef{TextItFontNamecmrT1}{European Computer Modern Text Italic (\code{ecti})}
479
480 \@namedef{TextFontscmrT1}%
481 {%
482 {European Computer Modern Roman Medium (\code{ecrm})}\textnormal,%
483 {European Computer Modern Roman Slanted (\code{ecsl})}\textsl,%
484 {European Computer Modern Text Italic (\code{ecti})}\textit,%
485 {European Computer Modern Caps and Small Caps (\code{eccc})}\textsc,%
486 {European Computer Modern Bold Extend Roman (\code{ecbx})}\textbf,%
487 {European Computer Modern Roman Bold (Non-Extended) (\code{ecrb})}\textb,%
488 {European Computer Modern Bold Extended Text Italic (\code{ecbi})}\textbfit,%
489 {European Computer Modern Bold Extended Slanted Roman (\code{ecbl})}\textbfsl,%
490 {European Computer Modern Bold Extended Caps and Small Caps (\code{ecxc})}\textbfsc,%
491 {European Computer Modern Unslanted Italic (\code{ecui})}\textui,%
492 % {European Computer Modern Funny Roman (\code{ecff})}\textff,% unable to make tfm ?!?
493 % {European Computer Modern Funny Italic (\code{ecfi})}\textffi,%
494 {European Computer Modern Dunhill Roman (\code{ecdh})}\textdh,%
495 {European Computer Modern Fibonacci Font (\code{ecfb})}\textfib,%
496 {European Computer Modern Fibonacci Slanted Font (\code{ecfs})}\textfibsl%
497 }
498
499 \@namedef{TextFontNamecmssOT1}{Computer Modern Sans Serif (\code{cmss})}
500
501 \@namedef{TextFontNameShortcmssOT1}{\code{cmss}}
502
503 \@namedef{TextItFontNamecmssOT1}{Computer Modern Slanted Sans Serif (\code{cmssi})}
504
505 \@namedef{TextFontscmssOT1}%
506 {%
507 {Computer Modern Sans Serif (\code{cmss})}\textnormal,%
508 {Computer Modern Slanted Sans Serif (\code{cmssi})}\textsl,%
509 {Computer Modern Sans Serif Demibold Condensed (\code{cmssdc})}\textsbc,%
510 {Computer Modern Sans Serif Bold Extended (\code{cmssbx})}\textbf%
511 }
512
513 \@namedef{TextFontNamecmssT1}{European Computer Modern Sans Serif (\code{ecss})}
514
515 \@namedef{TextFontNameShortcmssT1}{\code{ecss}}
516
517 \@namedef{TextItFontNamecmssT1}{European Computer Modern Sans Serif Inclined (\code{ecsi})}
518
519 \@namedef{TextFontscmssT1}%
520 {%
521 {European Computer Modern Sans Serif (\code{ecss})}\textnormal,%
522 {European Computer Modern Sans Serif Inclined (\code{ecsi})}\textsl,%
523 {European Computer Modern Sans Serif Bold Extended (\code{ecsx})}\textbf,%
524 {European Computer Modern Sans Serif Bold Extended Oblique (\code{ecso})}\textbfsl,%
525 {European Computer Modern Sans Serif Demi Condensed (\code{ecssdc})}\textsbc%
526 }
527
528 \@namedef{TextFontNamecmbrOT1}{Computer Modern Bright (\code{cmbr})}
529 \expandafter\let\csname TextFontNamecmbrmtOT1\expandafter\endcsname\csname TextFontNamecmbrOT1\endcsname
530
531 \@namedef{TextFontNameShortcmbrOT1}{\code{cmbr}}
532 \expandafter\let\csname TextFontNameShortcmbrmtOT1\expandafter\endcsname\csname TextFontNameShortcmbrOT1\endcsname
533
534 \@namedef{TextItFontNamecmbrOT1}{Computer Modern Bright Slanted (\code{cmbrsl})}
535
536 \@namedef{TextFontscmbrOT1}%
537 {%
538 {Computer Modern Bright (\code{cmbr})}\textnormal,%
539 {Computer Modern Bright Slanted (\code{cmbrsl})}\textsl,%
540 {Computer Modern Bright Bold Extended (\code{cmbrbx})}\textbf%
541 }
542
543 \@namedef{TextFontNamecmbrT1}{European Computer Modern Bright medium regular (\code{ebmr})}
544 \expandafter\let\csname TextFontNamecmbrmtT1\expandafter\endcsname\csname TextFontNamecmbrT1\endcsname
545
546 \@namedef{TextFontNameShortcmbrT1}{\code{ebmr}}
547 \expandafter\let\csname TextFontNameShortcmbrmtT1\expandafter\endcsname\csname TextFontNameShortcmbrT1\endcsname
548
549 \@namedef{TextItFontNamecmbrT1}{European Computer Modern Bright medium oblique (\code{ebmo})}
550
551 \@namedef{TextFontscmbrT1}%
552 {%
553 {European Computer Modern Bright medium regular (\code{ebmr})}\textnormal,%
554 {European Computer Modern Bright medium oblique (\code{ebmo})}\textsl,%
555 {European Computer Modern Bright semibold regular (\code{ebsr})}\textsb,%
556 {European Computer Modern Bright semibold oblique (\code{ebso})}\textsbsl%
557 }
558
559 \@namedef{TextFontNameccrOT1}{Concrete Roman (\code{ccr})}
560
561 \@namedef{TextFontNameShortccrOT1}{\code{ccr}}
562
563 \@namedef{TextItFontNameccrOT1}{Concrete Text Italic (\code{ccti})}
564
565 \@namedef{TextFontsccrOT1}%
566 {%
567 {Concrete Roman (\code{ccr})}\textnormal,%
568 {Concrete Slanted Roman (\code{ccsl})}\textsl,%
569 {Concrete Text Italic (\code{ccti})}\textit,%
570 {Concrete Roman Caps and Small Caps (\code{cccsc})}\textsc,%
571 {Concrete Slanted Condensed Roman (\code{ccslc})}\textcsl,%
572 {Computer Modern Sans Serif Bold Extended (\code{cmssbx}) as a replacement for `bold' ccr}\textbf%
573 }
574
575 \@namedef{TextFontNameccrT1}{European Concrete Roman (\code{eorm})}
576
577 \@namedef{TextFontNameShortccrT1}{\code{eorm}}
578
579 \@namedef{TextItFontNameccrT1}{European Computer Concrete Text Italic (\code{eoti})}
580
581 \@namedef{TextFontsccrT1}%
582 {%
583 {European Concrete Roman (\code{eorm})}\textnormal,%
584 {European Computer Concrete Slanted (\code{eosl})}\textsl,%
585 {European Computer Concrete Text Italic (\code{eoti})}\textit,%
586 {European Concrete Roman Caps and Small Caps (\code{eocc})}\textsc,%
587 {European Computer Modern Sans Serif Bold Extended (\code{ecsx}) as a replacement for `bold' ccr}\textbf,%
588 {European Computer Modern Sans Serif Bold Extended Oblique (\code{ecso}) as a replacement for `bold slanted' ccr}%
589 \textbfsl%
590 }
591
592 \@namedef{TTFontNamelcmssOT1}{Computer Modern Typewriter Text (\code{cmtt})}
593
594 \@namedef{TTItFontNamelcmssOT1}{Computer Modern Italic Typewriter Text (\code{cmitt})}
595
596 \@namedef{TTFontslcmssOT1}%
597 {%
598 {Computer Modern Typewriter Text (\code{cmtt})}\textnormal,%
599 {Computer Modern Italic Typewriter Text (\code{cmitt})}\textit,%
600 {Computer Modern Slanted Typewriter Text (\code{cmsltt})}\textsl,%
601 {Computer Modern Typewriter Caps and Small Caps (\code{cmtcsc})}\textsc%
602 }
603
604 \@namedef{TTFontNamelcmssT1}{European Computer Modern LaTeX Typewriter (\code{ecltt})}
605
606 \@namedef{TTItFontNamelcmssT1}{European Computer Modern Italic Typewriter Text (\code{ecit})}
607
608 \@namedef{TTFontslcmssT1}%
609 {%
610 {European Computer Modern LaTeX Typewriter (\code{ecltt})}\textnormal,%
611 {European Computer Modern Italic Typewriter Text (\code{ecit})}\textit,%
612 {European Computer Modern Slanted Typewriter Text (\code{ecst})}\textsl,%
613 {European Computer Modern Typewritr Caps and Small Caps (\code{ectc})}\textsc%
614 }
615
616 \@namedef{TTFontNamecmrOT1}{Computer Modern Typewriter Text (\code{cmtt})}
617
618 \@namedef{TTItFontNamecmrOT1}{Computer Modern Italic Typewriter Text (\code{cmitt})}
619
620 \@namedef{TTFontscmrOT1}%
621 {%
622 {Computer Modern Typewriter Text (\code{cmtt})}\textnormal,%
623 {Computer Modern Italic Typewriter Text (\code{cmitt})}\textit,%
624 {Computer Modern Slanted Typewriter Text (\code{cmsltt})}\textsl,%
625 {Computer Modern Typewriter Caps and Small Caps (\code{cmtcsc})}\textsc%
626 }
627
628 \@namedef{TTFontNamecmrT1}{European Computer Modern Typewriter (\code{ectt})}
629
630 \@namedef{TTItFontNamecmrT1}{European Computer Modern Italic Typewriter Text (\code{ecit})}
631
632 \@namedef{TTFontscmrT1}%
633 {%
634 {European Computer Modern Typewriter (\code{ectt})}\textnormal,%
635 {European Computer Modern Italic Typewriter Text (\code{ecit})}\textit,%
636 {European Computer Modern Slanted Typewriter Text (\code{ecst})}\textsl,%
637 {European Computer Modern Typewritr Caps and Small Caps (\code{ectc})}\textsc%
638 }
639
640 \expandafter\let\csname TTFontscmssOT1\expandafter\endcsname\csname TTFontscmrOT1\endcsname
641
642 \expandafter\let\csname TTFontscmssT1\expandafter\endcsname\csname TTFontscmrT1\endcsname
643
644 \expandafter\let\csname TTFontNamecmssOT1\expandafter\endcsname\csname TTFontNamecmrOT1\endcsname
645
646 \expandafter\let\csname TTFontNamecmssT1\expandafter\endcsname\csname TTFontNamecmrT1\endcsname
647
648 \expandafter\let\csname TTItFontNamecmssOT1\expandafter\endcsname\csname TTItFontNamecmrOT1\endcsname
649
650 \expandafter\let\csname TTItFontNamecmssT1\expandafter\endcsname\csname TTItFontNamecmrT1\endcsname
651
652 \@namedef{TTFontNamecmbrOT1}{CM Typewriter Light (\code{cmtl})}
653
654 \@namedef{TTItFontNamecmbrOT1}{CM Typewriter Light Slanted (\code{cmsltl})}
655
656 \@namedef{TTFontscmbrOT1}%
657 {%
658 {CM Typewriter Light (\code{cmtl})}\textnormal,%
659 {CM Typewriter Light Slanted (\code{cmsltl})}\textsl%
660 }
661
662 \@namedef{TTFontNamecmbrT1}{EC Typewriter Light (\code{ebtl})}
663
664 \@namedef{TTItFontNamecmbrT1}{EC Typewriter Light oblique (\code{ebto})}
665
666 \@namedef{TTFontscmbrT1}%
667 {%
668 {EC Typewriter Light (\code{ebtl})}\textnormal,%
669 {EC Typewriter Light oblique (\code{ebto})}\textsl%
670 }
671
672 \expandafter\let\csname TTFontsccrOT1\expandafter\endcsname\csname TTFontscmrOT1\endcsname
673
674 \expandafter\let\csname TTFontsccrT1\expandafter\endcsname\csname TTFontscmrT1\endcsname
675
676 \expandafter\let\csname TTFontNameccrOT1\expandafter\endcsname\csname TTFontNamecmrOT1\endcsname
677
678 \expandafter\let\csname TTFontNameccrT1\expandafter\endcsname\csname TTFontNamecmrT1\endcsname
679
680 \expandafter\let\csname TTItFontNameccrOT1\expandafter\endcsname\csname TTItFontNamecmrOT1\endcsname
681
682 \expandafter\let\csname TTItFontNameccrT1\expandafter\endcsname\csname TTItFontNamecmrT1\endcsname
683
684 \@namedef{MathFontNamecmm}{Computer Modern Math}
685
686 \@namedef{MathFontNameccm}{Concrete Math}
687
688 \@namedef{MathFontNameeuler}{Euler}
689
690 \@namedef{MathFontNamecmbrm}{Computer Modern Bright Math}
691
692 \@namedef{MathLetterFontNamecmm}{Computer Modern Math Italic (\code{cmmi})}
693
694 \@namedef{MathLetterFontNameccm}{Concrete Math Italic (\code{xccmi})}
695
696 \@namedef{MathLetterFontNameeuler}{Euler Roman Medium (\code{eurm})}
697
698 \@namedef{MathLetterFontNamecmbrm}{Computer Modern Bright Math Slanted (\code{cmbrmi})}
699
700 \@namedef{MathSymbolFontNamecmm}{Computer Modern Math Symbols (\code{cmsy})}
701
702 \@namedef{MathSymbolFontNameccm}{Concrete Math Symbols (\code{xccsy})}
703
704 \@namedef{MathSymbolFontNameeuler}{Euler Script Medium (\code{eusm})}
705
706 \@namedef{MathSymbolFontNamecmbrm}{Computer Modern Bright Math Symbols (\code{cmbrmi})}
707
708 \@namedef{MathExtensionFontNamecmm}{Computer Modern Math Extension (\code{cmex})}
709
710 \@namedef{MathExtensionFontNameccm}{Concrete Math Extension (\code{xccex})}
711
712 \@namedef{MathExtensionFontNameeuler}{Euler Extension (\code{euex})}
713
714 \expandafter\let\csname MathExtensionFontNamecmbrm\expandafter\endcsname\csname MathExtensionFontNamecmm\endcsname
715
716 \newcommand{\listdescriptions}[1]
717 {%
718 \expandafter\expandafter\expandafter\@listdescriptions\expandafter\expandafter\expandafter
719 {\csname#1\endcsname}%
720 }
721
722 \newcommand{\@listdescriptions}[1]{\@for\temp := #1 \do {\expandafter\mkdescription\temp}}
723
724 \newcommand{\mkdescription}[2]{}
725
726 \newcommand{\TextFontName}{\@nameuse{TextFontName\TPSFTextfont\encodingdefault}}
727
728 \newcommand{\TextFontNameShort}{\@nameuse{TextFontNameShort\TPSFTextfont\encodingdefault}}
729
730 \let\nameuse\@nameuse
731 \makeatother
732
733 %-----------------------------------------------------------------------------------------------------------------
734 %
735 \makeslidetitle{\TeX Power Example: Package \code{tpslifonts}}\label{Sec:tpslifonts}
736
737 This is the demonstration document for \code{tpslifonts}, \TeX Power's slide fonts configuration package.
738
739 Beamer and overhead presentations are often viewed under peculiar circumstances. Especially for presentations which are
740 projected directly `out of the computer', low power of the beamer, low resolution and an abundance of colors can lead to
741 severe readability problems.
742
743 It is therefore of utmost importance to optimize font selection as much as possible towards \emph{readability}.
744
745 The package \code{tpslifonts} offers a couple of `harmonising' combinations of text and math fonts from the (distant)
746 relatives of \concept{computer modern} fonts, with a couple of extras for optimising readability.
747
748 \newpage
749
750 The package offers the following features:
751 \begin{enumerate}
752 \item Text fonts from \concept{computer modern roman}, \concept{computer modern sans serif}, \concept{Sli\TeX{} computer
753 modern sans serif}, \concept{computer modern bright}, or \concept{concrete roman}.
754 \item Math fonts from \concept{computer modern math}, \concept{computer modern bright math}, or \concept{Euler fonts}.
755 \item Support of additional symbol fonts like \concept{AMS symbols} or \concept{doublestroke}.
756 \item All fonts configured for `smooth scaling' (like in the \code{type1cm} package).
757 \item Avoiding fonts not freely available in \concept{Type 1} format.
758 \item Careful \concept{design size} selection for optimum readability.
759 \end{enumerate}
760
761 \newpage
762
763 In the following, the fonts configured by this package are listed, augmented by font samples and some larger examples
764 which hopefully allow to review the configuration parameters.
765
766 Note that there are a couple of options and parameter settings in the preamble of \code{slifontsexample.tex} which allow
767 to try different configuration variants.
768
769 This document has been typeset using \encodingdefault{} font encoding.
770
771 \section{Text Fonts}
772
773 Package \code{tpslifonts} has configured the following \concept{text fonts}:
774
775 \renewcommand{\mkdescription}[2]
776 {%
777
778 \medskip\pagebreak[3]
779
780 \hrule
781
782 #1:\\ #2{The quick brown fox jumps over the lazy dog.}
783
784 }%
785 \listdescriptions{TextFonts\TPSFTextfont\encodingdefault}
786
787 \medskip
788
789 \hrule
790
791 \medskip
792
793 \section{Typewriter Fonts}
794
795 \ifthenelse{\isundefined{\TPSFttscale}}{}
796 {%
797 \ifthenelse{\equal{\TPSFTextfont}{lcmss}}
798 {For harmonising better with \ifthenelse{\equal{\encodingdefault}{OT1}}{\code{lcmss}}{\code{eclq}}, t}
799 {T}%
800 ypewriter fonts are scaled up by a factor of $\TPSFttscale$.
801 }%
802
803 Package \code{tpslifonts} has configured the following \concept{typewriter fonts}:
804
805 \renewcommand{\mkdescription}[2]
806 {%
807
808 \medskip\pagebreak[3]
809
810 \hrule
811
812 #1:\\ #2{\texttt{The quick brown fox jumps over the lazy dog.}}
813
814 }%
815 \listdescriptions{TTFonts\TPSFTextfont\encodingdefault}
816
817 \medskip
818
819 \hrule
820
821 \medskip
822
823 \section{Math Fonts}
824
825 \ifthenelse{\equal{\TPSFMathfont}{euler}}
826 {%
827 The main math fonts are derived from the \concept{\MathFontNameeuler} fonts. Operators%
828 \ifthenelse{\boolean{TPSFeulerdigits}}{}{ and digits} are taken from \TextFontName.
829 }%
830 {%
831 The main math fonts are derived from the \concept{\nameuse{MathFontName\TPSFMathfont}} fonts.
832 \ifthenelse{\boolean{TPSFtextops}}%
833 {Operators, digits, and upper case greek letters are taken from \TextFontName.}
834 {}%
835 }
836
837 \ifthenelse{\isundefined{\TPSFmathscale}}{}
838 {%
839 \ifthenelse{\equal{\TPSFTextfont}{lcmss}}
840 {For harmonising better with \ifthenelse{\equal{\encodingdefault}{OT1}}{\code{lcmss}}{\code{eclq}}, m}
841 {M}%
842 ath fonts are scaled up by a factor of $\TPSFmathscale$. %
843 \ifthenelse{\equal{\TPSFMathfont}{euler}} {Euler fonts are scaled up by a factor of $\TPSFeulerscale$. }
844 {}%
845 \ifthenelse{\equal{\TPSFMathfont}{cmbrm}}
846 {The cmbright math fonts are scaled up by a factor of $\TPSFcmbrscale$. }
847 {}%
848 }%
849
850 \medskip\pagebreak[3]
851
852 \hrule\nopagebreak
853
854 \ifthenelse{\equal{\TPSFMathfont}{euler}}
855 {%
856 Operators\ifthenelse{\boolean{TPSFeulerdigits}}{}{ and digits} are taken from \TextFontName:\\
857 $\min \max \sup \lim \ifthenelse{\boolean{TPSFeulerdigits}}{}{1 2 3 4 5}$
858
859 \medskip
860
861 \hrule
862
863 Latin and greek letters\ifthenelse{\boolean{TPSFeulerdigits}}{, digits,}{} and some symbols are taken from (virtual)
864 Euler Roman (\code{zeur}):\\
865 $abcd ABCD>/<\alpha \beta \gamma \delta\Phi \Pi \Gamma \Theta\ifthenelse{\boolean{TPSFeulerdigits}}{1 2 3 4 5}{}$
866
867 \medskip
868
869 \begin{samepage}
870 \hrule\nopagebreak
871
872 Symbols and calligraphic letters are taken from (virtual) Euler Script (\code{zeus}):\\
873 $ \mathcal{ABC} -*+ = \div\equiv \leq \forall \cap \cup \nabla \neq$
874 \par
875 \end{samepage}
876
877 \medskip
878
879 \hrule
880
881 \parbox{\linewidth-\widthof{$\displaystyle\left(\sum^{\left\{\bigcup\limits^\bigoplus\right\}}_{\left[\prod\limits_\biguplus\right]}\right)$}-1ex}
882 {%
883 Large and growing symbols are taken from (virtual) Euler Extension (\code{zeuex}).
884 }\hfill
885 $\displaystyle\left(\sum^{\left\{\bigcup\limits^\bigoplus\right\}}_{\left[\prod\limits_\biguplus\right]}\right)$
886 }
887 {%
888 Operators, digits, some symbols and upper case greek letters are taken from
889 \nameuse{TextFontName\TPSFOperatorfont OT1}%
890 :\\
891 $\min \max \sup \lim 1 2 3 4 5 + = \Phi \Pi \Gamma \Theta$
892
893 \medskip
894
895 \hrule
896
897 Latin and lower case greek letters and some symbols are taken from \nameuse{MathLetterFontName\TPSFMathfont}%
898 :\\
899 $abcd ABCD >/< \alpha \beta \gamma \delta$
900
901 \medskip
902
903 \begin{samepage}
904 \hrule\nopagebreak
905
906 Symbols and calligraphic letters are taken from \nameuse{MathSymbolFontName\TPSFMathfont}%
907 :\\
908 $\mathcal{ABC} -*\div\equiv \leq \forall \cap \cup \nabla \neq$
909 \par
910 \end{samepage}
911
912 \medskip
913
914 \begin{samepage}
915 \hrule\nopagebreak
916
917 \parbox{\linewidth-\widthof{$\displaystyle\left(\sum^{\left\{\bigcup\limits^\bigoplus\right\}}_{\left[\prod\limits_\biguplus\right]}\right)$}-1ex}
918 {%
919 Large and growing symbols are taken from \nameuse{MathExtensionFontName\TPSFMathfont}.
920 }\hfill
921 $\displaystyle\left(\sum^{\left\{\bigcup\limits^\bigoplus\right\}}_{\left[\prod\limits_\biguplus\right]}\right)$
922 \par
923 \end{samepage}
924 }
925
926 \medskip
927
928 \ifthenelse{\boolean{TPSFamsfonts}}
929 {%
930 \begin{samepage}
931 \hrule\nopagebreak
932
933 \ifthenelse{\equal{\TPSFMathfont}{cmbrm}}
934 {%
935 Fraktur letters are taken from Euler Fraktur (\code{eufm}):\\
936 $\mathfrak{abcdABCD}$
937 \par
938 \end{samepage}
939
940 \medskip
941
942 \begin{samepage}
943 \hrule\nopagebreak
944
945 Blackboard bold letters and a lot of additional math symbols are taken from the cmbright AMS math fonts
946 (\code{cmbras}, \code{cmbrbs}):\\
947 $\mathbb{NZQR} \Cap \boxtimes \succapprox \subseteqq \nsubseteq \curvearrowright \complement \varnothing$
948 }
949 {%
950 Fraktur letters, blackboard bold letters, and a lot of additional math symbols are taken from the AMS math fonts
951 (\code{msam}, \code{msbm}, \code{eufm}):\\
952 $\mathfrak{abcdABCD}\mathbb{NZQR} \Cap \boxtimes \succapprox \subseteqq \nsubseteq \curvearrowright \complement
953 \varnothing$
954 }
955 \par
956 \end{samepage}
957
958 \medskip
959 }%
960 {}
961
962 \ifthenelse{\boolean{TPSFlasy}\and\not\boolean{TPSFwasysym}}
963 {%
964 \begin{samepage}
965 \hrule\nopagebreak
966
967 A couple of additional math symbols are taken from the \LaTeX{} symbol font (\code{lasy}):\\
968 $\mho\Join\Box\leadsto\Diamond\sqsubset\sqsupset$
969 \par
970 \end{samepage}
971
972 \medskip
973 }%
974 {}
975
976 \ifthenelse{\boolean{TPSFstmaryrd}}
977 {%
978 \begin{samepage}
979 \hrule\nopagebreak
980
981 Additional math symbols are taken from St Mary's Road symbol font (\code{stmary}):\\
982 $\boxast \merge \nplus \varolessthan \subsetpluseq \lightning$
983 \par
984 \end{samepage}
985
986 \medskip
987 }%
988 {}
989
990 \ifthenelse{\boolean{TPSFwasysym}}
991 {%
992 \begin{samepage}
993 \hrule\nopagebreak
994
995 Additional symbols are taken from Waldis symbol font (\code{wasy}):\\
996 $\oiint$\space \permil\space \phone\space \diameter\space \smiley\space \venus\space \mars
997 \par
998 \end{samepage}
999
1000 \medskip
1001 }%
1002 {}
1003
1004 \ifthenelse{\boolean{TPSFrsfs}}
1005 {%
1006 \begin{samepage}
1007 \hrule\nopagebreak
1008
1009 Upper case script letters are taken from Ralph Smith Formal Script (\code{rsfs}):\\
1010 $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
1011 \par
1012 \end{samepage}
1013
1014 \medskip
1015 }%
1016 {}
1017
1018 \ifthenelse{\boolean{TPSFdstroke}}
1019 {%
1020 \begin{samepage}
1021 \hrule\nopagebreak
1022
1023 Double stroke letters are taken from Doublestroke Font
1024 (\ifthenelse{\equal{\TPSFOperatorfont}{cmr}}{\code{dsrom}}{\code{dsss}}):\\
1025 $\mathds{ABCDEFGHIJKLMNOPQRSTUVWXYZ1hk}$
1026 \par
1027 \end{samepage}
1028
1029 \medskip
1030 }%
1031 {}
1032
1033 \hrule
1034
1035 \newpage
1036 \subsection{Math Examples}
1037 Next, some examples of math formulae so you can see how the fonts work together (translations from german done by me).
1038
1039 \ifthenelse{\isundefined{\align}}{}
1040 {%
1041 \medskip
1042
1043 \hrule
1044
1045 \begin{minipage}{\linewidth}
1046 \underl{From The Book.}
1047 \begin{presentbox}
1048 \setlength{\abovedisplayskip}{.3\abovedisplayskip}%
1049 \textbf{(D)}\quad The functions $f$ and $g$ fulfil the same functional equation:
1050 $f\left(\frac{x}{2}\right)+f\left(\frac{x+1}{2}\right)=2f(x)$ and
1051 $g\left(\frac{x}{2}\right)+g\left(\frac{x+1}{2}\right)=2g(x)$.
1052
1053 For $f(x)$, we obtain this from the addition formulas for the sine and cosine:
1054 \begin{align*}
1055 f\left(\textstyle\frac{x}{2}\right)+f\left(\textstyle\frac{x+1}{2}\right)
1056 &=\pi
1057 \left[\frac{\cos\frac{\pi x}{2}}{\sin\frac{\pi x}{2}}-\frac{\sin\frac{\pi x}{2}}{\cos\frac{\pi x}{2}}\right]
1058 \\[1ex]
1059 &=2\pi\frac{\cos\left(\frac{\pi x}{2}+\frac{\pi x}{2}\right)}{\sin\left(\frac{\pi x}{2}+\frac{\pi x}{2}\right)}
1060 =2f(x)\text{.}
1061 \end{align*}
1062
1063 The functional equation for $g$ follows from
1064 \begin{displaymath}
1065 g_N\left(\textstyle\frac{x}{2}\right)+g_N\left(\textstyle\frac{x+1}{2}\right)
1066 =2g_{2N}(x)+\frac{2}{x+2N+1}\text{.}
1067 \end{displaymath}
1068 \end{presentbox}
1069 \end{minipage}%
1070 }
1071
1072 \ifthenelse{\boolean{TPSFdstroke}\and\not\isundefined{\align}}
1073 {%
1074 \newpage
1075
1076 \begin{minipage}{\linewidth}
1077 \underl{From an undergrad book on calculus.}
1078 \begin{presentbox}
1079 \begin{align*}
1080 c_k&=\frac{1}{2\pi}\int_{0}^{2\pi} f(x) e^{-\mathrm{i}kx}\,\mathrm{d}x
1081 =\frac{1}{2\pi}\sum_{j=1}^{r}\int_{t_{j-1}}^{t_j} f(x) e^{-\mathrm{i}kx}\,\mathrm{d}x\\
1082 &=\frac{-\mathrm{i}}{2\pi k}\int_{0}^{2\pi} \varphi(x) e^{-\mathrm{i}kx}\,\mathrm{d}x
1083 =\frac{-\mathrm{i}\gamma_k}{k}\text{.}
1084 \end{align*}
1085 As for all $\alpha,\beta\in\mathds{C}$,
1086 $\left|\alpha\beta\right|\leq\frac{1}{2}\left(\left|\alpha\right|^2+\left|\beta\right|^2\right)$, it holds that
1087 \begin{displaymath}
1088 \left|c_k\right|\leq\frac{1}{2}\left(\frac{1}{\left|k\right|^2}+\left|\gamma_k\right|^2\right)\text{.}
1089 \end{displaymath}
1090 From the convergence of $\sum\limits_{k=1}^{\infty}\frac{1}{k^2}$ and
1091 $\sum\limits_{k=-\infty}^{\infty}\left|\gamma_k\right|^2$, it follows that
1092 \begin{displaymath}
1093 \sum_{k=-\infty}^{\infty}\left|c_k\right|<\infty\text{.}
1094 \end{displaymath}
1095 \end{presentbox}
1096 \end{minipage}%
1097 }
1098 {}
1099
1100 \ifthenelse{\isundefined{\align}\or\isundefined{\extrarowheight}}{}
1101 {%
1102 \newpage
1103
1104 \begin{minipage}{\linewidth}
1105 \underl{From an undergrad book on calculus (2nd volume).}
1106 \begin{presentbox}
1107 \small
1108 By \name{Fubini}'s theorem,
1109 \setcounter{equation}{8}%
1110 \begin{equation}
1111 \label{eq:GaussLemma1}
1112 \int\limits_{Z_\varepsilon}\operatorname{div} F \,\mathrm{d}x
1113 = \sum_{k=1}^{n}\,
1114 \underbrace
1115 {%
1116 \int\limits_{Q'}
1117 \left(
1118 \int\limits^{h\left(x'\right)-\varepsilon}_{-\infty}\partial_kF_k\left(x',x_n\right)\,\mathrm{d}x_n
1119 \right)
1120 \,\mathrm{d}x'
1121 }_{{}\mathrel{=:} I_k}
1122 \text{.}
1123 \end{equation}
1124 Evaluation of $I_k$: Obviously,
1125 \begin{displaymath}
1126 I_n=\int\limits_{Q'}F_n\left(x',h(x'-\varepsilon)\right)\,\mathrm{d}x'\text{.}
1127 \end{displaymath}
1128 In the case $1\leq k \leq n-1$, we employ the identity
1129 \begin{displaymath}
1130 \partial_k
1131 \left(
1132 \int\limits^{h\left(x'\right)-\varepsilon}_{-\infty}\!\!\!\!\!\!F_k\left(x',x_n\right)\,\mathrm{d}x_n
1133 \right)
1134 =
1135 \begin{array}[t]{@{}>{\displaystyle}l@{}}
1136 \int\limits^{h\left(x'\right)-\varepsilon}_{-\infty}
1137 \!\!\!\!\!\!\partial_kF_k\left(x',x_n\right)\,\mathrm{d}x_n\\
1138 {}+F_k\left(x',h(x'-\varepsilon)\right)\cdot\partial_k h\left(x'\right)\text{.}
1139 \end{array}
1140 \end{displaymath}
1141 \end{presentbox}
1142 \end{minipage}%
1143 }
1144
1145 \newpage
1146
1147 \ifthenelse{\isundefined{\align}\or\isundefined{\CD}}{}
1148 {%
1149 \begin{minipage}{\linewidth}
1150 \underl{From a book on functional analysis.}
1151 \begin{presentbox}
1152 \textbf{Definition 25}\quad Let $\mathcal{C}$ and $\mathcal{D}$ be categories and $\mathcal{F}, \mathcal{G}$
1153 functors from $\mathcal{C}$ into $\mathcal{D}$. A mapping
1154 $\eta:\operatorname{Ob}\mathcal{C}\to\operatorname{Mor}\mathcal{D}$ is called a \concept{natural transformation
1155 between $\mathcal{F}$ and $\mathcal{G}$} if
1156 \begin{enumerate}
1157 \item[(i)] $\forall
1158 A\in\operatorname{Ob}\mathcal{C}:
1159 \eta(A)\in\operatorname{Mor}_{\mathcal{D}}\left(\mathcal{F}(A),\mathcal{G}(A)\right)$
1160 \item[(ii)] $\forall A,B\in\operatorname{Ob}\mathcal{C}\;\forall f\in\operatorname{Mor}_{\mathcal{C}}(A,B):$
1161 \begin{align*}
1162 \begin{CD}
1163 \mathcal{F}(A)@>{\mathcal{F}(f)}>>\mathcal{F}(B)\\
1164 @V{\eta(A)}VV @VV{\eta(B)}V\\
1165 \mathcal{G}(A)@>>{\mathcal{G}(f)}>\mathcal{G}(B)\\
1166 \end{CD}
1167 &&\text{or}&&
1168 \begin{CD}
1169 \mathcal{F}(A)@<{\mathcal{F}(f)}<<\mathcal{F}(B)\\
1170 @V{\eta(A)}VV @VV{\eta(B)}V\\
1171 \mathcal{G}(A)@<<{\mathcal{G}(f)}<\mathcal{G}(B)\\
1172 \end{CD}
1173 \end{align*}
1174 respectively, commute, if $\mathcal{F}, \mathcal{G}$ are covariant or contravariant, respectively.
1175 \end{enumerate}
1176
1177 This is denoted as $\eta:\mathcal{F}\to \mathcal{G}$. Such a natural transformation is called a \concept{natural
1178 equivalence between $\mathcal{F}$ and $\mathcal{G}$} if $\eta(A)$ is an isomorphism for every
1179 $A\in\operatorname{Ob}\mathcal{C}$.
1180 \end{presentbox}
1181 \end{minipage}%
1182 }
1183
1184 \ifthenelse{\boolean{TPSFamsfonts}\and\not\isundefined{\align}\and\not\isundefined{\MAT}}
1185 {%
1186 \newpage
1187
1188 \begin{minipage}{\linewidth}
1189 \underl{From an undergrad book on linear algebra.}
1190 \begin{presentbox}
1191 \textit{Step 2.}\quad Determine an eigenvector $v_2$ for an eigenvalue $\lambda_2$ of $F_2$ ($\lambda_2$ is also
1192 an eigenvalue of $F_1$). Next, determine a $j_2\in\{1,\dots,n\}$ such that
1193 \begin{displaymath}
1194 \mathfrak{B}_3 := (v_1,v_2,w_1,\dots,\widehat{w_{j_1}},\dots,\widehat{w_{j_2}},\dots,w_n)
1195 \end{displaymath}
1196 is a base of $V$.
1197
1198 Next, calculate
1199 \vspace*{-\baselineskip}
1200 \begin{displaymath}
1201 M_{\mathfrak{B}_3}(F)=
1202 \left(
1203 \begin{MAT}(b){ccccccc}
1204 \lambda_1&\cdot&\cdot&\cdot&\cdot&\cdot&\cdot\\
1205 0&\lambda_2&\cdot&\cdot&\cdot&\cdot&\cdot\\
1206 \cdot&0&&&&&\\
1207 \cdot&\cdot&&&&&\\
1208 \cdot&\cdot&&&A_3&&\\
1209 \cdot&\cdot&&&&&\\
1210 0&0&&&&&
1211 \addpath{(2,0,0)rrrrruuuuulllllddddd}\\
1212 \end{MAT}
1213 \right)\text{.}
1214 \end{displaymath}
1215 If $W_3:=\operatorname{Span}(w_1,\dots,\widehat{w_{j_1}},\dots,\widehat{w_{j_2}},\dots,w_n)$, then $A_3$
1216 determines a linear mapping $F_3:W_3\to W_3$.
1217 \end{presentbox}
1218 \end{minipage}%
1219 }
1220 {}
1221
1222 \ifthenelse{\isundefined{\align}}{}
1223 {%
1224 \newpage
1225
1226 \begin{minipage}{\linewidth}
1227 \underl{From an undergrad book on linear algebra (2nd volume).}
1228 \begin{presentbox}
1229 \DeclareRobustCommand{\with}{\;\vline\;}%
1230 \DeclareRobustCommand{\Set}[2]{\left\{#1\with#2\right\}}%
1231 \setlength{\abovedisplayskip}{.5\abovedisplayskip}%
1232 \setlength{\belowdisplayskip}{.5\belowdisplayskip}%
1233 \textit{Remark.}\quad If $\left(Y_i\right)_{i\in I}$ is a family of affine subspaces $Y_i$ of an affine space $X$,
1234 then
1235 \begin{displaymath}
1236 Y := \bigcup_{i\in I} Y_i\subset X
1237 \end{displaymath}
1238 is again an affine subspace. If $Y\neq\emptyset$, then
1239 \begin{displaymath}
1240 T(Y)=\bigcup_{i\in I} T\left(Y_i\right)\text{.}
1241 \end{displaymath}
1242
1243 \textit{Proof.}\quad For $Y=\emptyset$, nothing is to be proved. Otherwise, there is a fixed point $p_0\in Y$ such
1244 that
1245 \begin{align*}
1246 T(Y)&=\Set{\overrightarrow{p_0q}\in T(X)}{q\in\bigcup_{i\in I} Y_i} \\
1247 &= \bigcup_{i\in I}\Set{\overrightarrow{p_0q}\in T(X)}{q\in Y_i}=\bigcup_{i\in I} T\left(Y_i\right)\text{.}
1248 \end{align*}
1249 From this, both claims follow.
1250 \end{presentbox}
1251 \end{minipage}
1252 }
1253
1254 \ifthenelse{\boolean{TPSFrsfs}\and\not\isundefined{\align}}
1255 {%
1256 \newpage
1257
1258 \begin{minipage}{\linewidth}
1259 \underl{From a book on measure theory.}
1260 \begin{presentbox}
1261 Analogously, the general \concept{associativity} of $\sigma$-Algebra products is shown, that is
1262 \begin{equation}
1263 \tag{23.12}
1264 \left(\bigotimes_{i=1}^{m}\mathscr{A}_i\right)\otimes\left(\bigotimes_{i=m+1}^{n}\mathscr{A}_i\right)
1265 =\bigotimes_{i=1}^{n}\mathscr{A}_i
1266 \makebox[0pt][l]{\normalcolor\quad($1\leq m<n$).}
1267 \qquad\qquad\qquad\quad
1268 \end{equation}
1269 Statement (23.11) allows to prove the existence of the product measure for all $n\geq 2$ by induction.
1270
1271 \medskip
1272
1273 \textbf{23.9 Theorem}\quad\textit{For $\sigma$-finite measures $\mu_1,\dots,\mu_n$ on
1274 $\mathscr{A}_1,\dots,\mathscr{A}_n$, there exists exactly one measure $\pi$ on
1275 $\mathscr{A}_1\otimes\dots\otimes\mathscr{A}_n$ such that
1276 \begin{equation}
1277 \tag{23.13}
1278 \pi\left(A_1\times\dots\times A_n\right)=\mu_1(A_1)\cdot\dots\cdot\mu_n(A_n)
1279 \end{equation}
1280 for all $A_i\in\mathscr{A}_i$ ($i=1,\dots,n$). Here, $\pi$ is also $\sigma$-finite.}
1281 \end{presentbox}
1282 \end{minipage}%
1283 }
1284 {}
1285
1286 \ifthenelse{\boolean{TPSFrsfs}\and\boolean{TPSFdstroke}\and\not\isundefined{\align}}
1287 {%
1288 \newpage
1289
1290 \begin{minipage}{\linewidth}
1291 \underl{From a book on probability theory.}
1292 \begin{presentbox}
1293 \textbf{17.3 Lemma}\quad\textit{If\/ $T$ takes values exclusively from $\mathds{N}$, then $X_T$ is an
1294 $\mathscr{F}_T$-measurable random variable with values in $\left(\Omega',\mathscr{A}'\right)$. If only
1295 $P\left\{T<+\infty\right\}=1$ holds, then up to $P$-almost certain equality there exists exactly one
1296 $\mathscr{F}_T$-measurable random variable $X^*$ with values in $\left(\Omega',\mathscr{A}'\right)$ which
1297 fulfils the condition
1298 \begin{equation}
1299 \tag{17.7}
1300 X^*(\omega)=X_{T(\omega)}(\omega)
1301 \makebox[0pt][l]{\normalcolor\quad for all $\omega\in\{T<\infty\}$.}
1302 \qquad\qquad
1303 \end{equation}
1304 }%
1305
1306 \smallskip
1307
1308 \textit{Proof.}\quad It suffices to treat the second case and provide an $\mathscr{F}_T$-measurable random
1309 variable fulfilling the given condition. To this end, choose an arbitrary $\omega'\in\Omega'$. We set
1310 \begin{displaymath}
1311 X^*(\omega) :=
1312 \begin{cases}
1313 X_{T(\omega)}(\omega),&\omega\in\{T<\infty\}\text{,}\\
1314 \omega',&\omega\in\{T=\infty\}\text{.}
1315 \end{cases}
1316 \end{displaymath}
1317 For every $A'\in\mathscr{A}'$, it is to be proved that $A := \left\{X^*\in A'\right\}$ is an element of
1318 $\mathscr{F}_T$.
1319 \end{presentbox}
1320 \end{minipage}%
1321 }
1322 {}
1323
1324 \ifthenelse{\isundefined{\align}\or\isundefined{\extrarowheight}}{}
1325 {%
1326 \newpage
1327
1328 \begin{minipage}{\linewidth}
1329 \underl{From my MSc Thesis.}
1330 \begin{presentbox}
1331 \newcommand{\PV}{\operatorname{PV}}%
1332 If we expand equations (4.102) and (4.103), we get
1333 \begin{align*}
1334 \lefteqn{\left(\sum_{q\in\PV}\max\left(M(q),M(\neg q)\right)\right)-\delta}\quad&\\[1ex]
1335 &=
1336 \begin{array}[t]{@{}>{\displaystyle}l@{}}
1337 \sum_{\substack{q\in\PV\\q\neq p}}
1338 \max
1339 \left(
1340 \begin{array}{@{}l@{}}
1341 \frac{m}{M_{{>}s}'\left(\neg p\right)}\cdot M_{{>}s}'(q)
1342 +\frac{m}{M_{s}'\left(p\right)}\cdot M_{s}'(q),\\[2ex]
1343 \frac{m}{M_{{>}s}'\left(\neg p\right)}\cdot M_{{>}s}'(\neg q)
1344 +\frac{m}{M_{s}'\left(p\right)}\cdot M_{s}'(\neg q)
1345 \end{array}
1346 \right)\\[6ex]
1347 {}-\frac{m}{M_{{>}s}'\left(\neg p\right)}\cdot\delta_{{>}s}'
1348 -\frac{m}{M_{s}'\left(p\right)}\cdot\delta_{s}'\\[3ex]
1349 {}-\left(\frac{m}{M_{{>}s}'\left(\neg p\right)}-1\right)\cdot r_1
1350 -\left(\frac{m}{M_{s}'\left(p\right)}-1\right)\cdot r_2\\[3ex]
1351 {}-\max(r_1,r_2)+m
1352 \end{array}
1353 \end{align*}
1354 \end{presentbox}
1355 \end{minipage}%
1356 }
1357
1358 \ifthenelse{\boolean{TPSFamsfonts}\and\not\isundefined{\align}}
1359 {%
1360 \newpage
1361
1362 \begin{minipage}{\linewidth}
1363 \underl{From my PhD Thesis.}
1364 \begin{presentbox}
1365 \DeclareRobustCommand{\Lcap}{\ensuremath{\sqcap}}
1366 \DeclareRobustCommand{\FPcapIcup}{\ensuremath{\uplus}}
1367 \DeclareRobustCommand{\pFl}[1]{\ensuremath{\overline{#1}}}
1368 \DeclareRobustCommand{\Lprimecup}{\ensuremath{\curlyvee}}
1369 \def\FpFl(#1,#2)%
1370 {%
1371 \ensuremath{\mathord
1372 {%
1373 \mathchoice
1374 {\sideset{^{#1}}{^{\,}}{\mathop{\displaystyle\pFl{#2}}}}%
1375 {\sideset{^{#1}}{^{\,}}{\mathop{\pFl{#2}}}}%
1376 {\sideset{^{\scriptscriptstyle#1}}{^{\,}}{\mathop{\scriptstyle\pFl{#2}}}}%
1377 {\sideset{^{\scriptscriptstyle#1}}{^{\,}}{\mathop{\scriptscriptstyle\pFl{#2}}}}%
1378 }}%
1379 }
1380 \DeclareRobustCommand{\Lprimesub}{\ensuremath{\preccurlyeq}}
1381 \DeclareRobustCommand{\Lsub}{\ensuremath{\sqsubseteq}}
1382 \DeclareRobustCommand{\FIsub}{\ensuremath{\subseteqq}}
1383 By Lemma 2.2.7,
1384 \begin{displaymath}
1385 \FpFl(d,a)\FPcapIcup\FpFl(d',b)
1386 =\FpFl({\left(d\Lprimecup \delta\left(\FpFl(d',b)\right)\right)},{a\Lcap \alpha\left(\FpFl(d',b)\right)}).
1387 \end{displaymath}
1388 Furthermore,
1389 \begin{align*}
1390 d&\Lprimesub d\Lprimecup \delta\left(\FpFl(d',b)\right),\\
1391 a\Lcap \alpha\left(\FpFl(d',b)\right)&\Lsub a.
1392 \end{align*}
1393 From this,
1394 \begin{displaymath}
1395 \FpFl(d,a)\FIsub\FpFl(d,a)\FPcapIcup\FpFl(d',b)
1396 \end{displaymath}
1397 follows by (2.3).
1398 \end{presentbox}
1399 \end{minipage}%
1400 }
1401 {}
1402
1403 \newcounter{char}%
1404 \newcounter{symcnt}%
1405 \makeatletter
1406 \newcommand{\charlist}[4]
1407 {%
1408 \begingroup
1409 \setcounter{char}{#1}
1410 \whiledo{\value{char}<#2}
1411 {%
1412 \medskip
1413 \hrule
1414 \hbox{\@for\charht := #3\do{\fontsize{\charht}{\charht}\selectfont#4}}%
1415 \stepcounter{char}%
1416 \hrule
1417 }%
1418 \endgroup
1419 }%
1420 \newcommand{\mksymline}[2]
1421 {%
1422 \begingroup
1423 \medskip
1424 \hrule
1425 \hbox
1426 {%
1427 \@for\charht := #2\do
1428 {%
1429 \fontsize{\charht}{\charht}\selectfont
1430 \setcounter{symcnt}{0}%
1431 $%
1432 \@for\thesymbol := #1\do
1433 {%
1434 \ifcase\value{symcnt}%
1435 \ifthenelse{\equal{\TPSFMathfont}{euler}}{{\thesymbol}}{}%
1436 \or\ifthenelse{\equal{\TPSFMathfont}{euler}}{\,\vrule\,{\thesymbol}}{}%
1437 \or\ifthenelse{\equal{\TPSFMathfont}{euler}}{}{{\thesymbol}}%
1438 \or\ifthenelse{\equal{\TPSFMathfont}{euler}}{}{\,\vrule\,{\thesymbol}}%
1439 \or\ifthenelse{\equal{\TPSFMathfont}{euler}}{}{\,\vrule\,{\thesymbol}}%
1440 \or\ifthenelse{\boolean{TPSFamsfonts}}{\,\vrule\,{\thesymbol}}{}%
1441 \or\ifthenelse{\boolean{TPSFlasy}\and\not\boolean{TPSFwasysym}}{\,\vrule\,{\thesymbol}}{}%
1442 \or\ifthenelse{\boolean{TPSFstmaryrd}}{\,\vrule\,{\thesymbol}}{}%
1443 \or\ifthenelse{\boolean{TPSFwasysym}}{\,\vrule\,{\thesymbol}}{}%
1444 \fi
1445 \stepcounter{symcnt}%
1446 }%
1447 \;\vrule width1ex\;%
1448 $%
1449 }%
1450 }%
1451 \hrule
1452 \endgroup
1453 }%
1454 \makeatother
1455
1456 \ifthenelse{\equal{\TPSFTextfont}{lcmss}}
1457 {%
1458 \newpage
1459
1460 \section{Comparison of Characters}
1461 As mentioned before, \code{tpslifonts} does a little scaling and fiddling with design sizes to make the fonts harmonize
1462 as much as possible.
1463
1464 The following scaling factors are used in this document:
1465 \begin{center}
1466 \begin{tabular}{lll}
1467 Name&Purpose&Value\\\hline
1468 \macroname{TPSFttscale}&Typewriter fonts&\TPSFttscale\\\hline
1469 \macroname{TPSFmathscale}&Math fonts related to cm math&\TPSFmathscale\\\hline
1470 \macroname{TPSFeulerscale}&Euler math fonts&\TPSFeulerscale\\\hline
1471 \macroname{TPSFcmbrscale}&Cmbright math fonts&\TPSFcmbrscale\\\hline
1472 \end{tabular}
1473 \end{center}
1474
1475 Unfortunately, the base font \TextFontName{} is quite excentric wrt the height ratio of upper case and lower case
1476 letters; compare \TextFontNameShort{} \present{a\,A} with \nameuse{TextFontNameShortcmss\encodingdefault}
1477 \present{\fontfamily{cmss}\selectfont a\,A}.
1478
1479 For this reason, no amount of scaling can make \TextFontNameShort{} harmonise completely with `normal' fonts.
1480
1481 In this section, you will see lists of similar characters from different fonts, arranged such that you can check how
1482 good the sizes match. You then have to set your priorities and decide the respective scaling factors accordingly. See
1483 the comments in the preamble of \code{slifontsexample.tex} for instructions on how to experiment with scaling.
1484
1485 To account for different design sizes, the character samples are shown in several sizes.
1486
1487 \subsection{Digits}
1488
1489 Digits from \TextFontName, \nameuse{TTFontName\TPSFTextfont\encodingdefault}%
1490 \ifthenelse{\boolean{TPSFeulerdigits}}{, Euler Roman (\code{zeur})}{}%
1491 \ifthenelse{\equal{\TPSFOperatorfont}{\TPSFTextfont}}{}{, \nameuse{TextFontName\TPSFOperatorfont OT1}},
1492 \nameuse{TextItFontName\TPSFTextfont\encodingdefault}, and \nameuse{TTItFontName\TPSFTextfont\encodingdefault} are
1493 listed in sizes 5pt, 6pt, 7pt, 8pt, 9pt, 10pt, 11pt, and 17pt.
1494
1495 \charlist{48}{58}{5,6,7,8,9,10,11,17}
1496 {%
1497 \char\value{char}\texttt{\char\value{char}}%
1498 \ifthenelse
1499 {%
1500 \boolean{TPSFeulerdigits}\OR\not\equal{\TPSFOperatorfont}{\TPSFTextfont}%
1501 }%
1502 {$\char\value{char}$}{}%
1503 \,\textit{\char\value{char}}\textit{\texttt{\char\value{char}}}
1504 }
1505
1506 \subsection{Upper Case Letters}
1507
1508 Upper Case Letters from \TextFontName, \nameuse{TTFontName\TPSFTextfont\encodingdefault}%
1509 \ifthenelse{\equal{\TPSFMathfont}{euler}}{, Euler Roman (\code{zeur})}{}%
1510 \ifthenelse{\equal{\TPSFOperatorfont}{\TPSFTextfont}}{}{, \nameuse{TextFontName\TPSFOperatorfont OT1}}%
1511 \ifthenelse{\equal{\TPSFMathfont}{euler}}{, Euler Script (\code{zeus}; for calligraphic letters)}{}%
1512 \ifthenelse{\boolean{TPSFamsfonts}}
1513 {%
1514 , Euler Fraktur (\code{eufm})%
1515 , \ifthenelse{\equal{\TPSFMathfont}{cmbrm}}{cmbright AMS math (\code{cmbrbs}}{AMS math (\code{msbm}}%
1516 ; for blackboard bold)%
1517 }{}%
1518 \ifthenelse{\boolean{TPSFdstroke}}
1519 {, Doublestroke Font (\ifthenelse{\equal{cmr}{\TPSFTextfont}}{\code{dsrom}}{\code{dsss}})}{}%
1520 , \nameuse{TextItFontName\TPSFTextfont\encodingdefault}, \nameuse{TTItFontName\TPSFTextfont\encodingdefault}%
1521 \ifthenelse{\equal{\TPSFMathfont}{euler}}{}{, \nameuse{MathLetterFontName\TPSFMathfont}}%
1522 \ifthenelse{\equal{\TPSFMathfont}{euler}}{}{, \nameuse{MathSymbolFontName\TPSFMathfont} for calligraphic letters}%
1523 \ifthenelse{\boolean{TPSFrsfs}}{, Ralph Smith Formal Script (\code{rsfs})}{}
1524 are listed in sizes 5pt, 7pt, and 10pt.
1525
1526 \charlist{65}{91}{5,6,7,10}
1527 {%
1528 \char\value{char}\texttt{\char\value{char}}%
1529 \ifthenelse{\equal{\TPSFMathfont}{euler}}{$\char\value{char}$}{}%
1530 \ifthenelse{\equal{\TPSFOperatorfont}{\TPSFTextfont}}{}
1531 {$\operatorname{\char\value{char}}$}%
1532 \ifthenelse{\equal{\TPSFMathfont}{euler}}{$\mathcal{\char\value{char}}$}{}%
1533 \ifthenelse{\boolean{TPSFamsfonts}}{$\mathfrak{\char\value{char}}\mathbb{\char\value{char}}$}{}%
1534 \ifthenelse{\boolean{TPSFdstroke}}{$\mathds{\char\value{char}}$}{}%
1535 \,\textit{\char\value{char}}\textit{\texttt{\char\value{char}}}%
1536 \ifthenelse{\equal{\TPSFMathfont}{euler}}{}{$\char\value{char}$}%
1537 \ifthenelse{\equal{\TPSFMathfont}{euler}}{}{$\mathcal{\char\value{char}}$}%
1538 \ifthenelse{\boolean{TPSFrsfs}}{$\mathscr{\char\value{char}}$}{}%
1539 ~
1540 }
1541
1542 \subsection{Lower Case Letters}
1543
1544 Lower Case Letters from \TextFontName, \nameuse{TTFontName\TPSFTextfont\encodingdefault}%
1545 \ifthenelse{\equal{\TPSFMathfont}{euler}}{, Euler Roman (\code{zeur})}{}%
1546 \ifthenelse{\equal{\TPSFOperatorfont}{\TPSFTextfont}}{}{, \nameuse{TextFontName\TPSFOperatorfont OT1}}%
1547 \ifthenelse{\boolean{TPSFamsfonts}}{, Euler Fraktur (\code{eufm})}{}%
1548 , \nameuse{TextItFontName\TPSFTextfont\encodingdefault}, \nameuse{TTItFontName\TPSFTextfont\encodingdefault}%
1549 \ifthenelse{\equal{\TPSFMathfont}{euler}}{}{, \nameuse{MathLetterFontName\TPSFMathfont}}
1550 are listed in sizes 5pt, 7pt, 10pt, 12pt, and 14pt.
1551
1552 \charlist{97}{123}{5,7,10,12,14}
1553 {%
1554 \char\value{char}\texttt{\char\value{char}}%
1555 \ifthenelse{\equal{\TPSFMathfont}{euler}}{$\char\value{char}$}{}%
1556 \ifthenelse{\equal{\TPSFOperatorfont}{\TPSFTextfont}}{}
1557 {$\operatorname{\char\value{char}}$}%
1558 \ifthenelse{\boolean{TPSFamsfonts}}{$\mathfrak{\char\value{char}}$}{}%
1559 \,\textit{\char\value{char}}\textit{\texttt{\char\value{char}}}%
1560 \ifthenelse{\equal{\TPSFMathfont}{euler}}{}{$\char\value{char}$}%
1561 ~
1562 }
1563
1564 \newpage
1565
1566 \subsection{Math Symbols}
1567
1568 The different math fonts define symbols of similar shape, which should look equally large. Symbols from
1569 \ifthenelse{\equal{\TPSFMathfont}{euler}}
1570 {Euler Roman (\code{zeur}), Euler Symbol (\code{zeus})}
1571 {%
1572 \nameuse{TextFontName\TPSFOperatorfont OT1}, \nameuse{MathLetterFontName\TPSFMathfont},
1573 \nameuse{MathSymbolFontName\TPSFMathfont}%
1574 }%
1575 \ifthenelse{\boolean{TPSFamsfonts}}{, \ifthenelse{\equal{\TPSFMathfont}{cmbrm}}{cmbright }{}AMS math fonts}{}%
1576 \ifthenelse{\boolean{TPSFlasy}\and\not\boolean{TPSFwasysym}}{, \LaTeX{} symbol font (\code{lasy})}{}%
1577 \ifthenelse{\boolean{TPSFstmaryrd}}{, St Mary's Road symbol font (\code{stmary})}{}%
1578 \ifthenelse{\boolean{TPSFwasysym}}{, Waldis symbol font (\code{wasy})}{}
1579 are listed in sizes 5pt, 7pt, 10pt, and 12pt.
1580
1581 To make clear which characters stem from which font, they are separated by vertical bars.
1582
1583 \mksymline{\star,+,+,\star,\times,\divideontimes,,\moo,}{5,7,10,12}
1584
1585 \mksymline{,\cup,,,\cup,\Cup,,\nplus,}{5,7,10,12}
1586
1587 \mksymline{,\oplus,,,\oplus,\circledast,,\olessthan,\ocircle}{5,7,10,12}
1588
1589 \mksymline{,\vdash,,,\vdash,\Vdash,,,}{5,7,10,12}
1590
1591 \mksymline{,=,=,,\equiv,\doteqdot,,,}{5,7,10,12}
1592
1593 \mksymline{<,\leq,,<,\leq,\leqslant,\sqsubset,\trianglelefteqslant,\apprle}{5,7,10,12}
1594
1595 \mksymline{\leftharpoondown,\leftarrow,,\leftharpoondown,\leftarrow,\twoheadleftarrow,\leadsto,\leftarrowtriangle,\leadsto}{5,7,10,12}
1596 }
1597 {}
1598
1599 \end{slide}
1600 \end{document}