diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/dantelogo/dantelogo-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/dantelogo/dantelogo-doc.tex | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/dantelogo/dantelogo-doc.tex b/Master/texmf-dist/doc/fonts/dantelogo/dantelogo-doc.tex new file mode 100644 index 00000000000..daf46bd2394 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/dantelogo/dantelogo-doc.tex @@ -0,0 +1,58 @@ +% $Id: dantelogo-doc.tex 99 2014-09-02 11:41:01Z herbert $ +\documentclass{article} +\usepackage{iftex} +\ifPDFTeX + \usepackage[T1]{fontenc} + \usepackage{libertine} + \usepackage[scaled=0.85]{beramono} + \usepackage[utf8]{inputenc} +\else + \usepackage{fontspec} + \usepackage{libertine} + \setmonofont[Scale=0.85]{DejaVu Sans Mono} +\fi +\usepackage{dantelogo} +\usepackage{geometry} +\let\FV\fileversion +\usepackage{showexpl} +\lstset{language=[LaTeX]TEX,basicstyle=\ttfamily\small,% + extendedchars,numbers=left,numberstyle=\tiny,% + xleftmargin=2em,breaklines=true} + +\begin{document} +\title{Package \texttt{dantelogo}\\v.\,\FV} +\author{Herbert Voß \and Klaus Höppner} +\date{\today} +\maketitle + +\verb|\dantelogo[<size>]| which gives \dantelogo, can be used with all current \TeX\ engines. There are Type1 and OTF versions +of the font which includes only the five characters dante. The \verb|<size>| is an optional parameter. The package itself tries +to detect the running machine (\texttt{pdflatex}, \texttt{xelatex}, or \texttt{lualatex}) and then loads by default +package \verb|fontenc| for \texttt{pdflatex} or package \texttt{fontspec}, otherwise. + +\begin{LTXexample}[width=0.4\linewidth] +\dantelogo\Huge\dantelogo +\end{LTXexample} + +\begin{LTXexample}[width=0.4\linewidth] +\dantelogo[20pt]\dantelogo +\end{LTXexample} + +\begin{LTXexample}[width=0.4\linewidth] +\bfseries\dantelogo\Huge\dantelogo +\end{LTXexample} + +\begin{LTXexample}[width=0.4\linewidth] +\itshape\dantelogo[20pt]\dantelogo +\end{LTXexample} + +\begin{LTXexample}[width=0.4\linewidth] +\bfseries\itshape\dantelogo\Huge\dantelogo +\end{LTXexample} + +\subsection*{The code} + +\lstinputlisting{dantelogo.sty} + + +\end{document} |