diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex | 65 |
1 files changed, 50 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex index f0191124cd1..d0003efb2c3 100644 --- a/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex +++ b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex @@ -1,5 +1,5 @@ %Slidefont-demo.tex -\documentclass{beamer} +\documentclass{beamer}\errorcontextlines=9 \usetheme{AnnArbor} \usefonttheme{professionalfonts} \useoutertheme[right]{sidebar} @@ -7,9 +7,11 @@ \beamertemplatetransparentcovereddynamic \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} +\usepackage[polutonikogreek,english]{babel} \usepackage{textcomp} \usepackage{mflogo} \usepackage{lxfonts} +\usepackage{amsmath, amssymb,array,booktabs} \newfont{\cit}{cmssqi8 scaled 1200} \newfont{\lit}{lcmssi8 scaled 1200} @@ -24,20 +26,21 @@ \newcommand\SliTeX{Sli\kern-.05em\TeX} \newcommand\AMS{\ensuremath{\mathcal{A\!_{\textstyle M}\mkern-2mu S}}} -\DeclareMathOperator{\diff}{\mathop{}\mathrm{d}\!} +\DeclareMathOperator{\diff}{\mathrm{d}\!} \newcommand*\cs[1]{\texttt{\char92#1}} +\newcommand\pack[1]{\textsl{#1}} \def\TRON{\tracingcommands=2\tracingmacros=2\relax} \def\TROF{\tracingcommands=0\tracingmacros=0\relax} \title{Revived slide fonts for \LaTeX} -\subtitle{Demo\qquad Version 0.4} +\subtitle{Demo\qquad Version 2.0} \author{Claudio Beccari} -\institute{PdT} -\date{Turin, 2008-01-20} +\date{2013-09-05} \begin{document} +%\expandafter\show\csname mv@normal \endcsname \begin{frame} @@ -104,8 +107,8 @@ If you compare at the same font size this new font with the ordinary sanserif fo \begin{center} \def\S{\rule{0pt}{2.2ex}}\def\D{\rule[-1ex]{0pt}{0pt}} \begin{tabular*}{\linewidth}{r@{\extracolsep{\fill}}l}\hline -\footnotesize\texttt{OT1/cmss}\S & \cmssx abcdefghijklmnopqrstuvwxyz\\ -\footnotesize\texttt{OT1/llcmss}\D&abcdefghijklmnopqrstuvwxyz\\\hline +\footnotesize\texttt{\itshape OT1/cmss}\S & \cmssx abcdefghijklmnopqrstuvwxyz\\ +\footnotesize\texttt{\itshape OT1/llcmss}\D& abcdefghijklmnopqrstuvwxyz\\\hline \end{tabular*} \end{center} \end{frame} @@ -156,7 +159,7 @@ x_{1,2} \in \mathbb{C} &\text{if } b^2-4ac<0 \begin{frame}\frametitle{Comments to the first example} The example displays the usual algebraic structures with exponents, subscripts, fractions and square roots. -It displays also an extensible operator and characters of the series \alert{black board bold} that belong to the further symbol collection of the \texttt{amssymb} package, that were also restyled with the stylistic parameters of the lxfonts. +It displays also an extensible operator and \alert{black board bold} characters, that belong to the further symbol collection of the \texttt{amssymb} package, that were also restyled with the stylistic parameters of the lxfonts. \end{frame} @@ -164,9 +167,10 @@ It displays also an extensible operator and characters of the series \alert{blac With the same stylistic parameters the \AMS\ fonts of the \texttt{msam} and \texttt{msbm} collections were rebuilt, so that all packages of the \textsl{amsmath} bundle can be used in a way that all symbols and commands share the same stylistic features. You can type for example: -\begin{equation} -\nexists F(\boldsymbol{P}) : \iiint_V f(\boldsymbol{P}) \diff x \diff y \diff z -\end{equation} +\TRON\begin{equation} +\nexists F(\boldsymbol{P}) : F(\boldsymbol{P}) \eqsim \iiint_V f(\boldsymbol{P}) \diff x \diff y \diff z +\end{equation}\TROF +~ \begin{equation} \begin{pmatrix} a_{1,1} & a_{1,2} & a_{1,3}\\ @@ -176,17 +180,32 @@ a_{3,1} & a_{3,2} & a_{3,3} \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix} -= +\lessapprox \begin{pmatrix} y_1 \\ y_2 \\ y_3 \end{pmatrix} \end{equation} \end{frame} +\begin{frame}{The \LaTeX\ symbols} +The following symbols are the \LaTeX\ special symbols, provided by the \pack{latexsym} package \alert{and} by the \pack{amsfonts} one; by delaying the call to the LXfonts macros to the \cs{AtEndPreamble} hook, it is possible to check which packages have already been loaded, and in case the \pack{latexsym} package is not reloaded. +\begin{center} +\begin{tabular}{l>$c<$l>$c<$}\toprule +\cs{Join} & \Join & \cs{leadsto} & \leadsto \\ +\cs{sqsupset} & \sqsupset & \cs{sqsubset} & \sqsubset \\ +\cs{rhd} & \rhd & \cs{lhd} & \lhd \\ +\cs{unrhd} & \unrhd & \cs{unlhd} & \unlhd \\ +\cs{Diamond} & \Diamond & \cs{mho} & \mho \\ +\cs{Box} & \Box & & \\ +\bottomrule +\end{tabular} +\end{center} +\end{frame} + \begin{frame}\frametitle{Second math example} -The residue theorem states that if $f(s) : z,\,f\in \mathbb{C}$ is analytic in domanin $\mathbb{D}$ except in a finite number of singular points, then +The residue theorem states that if $f(z) : z,\,f\in \mathbb{C}$ is analytic in domanin $\mathbb{D}$ except in a finite number of singular points, then \begin{equation} -\circlearrowleft\mkern-20.5mu\int_\gamma f(z)\diff z = 2\pi \mathrm{j}\sum_{k=1}^{N_{\mathrm{sing}}} R_k +\circlearrowleft\mkern-18.5mu\int_\gamma f(z)\diff z = 2\pi \mathrm{j}\sum_{k=1}^{N_{\mathrm{sing}}} R_k \end{equation} holds true; $\gamma\in\mathbb{D}$ is a simply connected closed line and $N_{\mathrm{sing}}$ is the number of singularities contained within $\gamma$. \end{frame} @@ -226,12 +245,28 @@ As it was shown in the previous slide the new fonts may be used by simply callin \alert{Just one warning}: call the \texttt{lxfonts} package after you have loaded all the other font related packages; \texttt{lxfonts} will take care of invoking the correct font description files with the proper encodings; according to the packages loaded, it provides to some definitions that are necessary for mutual compatibility. -\alert{Another warning}: If you are using \textsl{beamer} and math italics does not come out correctly, specify: +\alert{A \textsl{beamer} warning}: If you are using \textsl{beamer} and math italics does not come out correctly, specify: \begin{flushleft}\ttfamily \cs{usefonttheme}\{professionalfonts\} \end{flushleft} \end{frame} +\begin{frame}{Integration with the Greek script} +If it is needed to mix Latin and Greek script sentences in a presentation, it is good to remember that the Greek CB fonts include also a font for slides that closely matches the Latin one. In order to mix Latin and Greek script the necessary LGR Greek font description files are already available with the LX fonts bundle, therefore the Greek script is readily accessible, and the \pack{babel} language switching commands are fully available also when using the LX fonts. +\end{frame} + + +\begin{frame}{Integration with the Greek script} +Here is a short sentence that uses the Greek CB fonts for slides; the text is in fully accented polytonic Greek. + +\begin{quote} +\begin{otherlanguage}{greek} +To'utou q'arin >ap'elip'on se >en Kr'hth|, <'ina t`a le'iponta +>epidiort'wsh| ka`i katast'hsh|s kat`a p'olin presbit'erous, <ws +>eg'w soi dietax'amen, e>'i t'is >estin >an'egklhtos, mi~as +gunaik`os >an'hr, t'ekna >'eqwn pist'a, m`h >en kathgor'ia| +>aswt'ias >`h >anup'otakta.\end{otherlanguage}\end{quote} +\end{frame} \begin{frame}\frametitle{Type\,1 lxfonts} The package contains all the type\,1 versions of the new fonts; after you have added their map file to the system (or personal) files by carefully following the instructions given in the \structure{LXfonts.readme} file, you can run the \alert{pdflatex}, or the \alert{latex+dvips+ps2pdf}, or the \alert{latex+dvipdfm} programs, and they will use the \alert{type\,1} fonts instead of the \MF\ bitmapped ones. |