diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/latex-uni8/example_pur.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/latex-uni8/example_pur.tex')
-rw-r--r-- | macros/latex/contrib/latex-uni8/example_pur.tex | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/macros/latex/contrib/latex-uni8/example_pur.tex b/macros/latex/contrib/latex-uni8/example_pur.tex new file mode 100644 index 0000000000..13839d45be --- /dev/null +++ b/macros/latex/contrib/latex-uni8/example_pur.tex @@ -0,0 +1,25 @@ +% -*- coding: utf-8 -*- +% example_pur.tex, works with pdflatex, but not with lualatex in TeX Live 2019. +% The input encoding is UTF-8 (utf8). +\documentclass{article} +\usepackage[utf8]{inputenc} +\usepackage{t1enc} +\def\magyarOptions{defaults=hu-min} +\usepackage[magyar]{babel} +\begin{document} +% Alternatively, this works in lualatex: \language99 \patterns{ő9y} +\hyphenation{yő-yő-yő-yő-yő-yő-yő} +\showhyphens{yőyőyőyőyőyőyő} +\showhyphens{árvíztűrő tükörfúrógép} +\hrule width \hsize +\bigskip +\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule} +\bigskip +\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule} +\bigskip +\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule} +\bigskip +\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule} +\bigskip +\vfill\hrule width\hsize +\end{document} |