Debian Codegraph @

texmf-dist/doc/fonts/fourier/fourier-orns-doc.tex

raw
1 % !TEX TS-program = LuaLaTeX
2 \documentclass[a4paper,11pt]{article}
3 %\usepackage[utf8]{inputenc}
4 %\usepackage[T1]{fontenc}
5 \usepackage{array,xcolor}
6 %\usepackage{lmodern}
7 \usepackage{fourier-otf}
8 \usepackage[french,english]{babel}
9 \setlength{\leftmargini}{1em}
10 \newcommand{\fourier}{Fourier-GUT\kern-0.15em\textit{enberg}}
11 \title{\floweroneleft{}\,The \emph{fourier-orns} package\,\floweroneright}
12 \author{Michel Bovani\\\texttt{[email protected]}}
13 \renewcommand\arraystretch{1.5}
14 \renewcommand{\labelitemi}{\starredbullet}
15
16 \begin{document}\sloppy
17 \maketitle
18
19 \fourier{} provides several logos and ornaments: they are now usable by those who do not want to use
20 the \fourier{} font system. In this case, just call the \textit{fourier-orns} package (\verb=\usepackage{fourier-orns}=).
21 Remember that:
22 \begin{itemize}
23 \item You have to install \fourier{} anyway.
24 \item If you call \textit{fourier}, you should \emph{not} call \textit{fourier-orns}, because \textit{fourier} will do it anyway.
25 All the commands described here may be used with \textit{fourier}.
26 \item Thanks to Daniel Flipo (\texttt{[email protected]}), there are now opentype versions of the fourier ornaments fonts. Those fonts are automatically selected and the \texttt{fontspec} package is called, when the \TeX{} engine is lua\TeX{} or Xe\TeX{}.
27 \item There is a \texttt{noOTF} option which force the use of PostScript type 1 fonts, even when the \TeX{} engine is lua\TeX{} or Xe\TeX{}. Note that the \textit{fourier} call for \textit{fourier-orns} uses that option.
28 \end{itemize}
29
30 \bigskip
31
32 Here are the provided symbols:
33
34 \begin{itemize}
35 \item A variant of the euro symbol: \verb=\eurologo= \eurologo,
36 \textbf{\eurologo}, \textit{\eurologo}, \textbf{\textit{\eurologo}}.
37 \item A ``starred'' bullet \verb=\starredbullet=: used as the item mark in this document.
38 \item Smileys typesetted in \verb=\LARGE= size:
39
40 \begin{tabular}{l>{\centering\LARGE}p{2cm}l>{\centering\LARGE}p{2cm}}
41 \verb=\grimace=& \grimace&\verb=\textthing= \textthing
42 \end{tabular}
43
44 \clearpage
45 \item Decos and logos typesetted in \verb=\LARGE= size:
46
47 \begin{tabular}{l>{\centering\LARGE}p{1.2cm}l>{\centering\LARGE}p{1.2cm}}
48 \verb=\noway= &\noway&\verb=\warning=& \warning\tabularnewline
49 \verb=\textxswup=&\textxswup&\verb=\textxswdown= &\textxswdown\tabularnewline
50 \verb=\decoone= &\decoone& \verb=\decotwo= &\decotwo\tabularnewline
51 \verb=\decothreeleft= &\decothreeleft& \verb=\decothreeright=& \decothreeright\tabularnewline
52 \verb=\decofourleft= &\decofourleft&\verb=\decofourright= &\decofourright\tabularnewline
53 \verb=\floweroneleft= &\floweroneleft&\verb=\floweroneright= &\floweroneright\tabularnewline
54 \verb=\lefthand= &\lefthand&\verb=\righthand=& \righthand\tabularnewline
55 \verb=\decosix= &\decosix&\verb=\bomb=&\bomb\tabularnewline
56 \verb=\caution= &\caution&\verb=\leftblackhand= (New in 2.4)&\leftblackhand\tabularnewline
57 \verb=\rightblackhand= (New in 2.4)&\rightblackhand
58 \end{tabular}
59
60 \noindent{\Large\textcolor{red}{\warning}} The old command \verb=\danger= (fourier-orns 1.1) is now deprecated: use \verb=\warning= instead. Note that \verb=\danger= is still usable, provided you \emph{don't} use the \texttt{unicode-math} package.
61 \item Leaves typesetted in \verb=\LARGE= size:
62
63 \begin{tabular}{l>{\centering\LARGE}p{1cm}l>{\centering\LARGE}p{1cm}}
64 \verb=\leafleft= &\leafleft&\verb=\leafright=&\leafright\tabularnewline
65 \verb=\leafNW= &\leafNW& \verb=\leafNE=&\leafNE\tabularnewline
66 \verb=\leafSE= &\leafSE& \verb=\leafSW=&\leafSW\tabularnewline
67 \verb=\aldineleft= &\aldineleft&\verb=\aldineright=& \aldineright\tabularnewline
68 \verb=\aldine=&\aldine& \verb=\aldinesmall=& \aldinesmall\tabularnewline
69 \verb=\aldinesmallrevert= (New in 2.4)&\aldinesmallrevert&\verb=\aldinesmallup= (New in 2.4)&\aldinesmallup
70 \end{tabular}
71
72 \item\textbf{Unicode engine users only}
73
74 The fourier-orns package provides three new commands \verb=\grappe=, \verb=\rightgrappe= and \verb=\leftgrappe= with exactily the same appearance than respectively \verb=\aldinesmallup=, \verb=\aldinesmall=, \verb=\aldinesmallrevert=. However, the corresponding slots are reserved in Unicode, making them inaccessible to a conventional engine.
75
76 \begin{tabular}{l>{\centering\LARGE}p{1cm}ll}
77 Command & {\normalsize Glyph}&Unicode Name&Unicode Slot\\
78 \hline
79 \verb=\grappe=&\grappe&Floral Heart&U+2766\\
80 \verb=\rightgrappe=&\rightgrappe&Rotated Floral Heart Bullet&U+2767\\
81 \verb=\leftgrappe=&\leftgrappe&Reversed Rotated Floral Heart Bullet&U+2619
82 \end{tabular}
83 \item A complete set of old style pilcrows here in \verb=\LARGE= size:
84
85 \begin{tabular}{l>{\centering\LARGE}p{1cm}l>{\centering\LARGE}p{3cm}}
86 \verb=\oldpilcrowone=&\oldpilcrowone&\verb=\oldpilcrowfive=&\oldpilcrowfive\tabularnewline
87 \verb=\oldpilcrowtwo=&\oldpilcrowtwo&\verb=\oldpilcrowsix=&\oldpilcrowsix\tabularnewline
88 \verb=\oldpilcrowthree=&\oldpilcrowthree&&\tabularnewline
89 \verb=\oldpilcrowfour=&\oldpilcrowfour
90 \end{tabular}
91
92 Old pilcrow ``with tails'' can be used like that:
93 \begin{verbatim}
94 \definecolor{newred}{cmyk}{0,1,1,0.1}
95 \noindent \textcolor{newred}{\oldpilcrowfour}\,We few,
96 we happy few, we band of brothers; \textcolor{newred}
97 {\oldpilcrowfive}\,For he to-day that sheds his blood with
98 me \textcolor{newred}{\oldpilcrowsix}\,Shall be my brother;
99 be he ne'er so vile, \textcolor{newred}
100 {\oldpilcrowfour}\,This day shall gentle his condition.
101 \end{verbatim}
102
103 \definecolor{newred}{cmyk}{0,1,1,0.1}
104 \noindent \textcolor{newred}{\oldpilcrowfour}\,We few,
105 we happy few, we band of brothers; \textcolor{newred}
106 {\oldpilcrowfive}\,For he to-day that sheds his blood with
107 me \textcolor{newred}{\oldpilcrowsix}\,Shall be my brother;
108 be he ne'er so vile, \textcolor{newred}
109 {\oldpilcrowfour}\,This day shall gentle his condition.
110 \end{itemize}
111
112 {\centering {\Large\FourierOrns W}
113
114 }
115 \vspace\baselineskip
116
117 %%% Modif (df) POURQUOI PAS {\FourierOrns 2} (seulement avec pdflatex) ???
118 Finally, \textit{fourier-orns} provides a \verb+\FourierOrns+ command in order
119 to select the font. As chars in the font are now slotted in place of digits or
120 letters, the correspondence in the table below can be used, this works for
121 both opentype and type1 fonts.
122
123 \begin{center}\begin{tabular}{ccccccccccc}
124 \hline
125 1&2&3&4&5&6&7&8&9&0\\
126 %\hline
127 {\FourierOrns 1}&{\FourierOrns 2}&{\FourierOrns 3}&{\FourierOrns 4}&
128 {\FourierOrns 5}&{\FourierOrns 6}&{\FourierOrns 7}&{\FourierOrns 8}&{\FourierOrns 9}&{\FourierOrns 0}\\
129 \hline
130 A&B&C&D&E&F&G&H&I&J\\
131 %\hline
132 {\FourierOrns A}&{\FourierOrns B}&{\FourierOrns C}&{\FourierOrns D}&{\FourierOrns E}&
133 {\FourierOrns F}&{\FourierOrns G}&{\FourierOrns H}&{\FourierOrns I}&{\FourierOrns J}\\
134 \hline
135 K&L&M&N&O&P&Q&R&S&T\\
136 %\hline
137 {\FourierOrns K }&{\FourierOrns L}&{\FourierOrns M}&{\FourierOrns N}&{\FourierOrns O}&
138 {\FourierOrns P}&{\FourierOrns Q}&{\FourierOrns R}&{\FourierOrns S}&{\FourierOrns T}\\
139 \hline
140 U&V&W&X&Y&Z&c&d&e&m\\
141 {\FourierOrns U}&{\FourierOrns V}&{\FourierOrns W}&{\FourierOrns X}&{\FourierOrns Y}
142 &{\FourierOrns Z}&{\FourierOrns c}&{\FourierOrns d}&{\FourierOrns e}&{\FourierOrns m}\\
143 \hline
144 n\\
145 \hline
146 {\FourierOrns n}\\
147 \hline
148 \end{tabular}\end{center}
149
150 For instance, you could type \verb+{\FourierOrns E 1 F}+ to obtain
151 {\FourierOrns E 1 F}.
152
153 \end{document}