Hot answers tagged

3

You want the “command form” rather than the “declaration form”. \documentclass{article} \input{RoyalIn.fd} \DeclareRobustCommand{\royalfamily}{\usefont{U}{RoyalIn}{xl}{n}} \DeclareTextFontCommand{\textroyal}{\royalfamily} \begin{document} \textroyal{T}he car was delivered \end{document}


2

Thanks for editing the example. Your hunch was correct, there seems to be a problem with the font that I could replicate (and is actually quite common). (Caveat: "missing font" warnings are system-dependent, they can vary from user to user, if they have different fonts installed. So they're not always replicable when sharing code, as in a MWE!) ...


1

If you only want to cover b versus m then \def\extracted@font@series@aux#1#2\stop{#1} \edef\extracted@font@series{\expandafter\extracted@font@series@aux\f@series?\stop} will do the job: you'll have a single letter which you can then test using for example \if b\extracted@font@series TRUE\else FALSE\fi Things can be a lot more complex: you might have a ...


1

In your zip the map file isocpeur.map is in the folder dvips\config. That is the wrong folder in a current TeX system. map files should be in a subfolder of fonts\map. E.g. in fonts\map\dvips.


1

The low apostrophe seems to be a design choice. \documentclass{article} \usepackage{sqrcaps} \usepackage{microtype} \usepackage{graphicx} \ExplSyntaxOn \NewDocumentCommand{\SQ}{m} { \scalebox{1}[2.25]{\textls[400]{\sqrcfamily\mlchristian_sqrcaps:n {#1}}} } \cs_new_protected:Nn \mlchristian_sqrcaps:n { \tl_set:Nn \l_tmpa_tl { #1 } \tl_replace_all:...


1

Just add one line in the preamble \usefonttheme[onlymath]{serif} Since LaTeX Beamer normally uses sans serif font, this command changes the font family of maths equations from sans serif to serif which now looks like


1

If I compile the example with TeX Live 2020 (downgrading to compat=1.17 that's not really relevant), I see in the log file This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex 2021.3.22) 23 JAN 2022 15:25 entering extended mode \write18 enabled. %&-line parsing enabled. [...] runsystem(gnuplot "...


Only top voted, non community-wiki answers of a minimum length are eligible