summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/lxfonts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-01-22 00:47:52 +0000
committerKarl Berry <karl@freefriends.org>2008-01-22 00:47:52 +0000
commita69af871d6ae9cb51cb7f1b25e2ac690da926ed7 (patch)
treefb5a3f4a3ecc6f97f7656e7d9e9b5941c87ff741 /Master/texmf-dist/doc/fonts/lxfonts
parent17337a1ac66e89310e57ca7eaff87370d2172703 (diff)
new font package lxfonts (20jan08)
git-svn-id: svn://tug.org/texlive/trunk@6363 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/lxfonts')
-rw-r--r--Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.pdfbin0 -> 302061 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex267
-rw-r--r--Master/texmf-dist/doc/fonts/lxfonts/LXfonts.readme81
-rw-r--r--Master/texmf-dist/doc/fonts/lxfonts/manifest26
4 files changed, 374 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.pdf b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.pdf
new file mode 100644
index 00000000000..6d74d0d7dad
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex
new file mode 100644
index 00000000000..f0191124cd1
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts-demo.tex
@@ -0,0 +1,267 @@
+%Slidefont-demo.tex
+\documentclass{beamer}
+\usetheme{AnnArbor}
+\usefonttheme{professionalfonts}
+\useoutertheme[right]{sidebar}
+\setbeamercolor{alerted text}{fg=red!90!black}
+\beamertemplatetransparentcovereddynamic
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage{textcomp}
+\usepackage{mflogo}
+\usepackage{lxfonts}
+
+\newfont{\cit}{cmssqi8 scaled 1200}
+\newfont{\lit}{lcmssi8 scaled 1200}
+\newfont{\cir}{cmssq8 scaled 1200}
+\newfont{\lir}{lcmss8 scaled 1200}
+\DeclareFixedFont{\cmsyx}{OMS}{cmsy}{m}{n}{12}
+\DeclareFixedFont{\cmssx}{OT1}{cmss}{m}{n}{12}
+
+
+
+
+
+\newcommand\SliTeX{Sli\kern-.05em\TeX}
+\newcommand\AMS{\ensuremath{\mathcal{A\!_{\textstyle M}\mkern-2mu S}}}
+\DeclareMathOperator{\diff}{\mathop{}\mathrm{d}\!}
+\newcommand*\cs[1]{\texttt{\char92#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}
+\author{Claudio Beccari}
+\institute{PdT}
+\date{Turin, 2008-01-20}
+
+\begin{document}
+
+
+\begin{frame}
+\titlepage
+\end{frame}
+
+%\begin{frame}\frametitle{Table of contents}
+%\tableofcontents
+%\end{frame}
+
+\section{Introduction}
+
+\begin{frame}\frametitle{The original \LaTeX\ slides}
+When \LaTeX\ was created, Leslie Lamport made an accompanying program named \SliTeX. At that time PCs had very little memory and format files could not handle more than one language at a time.
+
+\medskip
+
+{\centering\alert{It was A.D.\ 1984!}\par}
+
+\medskip
+
+\SliTeX\ was used for creating that time's presentations. Its main value, besides creating presentations to be printed on transparencies (beamers did not exist at that time\dots), was to use fonts whose legibility was excellent.
+\end{frame}
+
+\begin{frame}\frametitle{The old slides font}
+The old slides fonts derived from the ones D.E.\ Knuth designed for his witty citations at the end of each \TeX\-book chapter, for example:
+\begin{quote}\raggedleft{\cit
+If you can't solve a problem,\\
+you can always look up the answer.\\
+But please, Try first to solve it by yourself;\\
+then you'll learn more and you'll learn faster.\par}
+\makebox[\linewidth][r]{\cir --- DONALD E.\ KNUTH. {\cit The \TeX\-book} (1983)}
+\end{quote}
+\end{frame}
+
+\begin{frame}\frametitle{The old slides font}
+You may notice that the upper case `i' and the lower case `l' are undistinguishable, and, even worse, they get confused with the math symbol $|$.
+
+\medskip
+
+Lamport himself made from the knuthian one a variant with a serifed capital `i':
+\begin{quote}\raggedleft{\lit
+If you can't solve a problem,\\
+you can always look up the answer.\\
+But please, Try first to solve it by yourself;\\
+then you'll learn more and you'll learn faster.\par}
+\makebox[\linewidth][r]{\lir --- DONALD E.\ KNUTH. {\lit The \TeX\-book} (1983)}
+\end{quote}
+\end{frame}
+
+\begin{frame}\frametitle{The new slides font}
+In order to use this slides font also in mathematics I realized this new font (used throughout this presentation) so that Knuth's citation becomes:
+\begin{quote}\raggedleft\small\linespread{1.2}{\itshape
+If you can't solve a problem,\\
+you can always look up the answer.\\
+But please, Try first to solve it by yourself;\\
+then you'll learn more and you'll learn faster.\par}
+\makebox[\linewidth][r]{\upshape --- DONALD E.\ KNUTH. {\itshape The \TeX\-book} (1983)}
+\end{quote}
+\end{frame}
+
+\begin{frame}\frametitle{Comparison between the sanserif fonts}
+If you compare at the same font size this new font with the ordinary sanserif font of the CM/EC collections (the fonts that are used by default, for example, by \textsl{beamer}) you notice a remarkable difference in legibility and this explains the initial choice made by Lamport.
+\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
+\end{tabular*}
+\end{center}
+\end{frame}
+
+\begin{frame}\frametitle{The old slides font and mathematics}
+Math with \SliTeX\ used to be typeset with the ordinary math fonts used with \LaTeX; the only exception was that the `operators' font was substituted with the upright slides font.
+
+The result was poor; not only everybody could notice the difference between the stroke weight of the CM math fonts compared to the slides font, but the various signs obtained by composition of different glyphs, such as, for example, \(\textfont2\cmsyx \Longrightarrow\) instead of \(\Longrightarrow\), were composed with an `equals' sign taken from the slides fonts, and an arrow tip taken from the CM math symbols fonts.
+\end{frame}
+
+
+\section{The new slides fonts}
+
+\begin{frame}\frametitle{The new slides fonts and mathematics}\small
+Therefore, in order to use the new slides font in mathematics it was necessary to restyle the three math fonts, specifically:
+\begin{itemize}
+\item the `letters' font that contains the math italics alphabet, the upper and lower case slanted Greek alphabet, and many other symbols;
+\item the `symbols' font that included also the upper case calligraphic alphabet;
+\item the `delimiters' font that contains the extensible glyphs for the large delimiters and operators.
+\end{itemize}
+
+To this end the three above mentioned fonts have been rebuilt with the stylistic parameters of the new fonts, both in medium and bold face weights.
+\end{frame}
+
+\begin{frame}\frametitle{First math example}
+The second degree real coefficient equation
+\begin{equation}
+ax^2 + bx + c = 0
+\end{equation}
+has solutions
+\begin{equation}
+x_{1,2} = \frac{-b \pm\sqrt{b^2-4ac}}{2a}
+\end{equation}
+\end{frame}
+
+
+\begin{frame}\frametitle{First math example}
+\noindent with
+\begin{equation}
+\begin{cases}
+x_{1,2} \in \mathbb{R} &\text{if } b^2-4ac>0\\
+x_1=x_2 \in \mathbb{R} &\text{if } b^2-4ac=0\\
+x_{1,2} \in \mathbb{C} &\text{if } b^2-4ac<0
+\end{cases}
+\end{equation}
+\end{frame}
+
+\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.
+
+\end{frame}
+
+\begin{frame}\frametitle{The \AMS\ fonts}
+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}
+\begin{equation}
+\begin{pmatrix}
+a_{1,1} & a_{1,2} & a_{1,3}\\
+a_{2,1} & a_{2,2} & a_{2,3}\\
+a_{3,1} & a_{3,2} & a_{3,3}
+\end{pmatrix}
+\begin{pmatrix}
+x_1 \\ x_2 \\ x_3
+\end{pmatrix}
+=
+\begin{pmatrix}
+y_1 \\ y_2 \\ y_3
+\end{pmatrix}
+\end{equation}
+\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
+\begin{equation}
+\circlearrowleft\mkern-20.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}
+
+\begin{frame}\frametitle{The Text Companion font}
+Of course the restyling has been done also on the TS encoded Text Companion font, the one you call for when you input the package:
+\begin{flushleft}\ttfamily
+\cs{usepackage}\{textcomp\}
+\end{flushleft}
+
+Here is a small sample:
+\begin{center}\begin{tabular}{*7c}
+\pounds& \textmu& \textohm& \textyen& \textdollar& \texteuro& \textcelsius\\
+\textlbrackdbl&\textborn&\textdivorced&\textmarried&\textleaf&\textmusicalnote&\textrbrackdbl\\
+\textperthousand&\textcentoldstyle&\textwon&\textnaira&\textguarani&\textpilcrow&\textpertenthousand
+\end{tabular}
+\end{center}
+\end{frame}
+
+\begin{frame}\frametitle{Typewriter fonts for presentations}
+Since presentations (like this one) may involve computer programming or computer science topics, the lxfonts style file contains also the typewriter type fonts taken from the CM/EC fonts but magnified a little bit so as to have the same x-height as the other text fonts. With these fonts you can type programming code such as:
+\begin{flushleft}\ttfamily
+\cs{documentclass}\{beamer\}\\
+...\\
+\cs{usepackage}[T1]\{fontenc\}\\
+\cs{usepackage}[latin1]\{inputenc\}\\
+...\\
+\cs{usepackage}\{lxfonts\}\\
+\cs{begin}\{document\}
+\end{flushleft}
+\end{frame}
+
+
+
+\begin{frame}\frametitle{How to use the lxfonts}
+As it was shown in the previous slide the new fonts may be used by simply calling the \texttt{lxfonts} package.
+
+\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:
+\begin{flushleft}\ttfamily
+\cs{usefonttheme}\{professionalfonts\}
+\end{flushleft}
+\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.
+\end{frame}
+
+
+
+
+
+
+\section{Conclusion}
+
+\begin{frame}\frametitle{Experiment!}
+It's evident that a new collection of fonts requires extensive experimentation, so as to spot all the glitches they and the associated files contain.
+
+\medskip
+
+The actual distribution may be defined as an $\alpha$-version, but the sooner feedback arrives, the sooner the fonts bundle is corrected and becomes stable.
+
+\medskip
+
+Therefore\dots
+\end{frame}
+
+\begin{frame}\frametitle{The end}
+\begin{center}
+\fontsize{37}{35}\selectfont Happy TeXing\\ \makebox[\linewidth]{with the \alert{lxfonts}!}
+
+\end{center}
+\end{frame}
+
+
+\end{document}
diff --git a/Master/texmf-dist/doc/fonts/lxfonts/LXfonts.readme b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts.readme
new file mode 100644
index 00000000000..8cc9bb1c6cc
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/lxfonts/LXfonts.readme
@@ -0,0 +1,81 @@
+This file documents the installation of the LX fonts, version 0.4, extracted
+from file lxfonts-tds.zip. Of course you don't have to install anything if your
+TeX system already contains these LX fonts. Verify by searching the file
+lxfonts.sty in the texmf-dist rooted tree of your distribution; if it exists,
+you probably can skip reading the rest of this file.
+
+This archive contains three main directories
+
+tex/ fonts/ and doc/
+
+each containing a TDS compliant folder or directory structure; TDS stands
+for: "TeX Directory Structure".
+
+Upon opening the compressed file extract or drag the contents of each main
+directory to the homonymous folder in you personal/local texmf tree, that,
+of course, should already be TDS compliant; if your operating system is not
+so smart to add the new files to existing TDS branches of the local or system
+wide TDS tree, just copy or drag only the end twigs of these distributed branches.
+
+The use of a personal tree is suggested in order to avoid the need of
+reloading everything every time you upgrade your TeX system; in any case,
+should any upgrade already contain the LX fonts, check if the upgrade
+contains a more recent version of these fonts and related software; should
+it be the case, delete your personal installation and use the distributed one.
+
+Refresh the filename databse; this operation depends from the particular
+distribution of the TeX system; on a Mac OS X, where the root of your
+personal texmf is ~/Library/texmf, the filename database does not need
+an explcit refresh.
+
+On other UNIX systems, where teTeX or TeXlive are the TeX system
+distributions, you need to refresh the file name database by running texhash.
+
+On win32 platforms, if you use the MiKTeX distribution, open the MiKTeX
+Options from the Start dialog box and click the Refresh button.
+
+Similar operations must be performed with other TeX distributions.
+
+At this point you should add the line
+
+Map lxfonts.map
+
+or, at your choice,
+
+Mixedmap lxfonts.map
+
+to updmap.cfg, and then run the system program updmap (possibly as root,
+or administrator). Notice that this operation is substantially
+the same with every distribution and every operating system, but the
+details vary from platform to platform; therefore read the documentation
+of your TeX system so as to proceed as required for your particular distribution.
+
+WORTH NOTING: Once the system wide or local maps files contain the names of the
+various LX type 1 fonts, it is irrelevant if you had specified Map or MixedMap,
+because the type 1 ones will be always preferred to the METAFONT bitmapped fonts.
+But since this distribution contains also the METAFONT sources, it does not hurt
+to specify MixedMap. Actually the METAFONT sources are available in case you
+spotted some errors and you wanted to try your chance to correct them; when you've
+got the good corrections, please, don't forget to notify me!
+
+
+If you did everything correctly, your TeX system is now capable of using the
+LX fonts with LaTeX and with pdflatex, and dvips and dvipdfm can perform
+their specific transformations by using the PostScript forms of these LX fonts.
+
+Warning: load the lxfonts.sty file in your document preamble *after* any
+other call to font related packages simply with
+
+\usepackage{lxfonts}
+
+Read the demo pdf file to see how to use these fonts. Of course the
+slides production software may be any class or package that produces slides;
+it not necessary to use the same package used in the example.
+
+All you need for using these fonts is already contained in the lxfonts.sty
+file.
+
+
+Claudio Beccari Torino 2008-01-20
+
+
diff --git a/Master/texmf-dist/doc/fonts/lxfonts/manifest b/Master/texmf-dist/doc/fonts/lxfonts/manifest
new file mode 100644
index 00000000000..c228b5a11ce
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/lxfonts/manifest
@@ -0,0 +1,26 @@
+This is the manifest file for the package lxfonts, version 0.4 (alpha version)
+
+(c) Claudio Beccari 2007-2008
+
+This work is subject to the LaTeX Project Public Licence (LPPL), version 1.3
+or any other successive version as you like; the LPPL licence is downloadable
+from any CTAN archive.
+
+The package lxfonts.sty contains the folders
+
+doc fonts tex
+
+whose branches contain a TDS compliant structure of folders to be directly used
+for loading the fonts into any computer.
+
+Read the LXfonts.readme (text) file for detailed installation instructions.
+
+
+This work has the status of author maintaned; for suggestions, bugs, and the like, write to
+
+claudio dot beccari at alice dot it
+
+Claudio Beccari Torino 2008/01/20
+
+
+