diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-21 22:28:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-21 22:28:42 +0000 |
commit | 6672341b0554a90796352157889e59c830049ee9 (patch) | |
tree | ba1974ea14d31c69d0c498ae8f69c07b419fd792 /Master/texmf-dist/source | |
parent | 5400c94d4d84ef3288c94ce1f95d0b5a3b85ff8a (diff) |
fibeamer (20nov15)
git-svn-id: svn://tug.org/texlive/trunk@38911 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/fibeamer/fibeamer.dtx | 66 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/fibeamer/theme/mu/base.dtx | 28 |
2 files changed, 69 insertions, 25 deletions
diff --git a/Master/texmf-dist/source/latex/fibeamer/fibeamer.dtx b/Master/texmf-dist/source/latex/fibeamer/fibeamer.dtx index b7d9d784e9f..2724352873f 100644 --- a/Master/texmf-dist/source/latex/fibeamer/fibeamer.dtx +++ b/Master/texmf-dist/source/latex/fibeamer/fibeamer.dtx @@ -14,6 +14,8 @@ \usepackage[T1]{fontenc} % use 8bit fonts \emergencystretch 2dd \usepackage{hypdoc} +\usepackage{microtype} +\usepackage{ragged2e} % Making paragraphs numbered \makeatletter @@ -38,6 +40,7 @@ \RecordChanges \DocInput{fibeamer.dtx} \PrintIndex + \RaggedRight \PrintChanges \end{document} @@ -46,13 +49,17 @@ %<*class> \NeedsTeXFormat{LaTeX2e} % Define `\fibeamer@version` and store it in the `VERSION.tex` file \fi -\def\fibeamer@version{2015/08/27 v1.0.1 fibeamer MU beamer theme} +\def\fibeamer@version{2015/11/21 v1.0.4 fibeamer MU beamer theme} % {\newwrite\f\openout\f=VERSION\write\f{\fibeamer@version}\closeout\f} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% -% +% +% \changes{v1.0.4} {2015/11/21}{Updated the user guide. [VN]} +% \changes{v1.0.3} {2015/11/20}{The example documents from the +% \texttt{example} directory and the user guide from the +% \texttt{guide} directory are now a part of the CTAN archive. +% [VN]} +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \title{The beamer theme for the typesetting of thesis defense @@ -82,10 +89,9 @@ % \subsection{The \texttt{fonts} option} % \begin{macro}{\iffibeamer@fonts} % The |fonts| option instructs the package to set up the -% combination of the font families of Carlito, Arev, Iwona, Dsfont -% and DejaVu Sans Mono for the typesetting of roman, italic or -% monospaced text and mathematics. This option is enabled by -% default. +% combination of the font families of Carlito, Arev, Iwona, Dsfont, +% and DejaVu for the typesetting of text and mathematics. This +% option is enabled by default. % \begin{macrocode} \ProvidesPackage{fibeamer/beamerthemefibeamer}[\fibeamer@version] \newif\iffibeamer@fonts @@ -99,6 +105,27 @@ % \begin{macrocode} \DeclareOptionBeamer{nofonts}{\fibeamer@fontsfalse} % \end{macrocode} +% \subsection{The \texttt{microtype} option} +% \changes{v1.0.2}{2015/11/18}{Added the opt-out \texttt{microtype +% option}. [VN]} +% \begin{macro}{\iffibeamer@microtype} +% The |microtype| option instructs the package to use the +% microtypographic extensions of modern \TeX\ engines, such as +% \hologo{pdfTeX}, \Hologo{LuaTeX}, and (partially) +% \Hologo{XeLaTeX}. This option is enabled by default. +% \begin{macrocode} +\newif\iffibeamer@microtype +\DeclareOptionBeamer{microtype}{\fibeamer@microtypetrue} +\ExecuteOptionsBeamer{microtype} +% \end{macrocode} +% \end{macro} +% \subsection{The \texttt{nomicrotype} option} +% The |nomicrotype| option disables the microtypographic +% extensions. This may be necessary, if an older \TeX\ engine, +% such as \hologo{TeX} or \hologo{eTeX}, is being used. +% \begin{macrocode} +\DeclareOptionBeamer{nomicrotype}{\fibeamer@microtypefalse} +% \end{macrocode} % \begin{macro}{\fibeamer@university} % \subsection{The \texttt{university} option} % The \marg{\texttt{university}=identifier} option pair sets the @@ -138,6 +165,7 @@ % \end{macrocode} % \end{macro} % \begin{macro}{\fibeamer@basePath} +% \subsection{The \texttt{basePath} option} % The \marg{\texttt{basePath}=path} pair sets the \textit{path} % containing the package files. The \textit{path} is prepended to % every other path (|\fibeamer@logopath| and |\fibeamer@themePath|) @@ -299,6 +327,14 @@ % \begin{macrocode} \ProcessOptionsBeamer % \end{macrocode} +% When the |microtype| option is specified, the \textsf{microtype} +% package gets loaded. +% \begin{macrocode} + % Set up the microtypographic extensions + \iffibeamer@microtype + \RequirePackage{microtype} + \fi +% \end{macrocode} % When the |fonts| option is specified, the following packages will % be used by the package to configure the fonts in the presentation % mode: @@ -307,22 +343,22 @@ % compound conditionals. % \item\textsf{ifxetex}, \textsf{ifluatex} -- These packages are % used to detect the used \TeX\ engine. -% \item\textsf{lmodern} -- The Latin Modern font family is used -% as a fallback for missing glyphs. +% \item\textsf{lmodern} -- The Latin Modern font family is used as a +% fallback for missing glyphs. % \item\textsf{carlito} -- The Carlito font family is used as the % primary text and math font face. -% \item\textsf{arevmath} -- The Arev math font family is used for +% \item\textsf{arevmath} -- The Arev Sans math font family is used for % various symbols and greek alphabet. % \item\textsf{iwona} -- The Iwona font family is used for large -% mathAsymbols. -% \item\textsf{DejaVuSansMono} -- The DejaVu Sans Mono font -% family is used for the typesetting of monospaced text. +% math symbols. +% \item\textsf{dejavu} -- The DejaVu Sans Mono font family is +% used for the typesetting of monospaced text. % \item\textsf{setspace} -- This package is used to adjust the % leading to 115 \%. % \item\textsf{fontenc} -- This package is used to set the font % encoding to Cork. This package is only used outside the % \Hologo{XeTeX} and \Hologo{LuaTeX} engines. -% \item\textsf{fontenc} -- This package is used to load fonts. +% \item\textsf{fontspec} -- This package is used to load fonts. % This package is only used with the \Hologo{XeTeX} and % \Hologo{LuaTeX} engines. % \end{itemize} diff --git a/Master/texmf-dist/source/latex/fibeamer/theme/mu/base.dtx b/Master/texmf-dist/source/latex/fibeamer/theme/mu/base.dtx index 32dd9799ede..4b3852d65de 100644 --- a/Master/texmf-dist/source/latex/fibeamer/theme/mu/base.dtx +++ b/Master/texmf-dist/source/latex/fibeamer/theme/mu/base.dtx @@ -128,7 +128,7 @@ % the document is being typeset in DVI mode. If it is, then % the |\pdfpagewidth| and |\pdfpageheight| dimensions are % defined, so that positioning in TikZ works correctly. -% \changes{v1.0.1}{2015/10/02}{Added DVI output support. [VN]} +% \changes{v1.0.1}{2015/10/03}{Added DVI output support. [VN]} % ^^A <http://tex.stackexchange.com/a/246631/70941> % \item\textsf{tikz} -- This package is used to position the % logo and the frame number on a frame. @@ -189,19 +189,27 @@ % The outer theme also culls the headline and replaces it with % either a dark or light version of the faculty logo, based on the % value of the |\iffibeamer@dark| conditional, which is controlled by -% the color theme. +% the color theme. The light and dark logos are kept in the +% \DescribeMacro{\fibeamer@logo@light}|\fibeamer@logo@light| and +% \DescribeMacro{\fibeamer@logo@dark}|\fibeamer@logo@dark| +% saveboxes, respectively. % \begin{macrocode} + \newsavebox\fibeamer@logo@light + \savebox\fibeamer@logo@light{% + \includegraphics[width=\fibeamer@logowidth]{\fibeamer@logo-light}} + \newsavebox\fibeamer@logo@dark + \savebox\fibeamer@logo@dark{% + \includegraphics[width=\fibeamer@logowidth]{\fibeamer@logo-dark}} + \defbeamertemplate*{headline}{fibeamer}{% \begin{tikzpicture}[overlay,remember picture] \node[anchor=north east,xshift=-\fibeamer@logopad] - at (current page.north east) { - \ifthenelse{\boolean{fibeamer@dark}\OR\c@framenumber=0}{ - \includegraphics[width=\fibeamer@logowidth]% - {\fibeamer@logo-dark} - }{ - \includegraphics[width=\fibeamer@logowidth]% - {\fibeamer@logo-light} - } + at (current page.north east) {% + \ifthenelse{\boolean{fibeamer@dark}\OR\c@framenumber=0}{% + \usebox{\fibeamer@logo@dark}% + }{% + \usebox{\fibeamer@logo@light}% + }% }; \end{tikzpicture}} % \end{macrocode} |