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_fu.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/latex-uni8/example_fu.tex')
-rw-r--r-- | macros/latex/contrib/latex-uni8/example_fu.tex | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/macros/latex/contrib/latex-uni8/example_fu.tex b/macros/latex/contrib/latex-uni8/example_fu.tex new file mode 100644 index 0000000000..ac124bf855 --- /dev/null +++ b/macros/latex/contrib/latex-uni8/example_fu.tex @@ -0,0 +1,27 @@ +% -*- coding: utf-8 -*- +% example_fu.tex, works with modern lualatex in TeX Live 2019. +% The input encoding is UTF-8 (utf8). +\documentclass{article} +\PassOptionsToPackage{hungarian}{babel} +\usepackage[fontspec]{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} |