latex2e icon indicating copy to clipboard operation
latex2e copied to clipboard

support of slanted small caps in T1cmr.fd

Open u-fischer opened this issue 2 years ago • 2 comments

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}

image

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}

image

u-fischer avatar Feb 23 '22 09:02 u-fischer

This issue has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Apr 27 '22 14:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Aug 13 '22 04:08 stale[bot]