summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex')
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex
new file mode 100644
index 00000000000..563e614fba2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex
@@ -0,0 +1,23 @@
+% -*- coding: utf-8 -*-
+% example_pu.tex, works with pdflatex and modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\PassOptionsToPackage{hungarian}{babel}
+\usepackage{uni8}
+\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}