Explorar o código

Dartmouth poster templade draft derived from RepSeP

Horea Christian hai 7 meses
pai
achega
ad9de6c66d

+ 4 - 0
publishing/Makefile

@@ -83,6 +83,10 @@ container-article:
 article: $(COMMON) $(TEX) $(STYLE) $(DATA) $(SHOWCASE_PAPERDIFF_PDF)
 	latexmk -pdf -pdflatex="xelatex -interaction=nonstopmode" -use-make article-$(FORMAT).tex
 
+.PHONY: poster
+poster: $(COMMON) $(TEX) $(STYLE) $(DATA) $(SHOWCASE_PAPERDIFF_PDF)
+	latexmk -pdf -pdflatex="xelatex -interaction=nonstopmode" -use-make poster.tex
+
 # Target to specifically remove LaTeX traces.
 .PHONY: clean
 clean:

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2627 - 0
publishing/img/dartmouth_shield_inverted.eps


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2588 - 0
publishing/img/dartmouth_shield_inverted_nomargins.eps


+ 98 - 0
publishing/poster.tex

@@ -0,0 +1,98 @@
+\input{poster/header.tex}
+
+\title{\href{https://github.com/TheChymera/RepSeP}{\Large github.com/TheChymera/RepSeP}\\\vspace{.15em}Reproducible Publishing --- Reference Poster Implementation}
+% \title{Longitudinal opto-pharmaco-fMRI of Selective\\ Serotonin Reuptake Inhibition}
+\author{Horea-Ioan Ioanas$^{1}$, Markus Rudin$^{1}$}
+\institute[ETH]{$^{1}$Institute for Biomedical Engineering, ETH and University of Zurich}
+\date{\today}
+
+\newlength{\columnheight}
+\setlength{\columnheight}{0.881\textheight}
+
+\begin{document}
+
+\begin{myverbbox}[\small]{\tabcode}
+\begin{table}[]
+      \py{
+	    pytex_tab(
+		  script='scripts/stim_table.py', label='sp',
+		  caption='BIDS \cite{bids} event file table, from \cite{irsabi}',
+		  options_pre='\\centering \\resizebox{0.9\\textwidth}{!}{',
+		  data='data/JogB.tsv', options_post='}',
+		  )
+	  }
+\end{table}
+\end{myverbbox}
+\begin{myverbbox}[\small]{\spcode}
+\py{pytex_fig(
+	'scripts/3dplot.py',
+	conf='poster/3dplot.conf', label='3dplot',
+	caption='A 3D plot. Plot script from matplotlib exampes \cite{matplotlib}.',
+	)}
+\end{myverbbox}
+
+\begin{frame}
+\begin{columns}
+	\begin{column}{.42\textwidth}
+		\begin{beamercolorbox}[center]{postercolumn}
+			\begin{minipage}{.98\textwidth}  % tweaks the width, makes a new \textwidth
+				\parbox[t][\columnheight]{\textwidth}{ % must be some better way to set the the height, width and textwidth simultaneously
+					\begin{myblock}{Abstract}
+						\input{common/abstract.tex}
+					\end{myblock}\vfill
+					\vspace{-0.3em}
+					\begin{myblock}{Lala}
+						\begin{figure}
+							\captionsetup{width=.9\linewidth}
+							\includegraphics[width=0.9\textwidth]{figs/topology.pdf}
+							\vspace{-1.8em}
+							\caption{
+								Mycaption lalalalal
+							}
+							\vspace{1em}
+						\end{figure}
+
+					\end{myblock}\vfill
+					\vspace{-0.3em}
+					\begin{myblock}{Technologies}
+						\vspace{0.75em}
+						\begin{minipage}{.28\textwidth}
+							\begin{figure}
+								\includegraphics[width=0.9\textwidth]{figs/diff_fig.pdf}
+							\end{figure}
+							\begin{figure}
+								\includegraphics[width=0.9\textwidth]{figs/diff_date.pdf}
+							\end{figure}
+						\end{minipage}
+					\end{myblock}\vfill
+		}\end{minipage}\end{beamercolorbox}
+	\end{column}
+	\begin{column}{.59\textwidth}
+		\begin{beamercolorbox}[center]{postercolumn}
+			\begin{minipage}{.98\textwidth} % tweaks the width, makes a new \textwidth
+				\parbox[t][\columnheight]{\textwidth}{ % must be some better way to set the the height, width and textwidth simultaneously
+					\begin{myblock}{Technologies}
+						\vspace{0.75em}
+						\begin{minipage}{.28\textwidth}
+							\begin{figure}
+								\includegraphics[width=0.9\textwidth]{figs/diff_fig.pdf}
+							\end{figure}
+						\end{minipage}~
+						\begin{minipage}{.68\textwidth}
+						\end{minipage}
+					\end{myblock}\vfill
+					\begin{myblock}{Technologies}
+						\vspace{0.75em}
+						\begin{minipage}{.28\textwidth}
+							\begin{figure}
+								\includegraphics[width=0.9\textwidth]{figs/diff_fig.pdf}
+							\end{figure}
+						\end{minipage}~
+						\begin{minipage}{.68\textwidth}
+						\end{minipage}
+					\end{myblock}\vfill
+		}\end{minipage}\end{beamercolorbox}
+	\end{column}
+\end{columns}
+\end{frame}
+\end{document}

+ 18 - 10
publishing/sty/beamerthemeZH.sty

@@ -1,5 +1,6 @@
-% this style was created by Horea Christian and is basted on the ETH Zürich corporate design color palette https://www.ethz.ch/services/en/service/communication/corporate-design/colour.html
-\ProvidesPackage{beamerthemeZH}
+% this style was created by Horea Christian and is basted on the Dartmouth visual identity color palette:
+% https://communications.dartmouth.edu/visual-identity/applying-visual-identity
+\ProvidesPackage{beamerthemeDartmouth}
 
 \newcommand{\vcenteredinclude}[1]{\begingroup
 \setbox0=\hbox{\includegraphics[width=.8\textwidth, height=.06\paperheight, keepaspectratio]{#1}}%
@@ -11,6 +12,9 @@
 
 \mode<presentation>
 
+\definecolor{DartmouthBG}{RGB}{0,105,62}
+\definecolor{Dartmouth1}{RGB}{18,49,43}
+
 \definecolor{ETH1}{RGB}{31,64,122}
 \definecolor{ETH3}{RGB}{0,105,180}
 \definecolor{ETH6}{RGB}{111,111,110}
@@ -23,7 +27,7 @@
 %It seems many of the following entries do not control any visible Behaviour. All such entries are
 %set to red, so that they are easy to spot if they ever become visible
 
-\setbeamercolor{headline}{fg=red,bg=ETH3} % This is the recommended color for Specialist community usage: change to ETH1 for general communication
+\setbeamercolor{headline}{fg=red,bg=DartmouthBG}
 \setbeamercolor{footline}{fg=red, bg=red}
 \setbeamerfont{footline}{size=\large,series=\bf}
 \setbeamercolor{separation line}{bg=ETH3}
@@ -32,7 +36,7 @@
 \setbeamercolor{institute in headline}{fg=white}
 
 \setbeamercolor{framesubtitle}{fg=red, bg=ta2gray}
-\setbeamercolor{author in head/foot}{fg=white, bg=ETH3}
+\setbeamercolor{author in head/foot}{fg=white, bg=DartmouthBG}
 \setbeamercolor{title in head/foot}{fg=red, bg=red}
 
 \setbeamercolor*{normal text}{fg=ETH6, bg=tlg}
@@ -85,26 +89,30 @@
 	\leavevmode
 	\begin{beamercolorbox}[wd=\paperwidth]{headline}
 		\vspace{3.ex}\\
+		\vspace{1em}
 		\begin{columns}[c]
 			\begin{column}{.06\paperwidth}
 			\end{column}
-			\begin{column}{.75\paperwidth}
+			\begin{column}{.82\paperwidth}
 				\raggedleft
 				\usebeamercolor{title in headline}{\color{fg}\textbf{\Huge{\inserttitle}}\\[1ex]}
 				\usebeamercolor{author in headline}{\color{fg}\Large{\insertauthor}\\[1ex]}
+				\vspace{-.5em}
 				\usebeamercolor{institute in headline}{\color{fg}\normalsize{\insertinstitute}\\[1ex]}
 			\end{column}
 			\begin{column}{.01\paperwidth}
 			\end{column}
-			\begin{column}{.16\paperwidth}
+			\begin{column}{.10\paperwidth}
+				\vspace{-1em}
                                 \begin{center}
-                                        \includegraphics[width=.9\textwidth, height=.52\textwidth, keepaspectratio]{img/zh_logo}
+                                        \includegraphics[width=.9\textwidth, height=.77\textwidth, keepaspectratio]{img/dartmouth_shield_inverted_nomargins}
                                 \end{center}
                         \end{column}
-			\begin{column}{.02\paperwidth}
+			\begin{column}{.015\paperwidth}
 			\end{column}
 		\end{columns}
 		\vspace{3.ex}\\
+		\vspace{1em}
 	\end{beamercolorbox}
 
  	\begin{beamercolorbox}[wd=\paperwidth]{lower separation line head}
@@ -122,9 +130,9 @@
 	\begin{beamercolorbox}[ht=4ex,leftskip=1cm,rightskip=1cm]{author in head/foot}%
 		\href{http://doi.org/10.5281/zenodo.3477675}{DOI: 10.5281/zenodo.3477675}
 		\hfill
-		Open Innovation in Life Sciences --- 2019-10-10
+		Society for Neuroscience --- 2023-11-10
 		\hfill
-		\href{mailto:my_address@wikibooks.org}{ioanas@biomed.ee.ethz.ch}
+		\href{mailto:uni@chymera.eu}{uni@chymera.eu}
 		\vskip1ex
 	\end{beamercolorbox}
 	\vskip0pt%