summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/xevlna/xevlna.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-23 22:21:58 +0000
committerKarl Berry <karl@freefriends.org>2013-04-23 22:21:58 +0000
commitf6cdffa509c8082653ba4c7946ae899e368a0333 (patch)
tree7069aa41c41996ed224958e160d7a7173987b933 /Master/texmf-dist/doc/xelatex/xevlna/xevlna.tex
parent0defc2903c966fb2c2f9d92b4ad7ada87faa5196 (diff)
xevlna (21apr13)
git-svn-id: svn://tug.org/texlive/trunk@30086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/xevlna/xevlna.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/xevlna/xevlna.tex51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xevlna/xevlna.tex b/Master/texmf-dist/doc/xelatex/xevlna/xevlna.tex
new file mode 100644
index 00000000000..d25c3c9ee4b
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/xevlna/xevlna.tex
@@ -0,0 +1,51 @@
+%% $Id: xevlna.tex 472 2013-04-20 19:48:40Z zw $
+\documentclass[12pt]{article}
+\usepackage[a4,margins=25mm,footskip=30pt,title=xevlna,author={Zdeněk Wagner},
+ keywords={vlna, XeTeX}]{zwpagelayout}
+\RequireXeTeX
+\usepackage{fontspec,polyglossia,verbatim,rotating}
+\setmainfont[Script=Devanagari,Language=Hindi]{FreeSerif}% needed for one example
+\setmonofont{FreeMono}
+\setsansfont{FreeSans}
+
+\setmainlanguage{english}
+\setotherlanguage{czech}
+
+\pagestyle{plain}
+\newif\ifeng
+
+\DeclareRobustCommand\xevlna{X\kern-.125em\lower.5ex\hbox{\csname
+ reflectbox\endcsname{E}}\kern-.0666em Vlna}
+\DeclareRobustCommand\XeTeX{X\kern-.125em\lower.5ex\hbox{\csname
+ reflectbox\endcsname{E}}\kern-.1667em\TeX}
+\DeclareRobustCommand\XeLaTeX{X\kern-.125em\lower.5ex\hbox{\csname
+ reflectbox\endcsname{E}}\LaTeX}
+
+
+\DeclareRobustCommand*\cmd[1]{\texttt{\char`\\#1}}
+\usepackage[bookmarks,bookmarksopenlevel=2,bookmarksopen]{hyperref}
+\usepackage{xevlna} % You need the egg before having the hen :-(
+\begin{document}
+\title{\textsf{\xevlna}\\Vlna implemented in \XeTeX}
+\author{Zdeněk Wagner\\\url{http://icebearsoft.euweb.cz}}
+\date{20 April 2013}
+\maketitle
+\def\contentsname{Contents\,/\,Obsah}
+\tableofcontents
+
+\clearpage
+
+\xevlnaDisable
+
+\engtrue\input{xevlna-inc}
+
+\clearpage
+
+\xevlnaEnable
+
+\begin{czech}
+\engfalse\input{xevlna-inc}
+\end{czech}
+
+\end{document}
+