Skip to content

try undoing a hack for the table captions, and go back to the old dra… #24

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

Merged
merged 4 commits into from
Sep 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ RUN tlmgr update --self && \
textpos \
anyfontsize \
transparent \
ulem \
draftwatermark
ulem

RUN apk upgrade && apk add --no-cache \
bash \
Expand Down
22 changes: 14 additions & 8 deletions template/eisvogel.latex
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ $if(background-image)$
}
$endif$

\ifthenelse{\equal{\detokenize{$status$}}{\detokenize{DRAFT}}}
{
\usepackage[text=DRAFT]{draftwatermark}
}
{}

\usepackage{pgfpages}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{caption label separator}{: }
Expand Down Expand Up @@ -857,8 +851,20 @@ $else$

\fancypagestyle{eisvogel-header-footer}{
\fancyhead{}
\fancyhead[C]{}
\fancyfoot{}
\fancyhead[C]
{
\ifthenelse{\equal{\detokenize{$status$}}{\detokenize{DRAFT}}}
{
\begin{textblock*}{8.5in}(-0.3in,0.4in)
\fontsize{300}{360}{
\begin{turn}{50}
\textsf{\textcolor{gray}{\transparent{0.1}{DRAFT}}}
\end{turn}
}
\end{textblock*}
}
{}
} \fancyfoot{}
% \lhead[$if(header-right)$$header-right$$else$$date$$endif$]{$if(header-left)$$header-left$$else$title$endif$}
% \chead[$if(header-center)$$header-center$$else$$endif$]{$if(header-center)$$header-center$$else$$endif$}
% \rhead[$if(header-left)$$header-left$$else$title$endif$]{$if(header-right)$$header-right$$else$$date$$endif$}
Expand Down