forked from upb/FancyBeamerUPB
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
2d19749105 | ||
|
ce3ce1b820 | ||
|
50597e4ca9 | ||
|
e5ab968948 |
Binary file not shown.
@ -151,21 +151,21 @@
|
||||
|
||||
\subsection{Advanced Management of Pictures}
|
||||
\begin{frame}{\insertsubsection}
|
||||
\begin{fancycolumns}[t]
|
||||
\begin{mycolumns}[t]
|
||||
\begin{example}{\texttt{\textbackslash pic} command}
|
||||
\centering\pic[width=0.5\textwidth,trim={.2\width} {.2\height} {.2\width} {.2\height},clip]{example-image}
|
||||
\end{example}
|
||||
\begin{note}{Explanation}
|
||||
Using the command \texttt{\textbackslash pic\{filename\}} a picture can be included. It works like \texttt{\textbackslash adjincludegraphics} and therefore supports advanced options like \texttt{trim}.
|
||||
\end{note}
|
||||
\nextcolumn
|
||||
\mynextcolumn
|
||||
\begin{example}{Automatic Links}
|
||||
\centering\pic[width=0.5\textwidth]{example-image} % omit file extension of the image picture
|
||||
\end{example}
|
||||
\begin{note}{Explanation}
|
||||
In order to automatically add a (source) link to the picture, the link simply has to be stored in a txt-file with the same filename.
|
||||
\end{note}
|
||||
\end{fancycolumns}
|
||||
\end{mycolumns}
|
||||
\end{frame}
|
||||
|
||||
\subsection{Automatic Dark-Mode for Pictures}
|
||||
|
@ -1,4 +1,4 @@
|
||||
\AtEndPreamble{\usepackage{../fancyupb}} % use the UPB look and feel
|
||||
\AtEndPreamble{\usepackage{\FancyBeamerUPBdir/fancyupb}} % use the UPB look and feel
|
||||
|
||||
% =============================================
|
||||
% FANCY BEAMER
|
||||
@ -136,7 +136,7 @@
|
||||
\def\fancy@titlepage@margin{20pt}
|
||||
\newcommand{\@createtitleslide}{
|
||||
{
|
||||
\ifx \fancytitlepicture \empty \else \usebackgroundtemplate{\pic[trim=0 0 0 \fancytitlepictureoffset,clip,width=\paperwidth]{\fancytitlepicture}} \fi
|
||||
\ifx \fancytitlepicture \empty \else \usebackgroundtemplate{\pic[trim=-1000 0 500 -235,width=.8\paperwidth]{\fancytitlepicture}} \fi
|
||||
\begin{frame}[plain]
|
||||
\vskip0pt plus 1filll
|
||||
\begin{beamercolorbox}[wd=\paperwidth,ht=4.5ex,dp=2ex,right]{titlebox}
|
||||
|
@ -43,5 +43,4 @@
|
||||
\UpdateBoxColor{note}{red}
|
||||
|
||||
% use official logos
|
||||
\fancylogos{upb,upb-triangles}
|
||||
\setpaths{{pics/}{../pics/}}
|
||||
\setpaths{{pics/}{\FancyBeamerUPBdir/pics/}}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user