diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-27 21:20:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-27 21:20:04 +0000 |
commit | 11a511f065bb81a561509864f9e01a9efaff6b53 (patch) | |
tree | f264ab8c33982dbb88c5dac9a7f056b790e72a5d /Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex | |
parent | d2aecdcc86e22890e562b82f82e17d548291b08e (diff) |
hep-font (27nov21)
git-svn-id: svn://tug.org/texlive/trunk@61164 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex b/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex new file mode 100644 index 00000000000..790c455e4a5 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/hep-font/hep-font-documentation.tex @@ -0,0 +1,90 @@ +%% +%% This is file `hep-font-documentation.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% hep-font-implementation.dtx (with options: `documentation') +%% This is a generated file. +%% Copyright (C) 2019-2020 by Jan Hajer +%% This file may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3c 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.3c or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +\ProvidesFile{hep-font-documentation.tex}[2021/09/01 v1.8 hep-font documentation] + +\RequirePackage[l2tabu, orthodox]{nag} + +\documentclass{ltxdoc} +\AtBeginDocument{\DeleteShortVerb{\|}} +\AtBeginDocument{\MakeShortVerb{\"}} + +\EnableCrossrefs +\CodelineIndex +\RecordChanges + +\usepackage[parskip]{hep-paper} + +\bibliography{bibliography} + +\acronym{CM}{computer modern} +\acronym{LM}{latin modern} +\acronym{NFSS}{new font selection scheme} + +\usepackage{hologo} + +\MacroIndent=1.5em +\AtBeginEnvironment{macrocode}{\renewcommand{\ttdefault}{clmt}} + +\GetFileInfo{hep-font.sty} + +\title{The \software{hep-font} package\thanks{This document corresponds to \software{hep-font}~\fileversion.}} +\subtitle{Latin modern extended by computer modern} +\author{Jan Hajer \email{jan.hajer@unibas.ch}} +\date{\filedate} + +\begin{document} + +\newgeometry{vscale=.8, vmarginratio=3:4, includeheadfoot, left=11em, marginparwidth=4.6cm, marginparsep=3mm, right=7em} + +\maketitle + +\begin{abstract} +The \software{hep-font} package loads standard font packages and extends the usual \glsdesc{LM} implementations by replacing missing fonts with \glsdesc{CM} counterparts. +\end{abstract} + +The package is loaded using "\usepackage{hep-font}". + +\DescribeMacro{oldstyle} +The "oldstyle" option switches to oldstyle numerals such as 123 in text mode instead of lining numerals such as \textl{123}. + +The \software{fontenc} package \cite{fontenc} with "T1" and "TU" font encoding is loaded for \hologo{pdfTeX} and \hologo{LuaTeX}, respectively. + +Some restrictions of \CM fonts are lifted with the \software{fixcm} package \cite{fix-cm}. + +The \software{microtype} \cite{microtype} optimizations are activated. + +The \hologo{LaTeX} \NFSS is extended with the \software{nfssext-cfr} package \cite{nfssext-cfr}. + +The \LM font is loaded using the \software{cfr-lm} \cite{cfr-lm} and \software{lmodern} \cite{lmodern} packages for \hologo{pdfTeX} and \hologo{LuaTeX}, respectively. + +The text companion fonts are loaded \cite{textcomp}. + +\DescribeMacro{\textsc} +Bold \textbf{\textsc{Small Caps}} and a sans serif \textsf{\textsc{Small Caps}} based on the \CM font \cite{cm} is provided, the latter using the \software{sansmathfonts} \cite{sansmathfonts} and \software{hfoldsty} \cite{hfoldsty} packages. + +\DescribeMacro{\textui} +A sans-serif upright italic font is provided using the \software{sansmathfonts} package \cite{sansmathfonts}. + +Finally the \software{inputenc} package \cite{inputenc} with the "utf8" option is loaded. + +\printbibliography + +\end{document} + +\endinput +%% +%% End of file `hep-font-documentation.tex'. |