Skip to content

Commit

Permalink
Add templates PA2024CH (#290)
Browse files Browse the repository at this point in the history
* Copy templates from COP 2022 excl. real estate

* Update years and real estate flags
  • Loading branch information
MonikaFu authored Mar 8, 2024
1 parent d99bf3a commit 98ad151
Show file tree
Hide file tree
Showing 57 changed files with 5,120 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
152 changes: 152 additions & 0 deletions inst/extdata/PA2024CH_de_exec_summary/preamble.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
\usepackage{geometry}
\usepackage{xparse}
\usepackage{xcolor}
\usepackage{mdframed}
\usepackage{multicol}
\usepackage{hyperref}
\usepackage{textcomp}

% \usepackage[default]{opensans}
\usepackage[T1]{fontenc}

% \usepackage{showframe}
% \renewcommand*\ShowFrameColor{\color{watermelon}}

\graphicspath{ {img/} }

\geometry{
a4paper,
left=0.4in,
right=0.2in,
top=0.2in,
bottom=0.2in,
headheight=0.0in
}

\NewDocumentCommand \scorecardGeometry{}{
\geometry{
a4paper,
left=0.2in,
right=0.2in,
top=0.2in,
bottom=0.2in,
headheight=0.0in
}
}

\definecolor{esLightGray}{HTML}{F2F2F2}
\definecolor{scBlueGray}{HTML}{475767}
\definecolor{watermelon}{HTML}{B4Da55}
\definecolor{candy}{HTML}{f42069}

% \setsansfont{OpenSans}[
% Path = fonts/OpenSans/,
% % Scale = 0.9,
% Extension = .ttf,
% UprightFont = *-Regular,
% BoldFont = *-Bold,
% ItalicFont = *-Italic,
% BoldItalicFont = *-BoldItalic
% ]

% \setmainfont{OpenSans}
\renewcommand{\familydefault}{\sfdefault}

\NewDocumentCommand \verticalAlignImage {}{
\strut\vspace*{-\baselineskip}\newline
}

\NewDocumentCommand \centeredImage{ o m }{
\begingroup
\setbox0=\hbox{
\IfValueTF{#1}{
\includegraphics[#1, keepaspectratio]{#2}
}{
\includegraphics{#2}
}
}
\parbox{\wd0}{\box0}\endgroup
}

\NewDocumentCommand \exposureImage{ O{height=24pt} }{
\IfValueTF{#1}{
\centeredImage[#1]{symbol_exposure}
}{
\centeredImage{symbol_exposure}
}
}

\NewDocumentCommand \alignmentImage{ O{height=24pt} }{
\IfValueTF{#1}{
\centeredImage[#1]{symbol_alignment}
}{
\centeredImage{symbol_alignment}
}
}

\NewDocumentCommand \engagementImage{ O{height=24pt} }{
\IfValueTF{#1}{
\centeredImage[#1]{symbol_engagement}
}{
\centeredImage{symbol_engagement}
}
}

\mdfdefinestyle{esstyle}{
frametitlebackgroundcolor = esLightGray,
linecolor=white,
linewidth=0,
frametitleaboveskip=0,
frametitlebelowskip=0
}

\mdfdefinestyle{scheaderstyle}{
backgroundcolor = scBlueGray,
linecolor=white,
linewidth=0,
frametitleaboveskip=0,
frametitlebelowskip=0,
innerrightmargin=0.7em,
rightmargin=0.0em,
innerleftmargin=0.7em,
leftmargin=0.0em,
fontcolor=white
}


\mdfdefinestyle{debugstyle}{
frametitlebackgroundcolor = watermelon,
linecolor = candy,
linewidth = 2pt,
frametitleaboveskip=0,
frametitlebelowskip=0
}

\NewDocumentCommand \esboxTitleString{ m o }{
% \Large#1\vrule{24pt}{2pt}%
\Large#1%
\IfValueT{#2}{\hfill {#2}}
}

\NewDocumentEnvironment{esbox}{ O{\textwidth} m o }
{% begin code
\begin{minipage}[t]{#1}%
\begin{mdframed}[style=esstyle, frametitle={\esboxTitleString{#2}[#3]}]%
}
{ % enddef
\end{mdframed}%
\end{minipage}%
}%

\NewDocumentEnvironment{scheader}{ O{\textwidth}}
{% begin code
\begin{minipage}[t]{#1}%
\begin{mdframed}[style=scheaderstyle]%
}
{ % enddef
\end{mdframed}%
\end{minipage}%
}%

\newcommand{\startunderscoreletter}{\catcode`_ 12\relax}
\newcommand{\stopunderscoreletter}{\catcode`_ 8\relax}
Loading

0 comments on commit 98ad151

Please sign in to comment.