options changed
This commit is contained in:
parent
b0fca349e2
commit
958e981c37
5
.gitignore
vendored
5
.gitignore
vendored
@ -66,8 +66,9 @@ _minted*
|
|||||||
*~
|
*~
|
||||||
.#*
|
.#*
|
||||||
|
|
||||||
# gnuplot
|
# gnuplot in this docu
|
||||||
*.gnuplot
|
*.gnuplot
|
||||||
# tests
|
|
||||||
|
# my tests
|
||||||
tst*.pdf
|
tst*.pdf
|
||||||
|
|
||||||
|
@ -76,13 +76,14 @@
|
|||||||
%---------------------------------------------------------------------
|
%---------------------------------------------------------------------
|
||||||
\RequirePackage{tikz}
|
\RequirePackage{tikz}
|
||||||
\RequirePackage{eso-pic}
|
\RequirePackage{eso-pic}
|
||||||
|
\RequirePackage{iftex}
|
||||||
|
|
||||||
%---------------------------------------------------------------------
|
%---------------------------------------------------------------------
|
||||||
% Package Options
|
% Package Options
|
||||||
%---------------------------------------------------------------------
|
%---------------------------------------------------------------------
|
||||||
\newif\if@doSans
|
\newif\if@doSans
|
||||||
\@doSansfalse
|
\@doSanstrue
|
||||||
\DeclareOption{noserifmath}{\@doSanstrue}
|
\DeclareOption{serifmath}{\@doSansfalse}
|
||||||
\newif\if@doSectionPage
|
\newif\if@doSectionPage
|
||||||
\@doSectionPagefalse
|
\@doSectionPagefalse
|
||||||
\DeclareOption{nosectionpages}{\@doSectionPagetrue}
|
\DeclareOption{nosectionpages}{\@doSectionPagetrue}
|
||||||
@ -94,25 +95,26 @@
|
|||||||
%---------------------------------------------------------------------
|
%---------------------------------------------------------------------
|
||||||
% Specification
|
% Specification
|
||||||
%---------------------------------------------------------------------
|
%---------------------------------------------------------------------
|
||||||
% \if@doSans%
|
|
||||||
% % sans serif math %
|
\ifpdftex%
|
||||||
% \usepackage[no-math]{fontspec}%
|
\RequirePackage[T1]{fontenc}
|
||||||
% \setmainfont{Arial}%
|
\else\ifxetex
|
||||||
% \else%
|
\RequirePackage{fontspec}
|
||||||
% % serif math %
|
\else\ifluatex
|
||||||
% \usepackage{fontspec}%
|
\RequirePackage{fontspec}
|
||||||
% \usefonttheme[onlymath]{serif}%
|
\fi\fi\fi
|
||||||
% \fi%
|
|
||||||
% \newfontfamily\Light{Arial}%
|
|
||||||
% \newfontfamily\Bold{Arial-Bold}%
|
|
||||||
% \setsansfont{Arial}%
|
|
||||||
|
|
||||||
\RequirePackage[sfdefault,lining]{FiraSans}
|
\RequirePackage[sfdefault,lining]{FiraSans}
|
||||||
%\RequirePackage[fakebold]{firamath-otf}
|
|
||||||
%\RequirePackage{newtxsf}
|
|
||||||
\RequirePackage[T1]{fontenc}
|
|
||||||
\RequirePackage[nomap]{FiraMono}
|
\RequirePackage[nomap]{FiraMono}
|
||||||
|
|
||||||
|
\if@doSans%
|
||||||
|
% sans serif math %
|
||||||
|
\RequirePackage{newtxsf}%
|
||||||
|
\else%
|
||||||
|
% serif math %
|
||||||
|
\usefonttheme[onlymath]{serif}%
|
||||||
|
\fi%
|
||||||
|
|
||||||
\let\Bold\firasemibold%
|
\let\Bold\firasemibold%
|
||||||
\let\Light\firalight%
|
\let\Light\firalight%
|
||||||
\let\Normal\firabook%
|
\let\Normal\firabook%
|
||||||
|
12
tst.tex
12
tst.tex
@ -1,4 +1,4 @@
|
|||||||
\documentclass[noserifmath,aspectratio=169]{beamer}
|
\documentclass[serifmath,aspectratio=169]{beamer}
|
||||||
|
|
||||||
\usetheme{leipzig}
|
\usetheme{leipzig}
|
||||||
|
|
||||||
@ -9,12 +9,12 @@
|
|||||||
\title[Leipzig]{Leipzig}
|
\title[Leipzig]{Leipzig}
|
||||||
\subtitle[Beamer Theme]{Beamer theme}
|
\subtitle[Beamer Theme]{Beamer theme}
|
||||||
\author{Author}
|
\author{Author}
|
||||||
\institute{Institute}
|
\institute{Institute of Mathematics}
|
||||||
\date{\today}
|
\date{\today}
|
||||||
\titlegraphic{}
|
\titlegraphic{}
|
||||||
\location{Leipzig}
|
\location{Leipzig}
|
||||||
\thankstitle{Thank You!}
|
\thankstitle{Thank You!}
|
||||||
\address{Beethovenstraße 15, 04107 Leipzig}
|
\address{Augustusplatz 10, 04109 Leipzig}
|
||||||
\email{example@uni-leipzig.de}
|
\email{example@uni-leipzig.de}
|
||||||
\phone{+49 1234 5678910}
|
\phone{+49 1234 5678910}
|
||||||
%\website{}
|
%\website{}
|
||||||
@ -39,13 +39,13 @@ Enable the theme by loading
|
|||||||
\usetheme{leipzig}
|
\usetheme{leipzig}
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
Note that this package only works with XeTeX/XeLaTeX, as it depends on \texttt{fontspec}.
|
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\section{Elements}
|
\section{Elements}
|
||||||
\begin{frame}[fragile]{Package Options}
|
\begin{frame}[fragile]{Package Options}
|
||||||
\begin{description}
|
\begin{description}
|
||||||
\item[\texttt{noserifmath}] displays math using Arial
|
\item[\texttt{serifmath}] displays math with serifs, using the
|
||||||
|
traditional CM fonts
|
||||||
\item[\texttt{nosectionpages}] hides section pages.
|
\item[\texttt{nosectionpages}] hides section pages.
|
||||||
\item[\texttt{aspectratio=169}] to enable 16:9 aspect ratio (default is 4:3)
|
\item[\texttt{aspectratio=169}] to enable 16:9 aspect ratio (default is 4:3)
|
||||||
\end{description}
|
\end{description}
|
||||||
@ -109,8 +109,6 @@ You can \emph{emphasize} text, \alert{accent} parts or show \textbf{bold} result
|
|||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item First \item Second \item Last
|
\item First \item Second \item Last
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
$$ Y = X^3 =\int \alpha^2\log (aeqwvnm) $$
|
|
||||||
\column{0.33\textwidth}
|
\column{0.33\textwidth}
|
||||||
Descriptions
|
Descriptions
|
||||||
\begin{description}
|
\begin{description}
|
||||||
|
Loading…
Reference in New Issue
Block a user