Earlier versions of Beamer (or XeLaTeX?) did not respect `\centering` on the only line of a page. This is fixed by replacing `\centering` with the `center` environment, which breaks the paragraph before and after the line.
Used the \heightof{} command from the calc package to ensure that the
height used as a strut in the beamercolorbox is consistent.
The height is set to the height of the tallest character of the font in
a typeface independent manner, and also depending on whether the frame
title is set in small caps uppercase or regular case. This ensure that
the colorbox is always the height of the text plus 1.5ex above and
below the text independent of format, text size, ratio and typeface.
Changes the box parameters from:
leftskip=0.3cm,
rightskip=0.3cm,
ht=2.5ex,
dp=1.5ex
to:
sep=1.5ex
And added a strut to ensure short characters always make a minimum box
height of 4.5 ex if there are small (e.g. -) characters in the title
only.
In the process I reorganized the Makefile
- renamed manual to doc (mainly because I’m too lazy to write `make
manual`)
- fixed missing dependency in for DOC_PDF
- sorted macros (directories, files, commands)
As also suggested on
[stackexchange](http://tex.stackexchange.com/questions/112526/errors-wit
h-makeuppercase-and-beamers-insertsectionhead) the new implementation
patches `\sectionentry`, `\beamer@section` and `\beamer@@frametitle`
instead of expanding them.
In the process I also added three more hooks:
- `mthemesectiontitleformat`
- `mthemeframetitleformat`
- `mthemeplaintitleformat`
So the user can change the behavior of each element independently. As
default the new formats are dependent on `mthemetitleformat`.
For testing purposes I integrated @elliottd s frames from this PR #94
This should fix the `allowframebreaks` issue for real now.