-
Notifications
You must be signed in to change notification settings - Fork 0
/
open_science_poster.Rnw
141 lines (108 loc) · 3.88 KB
/
open_science_poster.Rnw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
%%%------------------------------------------------------------------------------------%%
%%%------------------------------------------------------------------------------------%%
%%% Content: Open-Science-Poster LaTeX Scaffold
%%% Usage: Collaborative scientific poster writing
%%% Author: Claas-Thido Pfaff
%%%------------------------------------------------------------------------------------%%
%%%------------------------------------------------------------------------------------%%
%%%------------------------------------------------------------------------------%%%
%%% Document class: open_science_poster (Based on beamer and beamer poster) %%%
%%%------------------------------------------------------------------------------%%%
%%
%
\documentclass[blue]{usr/subdocuments/open_science_poster}
% Class options:
% colors: gray, blue, green, red, orange (default = grey)
% head separator: default on (switch off with: noheadsep)
% long, wide (switch between orientation)
%%%------------------------------------------------------------------------------%%%
%%% Load user options %%%
%%%------------------------------------------------------------------------------%%%
\input{usr/subdocuments/open_science_poster.sty}
%%%------------------------------------------------------------------------------%%%
%%% Begin the document %%%
%%%------------------------------------------------------------------------------%%%
\begin{document}
%%%--------------------------------------------------------------%%%
%%% Document preparations %%%
%%%--------------------------------------------------------------%%%
%%
%
%%%-------------------------------------------------%%%
%%% Preferences for Knitr %%%
%%%-------------------------------------------------%%%
<<global_knitr_options, child='usr/subdocuments/osp_global_knitr_options.Rnw', eval=TRUE>>=
@
%%%--------------------------------------------------------------%%%
%%% Document content %%%
%%%--------------------------------------------------------------%%%
%%
%
\begin{frame}[t]
\begin{columns}[t]
%% First column %%%
\begin{column}{0.28\paperwidth}
\begin{alertblock}{Abstract}
\lipsum[1]
\end{alertblock}
\begin{alertblock}{Questions}
\begin{itemize}
\item One?
\item Two?
\item Three?
\end{itemize}
\end{alertblock}
\begin{block}{Introduction}
\lipsum[1-2]
\end{block}
\begin{exampleblock}{}
\begin{figure}[H] % {{{
% Label fig:test_plot
\centering
\begin{tikzpicture}
\node[pictureframe]{%
\begin{minipage}{0.95\textwidth}%
\begin{center}
<<test_plot, cache=T, fig.width=6, fig.height=5, out.width='\\textwidth', echo=FALSE>>=
suppressPackageStartupMessages(library(ggplot2))
ggplot(cars, aes(x=dist, y=speed)) +
geom_point(shape=1) + geom_smooth(method = "lm", size = 1) +
theme_bw() +
theme(panel.grid.major=element_blank(), panel.grid.minor=element_blank())
@
\end{center}
\end{minipage}
};
\end{tikzpicture}
\caption{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean
commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et
magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis,
ultricies nec, pellentesque eu, pretium quis, sem.}
\label{fig:test_plot}
\end{figure} % }}}
\end{exampleblock}
%% End first column %%%
\end{column}
%% Second column %%%
\begin{column}{0.28\paperwidth}
\begin{block}{Material and Methods}
\lipsum[2]
\end{block}
%% End second column %%%
\end{column}
%% Third column %%%
\begin{column}{0.28\paperwidth}
\begin{alertblock}{Answers}
\begin{itemize}
\item One!
\item Two!
\item Three!
\end{itemize}
\end{alertblock}
\begin{exampleblock}{}
\lipsum[2-3]
\end{exampleblock}
\end{column}
\end{columns}
\end{frame}
\end{document}