I want to create a table for comparing TeX's typography with that of (approximated) other document solutions. I'd like to turn off all TeXnical enhancements for a single column of text—no ligatures, no good kerning, etc. I'm trying to use fontspec
to do this, since Computer Modern simply doesn't have the ligatures I'm also looking to show off (fj
for example).
Since the solution doesn't particularly ride on being usable in a table (to my knowledge), any solution where such typography is turned off within a group would work. :-)
Here is my attempt at a solution:
\documentclass{article}
\usepackage{fontspec,booktabs,array}
\begin{document}
\begin{table}
\centering
{
\setmainfont{Hoefler Text} % Linux Libertine also has fj I believe,
% but I do not have it installed on my system
\begin{tabular}{ c >{\addfontfeature{Ligatures=NoCommon}}c }
\toprule
\TeX & \MicrosoftWord \\
\midrule
Table & T{}a{}b{}l{}e \\
SALT & S{}A{}L{}T \\
AVAST & A{}V{}A{}S{}T \\
\midrule
efficient firefly & e{}f{}f{}i{}c{}i{}e{}n{}t f{}i{}r{}e{}f{}l{}y \\
\bottomrule
\end{tabular}
}
\caption{A comparison of \TeX\ and other word processing solutions
(such as \MicrosoftWord) in regards to
kerning, ligatures, and small capitals}
\label{tab:compare}
\end{table}
\end{document}
which does successfully turn off ligatures, but I've no idea how to 'turn off' kerning other than what I'm doing right now, which is very much not in the spirit of TeX (one that I am actively trying to advertise).
:)
.;-)