Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fake small caps #28

Open
leingang opened this issue Jun 27, 2023 · 0 comments
Open

Fake small caps #28

leingang opened this issue Jun 27, 2023 · 0 comments
Labels
enhancement New feature or request nyu22fonts The fonts package in this bundle

Comments

@leingang
Copy link
Member

leingang commented Jun 27, 2023

Maybe this goes in the font package

% Neither Gotham nor Arev come with small caps.  So we “fake” it.
% See \url{https://tex.stackexchange.com/a/55733/1402}
%    \begin{macrocode}
\def\fakesc#1{%
  \begingroup%
  \xdef\fake@name{\csname\curr@fontshape/\f@size\endcsname}%
  \fontsize{\fontdimen8\fake@name}{\baselineskip}\selectfont%
  \MakeUppercase{#1}%
  \endgroup%
}
\let\textsc\fakesc
%    \end{macrocode}
@leingang leingang added enhancement New feature or request nyu22fonts The fonts package in this bundle labels Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nyu22fonts The fonts package in this bundle
Projects
None yet
Development

No branches or pull requests

1 participant