Debian Codegraph @

texmf-dist/doc/latex/latex-uni8/example_futr.tex

raw
1 % -*- coding: utf-8 -*-
2 % example_futr.tex, works with modern lualatex in TeX Live 2019.
3 % The input encoding is UTF-8 (utf8).
4 \documentclass{article}
5 \def\magyarOptions{defaults=hu-min}
6 \usepackage[magyar]{babel}
7 \usepackage{fontspec}
8 \usepackage{unicode-math}
9 \setmainfont{TeX Gyre Termes}
10 \setsansfont{TeX Gyre Heros}[Scale=MatchLowercase]
11 \setmonofont{TeX Gyre Cursor}[Scale=MatchLowercase]
12 \setmathfont{TeX Gyre Termes Math}
13 \begin{document}
14 % Alternatively, this works in lualatex: \language99 \patterns{ő9y}
15 \hyphenation{yő-yő-yő-yő-yő-yő-yő}
16 \showhyphens{yőyőyőyőyőyőyő}
17 \showhyphens{árvíztűrő tükörfúrógép}
18 \hrule width \hsize
19 \bigskip
20 \vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
21 \bigskip
22 \vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
23 \bigskip
24 \vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
25 \bigskip
26 \vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
27 \bigskip
28 \vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
29 \bigskip
30 \vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
31 \bigskip
32 \vfill\hrule width\hsize
33 \end{document}