| 1 |
\documentclass{article} |
| 2 |
\usepackage[LGR, T1]{fontenc} |
| 3 |
\usepackage[sfdefault]{inter} |
| 4 |
\usepackage{lipsum} |
| 5 |
\begin{document} |
| 6 |
|
| 7 |
\subsection*{Regular} |
| 8 |
\lipsum[1] |
| 9 |
|
| 10 |
|
| 11 |
\subsection*{Bold} |
| 12 |
|
| 13 |
\textbf{\lipsum[2]} |
| 14 |
|
| 15 |
|
| 16 |
\subsection*{Italic} |
| 17 |
|
| 18 |
\textit{\lipsum[3]} |
| 19 |
|
| 20 |
\subsection*{Bold Italic} |
| 21 |
|
| 22 |
\textbf{\textit{\lipsum[4]}} |
| 23 |
|
| 24 |
|
| 25 |
\subsection*{Thin} |
| 26 |
|
| 27 |
{\interthin \lipsum[5]} |
| 28 |
|
| 29 |
\subsection*{Light} |
| 30 |
|
| 31 |
{\interlight \lipsum[6]} |
| 32 |
|
| 33 |
\subsection*{Extra Light} |
| 34 |
|
| 35 |
{\interextralight \lipsum[7]} |
| 36 |
|
| 37 |
\subsection*{Medium} |
| 38 |
{\intermedium \lipsum[8]} |
| 39 |
|
| 40 |
\subsection*{Semi Bold} |
| 41 |
{\intersemibold \lipsum[9]} |
| 42 |
|
| 43 |
\subsection*{Extra Bold} |
| 44 |
{\interextrabold\lipsum[10]} |
| 45 |
|
| 46 |
\subsection*{Heavy} |
| 47 |
{\interheavy\lipsum[11]} |
| 48 |
|
| 49 |
\subsection*{Default Numbers} |
| 50 |
|
| 51 |
1234567890 |
| 52 |
|
| 53 |
\subsection*{Tabular Numbers} |
| 54 |
{\intertabular 1234567890} |
| 55 |
|
| 56 |
\subsection*{Proportional Numbers} |
| 57 |
{\interproportional 1234567890} |
| 58 |
|
| 59 |
\subsection*{Superscripts} |
| 60 |
|
| 61 |
%X{\sufigures 1234567890} |
| 62 |
|
| 63 |
\subsection*{Greek Letters} |
| 64 |
|
| 65 |
|
| 66 |
\newcommand{\textformath}[1]{% |
| 67 |
\IfInBoldMode% |
| 68 |
\IfInUpMode\textbf{#1}\else\textit{\bfseries #1}\fi\relax% |
| 69 |
\else |
| 70 |
\IfInUpMode\textup{#1}\else\textit{#1}\fi\relax% |
| 71 |
\fi\relax% |
| 72 |
} |
| 73 |
% The double curly braces in this section are necessary to be able to use Greek letters |
| 74 |
% in subscripts and superscripts without having to enclose theme in curly braces; |
| 75 |
% for example, $\sigma_\epsilon$ instead of $\sigma_{\epsilon}$. |
| 76 |
% Uppercase |
| 77 |
\newcommand{\AlphaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont A}}}} |
| 78 |
\newcommand{\BetaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont B}}}} |
| 79 |
\newcommand{\GammaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont G}}}} |
| 80 |
\newcommand{\DeltaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont D}}}} |
| 81 |
\newcommand{\EpsilonLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont E}}}} |
| 82 |
\newcommand{\ZetaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont Z}}}} |
| 83 |
\newcommand{\EtaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont H}}}} |
| 84 |
\newcommand{\ThetaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont J}}}} |
| 85 |
\newcommand{\IotaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont I}}}} |
| 86 |
\newcommand{\KappaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont K}}}} |
| 87 |
\newcommand{\LambdaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont L}}}} |
| 88 |
\newcommand{\MuLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont M}}}} |
| 89 |
\newcommand{\NuLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont N}}}} |
| 90 |
\newcommand{\XiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont X}}}} |
| 91 |
\newcommand{\OmicronLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont O}}}} |
| 92 |
\newcommand{\PiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont P}}}} |
| 93 |
\newcommand{\RhoLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont R}}}} |
| 94 |
\newcommand{\SigmaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont S}}}} |
| 95 |
\newcommand{\TauLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont T}}}} |
| 96 |
\newcommand{\UpsilonLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont U}}}} |
| 97 |
\newcommand{\PhiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont F}}}} |
| 98 |
\newcommand{\ChiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont Q}}}} |
| 99 |
\newcommand{\PsiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont Y}}}} |
| 100 |
\newcommand{\OmegaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont W}}}} |
| 101 |
\newcommand{\DigammaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont \char195}}}} |
| 102 |
% lowercase |
| 103 |
\newcommand{\alphaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont a}}}} |
| 104 |
\newcommand{\betaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont b}}}} |
| 105 |
\newcommand{\gammaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont g}}}} |
| 106 |
\newcommand{\deltaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont d}}}} |
| 107 |
\newcommand{\epsilonLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont e}}}} |
| 108 |
\newcommand{\zetaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont z}}}} |
| 109 |
\newcommand{\etaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont h}}}} |
| 110 |
\newcommand{\thetaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont j}}}} |
| 111 |
\newcommand{\iotaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont i}}}} |
| 112 |
\newcommand{\kappaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont k}}}} |
| 113 |
\newcommand{\lambdaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont l}}}} |
| 114 |
\newcommand{\muLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont m}}}} |
| 115 |
\newcommand{\nuLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont n}}}} |
| 116 |
\newcommand{\xiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont x}}}} |
| 117 |
\newcommand{\omicronLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont o}}}} |
| 118 |
\newcommand{\piLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont p}}}} |
| 119 |
\newcommand{\rhoLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont r}}}} |
| 120 |
\newcommand{\sigmaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont s\noboundary}}}} |
| 121 |
% \noboundary prevents sigma from being replaced by the word-end sigma (varsigma), |
| 122 |
% see http://mirrors.ctan.org/macros/latex/contrib/textgreek/textgreek.pdf |
| 123 |
\newcommand{\varsigmaLGR}{{\mathord{\textformath{\fontencoding{LGR}\selectfont c}}}} |
| 124 |
\newcommand{\tauLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont t}}}} |
| 125 |
\newcommand{\upsilonLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont u}}}} |
| 126 |
\newcommand{\phiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont f}}}} |
| 127 |
\newcommand{\chiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont q}}}} |
| 128 |
\newcommand{\psiLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont y}}}} |
| 129 |
\newcommand{\omegaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont w}}}} |
| 130 |
\newcommand{\digammaLGR} {{\mathord{\textformath{\fontencoding{LGR}\selectfont \char147}}}} |
| 131 |
% Uppercase, upright |
| 132 |
\newcommand{\AlphaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont A}}}} |
| 133 |
\newcommand{\BetaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont B}}}} |
| 134 |
\newcommand{\GammaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont G}}}} |
| 135 |
\newcommand{\DeltaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont D}}}} |
| 136 |
\newcommand{\EpsilonupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont E}}}} |
| 137 |
\newcommand{\ZetaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont Z}}}} |
| 138 |
\newcommand{\EtaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont H}}}} |
| 139 |
\newcommand{\ThetaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont J}}}} |
| 140 |
\newcommand{\IotaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont I}}}} |
| 141 |
\newcommand{\KappaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont K}}}} |
| 142 |
\newcommand{\LambdaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont L}}}} |
| 143 |
\newcommand{\MuupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont M}}}} |
| 144 |
\newcommand{\NuupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont N}}}} |
| 145 |
\newcommand{\XiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont X}}}} |
| 146 |
\newcommand{\OmicronupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont O}}}} |
| 147 |
\newcommand{\PiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont P}}}} |
| 148 |
\newcommand{\RhoupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont R}}}} |
| 149 |
\newcommand{\SigmaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont S}}}} |
| 150 |
\newcommand{\TauupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont T}}}} |
| 151 |
\newcommand{\UpsilonupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont U}}}} |
| 152 |
\newcommand{\PhiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont F}}}} |
| 153 |
\newcommand{\ChiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont Q}}}} |
| 154 |
\newcommand{\PsiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont Y}}}} |
| 155 |
\newcommand{\OmegaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont W}}}} |
| 156 |
\newcommand{\DigammaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont \char195}}}} |
| 157 |
% lowercase, upright |
| 158 |
\newcommand{\alphaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont a}}}} |
| 159 |
\newcommand{\betaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont b}}}} |
| 160 |
\newcommand{\gammaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont g}}}} |
| 161 |
\newcommand{\deltaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont d}}}} |
| 162 |
\newcommand{\epsilonupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont e}}}} |
| 163 |
\newcommand{\zetaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont z}}}} |
| 164 |
\newcommand{\etaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont h}}}} |
| 165 |
\newcommand{\thetaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont j}}}} |
| 166 |
\newcommand{\iotaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont i}}}} |
| 167 |
\newcommand{\kappaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont k}}}} |
| 168 |
\newcommand{\lambdaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont l}}}} |
| 169 |
\newcommand{\muupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont m}}}} |
| 170 |
\newcommand{\nuupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont n}}}} |
| 171 |
\newcommand{\xiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont x}}}} |
| 172 |
\newcommand{\omicronupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont o}}}} |
| 173 |
\newcommand{\piupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont p}}}} |
| 174 |
\newcommand{\rhoupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont r}}}} |
| 175 |
\newcommand{\sigmaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont s\noboundary}}}} |
| 176 |
% \noboundary prevents sigma from being replaced by the word-end sigma (varsigma), |
| 177 |
% see http://mirrors.ctan.org/macros/latex/contrib/textgreek/textgreek.pdf |
| 178 |
\newcommand{\varsigmaupLGR}{{\mathord{\textup{\fontencoding{LGR}\selectfont c}}}} |
| 179 |
\newcommand{\tauupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont t}}}} |
| 180 |
\newcommand{\upsilonupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont u}}}} |
| 181 |
\newcommand{\phiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont f}}}} |
| 182 |
\newcommand{\chiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont q}}}} |
| 183 |
\newcommand{\psiupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont y}}}} |
| 184 |
\newcommand{\omegaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont w}}}} |
| 185 |
\newcommand{\digammaupLGR} {{\mathord{\textup{\fontencoding{LGR}\selectfont \char147}}}} |
| 186 |
|
| 187 |
$\psiupLGR$ |
| 188 |
\end{document} |
| 189 |
|