summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-16 22:27:39 +0000
committerKarl Berry <karl@freefriends.org>2019-01-16 22:27:39 +0000
commitc9a9749afe93ec038e88e295e3190c13d4ff2d07 (patch)
tree8f1a7bdaa6a399b3823419ccc892452f3b645eb4 /Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex
parenta156fa469363be1d0b84e3da6bcbc475a9cf3940 (diff)
latex-uni8 (16jan19)
git-svn-id: svn://tug.org/texlive/trunk@49729 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex')
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex
new file mode 100644
index 00000000000..be93bcd0820
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex
@@ -0,0 +1,27 @@
+% -*- coding: utf-8 -*-
+% example_fut.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\PassOptionsToPackage{hungarian}{babel}
+\usepackage[fontspec,font=times]{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
+\vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}