From 327c7c00b7879bf8e82fc936ea757be48dea5c82 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 14 Sep 2014 21:57:02 +0000 Subject: drm (14sep14) git-svn-id: svn://tug.org/texlive/trunk@35166 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/fonts/drm/drm.dtx | 78 +++++++++++++++++++++++++++--- 1 file changed, 71 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/source/fonts') diff --git a/Master/texmf-dist/source/fonts/drm/drm.dtx b/Master/texmf-dist/source/fonts/drm/drm.dtx index b98a74a8c0b..3944bd7d069 100644 --- a/Master/texmf-dist/source/fonts/drm/drm.dtx +++ b/Master/texmf-dist/source/fonts/drm/drm.dtx @@ -24,7 +24,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] -%\ProvidesPackage{drm}[2015/01/01 v1.1 support for dozenal fonts] +%\ProvidesPackage{drm}[2015/01/01 v2.0 support for dozenal fonts] %<*driver> \documentclass{ltxdoc} @@ -77,7 +77,7 @@ % % \fi % -% \title{The \texttt{drm} Font Package, v1.1} +% \title{The \texttt{drm} Font Package, v2.0} % \author{Donald P.\ Goodman III} % \date{\today} % @@ -591,6 +591,19 @@ % \end{center} % \end{table} % +% Both small caps and titling caps come in \emph{italic} +% (really simply \textsl{slanted}) varieties; these are +% accessed via +% \DescribeMacro{\textitsc}|\textitsc| and +% \DescribeMacro{\textittc}|\textittc| (or +% \DescribeMacro{\itscshape}|\itscshape| and +% \DescribeMacro{\ittcshape}|\ittcshape|). However, it +% should be noted that both these font shapes are designed +% for emphasizing text, as is slanting; so while it's +% perfectly possible to \textitsc{slant your small +% caps} and \textittc{italicize your titling caps}, +% this really should be done with great caution. +% % \subsubsection{Slanted, Italic, and Upright Italic} % % DRM also offers the usual \emph{italic} type, typically @@ -706,11 +719,40 @@ % boldness when selecting |\bfseries|, so I decided to make % it that way. % -% DRM does \emph{not} offer a bold italic or a bold small -% caps; this is because both italics and small caps are -% already meant to serve for emphasis, and bolding your -% already emphasized text is really a bad idea. Bold -% italic is a particularly egregious typographical crime. +% Until v2.0, DRM did \emph{not} offer a bold italic or a +% bold small caps; this is because both italics and small +% caps are already meant to serve for emphasis, and bolding +% your already emphasized text is really a bad idea. Bold +% italic I considered to be a particularly egregious +% typographical crime. +% +% However, after some conversations and one example in which +% bold italic was actually used well (a display; \emph{not} +% in running text), your author has tempered his aggressive +% stance and provided a bold italic, bold upright italic, +% and bold versions of both small and titling caps. These +% are bold extended, and are available only in this one +% additional weight; this seemed appropriate given that +% their only appropriate use is displayed texts. They are +% accessed simply by requesting either bold or italic, and +% then requesting the other, like so: +% +% \begin{center} +% \begin{tabular}{p{0.45\textwidth}p{0.45\textwidth}} +% \begin{spverbatim}\textbf{\textit{I hope you bold italic types are happy now}}\end{spverbatim} & +% \begin{spverbatim}\textui{\textbf{I hope you bold italic types are happy now}}\end{spverbatim} \\ +% \textbf{\textit{I hope you bold italic types are happy now.}} & +% \textui{\textbf{I hope you bold italic types are happy now.}} \\ +% \begin{spverbatim}\textsc{\textbf{Sometimes this might help with displays.}}\end{spverbatim} & +% \begin{spverbatim}\textbf{\texttc{Sometimes this might help with displays.}}\end{spverbatim} \\ +% \textsc{\textbf{Sometimes this might help with displays.}} & +% \textbf{\texttc{Sometimes this might help with displays.}} \\ +% \end{tabular} +% \end{center} +% +% There is still no bold italic small caps; I'll await an +% example of these being used appropriately before adding +% them. % % \subsection{Figures (Digits) (Numbers)} % \label{sub:figures} @@ -1636,15 +1678,33 @@ \DeclareFontShape{T1}{drm}{m}{tc}{<-7> drmtc6 <7> drmtc7 <8> drmtc8 <9> drmtc9 <10-12> drmtc10 <12-14> drmtc12 <14-17> drmtc14 <17-24> drmtc17 <24-> drmtc24 }{} +\DeclareFontShape{T1}{drm}{bx}{sc}{<-7> drmscbx6 <7> drmscbx7 + <8> drmscbx8 <9> drmscbx9 <10-12> drmscbx10 <12-14> drmscbx12 + <14-17> drmscbx14 <17-24> drmscbx17 <24-> drmscbx24 }{} +\DeclareFontShape{T1}{drm}{bx}{tc}{<-7> drmtcbx6 <7> drmtcbx7 + <8> drmtcbx8 <9> drmtcbx9 <10-12> drmtcbx10 <12-14> drmtcbx12 + <14-17> drmtcbx14 <17-24> drmtcbx17 <24-> drmtcbx24 }{} +\DeclareFontShape{T1}{drm}{m}{itsc}{<-7> drmitsc6 <7> drmitsc7 + <8> drmitsc8 <9> drmitsc9 <10-12> drmitsc10 <12-14> drmitsc12 + <14-17> drmitsc14 <17-24> drmitsc17 <24-> drmitsc24 }{} +\DeclareFontShape{T1}{drm}{m}{ittc}{<-7> drmittc6 <7> drmittc7 + <8> drmittc8 <9> drmittc9 <10-12> drmittc10 <12-14> drmittc12 + <14-17> drmittc14 <17-24> drmittc17 <24-> drmittc24 }{} \DeclareFontShape{T1}{drm}{m}{sl}{<-7> drmsl6 <7> drmsl7 <8> drmsl8 <9> drmsl9 <10-12> drmsl10 <12-14> drmsl12 <14-17> drmsl14 <17-24> drmsl17 <24-> drmsl24 }{} \DeclareFontShape{T1}{drm}{m}{it}{ <-7> drmit6 <7> drmit7 <8> drmit8 <9> drmit9 <10-12> drmit10 <12-14> drmit12 <14-17> drmit14 <17-24> drmit17 <24-> drmit24 }{} +\DeclareFontShape{T1}{drm}{bx}{it}{ <-7> drmitbx6 <7> drmitbx7 + <8> drmitbx8 <9> drmitbx9 <10-12> drmitbx10 <12-14> drmitbx12 + <14-17> drmitbx14 <17-24> drmitbx17 <24-> drmitbx24 }{} \DeclareFontShape{T1}{drm}{m}{ui}{<-7> drmui6 <7> drmui7 <8> drmui8 <9> drmui9 <10-12> drmui10 <12-14> drmui12 <14-17> drmui14 <17-24> drmui17 <24-> drmui24 }{} +\DeclareFontShape{T1}{drm}{bx}{ui}{<-7> drmuibx6 <7> drmuibx7 + <8> drmuibx8 <9> drmuibx9 <10-12> drmuibx10 <12-14> drmuibx12 + <14-17> drmuibx14 <17-24> drmuibx17 <24-> drmuibx24 }{} \DeclareFontShape{T1}{drm}{l}{n}{<-7> drml6 <7> drml7 <8> drml8 <9> drml9 <10-12> drml10 <12-14> drml12 <14-17> drml14 <17-24> drml17 <24-> drml24 }{} @@ -1675,6 +1735,10 @@ % \begin{macrocode} \def\tcshape{\fontshape{tc}\selectfont} \def\texttc#1{{\tcshape#1}} +\def\ittcshape{\fontshape{ittc}\selectfont} +\def\textittc#1{{\ittcshape#1}} +\def\itscshape{\fontshape{itsc}\selectfont} +\def\textitsc#1{{\itscshape#1}} \def\uishape{\fontshape{ui}\selectfont} \def\textui#1{{\uishape#1}} \def\grktext{\fontencoding{LGR}\selectfont} -- cgit v1.2.3