summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/bold-extra
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/bold-extra
Initial commit
Diffstat (limited to 'macros/latex/contrib/bold-extra')
-rw-r--r--macros/latex/contrib/bold-extra/bold-extra.pdfbin0 -> 223970 bytes
-rw-r--r--macros/latex/contrib/bold-extra/bold-extra.sty56
-rw-r--r--macros/latex/contrib/bold-extra/bold-extra.tex39
3 files changed, 95 insertions, 0 deletions
diff --git a/macros/latex/contrib/bold-extra/bold-extra.pdf b/macros/latex/contrib/bold-extra/bold-extra.pdf
new file mode 100644
index 0000000000..78cacaab25
--- /dev/null
+++ b/macros/latex/contrib/bold-extra/bold-extra.pdf
Binary files differ
diff --git a/macros/latex/contrib/bold-extra/bold-extra.sty b/macros/latex/contrib/bold-extra/bold-extra.sty
new file mode 100644
index 0000000000..345e75c620
--- /dev/null
+++ b/macros/latex/contrib/bold-extra/bold-extra.sty
@@ -0,0 +1,56 @@
+% bold-extra.sty - a jiffy to provide access (in latex) to (some of)
+% the fonts in ctan directory fonts/cm/mf-extra/bold
+%
+% by robin fairbairns, rf10@cam.ac.uk November 2001
+%
+% this package is provided under the provisions of the latex project
+% public licence, http://www.latex-project.org/lppl.txt
+%
+% this packages provides font shapes to support bold small caps and tt
+% text. there is a choice of bold tt fonts, which are selected by
+% package options cmbtt and cmttb (this reflects the confusingly
+% similar font names). the default (based on the author's estimation
+% of the fonts' relative merits) is cmttb.
+%
+% to use these fonts you need their metafont sources available to your
+% tex system (as far as i know, there are no type 1 versions of the
+% fonts available yet). place them in an appropriate place under
+% fonts/source in your tds texmf tree; place this file somewhere like
+% tex/latex/misc in your tree. see
+% http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages+wherefiles
+% for more details.
+
+\ProvidesPackage{bold-extra}[2001/11/13 v0.1 Use fonts from cm/mf-extra/bold]
+\NeedsTeXFormat{LaTeX2e}
+
+\newif\if@cmttb
+\DeclareOption{cmttb}{\@cmttbtrue}
+\DeclareOption{cmbtt}{\@cmttbfalse}
+\ExecuteOptions{cmttb}
+\ProcessOptions
+
+% declare bold small caps font
+\DeclareFontShape{OT1}{cmr}{b}{sc}
+ {
+ <5><6><7><8><9><10><12><10.95><14.4><17.28><20.74><24.88>cmbcsc10
+ }{}
+\DeclareFontShape{OT1}{cmr}{bx}{sc}
+ {<->ssub*cmr/b/sc}{}
+
+% declare bold tt font: note, we use cmttb10 by default rather than
+% the cmbtt series (which seem over-bold to me)
+\if@cmttb
+\DeclareFontShape{OT1}{cmtt}{b}{n}
+ {
+ <5><6><7><8><9><10><12><10.95><14.4><17.28><20.74><24.88>cmttb10
+ }{}
+\else
+\DeclareFontShape{OT1}{cmtt}{b}{n}
+ {
+ <5><6><7><8>cmbtt8%
+ <9>cmbtt9%
+ <10><12><10.95><14.4><17.28><20.74><24.88>cmbtt10
+ }{}
+\fi
+\DeclareFontShape{OT1}{cmtt}{bx}{n}
+ {<->ssub*cmtt/b/n}{}
diff --git a/macros/latex/contrib/bold-extra/bold-extra.tex b/macros/latex/contrib/bold-extra/bold-extra.tex
new file mode 100644
index 0000000000..8bbd38d691
--- /dev/null
+++ b/macros/latex/contrib/bold-extra/bold-extra.tex
@@ -0,0 +1,39 @@
+\documentclass[DIV=9, pagesize=auto, version=last]{scrartcl}
+
+\usepackage{lmodern}
+\usepackage{mflogo}
+\usepackage[T1]{fontenc}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \textsf{bold-extra} package}
+\subtitle{A jiffy to provide access (in \LaTeX) to (some of) the fonts\\ in CTAN directory \texttt{fonts/cm/mf-extra/bold}}
+\author{Robin Fairbairns, \href{mailto:rf10@cam.ac.uk}{\texttt{rf10@cam.ac.uk}}}
+\date{November 2001}
+
+
+\begin{document}
+
+\maketitle
+
+\noindent
+This package is provided under the provisions of the \LaTeX\ Project
+Public Licence, \url{http://www.latex-project.org/lppl.txt}
+
+This packages provides font shapes to support bold small caps and TT
+text. There is a choice of bold TT fonts, which are selected by
+package options \texttt{cmbtt} and \texttt{cmttb} (this reflects the confusingly
+similar font names). The default (based on the author's estimation
+of the fonts' relative merits) is \texttt{cmttb}.
+
+To use these fonts you need their \MF\ sources available to your
+\TeX\ system (as far as I know, there are no Type~1 versions of the
+fonts available yet). Place them in an appropriate place under
+\texttt{fonts/source} in your TDS \textsf{texmf} tree; place this file somewhere like
+\texttt{tex/latex/misc} in your tree. See
+\url{http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages+wherefiles}
+for more details.
+
+\end{document}