1
0
forked from upb/FancyBeamerUPB

Compare commits

..

3 Commits
pb ... main

Author SHA1 Message Date
615d0efbfb
init presentation 2024-11-02 17:13:29 +01:00
Sebastian Krieter
dfcb54b16c
Merge branch 'SEatUPB:main' into main 2024-04-08 16:40:24 +02:00
Sebastian Krieter
b2075f114d Fixes demo slides
Signed-off-by Sebastian Krieter <sebastian.krieter@uni-ulm.de>
2024-04-08 16:39:32 +02:00
5 changed files with 7 additions and 6 deletions

View File

@ -151,21 +151,21 @@
\subsection{Advanced Management of Pictures} \subsection{Advanced Management of Pictures}
\begin{frame}{\insertsubsection} \begin{frame}{\insertsubsection}
\begin{mycolumns}[t] \begin{fancycolumns}[t]
\begin{example}{\texttt{\textbackslash pic} command} \begin{example}{\texttt{\textbackslash pic} command}
\centering\pic[width=0.5\textwidth,trim={.2\width} {.2\height} {.2\width} {.2\height},clip]{example-image} \centering\pic[width=0.5\textwidth,trim={.2\width} {.2\height} {.2\width} {.2\height},clip]{example-image}
\end{example} \end{example}
\begin{note}{Explanation} \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}. 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} \end{note}
\mynextcolumn \nextcolumn
\begin{example}{Automatic Links} \begin{example}{Automatic Links}
\centering\pic[width=0.5\textwidth]{example-image} % omit file extension of the image picture \centering\pic[width=0.5\textwidth]{example-image} % omit file extension of the image picture
\end{example} \end{example}
\begin{note}{Explanation} \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. 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{note}
\end{mycolumns} \end{fancycolumns}
\end{frame} \end{frame}
\subsection{Automatic Dark-Mode for Pictures} \subsection{Automatic Dark-Mode for Pictures}

View File

@ -1,4 +1,4 @@
\AtEndPreamble{\usepackage{\FancyBeamerUPBdir/fancyupb}} % use the UPB look and feel \AtEndPreamble{\usepackage{../fancyupb}} % use the UPB look and feel
% ============================================= % =============================================
% FANCY BEAMER % FANCY BEAMER
@ -136,7 +136,7 @@
\def\fancy@titlepage@margin{20pt} \def\fancy@titlepage@margin{20pt}
\newcommand{\@createtitleslide}{ \newcommand{\@createtitleslide}{
{ {
\ifx \fancytitlepicture \empty \else \usebackgroundtemplate{\pic[trim=-1000 0 500 -235,width=.8\paperwidth]{\fancytitlepicture}} \fi \ifx \fancytitlepicture \empty \else \usebackgroundtemplate{\pic[trim=0 0 0 \fancytitlepictureoffset,clip,width=\paperwidth]{\fancytitlepicture}} \fi
\begin{frame}[plain] \begin{frame}[plain]
\vskip0pt plus 1filll \vskip0pt plus 1filll
\begin{beamercolorbox}[wd=\paperwidth,ht=4.5ex,dp=2ex,right]{titlebox} \begin{beamercolorbox}[wd=\paperwidth,ht=4.5ex,dp=2ex,right]{titlebox}

View File

@ -43,4 +43,5 @@
\UpdateBoxColor{note}{red} \UpdateBoxColor{note}{red}
% use official logos % use official logos
\setpaths{{pics/}{\FancyBeamerUPBdir/pics/}} \fancylogos{upb,upb-triangles}
\setpaths{{pics/}{../pics/}}

BIN
versionierungssysteme.odp Normal file

Binary file not shown.