| 1 |
\documentclass[11pt]{article} |
| 2 |
\usepackage[textwidth=5.5in,textheight=8.5in]{geometry} |
| 3 |
\usepackage[T1]{fontenc} |
| 4 |
\usepackage[osf,proportional]{libertinus-type1} |
| 5 |
\renewcommand{\ttfamily}{\fontencoding{OT1}\fontfamily{cmtt}\selectfont} |
| 6 |
\PassOptionsToPackage{urlcolor=black,colorlinks}{hyperref} |
| 7 |
\RequirePackage{hyperref} |
| 8 |
\usepackage{xcolor} |
| 9 |
\usepackage{longtable} |
| 10 |
\usepackage{multicol} |
| 11 |
\newcommand{\typeone}{Type~\liningnums{1}} |
| 12 |
\begin{document} |
| 13 |
\title{Libertinus for Traditional \LaTeX\ Processors} |
| 14 |
\author{Bob Tennent\\ |
| 15 |
\small\url{[email protected]}} |
| 16 |
\date{\today} |
| 17 |
\maketitle |
| 18 |
\thispagestyle{empty} |
| 19 |
\begin{small} |
| 20 |
\tableofcontents |
| 21 |
\end{small} |
| 22 |
\sloppy |
| 23 |
\section{Introduction} |
| 24 |
|
| 25 |
The Libertinus OpenType fonts are derived from the Linux Libertine and Biolinum |
| 26 |
families of fonts. To use them with \verb|xelatex| or \verb|lualatex|, install |
| 27 |
the \verb|libertinus| and \verb|libertinus-otf| packages. |
| 28 |
This package provides support for use of Libertinus fonts |
| 29 |
with traditional processing engines |
| 30 |
(\verb|latex| with \verb|dvips| or \verb|dvipdfmx|, or \verb|pdflatex|). |
| 31 |
|
| 32 |
|
| 33 |
\section{Installation} |
| 34 |
|
| 35 |
To install this package on a TDS-compliant \TeX\ system, download the |
| 36 |
file |
| 37 |
\begin{list}{}{}\item \verb\tex-archive/install/fonts/libertinus.tds.zip\ |
| 38 |
\end{list} |
| 39 |
and unzip at the root of an appropriate |
| 40 |
\verb\texmf\ tree, likely a personal or local tree. If necessary, update |
| 41 |
the file-name database (e.g., \verb\texhash texmf\). Update the font-map files by |
| 42 |
enabling the Map file \verb\libertinus.map\. |
| 43 |
|
| 44 |
|
| 45 |
\section{Basic Usage} |
| 46 |
|
| 47 |
For most purposes, simply add |
| 48 |
|
| 49 |
\begin{list}{}{}\item |
| 50 |
\verb|\usepackage{libertinus}| |
| 51 |
\end{list} |
| 52 |
to the preamble of your document. This will activate Libertinus Serif as |
| 53 |
the main text family, Libertinus Sans as the sans family, |
| 54 |
and Libertinus Mono as the monospaced family. |
| 55 |
It is |
| 56 |
recommended that the font encoding be set to \verb\T1\ or \verb\LY1\ but the default |
| 57 |
\verb\OT1\ encoding is also supported. The \verb|LGR| encoding is supported for the Serif and Sans |
| 58 |
families. |
| 59 |
|
| 60 |
Available shapes in all series (except \texttt{tt}, which |
| 61 |
only has \texttt{it}) include: |
| 62 |
\begin{list}{}{}\item |
| 63 |
\begin{tabular}{ll} |
| 64 |
\texttt{it} & italic\\ |
| 65 |
\texttt{sc} & small caps\\ |
| 66 |
\texttt{scit} & italic small caps |
| 67 |
\end{tabular} |
| 68 |
\end{list} |
| 69 |
Slanted variants are not supported; the designed italic variants will be |
| 70 |
automatically substituted. The exception is the bold series of Libertinus Sans, |
| 71 |
for which no italic is available. Italic variants of Libertinus Mono |
| 72 |
are also unavailable. |
| 73 |
|
| 74 |
|
| 75 |
To activate Libertinus Serif without Libertinus Sans or Mono, use the \texttt{serif} (or \texttt{rm}) |
| 76 |
option. Similarly, to activate Libertinus Sans (without Libertinus Serif or Libertinus Mono) use the |
| 77 |
\texttt{sans} (or \texttt{sf} or \texttt{ss}) option. To use Libertinus Sans as the main text font (as |
| 78 |
well as the sans font), use the option \texttt{sfdefault}. |
| 79 |
Use the \verb|mono=false| (or \verb|tt=false|) option to suppress |
| 80 |
activating Libertinus Mono. |
| 81 |
|
| 82 |
\section{Advanced Usage} |
| 83 |
|
| 84 |
The following options are available in all styles (except monospaced): |
| 85 |
\begin{list}{}{}\item |
| 86 |
\begin{tabular}{ll} |
| 87 |
\texttt{oldstyle} (\texttt{osf}) & old-style figures\\ |
| 88 |
\texttt{lining} (\texttt{nf}, \texttt{lf}) & lining figures\\ |
| 89 |
\texttt{proportional} (\texttt{p})& varying-width figures\\ |
| 90 |
\texttt{tabular} (\texttt{t}) & fixed-width figures\\ |
| 91 |
\end{tabular} |
| 92 |
\end{list} |
| 93 |
These apply to both Libertinus Serif and Libertinus Sans. |
| 94 |
The defaults are \texttt{lining} and \texttt{tabular}. |
| 95 |
|
| 96 |
The \texttt{semibold} (\texttt{sb}) option will enable use of the |
| 97 |
semi-bold series of Libertinus Serif; this has no effect on the Sans fonts, |
| 98 |
for which there is no semi-bold variant. |
| 99 |
Any of the ``Boolean'' options, such as \texttt{osf}, may |
| 100 |
also be used |
| 101 |
in the form \verb|osf=true| or \verb|osf=false|. |
| 102 |
|
| 103 |
The option |
| 104 |
\verb|ScaleRM=|<\emph{number}> will scale the Serif fonts but have no effect on the |
| 105 |
Sans or Mono fonts. Similarly, the options |
| 106 |
\verb|ScaleSF=|<\emph{number}> |
| 107 |
and \verb|ScaleTT=|<\emph{number}> |
| 108 |
will scale the Serif and Mono fonts, respectively. |
| 109 |
|
| 110 |
Superior numbers (for footnote markers) are available using \verb|\sufigures| |
| 111 |
or \verb|\textsu{|\ldots\verb|}|. |
| 112 |
|
| 113 |
|
| 114 |
Command \verb|\useosf| switches the default figure style for Libertinus Serif and Libertinus Sans to old-style figures; this is |
| 115 |
primarily for use \emph{after} calling a math package |
| 116 |
with lining figures as the default. |
| 117 |
|
| 118 |
The following macros select the font family indicated: |
| 119 |
\begin{center} |
| 120 |
\begin{tabular}{ll} |
| 121 |
\verb|\LibertinusSerif| & Libertinus Serif \\ |
| 122 |
\verb|\LibertinusSerifSB|& Libertinus Serif with semibold \\ |
| 123 |
\verb|\LibertinusSerifOsF| & Libertinus Serif with proportional oldstyle figures \\ |
| 124 |
\verb|\libertinusSerifTLF| & Libertinus Serif with tabular lining figures \\ |
| 125 |
\verb|\LibertinusSans| & Libertinus Sans \\ |
| 126 |
\verb|\LibertinusSansOsF|& LibertinusSans with proportional oldstyle figures \\ |
| 127 |
\verb|\LibertinusSansLF| & Libertinus Sans with tabular lining figures \\ |
| 128 |
\verb|\LibertinusMono| & Libertinus Mono\\ |
| 129 |
\verb|\LibertinusSerifDisplay| & Libertinus Serif Display\\ |
| 130 |
\end{tabular} |
| 131 |
\end{center} |
| 132 |
|
| 133 |
\section{Concluding Remarks} |
| 134 |
|
| 135 |
|
| 136 |
The original Linux Libertine and Biolinum OpenType fonts were created by Philipp H. Poll |
| 137 |
(\url{[email protected]}) and are licensed under the terms of the GNU General |
| 138 |
Public License (Version~2, with font exception) and under the terms of |
| 139 |
the Open Font License. For details look into the \verb|doc| directory of the |
| 140 |
distribution or at |
| 141 |
\begin{list}{}{}\item |
| 142 |
\url{http://www.linuxlibertine.org/} |
| 143 |
\end{list} |
| 144 |
The basic Libertinus OpenType fonts are from |
| 145 |
\begin{list}{}{}\item |
| 146 |
\url{https://github.com/libertinus-fonts/libertinus} |
| 147 |
\end{list} |
| 148 |
with additional fonts obtained by using \verb|fontforge|. |
| 149 |
The support |
| 150 |
files were created using \verb|autoinst|. The support files are licensed under |
| 151 |
the terms of the LaTeX Project Public License. |
| 152 |
|
| 153 |
Thanks to Herbert Voss |
| 154 |
and Khaled Hosny for their assistance. |
| 155 |
The maintainer of this |
| 156 |
package is Bob Tennent (\url{[email protected]}) |
| 157 |
|
| 158 |
\end{document} |