latex2e
latex2e copied to clipboard
support of slanted small caps in T1cmr.fd
Brief outline of the enhancement
LaTeX now allows to combine the small caps and slanted/italic shapes. The ec/cm-super fonts do have a slanted small caps font but this is currently not used due to missing support in T1cmd.fd. (Support is provided in the external package slantedsc (which also redefines the various font shape commands \upshape
, \slshape
etc).)
Adding the font definitions to T1cmr.fd would allow to use the combination:
Minimal example showing the current behaviour
\RequirePackage{latexbug}
\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
\textsc{\textsl{abc}}
\textsc{\textit{abc}}
\bfseries
\textsc{\textsl{abc}}
\textsc{\textit{abc}}
\end{document}
Minimal example showing the desired new behaviour
\RequirePackage{latexbug}
\documentclass{article}
\usepackage[T1]{fontenc}
\makeatletter
\input{t1cmr.fd}
\EC@family{T1}{cmr}{m}{scsl}{ecsc}
\EC@family{T1}{cmr}{bx}{scsl}{ecoc}
\makeatother
\begin{document}
\textsc{\textsl{abc}}
\textsc{\textit{abc}}
\bfseries
\textsc{\textsl{abc}}
\textsc{\textit{abc}}
\end{document}
This issue has been automatically marked as stale because it has not had recent activity.
This issue has been automatically marked as stale because it has not had recent activity.