Debian Codegraph @

texmf-dist/doc/fonts/libertinegc/libertinegc-doc.tex

raw
1 % !TEX TS-program = pdflatexmk
2 % Template file for TeXShop by Michael Sharpe, LPPL
3 \documentclass[11pt]{amsart}
4 \usepackage[margin=1in]{geometry}
5 \usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
6 \usepackage{graphicx}
7 %SetFonts
8 % libertine+newtxmath
9 \pdfmapfile{+libertinegc.map}
10 \usepackage[T1]{fontenc}
11 \usepackage[sb]{libertine} % use sb in place of bold
12 \usepackage{libertinegc}
13 \usepackage{textcomp}
14 \usepackage[varqu,varl]{zi4}% inconsolata
15 %\usepackage[libertine,bigdelims,vvarbb]{newtxmath}
16 % option vvarbb gives you stix blackboard bold
17 %\useosf % use oldstyle figures except in math
18 %\usepackage[supstfm=LinLibertineT-sup-t1,%
19 % supscaled=1.2,%
20 % raised=-.13em]{superiors}
21 %SetFonts
22 \usepackage{fonttable}
23 \title{Libertine Greek and Cyrillic Support}
24 \author{Michael Sharpe}
25 \date{\today}
26 \begin{document}
27 \maketitle
28 This small package provides \LaTeX\ support for Greek and Cyrillic scripts in the {\tt libertine} fonts. The the obsolete \texttt{libertine-legacy} package provided support for the LGR encoding, but that package has some names that conflict with the current {\tt libertine}, and require some renaming to load correctly.
29
30 The package does nothing under Xe\LaTeX\ or Lua\LaTeX. In your preamble, load the libertine \LaTeX\ font support packages in the following order:
31 \begin{verbatim}
32 \usepackage[sb]{libertine} % many options available
33 \usepackage{libertinegc} % the only option is scale[d], which overrides that in libertine
34 \end{verbatim}
35 The {\tt libertinegc} package does very little:
36 \begin{itemize}
37 \item
38 it warns you if you are using Xe\LaTeX\ or Lua\LaTeX\;
39 \item
40 it loads support for the encodings {\tt OT2}, {\tt T2A}, {\tt T2B}, {\tt T2C} and {\tt LGR}, but does not change the current encoding;
41 \item it offers the {\tt scale} (or {\tt scaled}) option, allowing you to rescale the Greek and Cyrillic in this package, taking precedence over the scale defined in the {\tt libertine} package.
42 \end{itemize}
43 Obviously, it is not mandatory to load the {\tt libertinegc} package
44 if you know what you are doing.
45
46 The package offers only a reduced set of figure options. In {\tt LGR}, {\tt LF} is rendered as {\tt TLF} and {\tt TOsF} is rendered as {\tt OsF}. In {\tt OT2} and {\tt T2*}, all figure choices are rendered as {\tt TLF}.
47
48 The {\tt T2*} encodings are intended for those whose keyboards provide native support for Cyrillic scripts. A limited version of Cyrillic is provided for those with Western keyboards by the {\tt OT2} encoding. See the documentation of the {\tt nimbus15} package for usage details.
49
50 Greek support is provided through the LGR encoding. All characters may be accessed by ligatures built-in to the LGR encoded {\tt tfm} and supported by {\tt babel}. See the documentation for {\tt nimbus15} for further details and especially the use of the {\tt substitutefont} package to bypass {\tt babel}'s default choice of Greek font.
51
52 One limitation of {\tt libertine} should be kept in mind---the BoldItalic font is not well-developed compared to the others in the Libertine family---the Greek extended is not bold, Cyrillic is almost entirely lacking, and the accents and spacing of extended Latin glyphs are not good. This package tries to get around this by defining bolditalic to mean boldoblique. It is better to work around the problem by specifying semibold in place of bold, which is effected by the option {\tt [sb]} to {\tt libertine}, as in the example above.
53
54 \end{document}