Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EP Beamer theme to match official template #20

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

joel-coffman
Copy link
Owner

Engineering for Professionals (EP) released an updated Microsoft
PowerPoint template designed for online courses. This change updates
the ep.jhu.edu Beamer presentation theme so it is consistent with that
template.

Closes #17

joel-coffman and others added 5 commits July 27, 2021 18:07
The Microsoft PowerPoint template for Engineering for Professionals
(EP) uses Tahoma as the typeface. Unfortunately, there does not appear
to be any metrically compatible typeface. Verdana was derived from
Tahoma and is metrically compatible with Vera Sans (Arev and Bera
Sans) and DejaVu Sans, but Clear Sans appears to be a closer match for
Tahoma due to its different forms for uppercase 'I' and lowercase 'l'
and slightly narrower width. Hence, this change uses Clear Sans as the
typeface for the ep.jhu.edu presentation theme.

References #17
Engineering for Professionals (EP) released an updated Microsoft
PowerPoint template designed for online courses. This change updates
the ep.jhu.edu Beamer presentation theme so it is consistent with that
template.

Closes #17
The dark background of the title page requires changing Beamer's
foreground color after using the `title page' template. Unfortunately,
there isn't really sufficient space to insert additional text on that
frame so this change removes the existing workaround.
\defbeamertemplate*{title page}{ep.jhu.edu}[1][]{%
% \end{macrocode}
% Suppress the headline, footline, and sidebars on the current frame by manually setting the corresponding key.
% This approach may not be generalizable (e.g., if the theme has a headline, then setting this key inside this template is likely too late to have the desired effect), but works well for the \textsf{default} outer theme that does not define a headline, footline, or left sidebar.
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because EPS images are converted to PDFs rather than being embedded
directly in documents, `epstopdf` may not be able to find the images,
such as when the images are found using the TEXINPUTS environment
variable (e.g., when TEXINPUTS references a local texmf directory).
This change patches epstopdf to use `kpsewhich` to find EPS images,
which eliminates the need to place images used by the ep.jhu.edu
Beamer presentation theme (e.g., logos) in the same directory as the
LaTeX document.
@joel-coffman
Copy link
Owner Author

joel-coffman commented Oct 13, 2021

The title page and end page do not display correctly when using Beamer's show only notes option due to the use of TikZ's remember picture (see https://tex.stackexchange.com/a/369326). It might be possible to manually center the image (see https://topanswers.xyz/tex?q=1169#a1377), but the colors – particularly gradients – would be difficult to reproduce.

@joel-coffman
Copy link
Owner Author

It would be ideal if the title page and end page used Beamer's background template although it isn't clear if that's possible because, at least for the title page, the background template cannot be specified before the start of the frame.

@joel-coffman
Copy link
Owner Author

It would be ideal if the inclusion of the "end page" was configurable (and enabled by default). That would greatly simplify using the theme in situations where tweaks are required, such as ordering the enddocument hooks.

@joel-coffman
Copy link
Owner Author

Due to a conflict between Beamer and TikZ, the background of the title page and end page do not display correctly. The ep.jhu.edu theme handles this issue with alternate versions of the title page and end page that omit the background and use a different text color so that the text is visible on a white background, but doing so introduces a visual discrepancy with the original version of these slides (i.e., white text on a blue background vs. blue text on a white background).

Consider deferring the definition of templates until the beginning of the document so that configuration in the preamble (e.g., \setbeameroption{show notes}) is handled correctly even if it appears after loading the theme.

@joel-coffman
Copy link
Owner Author

Use different color for block title and labels of items in description environment -- as it is, the difference in font size isn't sufficient to indicate that they are different (i.e., the block title looks like it is an item label).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update EP Beamer theme
1 participant