summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/libertine/xlibertineunicode.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts/libertine/xlibertineunicode.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/libertine/xlibertineunicode.tex51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/libertine/xlibertineunicode.tex b/Master/texmf-dist/doc/fonts/libertine/xlibertineunicode.tex
new file mode 100644
index 00000000000..14b37a5e3d4
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/libertine/xlibertineunicode.tex
@@ -0,0 +1,51 @@
+\documentclass[ngerman]{scrartcl}
+
+\usepackage{babel,xcolor,ifthen,calc}
+\usepackage{luaotfload,fontspec,xltxtra}
+\usepackage[EU2]{fontenc}
+\usepackage{libertine}
+\usepackage[a4paper,twoside,inner=2cm,outer=1.5cm,top=2cm,bottom=2cm]{geometry}
+\usepackage{hyperref}
+
+\makeatletter
+\parindent\z@
+\newcounter{mycol}
+\setcounter{mycol}{1}
+\newenvironment{range}[1]{\newpage\section{#1}}{}
+
+% 1: Rahmenfarbe
+% 2: Hintergrundfarbe
+% 3: Glyph
+% 4: Nummer
+% 5: Name
+\newcommand*\mybox[5]{%
+\fcolorbox{#1}{#2}{%
+\parbox[t][2cm]{1.5cm}{\hbadness=1000%
+ \parbox[c][1.5cm]{1.5cm}{\centering#3}\newline%
+ \parbox[c][.5cm]{1.5cm}{\centering\small#4\\\tiny#5}%
+}}%
+\stepcounter{mycol}%
+\ifthenelse{\themycol > 8}%
+ {\par\medskip\setcounter{mycol}{1}}%
+ {\quad}%
+}
+
+% \noglyph{0}{000000}
+\newcommand*\noglyph[2]{\mybox{red}{white}{}{#2}{}}
+% \cyberglyph{1}{000001}{uni0001}
+\newcommand*\cyberglyph[3]{\mybox{red}{white}{\fontsize{1.5cm}{1.5cm}\fontfamily{cyper}\selectfont\char#1}{#2}{#3}}
+% \libertineglyph{43}{00002B}{plus}
+\newcommand*\libertineglyph[3]{\mybox{black}{white}{\fontsize{1.5cm}{1.5cm}\selectfont\libertineGlyph{#3}}{#2}{#3}}
+
+\makeatother
+
+
+\begin{document}
+
+\tableofcontents
+
+\catcode`\_=12
+\input{libertine_unicode}
+\catcode`\_=8 % underline and downarrow are for subscripts
+
+\end{document}