summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/unicode-alphabets/docs/example.tex
blob: 7c7d774d05e4b55f3466732be7cd4c79bbaae84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
% !TEX TS-program = lualatex
\documentclass{article}

\usepackage{fontspec}
\newfontfamily\mufifont{Palemonas MUFI}
\newfontfamily\titusfont{TITUS Cyberbit Basic}

\usepackage[
	CYFI,
	MUFI,
	TITUS,
%	disable entity macros,
	fonts={
		CYFI=\titusfont,
		MUFI=\mufifont,
		TITUS=\titusfont,
	},
]{unicode-alphabets}

\setlength{\parindent}{0pt}

\newcommand\display[1]{%
	\texttt{\ignorespaces\detokenize{#1}}: \fbox{#1}%
}

\begin{document}

\section{Normal Unicode characters}
\display{Ā} --- 
\display{B} --- 
\display{Ċ} --- 
\display{ā} --- 
\display{b} --- 
\display{ċ} --- 

\section{MUFI 3.0 characters}
\display{\mufi{FLOURISHED SMALL LETTER M SIGN}}\\
\display{\msignflour{}} --- 
\display{\mufi{msignflour}} --- 
\display{\mufi{F2F3}}

\vspace{8pt}
\display{\mufi{LATIN SMALL LETTER Y WITH RIGHT MAIN STROKE}}\\
\display{\yrgmainstrok{}} --- 
\display{\mufi{yrgmainstrok}} --- 
\display{\mufi{F233}}

\section{MUFI 4.0 characters}
Note that the currently installed Palemonas MUFI font on this machine does not have the OEligogon character.

\vspace{12pt}
\display{\mufi{LATIN CAPITAL LIGATURE OE WITH OGONEK}}\\ 
\display{\OEligogon{}} --- 
\display{\mufi{OEligogon}} --- 
\display{\mufi{E262}}

\vspace{8pt}
\display{\mufi{LATIN CAPITAL LIGATURE UU}}\\
\display{\UUlig{}} --- 
\display{\mufi{UUlig}} --- 
\display{\mufi{E8C6}}

\vspace{8pt}
\display{\mufi{HELBING SIGN}}\\
\display{\helbing{}} --- 
\display{\mufi{helbing}} --- 
\display{\mufi{F2FB}}


\section{Starred vs. unstarred}
The unstarred commands use the configured font, whereas the starred version simply uses the current document font. Note the difference in the \@ signs as well as the missing \texttt{msignflour} in the document font.

\vspace{12pt}
\display{\mufi{0040}} --- 
\display{\mufi*{0040}}

\display{\mufi{0041}} --- 
\display{\mufi*{0041}}

\display{\msignflour{}} --- 
\display{\msignflour*{}}

\section{CYFI characters}
\display{\cyfi{CYRILLIC CAPITAL LETTER REVERSED A}}\\
\display{\cyfi{F330}}

\section{TITUS characters}
\display{\titus{LATIN CAPITAL LETTER SCHWA WITH MACRON}}\\
\display{\titus{E3EC}}

\end{document}