| 1 |
\documentclass{article} |
| 2 |
\usepackage[LGR,OT1,TS1,T1]{fontenc} % load the desired encodings |
| 3 |
\usepackage{fonttable} |
| 4 |
\usepackage{hyperref} |
| 5 |
\usepackage[utf8]{inputenc} |
| 6 |
\usepackage[greek,english]{babel} |
| 7 |
\usepackage{gfsdidot} |
| 8 |
%To load the macros doing some test or displaying standard texts. |
| 9 |
\usepackage{testDidot} |
| 10 |
|
| 11 |
\setlength{\parindent}{0pt} |
| 12 |
\setlength{\parskip}{1ex plus 1ex minus .5ex} |
| 13 |
|
| 14 |
\newcommand\mainFont{udidot} |
| 15 |
\newcommand\greekFont{udidot} |
| 16 |
|
| 17 |
%This command prints a normalized example of text. |
| 18 |
% |
| 19 |
%The macro has 3 arguments: |
| 20 |
% 1) The encoding |
| 21 |
% 2) The series |
| 22 |
% 3) The shape |
| 23 |
\newcommand\textSample[3]{% |
| 24 |
\begingroup |
| 25 |
\fontencoding{#1}\fontfamily{\mainFont}% |
| 26 |
\fontseries{#2}\fontshape{#3}% |
| 27 |
\selectfont |
| 28 |
\TexStdTestText\par |
| 29 |
\names |
| 30 |
\frenchCarSample |
| 31 |
\endgroup |
| 32 |
} |
| 33 |
|
| 34 |
%This command prints a normalized example of text in greek. |
| 35 |
% |
| 36 |
%The macro has 2 arguments: |
| 37 |
% 2) The series |
| 38 |
% 3) The shape |
| 39 |
\newcommand\textSampleGreek[2]{% |
| 40 |
\begingroup |
| 41 |
\fontencoding{LGR}\fontfamily{\greekFont}% |
| 42 |
\fontseries{#1}\fontshape{#2}% |
| 43 |
\selectfont |
| 44 |
\oldgreekSample |
| 45 |
\modernGreekSample |
| 46 |
\endgroup |
| 47 |
} |
| 48 |
|
| 49 |
\begin{document} |
| 50 |
|
| 51 |
\tableofcontents |
| 52 |
|
| 53 |
\newpage |
| 54 |
|
| 55 |
\section{GFS Didot, OT1} |
| 56 |
\subsection{Series: m, shape n} |
| 57 |
\xfonttable{OT1}{\mainFont}{m}{n} |
| 58 |
\textSample{OT1}{m}{n} |
| 59 |
|
| 60 |
\subsection{Series: m, shape it} |
| 61 |
\xfonttable{OT1}{\mainFont}{m}{it} |
| 62 |
\textSample{OT1}{m}{it} |
| 63 |
|
| 64 |
\subsection{Series: b, shape n} |
| 65 |
\xfonttable{OT1}{\mainFont}{b}{n} |
| 66 |
\textSample{OT1}{b}{n} |
| 67 |
|
| 68 |
\subsection{Series: b, shape it} |
| 69 |
\xfonttable{OT1}{\mainFont}{b}{it} |
| 70 |
\textSample{OT1}{b}{it} |
| 71 |
|
| 72 |
\subsection{Series: m, shape sl} |
| 73 |
\xfonttable{OT1}{\mainFont}{m}{sl} |
| 74 |
\textSample{OT1}{m}{sl} |
| 75 |
|
| 76 |
\subsection{Series: b, shape sl} |
| 77 |
\xfonttable{OT1}{\mainFont}{b}{sl} |
| 78 |
\textSample{OT1}{b}{sl} |
| 79 |
|
| 80 |
\subsection{Series: m, shape sc} |
| 81 |
\xfonttable{OT1}{\mainFont}{m}{sc} |
| 82 |
\textSample{OT1}{m}{sc} |
| 83 |
|
| 84 |
\subsection{Series: b, shape sc} |
| 85 |
\xfonttable{OT1}{\mainFont}{b}{sc} |
| 86 |
\textSample{OT1}{b}{sc} |
| 87 |
|
| 88 |
\subsection{Series: m, shape sco} |
| 89 |
\xfonttable{OT1}{\mainFont}{m}{sco} |
| 90 |
\textSample{OT1}{m}{sco} |
| 91 |
|
| 92 |
\subsection{Series: m, shape ui} |
| 93 |
\xfonttable{OT1}{\mainFont}{m}{ui} |
| 94 |
\textSample{OT1}{m}{ui} |
| 95 |
|
| 96 |
\section{GFS Didot, TS1} |
| 97 |
\subsection{Series: m, shape n} |
| 98 |
\xfonttable{TS1}{\mainFont}{m}{n} |
| 99 |
|
| 100 |
\subsection{Series: m, shape it} |
| 101 |
\xfonttable{TS1}{\mainFont}{m}{it} |
| 102 |
|
| 103 |
\subsection{Series: b, shape n} |
| 104 |
\xfonttable{TS1}{\mainFont}{b}{n} |
| 105 |
|
| 106 |
\subsection{Series: b, shape it} |
| 107 |
\xfonttable{TS1}{\mainFont}{b}{it} |
| 108 |
|
| 109 |
\subsection{Series: m, shape ui} |
| 110 |
\xfonttable{TS1}{\mainFont}{m}{ui} |
| 111 |
|
| 112 |
\subsection{Series: m, shape sl} |
| 113 |
\xfonttable{TS1}{\mainFont}{m}{sl} |
| 114 |
|
| 115 |
\subsection{Series: b, shape sl} |
| 116 |
\xfonttable{TS1}{\mainFont}{b}{sl} |
| 117 |
|
| 118 |
\section{GFS Didot, T1} |
| 119 |
\subsection{Series: m, shape n} |
| 120 |
\xfonttable{T1}{\mainFont}{m}{n} |
| 121 |
\textSample{T1}{m}{n} |
| 122 |
|
| 123 |
\subsection{Series: m, shape it} |
| 124 |
\xfonttable{T1}{\mainFont}{m}{it} |
| 125 |
\textSample{T1}{m}{it} |
| 126 |
|
| 127 |
\subsection{Series: b, shape n} |
| 128 |
\xfonttable{T1}{\mainFont}{b}{n} |
| 129 |
\textSample{T1}{b}{n} |
| 130 |
|
| 131 |
\subsection{Series: b, shape it} |
| 132 |
\xfonttable{T1}{\mainFont}{b}{it} |
| 133 |
\textSample{T1}{b}{it} |
| 134 |
|
| 135 |
\subsection{Series: m, shape sl} |
| 136 |
\xfonttable{T1}{\mainFont}{m}{sl} |
| 137 |
\textSample{T1}{m}{sl} |
| 138 |
|
| 139 |
\subsection{Series: b, shape sl} |
| 140 |
\xfonttable{T1}{\mainFont}{b}{sl} |
| 141 |
\textSample{T1}{b}{sl} |
| 142 |
|
| 143 |
\subsection{Series: m, shape sc} |
| 144 |
\xfonttable{T1}{\mainFont}{m}{sc} |
| 145 |
\textSample{T1}{m}{sc} |
| 146 |
|
| 147 |
\subsection{Series: m, shape ui} |
| 148 |
\xfonttable{T1}{\mainFont}{m}{ui} |
| 149 |
\textSample{T1}{m}{ui} |
| 150 |
|
| 151 |
\subsection{Series: m, shape sco} |
| 152 |
\xfonttable{T1}{\mainFont}{m}{sco} |
| 153 |
\textSample{T1}{m}{sco} |
| 154 |
|
| 155 |
\section{GFS Didot, LGR} |
| 156 |
\subsection{Series: m, shape n} |
| 157 |
\xfonttable{LGR}{\greekFont}{m}{n} |
| 158 |
\textSampleGreek{m}{n} |
| 159 |
|
| 160 |
\subsection{Series: m, shape it} |
| 161 |
\xfonttable{LGR}{\greekFont}{m}{it} |
| 162 |
\textSampleGreek{m}{it} |
| 163 |
|
| 164 |
\subsection{Series: b, shape n} |
| 165 |
\xfonttable{LGR}{\greekFont}{b}{n} |
| 166 |
\textSampleGreek{b}{n} |
| 167 |
|
| 168 |
\subsection{Series: b, shape it} |
| 169 |
\xfonttable{LGR}{\greekFont}{b}{it} |
| 170 |
\textSampleGreek{b}{it} |
| 171 |
|
| 172 |
\subsection{Series: m, shape sl} |
| 173 |
\xfonttable{LGR}{\greekFont}{m}{sl} |
| 174 |
\textSampleGreek{m}{sl} |
| 175 |
|
| 176 |
\subsection{Series: b, shape sl} |
| 177 |
\xfonttable{LGR}{\greekFont}{b}{sl} |
| 178 |
\textSampleGreek{b}{sl} |
| 179 |
|
| 180 |
\subsection{Series: m, shape sc} |
| 181 |
\xfonttable{LGR}{\greekFont}{m}{sc} |
| 182 |
\textSampleGreek{m}{sc} |
| 183 |
|
| 184 |
\subsection{Series: m, shape ui} |
| 185 |
\xfonttable{LGR}{\greekFont}{m}{ui} |
| 186 |
\textSampleGreek{m}{ui} |
| 187 |
|
| 188 |
\subsection{Series: m, shape sco} |
| 189 |
\xfonttable{LGR}{\greekFont}{m}{sco} |
| 190 |
\textSampleGreek{m}{sco} |
| 191 |
%\clearpage |
| 192 |
|
| 193 |
%\fonttable{didotrg9a} % the basic command |
| 194 |
\end{document} |