summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex/addliga/addliga.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-04-30 22:36:21 +0000
committerKarl Berry <karl@freefriends.org>2019-04-30 22:36:21 +0000
commitf6aba0a218c3b19afb4ff78799e8f0760e584397 (patch)
tree6baf0f609ff08a97fed80d0d4db9e527dc165d8c /Master/texmf-dist/doc/lualatex/addliga/addliga.tex
parentabc8b781b896d259cce575495eb06d7a561ad720 (diff)
addliga (30apr19)
git-svn-id: svn://tug.org/texlive/trunk@50912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/addliga/addliga.tex')
-rw-r--r--Master/texmf-dist/doc/lualatex/addliga/addliga.tex33
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/addliga/addliga.tex b/Master/texmf-dist/doc/lualatex/addliga/addliga.tex
new file mode 100644
index 00000000000..04681272237
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/addliga/addliga.tex
@@ -0,0 +1,33 @@
+% !TEX TS-program = lualatex
+\documentclass{scrartcl}
+\setkomafont{disposition}{\bfseries}
+\KOMAoptions{fontsize=12pt}
+\usepackage[letterpaper]{geometry}
+\usepackage{addliga}
+\usepackage{fontspec}
+\setmainfont[Numbers={OldStyle}]{Domitian}
+\setmonofont[Scale=1.05]{CMU Typewriter Text Variable Width}
+\usepackage[protrusion=true,expansion=true]{microtype}
+\usepackage{realscripts}
+\usepackage[main=english,,latin.classical,nil]{babel}
+\newcommand{\laterm}[1]{\foreignlanguage{latin}{\textit{#1}}}
+\deffootnote[1.5em]{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark.}}
+\usepackage[pdfusetitle,pdfa,hidelinks]{hyperref}\hypersetup{pdfencoding=unicode}
+\usepackage{hologo}
+\title{\normalfont\texttt{addliga}\\\large (version 1.0)}
+%\date{}
+\author{Daniel~Benjamin Miller\\\large(\texttt{dbmiller@dbmiller.org})}
+\begin{document}
+\maketitle
+The \texttt{fontspec}\footnote{\url{https://ctan.org/pkg/fontspec}} package enables use of OpenType and TrueType fonts in \hologo{LuaLaTeX} and \hologo{XeLaTeX}. Though legacy TrueType fonts often include at least a partial set of ligatures, these, unlike those of OpenType fonts, are not accessible through \texttt{fontspec}'s usual mechanisms. The \texttt{addliga} package is designed to allow easy use of basic TrueType font ligatures in \hologo{LuaLaTeX} by adding an OpenType \texttt{liga} lookup table to the loaded font. (\laterm{Nota bene}: not all fonts will contain ligature support; \texttt{addliga} only adds support for existing ligatures.) The ligatures supported are ff, fi, ffi, fl and ffl. This package has been contributed to the public domain.
+\section*{Basic Usage}
+\begin{verbatim}
+\documentclass{…}
+\usepackage{addliga}
+\usepackage{fontspec}
+\setmainfont{…}
+\begin{document}
+…
+\end{document}
+\end{verbatim}
+\end{document} \ No newline at end of file