mirror of https://github.com/matze/mtheme.git
fixes #131 – Wrong frametitle spacing with tailed letters
`vphantom` implementation proposed by @rchurchley in #115
This commit is contained in:
parent
563f03b66a
commit
62d10c9a46
Binary file not shown.
|
@ -87,23 +87,23 @@
|
||||||
/metropolis/outer/frametitleformat/.cd,
|
/metropolis/outer/frametitleformat/.cd,
|
||||||
.is choice,
|
.is choice,
|
||||||
regular/.code={%
|
regular/.code={%
|
||||||
\renewcommand{\@metropolis@frametitleformat}{}%
|
\renewcommand{\@metropolis@frametitleformat}{}%
|
||||||
\renewcommand{\@metropolis@frametitlestrut}{%
|
\renewcommand{\@metropolis@frametitlestrut}{%
|
||||||
\rule{0pt}{\heightof{ABCDEFGHIJKLMNOPQRSTUVWXYZ}}
|
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
lowercase/.code={%
|
lowercase/.code={%
|
||||||
\renewcommand{\@metropolis@frametitleformat}{\MakeLowercase}%
|
\renewcommand{\@metropolis@frametitleformat}{\MakeLowercase}%
|
||||||
\renewcommand{\@metropolis@frametitlestrut}{%
|
\renewcommand{\@metropolis@frametitlestrut}{%
|
||||||
\rule{0pt}{\heightof{abcdefghijklmnopqrstuvwxyz}}
|
\vphantom{abcdefghijklmnopqrstuvwxyz}%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
uppercase/.code={%
|
uppercase/.code={%
|
||||||
\renewcommand{\@metropolis@frametitleformat}{\MakeUppercase}%
|
\renewcommand{\@metropolis@frametitleformat}{\MakeUppercase}%
|
||||||
\renewcommand{\@metropolis@frametitlestrut}{%
|
\renewcommand{\@metropolis@frametitlestrut}{%
|
||||||
\rule{0pt}{\heightof{ABCDEFGHIJKLMNOPQRSTUVWXYZ}}
|
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZ}%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
|
|
Loading…
Reference in New Issue