diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-21 21:47:53 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-21 21:47:53 +0200 |
commit | f95f8775f18f0caf01bd0e2be163ca4ab0c1a127 (patch) | |
tree | bab3f67b73459e9a9526c1240d234a69b76bca58 /tests/fontspec_lookup.ltx | |
parent | 3d9ffcf967635f7bd4c70ff8e41bc7603c461d42 (diff) | |
parent | 20e92df3bcad34b2951df17182cdb4c8ffef210a (diff) | |
download | luaotfload-f95f8775f18f0caf01bd0e2be163ca4ab0c1a127.tar.gz |
merge from eroux
Diffstat (limited to 'tests/fontspec_lookup.ltx')
-rw-r--r-- | tests/fontspec_lookup.ltx | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/fontspec_lookup.ltx b/tests/fontspec_lookup.ltx new file mode 100644 index 0000000..6645427 --- /dev/null +++ b/tests/fontspec_lookup.ltx @@ -0,0 +1,41 @@ +\documentclass[a5paper,12pt]{scrartcl} +\usepackage{fontspec} +%% -------------------------------------------------------------------- +%% weirdness ahead +%% -------------------------------------------------------------------- +\setmainfont + [Numbers=Lining, + BoldFont={TeX Gyre Pagella Bold}, + BoldItalicFont={TeX Gyre Termes BoldItalic}] + {EB Garamond} +%% -------------------------------------------------------------------- + +%% -------------------------------------------------------------------- +%% excerpt from samples/knuth.tex +%% -------------------------------------------------------------------- +\def\knuth{% + Thus, I came to the conclusion that the designer of a new + system must not only be the implementer and first + large--scale user; the designer should also write the first + user manual. + + The separation of any of these four components would have + hurt \TeX\ significantly. If I had not participated fully in + all these activities, literally hundreds of improvements + would never have been made, because I would never have + thought of them or perceived why they were important. + +} + +%% -------------------------------------------------------------------- +%% main +%% -------------------------------------------------------------------- +\begin{document} + + \section{regular} {\rmfamily\upshape\knuth} + \section{bold face} {\rmfamily\bfseries\knuth} + \section{italic} {\rmfamily\itshape\knuth} + \section{slanted} {\rmfamily\slshape\knuth} + \section{bold italic} {\rmfamily\bfseries\itshape\knuth} + +\end{document} |