Merge pull request #148 from benjamin-weiss/frame-title-height
fixes #131 – Wrong frametitle spacing with tailed letters
This commit is contained in:
commit
e68a93855c
Binary file not shown.
|
@ -89,19 +89,19 @@
|
||||||
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}%
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue