diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-11 23:03:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-11 23:03:17 +0000 |
commit | ecf966f305f6aeff2bbdf42c82d8425921aa9eda (patch) | |
tree | db606a57e3619610e4c35cae849d41cf4e0937d5 /Master/texmf-dist/source/latex/cmbright | |
parent | ac3c55a3216b5988f0e48ba9414ddb059f19a699 (diff) |
source 1
git-svn-id: svn://tug.org/texlive/trunk@105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/cmbright')
-rw-r--r-- | Master/texmf-dist/source/latex/cmbright/cmbr.fdd | 311 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/cmbright/cmbright.dtx | 513 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/cmbright/cmbright.ins | 26 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/cmbright/oinst.ins | 36 |
4 files changed, 886 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/cmbright/cmbr.fdd b/Master/texmf-dist/source/latex/cmbright/cmbr.fdd new file mode 100644 index 00000000000..3148dbea08b --- /dev/null +++ b/Master/texmf-dist/source/latex/cmbright/cmbr.fdd @@ -0,0 +1,311 @@ +%\CheckSum{70} +% +% \iffalse +% +% Copyright (c) 1994--1999 Walter Schmidt, Erlangen +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of the files cmbright.dtx, cmbr.fdd and +% cmbright.ins. +% +% \fi +% +% \iffalse +% +%<cm>\ProvidesFile{ot1cmbr.fd} +%<ec>\ProvidesFile{t1cmbr.fd} +%<ts1cmbr>\ProvidesFile{ts1cmbr.fd} +%<ot1cmtl>\ProvidesFile{ot1cmtl.fd} +%<t1cmtl>\ProvidesFile{t1cmtl.fd} +%<ts1cmtl>\ProvidesFile{ts1cmtl.fd} +%<omlcmbrm>\ProvidesFile{omlcmbrm.fd} +%<omscmbrs>\ProvidesFile{omscmbrs.fd} +%<omlcmbr>\ProvidesFile{omlcmbr.fd} +%<omscmbr>\ProvidesFile{omscmbr.fd} +%<*driver> + \ProvidesFile{cmbr.drv} +%</driver> + [1999/05/12 v7.3 (WaS)] +% +%<*driver> +\documentclass[11pt]{ltxdoc} +\setcounter{StandardModuleDepth}{1} +\CodelineNumbered +\GetFileInfo{cmbr.drv} +\begin{document} + \DocInput{cmbr.fdd} +\end{document} +%</driver> +% +% \fi +% +% \DeleteShortVerb{\|} +% +% \title{The file \texttt{cmbr.fdd}} +% \date{(\fileversion{} -- \filedate)} +% \author{Walter Schmidt\thanks{{\ttfamily walter.schmidt@arcormail.de}}} +% \maketitle +% +% \noindent +% \texttt{cmbr.fdd} is the documented source file of the Computer Modern Bright +% font definitions for use with \LaTeX. +% +% \section{The \textsc{docstrip} modules} +% {\small +% \begin{tabular}{ll} +% driver & documentation driver file\\ +% cm & font definition file \texttt{ot1cmbr.fd}\\ +% ec & font definition file \texttt{t1cmbr.fd}\\ +% ts1cmbr & font definition file \texttt{ts1cmbr.fd}\\ +% omlcmbrm & font definition file {\tt omlcmbrm.fd}\\ +% omscmbrs & font definition file {\tt omscmbrs.fd}\\ +% omlcmbr & font definition file \texttt{omlcmbr.fd}\\ +% omscmbr & font definition file \texttt{omscmbr.fd}\\ +% ot1cmtl & font definition file \texttt{ot1cmtl.fd}\\ +% t1cmtl & font definition file \texttt{t1cmtl.fd}\\ +% ts1cmtl & font definition file \texttt{ts1cmtl.fd}\\ +% \end{tabular} +% \par} +% +% \StopEventually{} +% +% \section{CM Bright, OT1 encoding} +% +% \begin{macrocode} +%<*cm> +\DeclareFontFamily{OT1}{cmbr}{\hyphenchar\font45} +\DeclareFontShape{OT1}{cmbr}{m}{n}{% +<5><6><7><8>cmbr8% +<9>cmbr9% +<10><10.95><12><14.4>cmbr10% +<17.28><20.74><24.88><29.86><35.83>cmbr17% +}{} +\DeclareFontShape{OT1}{cmbr}{m}{sl}{% +<5><6><7><8>cmbrsl8% +<9>cmbrsl9% +<10><10.95><12><14.4>cmbrsl10% +<17.28><20.74><24.88><29.86><35.83>cmbrsl17% +}{} +\DeclareFontShape{OT1}{cmbr}{m}{it}{% +<->ssub*cmbr/m/sl% +}{} +\DeclareFontShape{OT1}{cmbr}{b}{n}{% +<->ssub*cmbr/bx/n% +}{} +\DeclareFontShape{OT1}{cmbr}{bx}{n}{% +<-9>sub*cmbr/m/n% +<9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>cmbrbx10% +}{} +%</cm> +% \end{macrocode} +% +% \section{CM Bright, T1 encoding} +% +% \begin{macrocode} +%<*ec> +\DeclareFontFamily{T1}{cmbr}{} +\DeclareFontShape{T1}{cmbr}{m}{n}{% +<5><6><7><8>ebmr8% +<9>ebmr9% +<10><10.95><12><14.4>ebmr10% +<17.28><20.74><24.88><29.86><35.83>ebmr17% +}{} +\DeclareFontShape{T1}{cmbr}{m}{sl}{% +<5><6><7><8>ebmo8% +<9>ebmo9% +<10><10.95><12><14.4>ebmo10% +<17.28><20.74><24.88><29.86><35.83>ebmo17% +}{} +\DeclareFontShape{T1}{cmbr}{m}{it}{% +<->ssub*cmbr/m/sl% +}{} +\DeclareFontShape{T1}{cmbr}{sb}{n}{% +<5><6><7><8>ebsr8% +<9>ebsr9% +<10><10.95><12><14.4>ebsr10% +<17.28><20.74><24.88><29.86><35.83>ebsr17% +}{} +\DeclareFontShape{T1}{cmbr}{sb}{sl}{% +<5><6><7><8>ebso8% +<9>ebso9% +<10><10.95><12><14.4>ebso10% +<17.28><20.74><24.88><29.86><35.83>ebso17% +}{} +\DeclareFontShape{T1}{cmbr}{sb}{it}{% +<->ssub*cmbr/sb/sl% +}{} +\DeclareFontShape{T1}{cmbr}{b}{n}{% +<->ssub*cmbr/bx/n% +}{} +\DeclareFontShape{T1}{cmbr}{bx}{n}{% +<-9>sub*cmbr/sb/n% +<9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>ebbx10% +}{} +%</ec> +% \end{macrocode} +% +% \section{CM Typewriter Light, OT1 encoding} +% +% \begin{macrocode} +%<*ot1cmtl> +\DeclareFontFamily{OT1}{cmtl}{\hyphenchar\font\m@ne} +\DeclareFontShape{OT1}{cmtl}{m}{n}{% +<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>cmtl10% +}{} +\DeclareFontShape{OT1}{cmtl}{m}{sl}{% +<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>cmsltl10% +}{} +\DeclareFontShape{OT1}{cmtl}{m}{it}{<->ssub*cmtl/m/sl}{} +%</ot1cmtl> +% \end{macrocode} +% +% \section{CM Typewriter Light, T1 encoding} +% +% \begin{macrocode} +%<*t1cmtl> +\DeclareFontFamily{T1}{cmtl}{\hyphenchar\font\m@ne} +\DeclareFontShape{T1}{cmtl}{m}{n}{% +<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>ebtl10% +}{} +\DeclareFontShape{T1}{cmtl}{m}{sl}{% +<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>ebto10% +}{} +\DeclareFontShape{T1}{cmtl}{m}{it}{<->ssub*cmtl/m/sl}{} +%</t1cmtl> +% \end{macrocode} +% +% \section{CM Bright Math Inclined, OML encoding} +% +% \begin{macrocode} +%<*omlcmbrm> +\DeclareFontFamily{OML}{cmbrm}{\skewchar\font 127} +\DeclareFontShape{OML}{cmbrm}{m}{it}{% +<5><6><7><8>cmbrmi8% +<9>cmbrmi9% +<10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>cmbrmi10% +}{} +\DeclareFontShape{OML}{cmbrm}{b}{it}{% +<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>cmbrmb10% +}{} +%</omlcmbrm> +% \end{macrocode} +% +% \section{CM Bright Symbols, OMS encoding} +% +% \begin{macrocode} +%<*omscmbrs> +\DeclareFontFamily{OMS}{cmbrs}{\skewchar\font 48} +\DeclareFontShape{OMS}{cmbrs}{m}{n}{% +<5><6><7><8>cmbrsy8% +<9>cmbrsy9% +<10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>cmbrsy10% +}{} +%</omscmbrs> +% \end{macrocode} +% +% \section{CM Bright, OML encoding} +% We need this for some special tex symbols which may be taken from +% the `math italic' font. +% \begin{macrocode} +%<*omlcmbr> +\DeclareFontFamily{OML}{cmbr}{\skewchar\font 127} +\DeclareFontShape{OML}{cmbr}{m}{it}{<->ssub*cmbrm/m/it}{} +\DeclareFontShape{OML}{cmbr}{sb}{it}{<->ssub*cmbrm/b/it}{} +\DeclareFontShape{OML}{cmbr}{bx}{it}{<->ssub*cmbrm/b/it}{} +%</omlcmbr> +% \end{macrocode} +% +% \section{CM Bright, OMS encoding} +% We need this for some special text symbols which may be taken from +% the mathematical symbol font. +% \begin{macrocode} +%<*omscmbr> +\DeclareFontFamily{OMS}{cmbr}{\skewchar\font 48} +\DeclareFontShape{OMS}{cmbr}{m}{n}{<->ssub*cmbrs/m/n}{} +%</omscmbr> +% \end{macrocode} +% +% \section{CM Bright, TS1 encoding} +% +% \begin{macrocode} +%<*ts1cmbr> +\DeclareFontFamily{TS1}{cmbr}{\hyphenchar\font\m@ne} +\DeclareFontShape{TS1}{cmbr}{m}{n}{% +<5><6><7><8>tbmr8% +<9>tbmr9% +<10><10.95><12><14.4>tbmr10% +<17.28><20.74><24.88><29.86><35.83>tbmr17% +}{} +\DeclareFontShape{TS1}{cmbr}{m}{sl}{% +<5><6><7><8>tbmo8% +<9>tbmo9% +<10><10.95><12><14.4>tbmo10% +<17.28><20.74><24.88><29.86><35.83>tbmo17% +}{} +\DeclareFontShape{TS1}{cmbr}{m}{it}{% +<->ssub*cmbr/m/sl}{} +\DeclareFontShape{TS1}{cmbr}{sb}{n}{% +<5><6><7><8>tbsr8% +<9>tbsr9% +<10><10.95><12><14.4>tbsr10% +<17.28><20.74><24.88><29.86><35.83>tbsr17% +}{} +\DeclareFontShape{TS1}{cmbr}{sb}{sl}{% +<5><6><7><8>tbso8% +<9>tbso9% +<10><10.95><12><14.4>tbso10% +<17.28><20.74><24.88><29.86><35.83>tbso17% +}{} +\DeclareFontShape{TS1}{cmbr}{sb}{it}{<->ssub*cmbr/sb/sl}{} +\DeclareFontShape{TS1}{cmbr}{b}{n}{<->ssub*cmbr/bx/n}{} +\DeclareFontShape{TS1}{cmbr}{bx}{n}{% +<-9>sub*cmbr/sb/n% +<9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>tbbx10% +}{} +%</ts1cmbr> +% \end{macrocode} +% +% \section{CM Typewriter Light, TS1 encoding} +% +% \begin{macrocode} +%<*ts1cmtl> +\DeclareFontFamily{TS1}{cmtl}{\hyphenchar\font\m@ne} +\DeclareFontShape{TS1}{cmtl}{m}{n}{% +<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>tbtl10% +}{} +\DeclareFontShape{TS1}{cmtl}{m}{sl}{% +<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83>tbto10% +}{} +\DeclareFontShape{TS1}{cmtl}{m}{it}{<->ssub*cmtl/m/sl}{} +%</ts1cmtl> +% \end{macrocode} +% +% The next line goes into all files and in addition prevents {\sc docstrip} +% from adding the character table to all modules. +% \begin{macrocode} +\endinput +% \end{macrocode} +% \Finale +% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} diff --git a/Master/texmf-dist/source/latex/cmbright/cmbright.dtx b/Master/texmf-dist/source/latex/cmbright/cmbright.dtx new file mode 100644 index 00000000000..c5b0e1fad88 --- /dev/null +++ b/Master/texmf-dist/source/latex/cmbright/cmbright.dtx @@ -0,0 +1,513 @@ +%\CheckSum{329} +% +% \iffalse +% +% File `cmbright.dtx'. +% Copyright (c) 1994--2002 Walter Schmidt +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of the files cmbright.dtx, cmbr.fdd and +% cmbright.ins. +% +% \fi +% +% \iffalse +% +\NeedsTeXFormat{LaTeX2e} +%<cm&!patch> [1995/06/01] +%<*driver> +\ProvidesFile{cmbright.drv} +%</driver> +%<+cm>\ProvidesPackage{cmbright} + [2002/05/25 v7.1 (WaS)] +% +%<*driver> +\documentclass[11pt]{ltxdoc} +\usepackage{mflogo,url} +\CodelineNumbered +\parindent1em +\leftmargini=2em +\leftmarginii=2em +\leftmarginiii=2em +\leftmarginiv=2em +\leftmargin\leftmargini +\labelwidth\leftmargin \advance\labelwidth by -\labelsep +\begin{document} + \DocInput{cmbright.dtx} +\end{document} +%</driver> +% \fi +% +% \GetFileInfo{cmbright.drv} +% \DeleteShortVerb{\|} +% \MakeShortVerb{\+} +% \newcommand{\oitem}[1]{\item[\texttt{#1}]} +% +% \title{The Computer Modern Bright fonts \\ +% and \\ +% the \LaTeX{} package \textsf{cmbright}} +% \author{Walter Schmidt\thanks{{\ttfamily was@VR-Web.de}}} +% \date{(\fileversion{} -- \filedate)} +% \maketitle +% \tableofcontents +% +% \section{The CM Bright fonts} +% `Computer Modern Bright' is a family of sans serif fonts, +% based on Donald Knuth's CM fonts. +% It includes OT1, T1 and TS1 encoded text fonts of various +% shapes as well as all the fonts necessary for mathematical +% typesetting, incl.\ the AMS symbols. +% +% CM Bright has been designed as a well legible standalone +% font. It is `lighter' and less obtrusive than CM Sans Serif, which, +% in contrast, is more appropriate for markup purposes within +% a CM Roman environment. +% +% Together with CM Bright there comes a family of typewriter +% fonts, named `CM Typwewriter Light', which look better in +% combination with CM Bright than the ordinary \texttt{cmtt} fonts would do. +% +% The CM Bright fonts in \MF{} format are distributed +% free from the CTAN archives, directory \texttt{fonts/cmbright}. +% +% The fonts are also available in Type1 format from +% MicroPress~Inc, see +% \path{<http://www.micropress-inc.com/fonts/brmath/brmain.htm>}. +% +% \section{The \LaTeX{} macro package \textsf{cmbright}} +% +% \subsection{Description} +% The \LaTeX{} macro package \textsf{cmbright} +% supports typesetting with the font family CM Bright. +% Loading the package +% \begin{verse} +% +\usepackage{cmbright}+ +% \end{verse} +% effects the following: +% \begin{itemize} +% \item The default sans serif font family for typesetting text and math +% is changed to \texttt{cmbr}, i.e.\ CM Bright. +% \item +% The sans serif font family is made the default one. +% \item A new mathematical alphabet +\mathbold+ provides bold slanted +% letters, inluding uppercase and lowercase Greek. +% \item The packages \textsf{amsfonts} or \textsf{amssymb}, +% when loaded additionally, +% will use the `CM Bright' versions of the AMS symbol fonts. +% +% Notice that you may still have to specify the option +psamsfonts+ +% for these packages, so as to prevent them from using design sizes +% of the CM Math Extension and Euler Fraktur fonts, which may be +% unavailable within your TeX system; this works flawlessly with +% version 7.1 of the \textsf{cmbright} package now. +% \item The default typewriter font family is changed to \texttt{cmtl}, +% i.e.\ CM Typewriter Light. +% \item The line spacing (+\baselineskip+) for the font sizes 8--12\,pt +% is increased to approx. $1.25 \times \mathrm{size}$. +% \end{itemize} +% +% \subsection{Package options} +% \begin{description} +% \oitem{standard-baselineskips} +% This option prevents the package from enlarging the default line spacing. +% See the below section~\ref{sec:bugs}. +% \oitem{slantedGreek} +% When the macro package is loaded using this option, +% uppercase Greek letters will, by default, be slanted. +% Regardless of the option the new commands +% +\upDelta+ and +\upOmega+ will \emph{always} provide an +% upright \( \Delta \) and \( \Omega \). +% \end{description} +% +% \subsection{Font encoding} +% The package does \emph{not} change the default output font +% encoding from OT1. It is, however, recommended to make use of +% CM Bright through the extended T1 and TS1 encodings, +% since doing so does not imply any drawback. +% +% \subsection{Scaling of the `large' math symbols} +% In order to achieve proper scaling of the `large' math symbols, +% you may load the packages \textsf{exscale}, +% \textsf{amsfonts} or \textsf{amssymb} +% additionally; they work in conjunction with \textsf{cmbright}, +% too. +% +% \subsection{Known bugs and deficiencies} +% \label{sec:bugs} +% \begin{itemize} +% \item +% The automatic adaption of the line spacing was provided for the sake +% of convenience. Meanwhile it turned out that it causes many obscure +% problem, particularly in conjunction with other macro packages or +% with `moving arguments'. Furthermore, the need to enlarge the default +% line spacing depends on the line width. +% We recommend to disable the feature by loading the package with the +% option \textsf{standard-baselineskips}. +% and take care of the appropriate line spacing by use of the +% +\linespread+ command, if necessary. +% \item +% There is no `bold' +\mathversion+ to bolden complete formulae. +% (See, however, the mathematical alphabet +\mathbold+.) +% \item +% The \textsf{textcomp} package, if required, must be input \emph{after} +% \texttt{cmbright}, otherwise +% the symbol \textregistered{} (+\textregistered+) is not taken from the +% text companion font. +% The same problem might occur, +% if (e.g.\ with future versions of \LaTeX) the TS1 encoding is included +% in the \LaTeX{} format. In both cases the symbol is typeset +% in roman style, instead of sans serif. +% \item +% Within the mathematical mode the symbol \textit{\pounds} +% is treated as a text symbol, so its size and the surrounding space +% might be wrong under some circumstances. +% \item +% The package \textsf{oldlfont} +% cannot be used in conjunction with \texttt{cmbright}. (There should be +% no real need for doing so!) +% \item +% The package \textsf{newlfont}, if used in conjunction with the +% CM Bright fonts, must be input before \texttt{cmbright}. +% \end{itemize} +% +% +% \begin{table}[hbt] +% \caption{NFSS classification of the Computer Modern Bright fonts} +% \label{tab:nfss} +% \begin{center} +% \begin{tabular}{|l|l|l|l|} +% \hline +% \textbf{encoding} & \textbf{family} & \textbf{series} & \textbf{shape(s)}\\ +% \hline\hline +% \multicolumn{4}{|c|}{\textit{CM Bright}}\\ \hline +% OT1, T1, TS1 & cmbr & m & n, sl \\ \hline +% T1, TS1 & cmbr & sb & n, sl\\ \hline +% OT1, T1, TS1 & cmbr & bx & n\\ \hline \hline +% \multicolumn{4}{|c|}{\textit{CM Typewriter Light}}\\ \hline +% OT1, T1, TS1 & cmtl & m & n, sl\\ \hline \hline +% \multicolumn{4}{|c|}{\textit{CM Bright Math}}\\ \hline +% OML & cmbrm & m, b & it \\ \hline +% OMS & cmbrs & m & n \\ \hline \hline +% \multicolumn{4}{|c|}{\textit{CM Bright AMS A, B}}\\ \hline +% U & msa, msb & m &n\\ \hline +% \end{tabular} +% \end{center} +% \end{table} +% +% \section{NFSS classification of the fonts} +% Table~\ref{tab:nfss} lists the font series and shapes available in +% the CM Bright and CM Typewriter Light families. Notice, that +% \begin{itemize} +% \item the bx series of the text fonts is supported at sizes +% of 9\,pt and above only; +% \item the usual font substitutions are set up so as to map OML and OMS +% encoded text fonts to the math fonts; +% \item there is no special CM Bright font for the `extensible math symbols'; +% OMX/cmex should be used instead; +% \item +% the font definitions for the AMS fonts are part of the package \texttt{cmbright}; +% there are no separate\texttt{.fd} files. +% \end{itemize} +% +% \StopEventually{} +% +% \section{The package code} +% +% \subsection{Text font families} +% The sans serif font family is made the default one: +% \begin{macrocode} +%<*cm> +\renewcommand{\familydefault}{\sfdefault} +% \end{macrocode} +% CM Bright is to be used as the default sans serif font family: +% \begin{macrocode} +\renewcommand{\sfdefault}{cmbr} +% \end{macrocode} +% +% CM Typewriter Light is to be used as the default typewriter font family, +% because the +cmtt+ fonts look too dark in combination with CM Bright: +% \begin{macrocode} +\renewcommand{\ttdefault}{cmtl} +% \end{macrocode} +% +% \subsection{Mathematical fonts} +% Default definitions which remain unchanged are commented out: +% \begin{macrocode} +\DeclareSymbolFont {operators} {OT1}{cmbr}{m}{n} +\DeclareSymbolFont {letters} {OML}{cmbrm}{m}{it} +\DeclareSymbolFont {symbols} {OMS}{cmbrs}{m}{n} +% \DeclareSymbolFont {largesymbols} {OMX}{cmex}{m}{n} +% +% \DeclareSymbolFontAlphabet {\mathrm} {operators} +% \DeclareSymbolFontAlphabet{\mathnormal} {letters} +% \DeclareSymbolFontAlphabet {\mathcal} {symbols} +% +\DeclareMathAlphabet{\mathit} {OT1}{cmbr}{m}{sl} +\DeclareMathAlphabet{\mathbf} {OT1}{cmbr}{bx}{n} +\DeclareMathAlphabet{\mathtt} {OT1}{cmtl}{m}{n} +% \end{macrocode} +% Despite its name, +\mathrm+ is not a font with serifs, +% but it is, what the user expects it to be: +% the upright font used e.g.\ for operator names. +% +% We do not set up a bold +\mathversion+, but we make a bold +% slanted mathematical alphabet available: +% \begin{macrocode} +\DeclareMathAlphabet{\mathbold}{OML}{cmbrm}{b}{it} +% \end{macrocode} +% +% The command +\mathbold+ should act on lowercase greek letters, too: +% \begin{macrocode} +\DeclareMathSymbol{\alpha}{\mathalpha}{letters}{11} +\DeclareMathSymbol{\beta}{\mathalpha}{letters}{12} +\DeclareMathSymbol{\gamma}{\mathalpha}{letters}{13} +\DeclareMathSymbol{\delta}{\mathalpha}{letters}{14} +\DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{15} +\DeclareMathSymbol{\zeta}{\mathalpha}{letters}{16} +\DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0} +\DeclareMathSymbol{\eta}{\mathalpha}{letters}{17} +\DeclareMathSymbol{\theta}{\mathalpha}{letters}{18} +\DeclareMathSymbol{\iota}{\mathalpha}{letters}{19} +\DeclareMathSymbol{\kappa}{\mathalpha}{letters}{20} +\DeclareMathSymbol{\lambda}{\mathalpha}{letters}{21} +\DeclareMathSymbol{\mu}{\mathalpha}{letters}{22} +\DeclareMathSymbol{\nu}{\mathalpha}{letters}{23} +\DeclareMathSymbol{\xi}{\mathalpha}{letters}{24} +\DeclareMathSymbol{\pi}{\mathalpha}{letters}{25} +\DeclareMathSymbol{\rho}{\mathalpha}{letters}{26} +\DeclareMathSymbol{\sigma}{\mathalpha}{letters}{27} +\DeclareMathSymbol{\tau}{\mathalpha}{letters}{28} +\DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{29} +\DeclareMathSymbol{\phi}{\mathalpha}{letters}{30} +\DeclareMathSymbol{\chi}{\mathalpha}{letters}{31} +\DeclareMathSymbol{\psi}{\mathalpha}{letters}{32} +\DeclareMathSymbol{\omega}{\mathalpha}{letters}{33} +\DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{34} +\DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{35} +\DeclareMathSymbol{\varpi}{\mathalpha}{letters}{36} +\DeclareMathSymbol{\varrho}{\mathalpha}{letters}{37} +\DeclareMathSymbol{\varsigma}{\mathalpha}{letters}{38} +\DeclareMathSymbol{\varphi}{\mathalpha}{letters}{39} +% \end{macrocode} +% +% The \texttt{slantedGreek} option: +% \begin{macrocode} +\DeclareOption{slantedGreek}{% + \DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0} + \DeclareMathSymbol{\Delta}{\mathalpha}{letters}{1} + \DeclareMathSymbol{\Theta}{\mathalpha}{letters}{2} + \DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{3} + \DeclareMathSymbol{\Xi}{\mathalpha}{letters}{4} + \DeclareMathSymbol{\Pi}{\mathalpha}{letters}{5} + \DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{6} + \DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{7} + \DeclareMathSymbol{\Phi}{\mathalpha}{letters}{8} + \DeclareMathSymbol{\Psi}{\mathalpha}{letters}{9} + \DeclareMathSymbol{\Omega}{\mathalpha}{letters}{10} +} +\let\upOmega\Omega +\let\upDelta\Delta +% \end{macrocode} +% +% \subsection{Leading} +% The +\baselineskip+ should be larger than with CM Roman. For text sizes, +% i.e.\ 8--12\,pt, a value of $1.25 \times \mathrm{size}$ is recommended. +% In order to overwrite the +\baselineskip+ defined in the commands +% like +\normalsize+, +\small+, etc., we use a trick from Frank Jensen's +% package \textsf{beton} (v1.3). +% First we set up a table containing our +\baselineskip+ values: +% \begin{macrocode} +\def\bright@baselineskip@table + {<\@viiipt>10<\@ixpt>11.25<\@xpt>12.5<\@xipt>13.7<\@xiipt>15} +% \end{macrocode} +% All the standard \LaTeX\ size-changing commands (+\small+, +\large+, +% etc.)\ are defined in terms of the +\@setfontsize+ macro. This +% macro is called with the following three arguments: +#1+~is the +% size-changing command; +#2+~is the font size; +#3+~is the +% +\baselineskip+ value. We modify this macro to check +% the above +\bright@baselineskip@table+ for an alternative +\baselineskip+ +% value: +% \begin{macrocode} +\def\bright@setfontsize#1#2#3% + {\edef\@tempa{\def\noexpand\@tempb####1<#2}% + \@tempa>##2<##3\@nil{\def\bright@baselineskip@value{##2}}% + \edef\@tempa{\noexpand\@tempb\bright@baselineskip@table<#2}% + \@tempa><\@nil + \ifx\bright@baselineskip@value\@empty + \def\bright@baselineskip@value{#3}% + \fi + \old@setfontsize{#1}{#2}\bright@baselineskip@value} +% \end{macrocode} +% Now we redefine +\@setfontsize+: +% \begin{macrocode} +\let\old@setfontsize=\@setfontsize +\let\@setfontsize=\bright@setfontsize +% \end{macrocode} +% The +\baselineskip+ values specified in the above table should be +% appropriate for most purposes, i.e., for one-column material in the +% normal article/report/book formats. However, it is sometimes +% desirable to use a smaller value for +\baselineskip+, e.g.\ in two-column +% material. We therefore provide an option +% to turn off the above automatic mechanism for +\baselineskip+ settings: +% \begin{macrocode} +\DeclareOption{standard-baselineskips}{% + \let\@setfontsize=\old@setfontsize} +% \end{macrocode} +% Note that the +\let+-assignment has to be executed after +% +\old@setfontsize+ has been defined; this is ensured by +% the fact that options are processed at the end of the package. +% +% \subsection{Old-style numerals} +% Old-style numerals are to be taken from CM Bright, too: +% \begin{macrocode} +\def\oldstylenums#1{% + \begingroup + \spaceskip\fontdimen\tw@\font + \usefont{OML}{cmbrm}{\f@series}{it}% + \mathgroup\symletters #1% + \endgroup +} +% \end{macrocode} +% In the future this may change; old-style numerals could be +% taken from the text companion font, thus even providing `oldstyle +% bold extended'~etc. +% +% \subsection{Missing symbols} +% The OT1 encoded CM Bright fonts do not contain the symbol \pounds. +% We must therefore redefine the +% commands +\textsterling+ and +\mathsterling+. +% They will now use the roman text font family: +% \begin{macrocode} +\DeclareTextCommand{\textsterling}{OT1}{{% + \rmfamily + \ifdim \fontdimen\@ne\font >\z@ + \itshape + \else + \fontshape{ui}\selectfont + \fi + \char`\$}} +\def\mathsterling{\textsl{\textsterling}} +% \end{macrocode} +% Since there is no `caps and small caps' font shape, the definition of +% \textregistered\ must be changed: +% \begin{macrocode} +\DeclareTextCommandDefault{\textregistered}{% + \textcircled{{\rmfamily\scshape r}}} +% \end{macrocode} +% +% \subsection{Defining the AMS symbol fonts} +% In case the package \textsf{amsfonts} is loaded additionally, +% the CM Bright versions of the AMS symbol fonts are to be used. +% The \textsf{amsfonts} package, when loaded with the \texttt[psamsfonts] option, +% will issue its own font definition commands, so we have to defer ours +% after loading of the packages, so as not to let them be overwritten. +% \begin{macrocode} +\AtBeginDocument{% + \DeclareFontFamily{U}{msa}{} + \DeclareFontShape{U}{msa}{m}{n}{% + <5><6><7><8>cmbras8% + <9>cmbras9% + <10><10.95><12><14.4><17.28><20.74><24.88>cmbras10% + }{} + \DeclareFontFamily{U}{msb}{} + \DeclareFontShape{U}{msb}{m}{n}{% + <5><6><7><8>cmbrbs8% + <9>cmbrbs9% + <10><10.95><12><14.4><17.28><20.74><24.88>cmbrbs10% + }{} +} +% \end{macrocode} +% + +% \subsection{Patches for obsolete \LaTeX{} releases} +% With a \LaTeX{} release previous to 1995/06/01 +% some macros from the \LaTeX{} kernel and the standard classes +% must be redefined, because they explicitely select a font with serifs: +% \begin{macrocode} +%<*patch> +\typeout{* This package `cmbright' contains patches} +\typeout{* to be used with obsolete versions of LaTeX.} +\typeout{* However, if your LaTeX is from 1995/06/01 or newer,} +\typeout{* you MUST redo the installation of the package,} +\typeout{* in order to generate it again, without the patches!} +\def\@dottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth \else + \vskip \z@ \@plus.2\p@ + {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip + \parindent #2\relax\@afterindenttrue + \interlinepenalty\@M + \leavevmode + \@tempdima #3\relax + \advance\leftskip \@tempdima \hbox{}\hskip -\leftskip + {#4}\nobreak\leaders\hbox{$\m@th \mkern \@dotsep mu.\mkern \@dotsep + mu$}\hfill \nobreak + \hbox to\@pnumwidth{\hfil\reset@font #5}\par}\fi} +\def\@eqnnum{{\reset@font(\theequation)}} +\DeclareOption{leqno}{ +\renewcommand\@eqnnum{\hbox to .01\p@{}% + \rlap{\reset@font% + \hskip -\displaywidth(\theequation)}}} +\def\ps@plain{\let\@mkboth\@gobbletwo + \let\@oddhead\@empty\def\@oddfoot{\reset@font\hfil\thepage + \hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot} +\pagestyle{plain} +%</patch> +% \end{macrocode} +% +% \subsection{Processing the options} +% \begin{macrocode} +\ProcessOptions\relax +% \end{macrocode} +% +% \subsection{Initialization} +% We ensure that any package loaded after \texttt{cmbright} +% will find the new value of +\baselineskip+ +% and the new +\normalfont+, which has a larger `em' than CM Roman. +% \begin{macrocode} +\normalfont\normalsize +%</cm> +% \end{macrocode} +% +% \section*{This file \ldots} +% \ldots{} +cmbright.dtx+ contains the following +% DocStrip modules: +% \begin{quote} +% \begin{tabular}{ll} +% module: & contents:\\[0.5ex] +% +cm+ & package +cmbright+\\ +% +driver+ & driver for documentaion \\ +% +patch+ & patches for \LaTeX{} release $<$ June 1995 +% \end{tabular} +% \end{quote} +% The module +patch+ should only be selected together with +cm+. +% \vspace{1ex} +% +% The next line of code prevents DocStrip from adding the +% character table to all modules: +% \begin{macrocode} +\endinput +% \end{macrocode} +% \Finale +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% + diff --git a/Master/texmf-dist/source/latex/cmbright/cmbright.ins b/Master/texmf-dist/source/latex/cmbright/cmbright.ins new file mode 100644 index 00000000000..340a32c1c67 --- /dev/null +++ b/Master/texmf-dist/source/latex/cmbright/cmbright.ins @@ -0,0 +1,26 @@ +% file cmbright.ins 1998-01-19 +%\NeedsTeXFormat{LaTeX2e}[1996/12/01] +\input docstrip +\usedir{tex/latex/cmbright} +\keepsilent + +\Msg{Generating cmbright.sty ...} + +\generate{\file{cmbright.sty}{\from{cmbright.dtx}{cm}}} + +\Msg{Generating font definition files ...} + +\generate{\file{ot1cmbr.fd} {\from{cmbr.fdd}{cm}} + \file{t1cmbr.fd} {\from{cmbr.fdd}{ec}} + \file{ts1cmbr.fd} {\from{cmbr.fdd}{ts1cmbr}} + \file{omlcmbrm.fd}{\from{cmbr.fdd}{omlcmbrm}} + \file{omscmbrs.fd}{\from{cmbr.fdd}{omscmbrs}} + \file{omlcmbr.fd} {\from{cmbr.fdd}{omlcmbr}} + \file{omscmbr.fd} {\from{cmbr.fdd}{omscmbr}} + \file{ot1cmtl.fd} {\from{cmbr.fdd}{ot1cmtl}} + \file{t1cmtl.fd} {\from{cmbr.fdd}{t1cmtl}} + \file{ts1cmtl.fd} {\from{cmbr.fdd}{ts1cmtl}} +} + +\endbatchfile + diff --git a/Master/texmf-dist/source/latex/cmbright/oinst.ins b/Master/texmf-dist/source/latex/cmbright/oinst.ins new file mode 100644 index 00000000000..7af087adaee --- /dev/null +++ b/Master/texmf-dist/source/latex/cmbright/oinst.ins @@ -0,0 +1,36 @@ +% file oinst.ins 1998-01-19 +\def\batchfile{oinst.ins} +\input docstrip +\keepsilent + +\generateFile{cmbright.sty}{}{ + \from{cmbright.dtx}{cm}} + + +\Msg{Generating fd files with mixed-case names ...} + +\generateFile{OT1cmbr.fd}{}{\from{cmbr.fdd}{cm}} +\generateFile{T1cmbr.fd}{}{\from{cmbr.fdd}{ec}} +\generateFile{OMLcmbrm.fd}{}{\from{cmbr.fdd}{omlcmbrm}} +\generateFile{OMScmbrs.fd}{}{\from{cmbr.fdd}{omscmbrs}} +\generateFile{OMLcmbr.fd}{}{\from{cmbr.fdd}{omlcmbr}} +\generateFile{OMScmbr.fd}{}{\from{cmbr.fdd}{omscmbr}} +\generateFile{OT1cmtl.fd}{}{\from{cmbr.fdd}{ot1cmtl}} +\generateFile{T1cmtl.fd}{}{\from{cmbr.fdd}{t1cmtl}} +\generateFile{TS1cmtl.fd}{}{\from{cmbr.fdd}{ts1cmtl}} +\generateFile{TS1cmbr.fd}{}{\from{cmbr.fdd}{ts1cmbr}} + + +\ifToplevel{ +\Msg{*} +\Msg{* To finish the installation you have to move all } +\Msg{* `.fd' and `.sty' files that have been generated } +\Msg{* into a directory searched by LaTeX.} +\Msg{*} +\Msg{* In a TDS file system this should be: } +\Msg{* \space\space texmf/tex/latex/cmbright } +\Msg{*} +} + +\endinput + |