blob: 0d15cb67c03b17e5727cece6d085c2a1b4343fd3 (
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
|
\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{lmodern}
\setlength{\parindent}{0pt}
\makeatletter
\newcommand*{\test}[1]{%
\begingroup
#1 %
% print the corresponding LaTeX code:
\def\x{#1}%
\edef\x{\expandafter\strip@prefix\meaning\x}%
\texttt{\x}%
\par
\endgroup
}
\makeatother
\newcommand*{\Family}[1]{%
\fontfamily{#1}\selectfont
\subsubsection*{Font family: #1}
}
\begin{document}
\Family{cmr}
\test{\textcircled{w}}
\test{\textcircled{\raisebox{-1.5pt}{8}}}
\Family{lmr}
\test{\textcircled{w}}
\test{\textcircled{\raisebox{-1.5pt}{8}}}
\end{document}
|