Merge pull request #148 from benjamin-weiss/frame-title-height

fixes #131 – Wrong frametitle spacing with tailed letters
This commit is contained in:
Matthias Vogelgesang 2015-11-17 08:08:06 +01:00
commit e68a93855c
2 changed files with 15 additions and 15 deletions

Binary file not shown.

View File

@ -87,23 +87,23 @@
/metropolis/outer/frametitleformat/.cd,
.is choice,
regular/.code={%
\renewcommand{\@metropolis@frametitleformat}{}%
\renewcommand{\@metropolis@frametitlestrut}{%
\rule{0pt}{\heightof{ABCDEFGHIJKLMNOPQRSTUVWXYZ}}
}
},
\renewcommand{\@metropolis@frametitleformat}{}%
\renewcommand{\@metropolis@frametitlestrut}{%
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}%
}
},
lowercase/.code={%
\renewcommand{\@metropolis@frametitleformat}{\MakeLowercase}%
\renewcommand{\@metropolis@frametitlestrut}{%
\rule{0pt}{\heightof{abcdefghijklmnopqrstuvwxyz}}
}
},
\renewcommand{\@metropolis@frametitleformat}{\MakeLowercase}%
\renewcommand{\@metropolis@frametitlestrut}{%
\vphantom{abcdefghijklmnopqrstuvwxyz}%
}
},
uppercase/.code={%
\renewcommand{\@metropolis@frametitleformat}{\MakeUppercase}%
\renewcommand{\@metropolis@frametitlestrut}{%
\rule{0pt}{\heightof{ABCDEFGHIJKLMNOPQRSTUVWXYZ}}
}
},
\renewcommand{\@metropolis@frametitleformat}{\MakeUppercase}%
\renewcommand{\@metropolis@frametitlestrut}{%
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZ}%
}
},
}
% \end{macrocode}
% \end{macro}