diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-04 22:52:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-04 22:52:42 +0000 |
commit | bb2565da99bcc50651791d058477ae403ff7bdd9 (patch) | |
tree | 3480dd5e323518530b5cf2025c45e7da0165dabc /Master/texmf-dist/source/fonts/cbfonts-fd/cbfonts-fd.fdd | |
parent | a07105737857c2ce31367bdbda29607f4b56a80a (diff) |
cbfonts-fd (4mar16)
git-svn-id: svn://tug.org/texlive/trunk@39936 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/fonts/cbfonts-fd/cbfonts-fd.fdd')
-rw-r--r-- | Master/texmf-dist/source/fonts/cbfonts-fd/cbfonts-fd.fdd | 465 |
1 files changed, 281 insertions, 184 deletions
diff --git a/Master/texmf-dist/source/fonts/cbfonts-fd/cbfonts-fd.fdd b/Master/texmf-dist/source/fonts/cbfonts-fd/cbfonts-fd.fdd index 23f2f2d6578..79801a6c3fb 100644 --- a/Master/texmf-dist/source/fonts/cbfonts-fd/cbfonts-fd.fdd +++ b/Master/texmf-dist/source/fonts/cbfonts-fd/cbfonts-fd.fdd @@ -78,7 +78,7 @@ distribute a modified version of this file under its original name. \endgroup %</internal> % -% Copyright 2013 Claudio Beccari and any individual authors +% Copyright 2013-2016 Claudio Beccari and any individual authors % listed elsewhere in this file. All rights reserved. % % This file forms a font support for the babel-greek package. @@ -101,7 +101,7 @@ distribute a modified version of this file under its original name. % |cbfonts-fd.fdd| % \fi % -% \CheckSum{163} +% \CheckSum{472} % % \iffalse This is a META comment % @@ -119,35 +119,42 @@ distribute a modified version of this file under its original name. %<LGRlmro, >\ProvidesFile{lgrlmro.fd} %<LGRlmss, >\ProvidesFile{lgrlmss.fd} %<LGRlmtt, >\ProvidesFile{lgrlmtt.fd} - [2013/09/01 v1.0 % + [2016/03/04 v1.1 % %<LGRcmr, > Greek European Computer Regular] %<LGRcmro, > Greek European Computer Outline] %<LGRcmtt, > Greek European Computer Typewriter] %<LGRcmss, > Greek European Computer Sans Serif] -%<LGRlcmss, > Greek European Computer Sans Serif slide sizes] -%<LGRlcmtt, > Greek European Computer Typewriter slide sizes] -%<LGRlmr, > Greek Latin Modern Regular] -%<LGRlmro, > Greek Latin Modern Outline] -%<LGRlmtt, > Greek Latin Modern Typewriter] -%<LGRlmss, > Greek Latin Modern Sans Serif] +%<LGRlcmss, > Greek European Computer Sans Serif for slides] +%<LGRlcmtt, > Greek European Computer Typewriter for slides] +%<LGRlmr, > Scalable Greek Latin Modern Regular] +%<LGRlmro, > Scalable Greek Latin Modern Outline] +%<LGRlmtt, > Scalable Greek Latin Modern Typewriter] +%<LGRlmss, > Scalable Greek Latin Modern Sans Serif] %<*fdd> ] %</fdd> % %<*driver> \documentclass{ltxdoc} -\GetFileInfo{cbfonts-fd.fdd} \providecommand\dsc{\expandafter{\normalfont\scshape docstrip}} -\title{The file \texttt{cbfonts-fd.fdd} for use with - \LaTeXe.\thanks{This file has version - number \fileversion, dated \filedate.}} -\date{\filedate} -\author{Claudio Beccari} -\usepackage{lmodern,array} +\providecommand\GOBBLE[1]{} +\usepackage{newpxtext,array} \usepackage[greek,english]{babel} \newcommand\greekexample[2]{{\fontencoding{LGR}\fontfamily{#1}\fontshape{#2} \selectfont abgdezhjiklmnxoprsvtufqyws\newline ABGDEZHJIKLMNXOPRSTUFQYW}} -\begin{document} +\makeatletter +\newcommand*\setLGRfntscale{\bgroup +\settoheight{\dimen3333}{\normalsize a}% +\settoheight{\dimen4444}{\normalsize\usefont{LGR}{lmr}{m}{n} a} +\dimen@=\dimexpr\dimen3333*\p@/\dimen4444\relax +\edef\x{\egroup\noexpand\gdef\noexpand\lmfntscale{\strip@pt\dimen@}}\x} +\makeatother +\title{The file \texttt{cbfonts-fd.fdd} for use with + \LaTeXe} +\date{Version number \expandafter\GOBBLE\fileversion, dated \filedate} +\author{Claudio Beccari\quad\texttt{claudio dot beccari at gmail dot com}} +\begin{document}\setLGRfntscale +\GetFileInfo{cbfonts-fd.fdd} \maketitle \DocInput{cbfonts-fd.fdd} \end{document} @@ -161,8 +168,9 @@ distribute a modified version of this file under its original name. % Greek texts with the |LGR| encoded |cb| fonts. % % The font definition files produced from this documented source file -% deal with both the |cb| fonts as LGR encoded (Greek) variant to match the -% European Computer Modern (T1 encoded EC fonts) and the Latin Modern fonts. +% deal with both the |cb| fonts as LGR encoded (Greek) variants to match the +% European Computer Modern (T1 encoded EC fonts) and the Latin Modern fonts +% (T1 encoded LM fonts). % This file derives from the |greek.fdd| one, originally prepared by myself % and Apostolos Syropoulos, under the supervision of Johannes Braams. % @@ -175,7 +183,8 @@ distribute a modified version of this file under its original name. % benefit of commercial versions of the \TeX\ system, for example for % the commercial V\TeX\ distribution, or were superseded by differently % named font collections, such as the |CM-super| one. For compatibility -% reasons the font description files were not modified. +% reasons the font description files were not modified and still provide +% a finite set of font sizes. % % The Latin Modern font collection was created with the vector format % in mind; therefore their font description files contain @@ -232,16 +241,18 @@ distribute a modified version of this file under its original name. % % \section{Font samples} % Some font samples in medium series are shown in table~\ref{samples}. -% \begin{table} +% \begin{table}\centering\def\arraystretch{1.3} % \caption{Some samples of Greek fonts}\label{samples}\medskip -% \begin{tabular}{>{\bfseries\raggedright}p{12em}p{13em}} +% \makebox[\textwidth][c]{% +% \begin{tabular}{>{\bfseries\raggedright}p{12em}p{20em}} % Family and shape & Sample glyphs \\[1ex] +% \hline\noalign{\vskip1ex} % Regular upright & \greekexample{lmr}{n} \\ % Regular slanted & \greekexample{lmr}{sl} \\ % Regular italics & \greekexample{lmr}{it} \\ % Regular lipsian & \greekexample{lmr}{li} \\ % Regular caps and small caps & \greekexample{lmr}{sc} \\ -% Regular serifed & \greekexample{lmr}{rs} \\ +% Regular with serifed lower case & \greekexample{lmr}{rs}\\ % Regular unslanted italics & \greekexample{lmr}{ui} \\ % Outline upright & \greekexample{lmro}{n} \\ % Sans serif upright & \greekexample{lmss}{n} \\ @@ -252,7 +263,7 @@ distribute a modified version of this file under its original name. % Typewriter type caps and small caps & \greekexample{lmtt}{sc}\\ % Slides sans serif & \greekexample{lcmss}{n} \\ % Slides typewriter & \greekexample{lcmtt}{n} -% \end{tabular} +% \end{tabular}} % \end{table} % % As the above examples show, in spite the fact that not all shapes have @@ -260,7 +271,7 @@ distribute a modified version of this file under its original name. % the corresponding EC and LM fonts. The necessary macros to change families, % series, and shapes are either the usual ones already available for the EC % and LM fonts, or are explicitly defined in the Greek language description -% file or in package |teubner|. +% file and in package |teubner|. % % The outline family was requested at the very beginning of my work on Greek % fonts by Apostolos Syropoulos who needed them for a slide show he typeset @@ -286,6 +297,69 @@ distribute a modified version of this file under its original name. % user to define him/her self the macros needed to select every family, % series and shape s/he wants to use. % +% \section{Scalable fonts} +% This new package release redefines to font definition files of the Latin +% Modern compatible CB Greek fonts so as to accept a scaling factor; the new +% |lgrlm??.fd| files are compatible with the previous ones: in facts they +% can be used exactly as the previous ones, but they can load slightly scaled +% fonts in order to match the x-height of other Latin script fonts the users +% might prefer to the standard Latin Modern ones. The users have three choices. +% \begin{enumerate} +% \item They define the macro |\lmfntscale| macro to contain the scaling factor. +% \item They define in their preamble the following code: +%\begin{verbatim} +%\makeatletter +%\newcommand*\setLGRfntscale{\bgroup +%\settoheight{\dimen3333}{\normalsize a}% +%\settoheight{\dimen4444}{\normalsize\usefont{LGR}{lmr}{m}{n} a} +%\dimen@=\dimexpr\dimen3333*\p@/\dimen4444\relax +%\edef\x{\egroup\noexpand\gdef\noexpand\lmfntscale{\strip@pt\dimen@}}\x} +%\makeatother +%\end{verbatim} +% and, after |\begin{document}|,they use command |\serLGRfntscale| without any +% argument, so that this macro doas the necessary calculations in order to +% define the special macro |\lmfntscale| with the substitution text contain +% the computed scale factor. +% +% Notice that the declarations |\makeatletter| and |\makeatother| should +% be omitted if that macro definition is inserted into a user's class or +% package file. +% \item If available the users may call the |scalablecbfonts| package that +% automatically computes the scale factor, or lets the users compute it by +% issuing the |\setLGRfntscale| command as described above, but it also +% accepts a \emph{key=value} option with the \emph{value} containing the scale +% factor the want to use; the users might load the package as in this example: +%\begin{verbatim} +% \usepackage[scalefactor=1.08]{scalablecbfonts} +%\end{verbatim} +% I suggest to use this package by letting it automatically compute the +% scale factor; it yields the most accurate value. +% +% The documentation of the |scalablecbfonts| gives more detailed information +% to use the scaled Greek Latin Modern CB fonts in conjunction with Latin +% script fonts different from the Latin Modern ones. +% \end{enumerate} +% +% It is worth noting that in order to use the scaled Latin Modern compatible +% CB Greek fonts it is compulsory that their family names start with |lm|; +% missing this point the scale factor defined by means of the listed three +% methods misses its goal, because the it acts only on the Greek families +% whose name starts with |lm| since the Greek families whose name starts +% with |cm| provide only a finite set of fixed sizes; even in vector format +% they must remain compatible with the default Latin script CM fonts used +% by \LaTeX. +% +% It is also important to recall the necessity of defining special |.fd| +% files in case the users desire to employ Latin script fonts different +% from the Modern Latin ones. Package|teubner| may be used to produce +% them, but the |scalablecbfonts| package (in preparation at the date of +% this documentation) might be capable of doing all this work in an +% automatic way. This very file has been typeset using the new PX fonts +% for the Latin script and the Greek fonts appearing in table~\ref{samples} +% shows that the size of the Greek fonts has been matched to the larger +% Palatino ones used in this document. +% +% % \StopEventually{} % % \section{The \texttt{docstrip} modules} @@ -298,8 +372,8 @@ distribute a modified version of this file under its original name. % LGRcmro & The Outline Roman font shapes\\ % LGRcmss & The Sans Serif font shapes\\ % LGRcmtt & The typewriter font shapes\\ -% LGRlcmss & The slide size Sans Serif font shapes\\ -% LGRlcmtt & The slide size typewriter fonts\\ +% LGRlcmss & The slide Sans Serif font shapes\\ +% LGRlcmtt & The slide typewriter fonts\\ % LGRlmr & The Roman font shapes\\ % LGRlmro & The Outline Roman font shapes\\ % LGRlmss & The Sans Serif font shapes\\ @@ -558,93 +632,97 @@ distribute a modified version of this file under its original name. %<*LGRlmr> %\fi % \begin{macrocode} +\expandafter\ifx\csname lmfntscale\endcsname\relax + \let\lm@fntscale\empty +\else + \edef\lm@fntscale{s*[\csname lmfntscale\endcsname]}% +\fi \DeclareFontFamily{LGR}{lmr}{} \DeclareFontShape{LGR}{lmr}{m}{n}% - {<-5.5> grmn0500 <5.5-6.5> grmn0600 - <6.5-7.5> grmn0700 <7.5-8.5> grmn0800 - <8.5-9.5> grmn0900 <9.5-11> grmn1000 - <11-15> grmn1200 <15-> grmn1728}{} + {<-5.5> \lm@fntscale grmn0500 <5.5-6.5> \lm@fntscale grmn0600 + <6.5-7.5> \lm@fntscale grmn0700 <7.5-8.5> \lm@fntscale grmn0800 + <8.5-9.5> \lm@fntscale grmn0900 <9.5-11> \lm@fntscale grmn1000 + <11-15> \lm@fntscale grmn1200 <15-> \lm@fntscale grmn1728}{} \DeclareFontShape{LGR}{lmr}{m}{rs}% - {<-5.5> gmmn0500 <5.5-6.5> gmmn0600 - <6.5-7.5> gmmn0700 <7.5-8.5> gmmn0800 - <8.5-9.5> gmmn0900 <9.5-11> gmmn1000 - <11-15> gmmn1200 <15-> gmmn1728}{} + {<-5.5> \lm@fntscale gmmn0500 <5.5-6.5> \lm@fntscale gmmn0600 + <6.5-7.5> \lm@fntscale gmmn0700 <7.5-8.5> \lm@fntscale gmmn0800 + <8.5-9.5> \lm@fntscale gmmn0900 <9.5-11> \lm@fntscale gmmn1000 + <11-15> \lm@fntscale gmmn1200 <15-> \lm@fntscale gmmn1728}{} \DeclareFontShape{LGR}{lmr}{m}{sl}% - {<-8.5> grmo0800 <8.5-9.5> grmo0900 - <9.5-11> grmo1000 <11-15> grmo1200 - <15-> grmo1728}{} + {<-8.5> \lm@fntscale grmo0800 <8.5-9.5> \lm@fntscale grmo0900 + <9.5-11> \lm@fntscale grmo1000 <11-15> \lm@fntscale grmo1200 + <15-> \lm@fntscale grmo1728}{} \DeclareFontShape{LGR}{lmr}{m}{ro}% - {<-8.5> gmmo0800 <8.5-9.5> gmmo0900 - <9.5-11> gmmo1000 <11-15> gmmo1200 - <15-> gmmo1728}{} + {<-8.5> \lm@fntscale gmmo0800 <8.5-9.5> \lm@fntscale gmmo0900 + <9.5-11> \lm@fntscale gmmo1000 <11-15> \lm@fntscale gmmo1200 + <15-> \lm@fntscale gmmo1728}{} \DeclareFontShape{LGR}{lmr}{m}{it}% - {<-7.5> grmi0700 - <7.5-8.5> grmi0800 <8.5-9.5> grmi0900 - <9.5-11> grmi1000 <11-15> grmi1200 - <15-> grmi1728}{} + {<-7.5> \lm@fntscale grmi0700 + <7.5-8.5> \lm@fntscale grmi0800 <8.5-9.5> \lm@fntscale grmi0900 + <9.5-11> \lm@fntscale grmi1000 <11-15> \lm@fntscale grmi1200 + <15-> \lm@fntscale grmi1728}{} \DeclareFontShape{LGR}{lmr}{m}{li}% - {<-7.5> grml0700 - <7.5-8.5> grml0800 <8.5-9.5> grml0900 - <9.5-11> grml1000 <11-15> grml1200 - <15-> grml1728}{} + {<-7.5> \lm@fntscale grml0700 + <7.5-8.5> \lm@fntscale grml0800 <8.5-9.5> \lm@fntscale grml0900 + <9.5-11> \lm@fntscale grml1000 <11-15> \lm@fntscale grml1200 + <15-> \lm@fntscale grml1728}{} \DeclareFontShape{LGR}{lmr}{m}{ui}% - {<-7.5> grmu0700 - <7.5-8.5> grmu0800 <8.5-9.5> grmu0900 - <9.5-11> grmu1000 <11-15> grmu1200 - <15-> grmu1728}{} + {<-7.5> \lm@fntscale grmu0700 + <7.5-8.5> \lm@fntscale grmu0800 <8.5-9.5> \lm@fntscale grmu0900 + <9.5-11> \lm@fntscale grmu1000 <11-15> \lm@fntscale grmu1200 + <15-> \lm@fntscale grmu1728}{} \DeclareFontShape{LGR}{lmr}{m}{sc}% - {<-7.5> grmc0700 - <7.5-8.5> grmc0800 <8.5-9.5> grmc0900 - <9.5-11> grmc1000 <11-15> grmc1200 - <15-> grmc1728}{} + {<-7.5> \lm@fntscale grmc0700 + <7.5-8.5> \lm@fntscale grmc0800 <8.5-9.5> \lm@fntscale grmc0900 + <9.5-11> \lm@fntscale grmc1000 <11-15> \lm@fntscale grmc1200 + <15-> \lm@fntscale grmc1728}{} % slanted CSC is changed to unslanted CSC \DeclareFontShape{LGR}{lmr}{m}{scsl}% {<-> ssub*lmr/m/sc}{} %%%%%%%% bold and bold extended series \DeclareFontShape{LGR}{lmr}{bx}{n} - {<-5.5> grxn0500 <5.5-6.5> grx0600 - <6.5-7.5> grxn0700 <7.5-8.5> grxn0800 - <8.5-9.5> grxn0900 <9.5-11> grxn1000 - <11-15> grxn1200 <15-> grxn1728}{} + {<-5.5> \lm@fntscale grxn0500 <5.5-6.5> \lm@fntscale grx0600 + <6.5-7.5> \lm@fntscale grxn0700 <7.5-8.5> \lm@fntscale grxn0800 + <8.5-9.5> \lm@fntscale grxn0900 <9.5-11> \lm@fntscale grxn1000 + <11-15> \lm@fntscale grxn1200 <15-> \lm@fntscale grxn1728}{} \DeclareFontShape{LGR}{lmr}{bx}{rs} - {<-5.5> gmxn0500 <5.5-6.5> gmx0600 - <6.5-7.5> gmxn0700 <7.5-8.5> gmxn0800 - <8.5-9.5> gmxn0900 <9.5-11> gmxn1000 - <11-15> gmxn1200 <15-> gmxn1728}{} + {<-5.5> \lm@fntscale gmxn0500 <5.5-6.5> \lm@fntscale gmx0600 + <6.5-7.5> \lm@fntscale gmxn0700 <7.5-8.5> \lm@fntscale gmxn0800 + <8.5-9.5> \lm@fntscale gmxn0900 <9.5-11> \lm@fntscale gmxn1000 + <11-15> \lm@fntscale gmxn1200 <15-> \lm@fntscale gmxn1728}{} \DeclareFontShape{LGR}{lmr}{bx}{it} - {<-7.5> grxi0700 - <7.5-8.5> grxi0800 <8.5-9.5> grxi0900 - <9.5-11> grxi1000 <11-15> grxi1200 - <15-> grxi1728}{} + {<-7.5> \lm@fntscale grxi0700 + <7.5-8.5> \lm@fntscale grxi0800 <8.5-9.5> \lm@fntscale grxi0900 + <9.5-11> \lm@fntscale grxi1000 <11-15> \lm@fntscale grxi1200 + <15-> \lm@fntscale grxi1728}{} \DeclareFontShape{LGR}{lmr}{b}{li} - {<-7.5> grbl0700 - <7.5-8.5> grbl0800 <8.5-9.5> grbl0900 - <9.5-11> grbl1000 <11-15> grbl1200 - <15-> grbl1728}{} + {<-7.5> \lm@fntscale grbl0700 + <7.5-8.5> \lm@fntscale grbl0800 <8.5-9.5> \lm@fntscale grbl0900 + <9.5-11> \lm@fntscale grbl1000 <11-15> \lm@fntscale grbl1200 + <15-> \lm@fntscale grbl1728}{} \DeclareFontShape{LGR}{lmr}{bx}{li} - {<-7.5> grxl0700 - <7.5-8.5> grxl0800 <8.5-9.5> grxl0900 - <9.5-11> grxl1000 <11-15> grxl1200 - <15-> grxl1728 - }{} + {<-7.5> \lm@fntscale grxl0700 + <7.5-8.5> \lm@fntscale grxl0800 <8.5-9.5> \lm@fntscale grxl0900 + <9.5-11> \lm@fntscale grxl1000 <11-15> \lm@fntscale grxl1200 + <15-> \lm@fntscale grxl1728}{} \DeclareFontShape{LGR}{lmr}{bx}{ui} - {<-7.5> grxu0700 - <7.5-8.5> grxu0800 <8.5-9.5> grxu0900 - <9.5-11> grxu1000 <11-15> grxu1200 - <15-> grxu1728}{} + {<-7.5> \lm@fntscale grxu0700 + <7.5-8.5> \lm@fntscale grxu0800 <8.5-9.5> \lm@fntscale grxu0900 + <9.5-11> \lm@fntscale grxu1000 <11-15> \lm@fntscale grxu1200 + <15-> \lm@fntscale grxu1728}{} \DeclareFontShape{LGR}{lmr}{bx}{sl} - {<-8.5> grxo0800 <8.5-9.5> grxo0900 - <9.5-11> grxo1000 <11-15> grxo1200 - <15-> grxo1728}{} + {<-8.5> \lm@fntscale grxo0800 <8.5-9.5> \lm@fntscale grxo0900 + <9.5-11> \lm@fntscale grxo1000 <11-15> \lm@fntscale grxo1200 + <15-> \lm@fntscale grxo1728}{} \DeclareFontShape{LGR}{lmr}{bx}{ro} - {<-8.5> gmxo0800 <8.5-9.5> gmxo0900 - <9.5-11> gmxo1000 <11-15> gmxo1200 - <15-> gmxo1728}{} + {<-8.5> \lm@fntscale gmxo0800 <8.5-9.5> \lm@fntscale gmxo0900 + <9.5-11> \lm@fntscale gmxo1000 <11-15> \lm@fntscale gmxo1200 + <15-> \lm@fntscale gmxo1728}{} \DeclareFontShape{LGR}{lmr}{bx}{sc}% - {<-7.5> grxc0700 - <7.5-8.5> grxc0800 <8.5-9.5> grxc0900 - <9.5-11> grxc1000 <11-15> grxc1200 - <15-> grxc1728}{} + {<-7.5> \lm@fntscale grxc0700 + <7.5-8.5> \lm@fntscale grxc0800 <8.5-9.5> \lm@fntscale grxc0900 + <9.5-11> \lm@fntscale grxc1000 <11-15> \lm@fntscale grxc1200 + <15-> \lm@fntscale grxc1728}{} % \end{macrocode} %\iffalse %</LGRlmr> @@ -655,59 +733,64 @@ distribute a modified version of this file under its original name. %<*LGRlmro> %\fi % \begin{macrocode} +\expandafter\ifx\csname lmfntscale\endcsname\relax + \let\lm@fntscale\empty +\else + \edef\lm@fntscale{s*[\csname lmfntscale\endcsname]}% +\fi \DeclareFontFamily{LGR}{lmro}{} \DeclareFontShape{LGR}{lmro}{m}{n}% - {<-5.5> gomn0500 <5.5-6.5> gomn0600 - <6.5-7.5> gomn0700 <7.5-8.5> gomn0800 - <8.5-9.5> gomn0900 <9.5-11> gomn1000 - <11-15> gomn1200 <15-> gmr1728}{} + {<-5.5> \lm@fntscale gomn0500 <5.5-6.5> \lm@fntscale gomn0600 + <6.5-7.5> \lm@fntscale gomn0700 <7.5-8.5> \lm@fntscale gomn0800 + <8.5-9.5> \lm@fntscale gomn0900 <9.5-11> \lm@fntscale gomn1000 + <11-15> \lm@fntscale gomn1200 <15-> \lm@fntscale gmr1728}{} \DeclareFontShape{LGR}{lmro}{m}{sl}% - {<-8.5> gomo0800 <8.5-9.5> gomo0900 - <9.5-11> gomo1000 <11-15> gomo1200 - <15-> gomo1728}{} + {<-8.5> \lm@fntscale gomo0800 <8.5-9.5> \lm@fntscale gomo0900 + <9.5-11> \lm@fntscale gomo1000 <11-15> \lm@fntscale gomo1200 + <15-> \lm@fntscale gomo1728}{} \DeclareFontShape{LGR}{lmro}{m}{it}% - {<-7.5> gomi0700 - <7.5-8.5> gomi0800 <8.5-9.5> gomi0900 - <9.5-11> gomi1000 <11-15> gomi1200 - <15-> gomi1728}{} + {<-7.5> \lm@fntscale gomi0700 + <7.5-8.5> \lm@fntscale gomi0800 <8.5-9.5> \lm@fntscale gomi0900 + <9.5-11> \lm@fntscale gomi1000 <11-15> \lm@fntscale gomi1200 + <15-> \lm@fntscale gomi1728}{} \DeclareFontShape{LGR}{lmro}{m}{ui}% - {<-7.5> gomu0700 - <7.5-8.5> gomu0800 <8.5-9.5> gomu0900 - <9.5-11> gomu1000 <11-15> gomu1200 - <15-> gomu1728}{} + {<-7.5> \lm@fntscale gomu0700 + <7.5-8.5> \lm@fntscale gomu0800 <8.5-9.5> \lm@fntscale gomu0900 + <9.5-11> \lm@fntscale gomu1000 <11-15> \lm@fntscale gomu1200 + <15-> \lm@fntscale gomu1728}{} \DeclareFontShape{LGR}{lmro}{m}{sc}% - {<-7.5> gomc0700 - <7.5-8.5> gomc0800 <8.5-9.5> gomc0900 - <9.5-11> gomc1000 <11-15> gomc1200 - <15-> gomc1728}{} + {<-7.5> \lm@fntscale gomc0700 + <7.5-8.5> \lm@fntscale gomc0800 <8.5-9.5> \lm@fntscale gomc0900 + <9.5-11> \lm@fntscale gomc1000 <11-15> \lm@fntscale gomc1200 + <15-> \lm@fntscale gomc1728}{} % slanted CSC is changed to unslanted CSC \DeclareFontShape{LGR}{lmro}{m}{scsl}% {<-> ssub*lmr/m/sc}{} %%%%%%%% bold extended series \DeclareFontShape{LGR}{lmro}{bx}{n} - {<-5.5> goxn0500 <5.5-6.5> gox0600 - <6.5-7.5> goxn0700 <7.5-8.5> goxn0800 - <8.5-9.5> goxn0900 <9.5-11> goxn1000 - <11-15> goxn1200 <15-> goxn1728}{} + {<-5.5> \lm@fntscale goxn0500 <5.5-6.5> \lm@fntscale gox0600 + <6.5-7.5> \lm@fntscale goxn0700 <7.5-8.5> \lm@fntscale goxn0800 + <8.5-9.5> \lm@fntscale goxn0900 <9.5-11> \lm@fntscale goxn1000 + <11-15> \lm@fntscale goxn1200 <15-> \lm@fntscale goxn1728}{} \DeclareFontShape{LGR}{lmro}{bx}{it} - {<-7.5> goxi0700 - <7.5-8.5> goxi0800 <8.5-9.5> goxi0900 - <9.5-11> goxi1000 <11-> goxi1200 - <15-> goxi1728}{} + {<-7.5> \lm@fntscale goxi0700 + <7.5-8.5> \lm@fntscale goxi0800 <8.5-9.5> \lm@fntscale goxi0900 + <9.5-11> \lm@fntscale goxi1000 <11-15> \lm@fntscale goxi1200 + <15-> \lm@fntscale goxi1728}{} \DeclareFontShape{LGR}{lmro}{bx}{ui} - {<-7.5> goxu0700 - <7.5-8.5> goxu0800 <8.5-9.5> goxu0900 - <9.5-11> goxu1000 <11-> goxu1200 - <15-> goxu1728}{} + {<-7.5> \lm@fntscale goxu0700 + <7.5-8.5> \lm@fntscale goxu0800 <8.5-9.5> \lm@fntscale goxu0900 + <9.5-11> \lm@fntscale goxu1000 <11-15> \lm@fntscale goxu1200 + <15-> \lm@fntscale goxu1728}{} \DeclareFontShape{LGR}{lmro}{bx}{sl} - {<-8.5> goxo0800 <8.5-9.5> goxo0900 - <9.5-11> goxo1000 <11-15> goxo1200 - <15-> goxo1728}{} + {<-8.5> \lm@fntscale goxo0800 <8.5-9.5> \lm@fntscale goxo0900 + <9.5-11> \lm@fntscale goxo1000 <11-15> \lm@fntscale goxo1200 + <15-> \lm@fntscale goxo1728}{} \DeclareFontShape{LGR}{lmro}{bx}{sc}% - {<-7.5> goxc0700 - <7.5-8.5> goxc0800 <8.5-9.5> goxc0900 - <9.5-11> goxc1000 <11-15> goxc1200 - <15-> goxc1728}{} + {<-7.5> \lm@fntscale goxc0700 + <7.5-8.5> \lm@fntscale goxc0800 <8.5-9.5> \lm@fntscale goxc0900 + <9.5-11> \lm@fntscale goxc1000 <11-15> \lm@fntscale goxc1200 + <15-> \lm@fntscale goxc1728}{} % \end{macrocode} %\iffalse %</LGRlmro> @@ -719,35 +802,40 @@ distribute a modified version of this file under its original name. %<*LGRlmss> %\fi % \begin{macrocode} +\expandafter\ifx\csname lmfntscale\endcsname\relax + \let\lm@fntscale\empty +\else + \edef\lm@fntscale{s*[\csname lmfntscale\endcsname]}% +\fi \DeclareFontFamily{LGR}{lmss}{} \DeclareFontShape{LGR}{lmss}{m}{n} - {<-8.5> gsmn0800 - <8.5-9.5> gsmn0900 <9.5-11> gsmn1000 - <11-15.5> gsmn1200 <15.5-> gsmn1728}{} + {<-8.5> \lm@fntscale gsmn0800 + <8.5-9.5> \lm@fntscale gsmn0900 <9.5-11> \lm@fntscale gsmn1000 + <11-15.5> \lm@fntscale gsmn1200 <15.5-> \lm@fntscale gsmn1728}{} \DeclareFontShape{LGR}{lmss}{m}{it} - {<-8.5> gsmi0800 - <8.5-9.5> gsmi0900 <9.5-11> gsmi1000 - <11-15.5> gsmi1200 <15.5-> gsmi1728}{} + {<-8.5> \lm@fntscale gsmi0800 + <8.5-9.5> \lm@fntscale gsmi0900 <9.5-11> \lm@fntscale gsmi1000 + <11-15.5> \lm@fntscale gsmi1200 <15.5-> \lm@fntscale gsmi1728}{} \DeclareFontShape{LGR}{lmss}{m}{iv} - {<-8.5> gsme0800 - <8.5-9.5> gsme0900 <9.5-11> gsme1000 - <11-15.5> gsme1200 <15.5-> gsme1728}{} + {<-8.5> \lm@fntscale gsme0800 + <8.5-9.5> \lm@fntscale gsme0900 <9.5-11> \lm@fntscale gsme1000 + <11-15.5> \lm@fntscale gsme1200 <15.5-> \lm@fntscale gsme1728}{} \DeclareFontShape{LGR}{lmss}{m}{ui} - {<-8.5> gsmu0800 - <8.5-9.5> gsmu0900 <9.5-11> gsmu1000 - <11-15.5> gsmu1200 <15.5-> gsmu1728}{} + {<-8.5> \lm@fntscale gsmu0800 + <8.5-9.5> \lm@fntscale gsmu0900 <9.5-11> \lm@fntscale gsmu1000 + <11-15.5> \lm@fntscale gsmu1200 <15.5-> \lm@fntscale gsmu1728}{} \DeclareFontShape{LGR}{lmss}{m}{uv} - {<-8.5> gsma0800 - <8.5-9.5> gsma0900 <9.5-11> gsma1000 - <11-15.5> gsma1200 <15.5-> gsma1728}{} + {<-8.5> \lm@fntscale gsma0800 + <8.5-9.5> \lm@fntscale gsma0900 <9.5-11> \lm@fntscale gsma1000 + <11-15.5> \lm@fntscale gsma1200 <15.5-> \lm@fntscale gsma1728}{} \DeclareFontShape{LGR}{lmss}{m}{sl} - {<-8.5> gsmo0800 - <8.5-9.5> gsmo0900 <9.5-11> gsmo1000 - <11-15.5> gsmo1200 <15.5-> gsmo1728}{} + {<-8.5> \lm@fntscale gsmo0800 + <8.5-9.5> \lm@fntscale gsmo0900 <9.5-11> \lm@fntscale gsmo1000 + <11-15.5> \lm@fntscale gsmo1200 <15.5-> \lm@fntscale gsmo1728}{} \DeclareFontShape{LGR}{lmss}{m}{sc} - {<-8.5> gsmc0800 - <8.5-9.5> gsmc0900 <9.5-11> gsmc1000 - <11-15.5> gsmc1200 <15.5-> gsmc1728}{} + {<-8.5> \lm@fntscale gsmc0800 + <8.5-9.5> \lm@fntscale gsmc0900 <9.5-11> \lm@fntscale gsmc1000 + <11-15.5> \lm@fntscale gsmc1200 <15.5-> \lm@fntscale gsmc1728}{} %%%%%%%% semibold condensed series substituted with medium series \DeclareFontShape{LGR}{lmss}{sbc}{n} {<-> ssub*lmss/m/n}{} @@ -757,33 +845,33 @@ distribute a modified version of this file under its original name. {<->ssub*lmss/m/sl}{} %%%%%%%%% bold extended series \DeclareFontShape{LGR}{lmss}{bx}{n} - {<-8.5> gsxn0800 - <8.5-9.5> gsxn0900 <9.5-11> gsxn1000 - <11-15.5> gsxn1200 <15.5-> gsxn1728}{} + {<-8.5> \lm@fntscale gsxn0800 + <8.5-9.5> \lm@fntscale gsxn0900 <9.5-11> \lm@fntscale gsxn1000 + <11-15.5> \lm@fntscale gsxn1200 <15.5-> \lm@fntscale gsxn1728}{} \DeclareFontShape{LGR}{lmss}{bx}{sl} - {<-8.5> gsxo0800 - <8.5-9.5> gsxo0900 <9.5-11> gsxo1000 - <11-15.5> gsxo1200 <15.5-> gsxo1728}{} + {<-8.5> \lm@fntscale gsxo0800 + <8.5-9.5> \lm@fntscale gsxo0900 <9.5-11> \lm@fntscale gsxo1000 + <11-15.5> \lm@fntscale gsxo1200 <15.5-> \lm@fntscale gsxo1728}{} \DeclareFontShape{LGR}{lmss}{bx}{it} - {<-8.5> gsxi0800 - <8.5-9.5> gsxi0900 <9.5-11> gsxi1000 - <11-15.5> gsxi1200 <15.5-> gsxi1728}{} + {<-8.5> \lm@fntscale gsxi0800 + <8.5-9.5> \lm@fntscale gsxi0900 <9.5-11> \lm@fntscale gsxi1000 + <11-15.5> \lm@fntscale gsxi1200 <15.5-> \lm@fntscale gsxi1728}{} \DeclareFontShape{LGR}{lmss}{bx}{iv} - {<-8.5> gsxe0800 - <8.5-9.5> gsxe0900 <9.5-11> gsxe1000 - <11-15.5> gsxe1200 <15.5-> gsxe1728}{} + {<-8.5> \lm@fntscale gsxe0800 + <8.5-9.5> \lm@fntscale gsxe0900 <9.5-11> \lm@fntscale gsxe1000 + <11-15.5> \lm@fntscale gsxe1200 <15.5-> \lm@fntscale gsxe1728}{} \DeclareFontShape{LGR}{lmss}{bx}{ui} - {<-8.5> gsxu0800 - <8.5-9.5> gsxu0900 <9.5-11> gsxu1000 - <11-15.5> gsxu1200 <15.5-> gsxu1728}{} + {<-8.5> \lm@fntscale gsxu0800 + <8.5-9.5> \lm@fntscale gsxu0900 <9.5-11> \lm@fntscale gsxu1000 + <11-15.5> \lm@fntscale gsxu1200 <15.5-> \lm@fntscale gsxu1728}{} \DeclareFontShape{LGR}{lmss}{bx}{uv} - {<-8.5> gsxa0800 - <8.5-9.5> gsxa0900 <9.5-11> gsxa1000 - <11-15.5> gsxa1200 <15.5-> gsxa1728}{} + {<-8.5> \lm@fntscale gsxa0800 + <8.5-9.5> \lm@fntscale gsxa0900 <9.5-11> \lm@fntscale gsxa1000 + <11-15.5> \lm@fntscale gsxa1200 <15.5-> \lm@fntscale gsxa1728}{} \DeclareFontShape{LGR}{lmss}{bx}{sc} - {<-8.5> gsxc0800 - <8.5-9.5> gsxc0900 <9.5-11> gsxc1000 - <11-15.5> gsxc1200 <15.5-> gsxc1728}{} + {<-8.5> \lm@fntscale gsxc0800 + <8.5-9.5> \lm@fntscale gsxc0900 <9.5-11> \lm@fntscale gsxc1000 + <11-15.5> \lm@fntscale gsxc1200 <15.5-> \lm@fntscale gsxc1728}{} % \end{macrocode} %\iffalse %</LGRlmss> @@ -795,21 +883,25 @@ distribute a modified version of this file under its original name. %<*LGRlmtt> %\fi % \begin{macrocode} +\expandafter\ifx\csname lmfntscale\endcsname\relax + \let\lm@fntscale\empty +\else + \edef\lm@fntscale{s*[\csname lmfntscale\endcsname]}% +\fi \DeclareFontFamily{LGR}{lmtt}{\hyphenchar\font\m@ne} \DeclareFontShape{LGR}{lmtt}{m}{n} - {<-8.5> gttn0800 <8.5-9.5> gttn0900 - <9.5-11> gttn1000 <11-15> gttn1200 - <15-> gttn1728}{} -\DeclareFontShape{LGR}{lmtt}{m}{it} - {<-> ssub*lmtt/m/sl}{} + {<-8.5> \lm@fntscale gttn0800 <8.5-9.5> \lm@fntscale gttn0900 + <9.5-11> \lm@fntscale gttn1000 <11-15> \lm@fntscale gttn1200 + <15-> \lm@fntscale gttn1728}{} \DeclareFontShape{LGR}{lmtt}{m}{sl} - {<-8.5> gtto0800 <8.5-9.5> gtto0900 - <9.5-11> gtto1000 <11-15> gtto1200 - <15-> gtto1728}{} + {<-8.5> \lm@fntscale gtto0800 <8.5-9.5> \lm@fntscale gtto0900 + <9.5-11> \lm@fntscale gtto1000 <11-15> \lm@fntscale gtto1200 + <15-> \lm@fntscale gtto1728}{} +\DeclareFontShape{LGR}{lmtt}{m}{it}{<-> ssub*lmtt/m/sl}{} \DeclareFontShape{LGR}{lmtt}{m}{sc} - {<-8.5> gttc0800 <8.5-9.5> gttc0900 - <9.5-11> gttc1000 <11-15> gttc1200 - <15-> gttc1728}{} + {<-8.5> \lm@fntscale gttc0800 <8.5-9.5> \lm@fntscale gttc0900 + <9.5-11> \lm@fntscale gttc1000 <11-15> \lm@fntscale gttc1200 + <15-> \lm@fntscale gttc1728}{} % shape undefined, substituted with unslanted \DeclareFontShape{LGR}{lmtt}{m}{scsl}{<-> ssub*lmtt/m/sc}{} % \end{macrocode} @@ -821,7 +913,12 @@ distribute a modified version of this file under its original name. % families and sizes, because there are no slide fonts in the LM % collection. Moreover nowadays the traditional slide fonts are % very seldom used, since slides are produced with other classes -% different from the class |slides|, and they use different fonts. +% different from the |slides| class, and they use different fonts. +% +% In any case the package |LXfonts| is set up to use suitable font definition +% files so as to mix Latin and Greek |CB| fonts together with regular and +% AMS math fonts that matche one another so as to produce beautifule slides +% with the |beamer| class. % % The next line goes into all files and in addition prevents \dsc{} % from adding any further code from the main source file (such as a |