Debian Codegraph @

texmf-dist/doc/latex/tikzposter/tikzposter-example.tex

raw
1 %%
2 %% This is file `tikzposter-example.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% tikzposter.dtx (with options: `tikzposter-example.tex')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright (C) 2014 by Pascal Richter, Elena Botoeva, Richard Barnard, and Dirk Surmann
12 %%
13 %% This file may be distributed and/or modified under the
14 %% conditions of the LaTeX Project Public License, either
15 %% version 2.0 of this license or (at your option) any later
16 %% version. The latest version of this license is in:
17 %%
18 %% http://www.latex-project.org/lppl.txt
19 %%
20 %% and version 2.0 or later is part of all distributions of
21 %% LaTeX version 2013/12/01 or later.
22 %%
23
24
25
26
27
28
29
30
31 \documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=15mm,
32 blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter} %Default values for poster format options.
33
34 \tikzposterlatexaffectionproofon %shows small comment on how the poster was made at bottom of poster
35
36 % Commands
37 \newcommand{\bs}{\textbackslash} % backslash
38 \newcommand{\cmd}[1]{{\bf \color{red}#1}} % highlights command
39
40 % Title, Author, Institute
41 \title{Using tikzposter}
42 \author{Pascal Richter, Elena Botoeva, Richard Barnard, \& Dirk Surmann}
43 \institute{}
44
45 % -- PREDEFINED THEMES ---------------------- %
46 % Choose LAYOUT: Default, Basic, Rays, Simple, Envelope, Wave, Board, Autumn, Desert,
47 \usetheme{Autumn}
48 \usecolorstyle[colorPalette=BrownBlueOrange]{Germany}
49
50
51 \begin{document}
52
53 \maketitle
54
55 \begin{columns}%blocks will be placed into columns
56 \column{.55}
57 \block[roundedcorners=40]{Creating the document}{
58 The document begins with:
59 \begin{quote}
60 \texttt{\bs documentclass[25pt, a0paper, portrait, margin=10mm, innermargin=15mm,
61 blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]\{tikzposter\}\\
62 \bs title\{Title\}\\
63 \bs author\{Author(s)\}\\
64 \bs institute\{Institute \}\\
65 \bs titlegraphic\{Logo\}\\
66 \bs begin\{document\}\\
67 \bs maketitle}
68 \\ \dots \end{quote}
69
70 \begin{tikzfigure}[A figure can be made with \bs \texttt{tikzfigure}; \bs\texttt{figure} does not work]
71 \begin{tikzpicture}
72 \draw[draw=none,inner color=red, outer color=green] (0,0) circle (1.5cm);
73 \end{tikzpicture}
74 \end{tikzfigure}
75 \innerblock[]{Inner Blocks}{Inner blocks may be created inside of blocks with the command \bs\texttt{innerblock[{\it options}]\{{\it Heading}\}\{{\it Text}\}} }
76 \coloredbox{Text may be highlighted using colored boxes created by \bs\texttt{coloredbox[{\it options}]\{{\it Text\}}}}
77
78 }
79 \note[targetoffsetx=-.05\textwidth,targetoffsety=9.5cm,innersep=.4cm,angle=-45,connection]{Optional arguments for the format of the poster}
80 \block{The title matter}{
81 The title is made by the standard \texttt{\bs maketitle[{\it options}]} command where you can alter the \texttt{width}, the spacing between the title and top of the poster (\texttt{titletotopverticalspace}), the bottom of the title to the main content of the poster (\texttt{titletoblockverticalspace}) and the space between the title information and the logo (\texttt{titlegraphictotitleverticalspace}).
82
83 If the default format of the title is not to your liking, you can define the placement of the different items via the \texttt{\bs settitle} command, described in the manual.
84 }
85 \block{Blocks}{
86 Blocks are arranged in a grid, by default, with width by default \texttt{\bs textwdith}. They are created by the command
87 \begin{quote}
88 \bs\texttt{block [{\it options}] \{{\it title}\}\{{\it contents}\}}
89 \end{quote}
90 The title may be left empty, resulting in no title area being created for the block (as seen in a later block to the right). Further blocks will be placed below automatically, at a distance defined by \texttt{blockverticalspace}.
91
92 If you want to change the position of the title matter or the contents in the block, you may by setting in the options
93 \begin{quote}
94 \texttt{titleoffsetx, titleoffsety, bodyoffsetx, bodyoffsety}
95 \end{quote}
96 which let you adjust the vertical or horizontal position of the two parts of the block, respectively. You can also make, relative to the default width, the title and block body by setting
97 \begin{quote}
98 \texttt{titlewidthscale, bodywidthscale}
99 \end{quote}
100 The title's alignment can be set by \texttt{titleleft, titlecenter, titleright}, the body may be shifted vertically by setting \texttt{bodyverticalshift}, and the shape of the block can be altered by setting \texttt{roundedcorners, linewidth}. The inner margins of the title can by set by \texttt{titleinnersep,bodyinnersep}.
101 }
102
103 \note[targetoffsetx=24cm, targetoffsety=-9cm,rotate=1,angle=270,radius=8cm,width=.75\textwidth,innersep=.4cm]{
104 You can place notes that are ``attached'' to the previous block using the command
105 \begin{quote} \texttt{\bs note[{\it options}]\{{\it contents}\}}\end{quote}
106 The note is placed by default slightly to the right of a ``target'' in the center of the previous block. The note style may also allow for a connection between the note and the ``target''. \\
107 The target may be shifted from the default by setting the options \texttt{targetoffsetx, targetoffsety}, rotated by an angle with \texttt{rotate}, and its width with \texttt{width}. The placement of the note in relation with the target is given in polar coordinates with \texttt{ radius, angle}. Please observe that notes are always drawn {\bf over} the other objects. They do not affect the placement of blocks.
108 }
109
110 \column{.45}
111 \block{Columns}{
112 By default, blocks are arranged in a single column. If you want multiple columns for your poster, you may use the \texttt{columns} environment. For example,
113 \begin{quote}
114 \texttt{\noindent \bs begin\{columns\}\\
115 \bs column\{.6\}\\
116 \bs block\{\dots\}\{\dots\}\\
117 \bs column\{.4\}\\
118 \bs block\{\dots\}\{\dots\}\\
119 \bs block\{\dots\}\{\dots\}\\
120 \bs end\{columns\}
121 }
122 \end{quote}
123 will create two columns of 60\% and 40\% the available width; spacing between successive columns is handled automatically. The block command(s) following \texttt{\bs column} are the blocks to go in that column. The number of columns is free to be chosen, but the relative widths must all be chosen. If the widths sum to less than 1, empty space will be seen on the right. If they sum to more than 1, the latter columns will be cut off.
124 }
125
126 \begin{subcolumns}
127 \subcolumn{.45}
128 \block{Subcolumns}{If you want to have an additional subdivision of columns inside a column, you may use the\\ \texttt{\bs subcolumns} environment inside of a column environment. The functionality is similar to that of columns, but now the widths are relative to the width of the current column.}
129
130 \subcolumn{.5}
131 \block{}{An example use of subcolumns is.
132 \begin{quote}
133 \texttt{\bs begin\{subcolumns\}\\
134 \bs subcolumn\{.6\}\\
135 \bs block\{\dots\}\{\dots\}\\
136 \bs subcolumn\{.4\}\\
137 \bs block\{\dots\}\{\dots\}\\
138 \bs block\{\dots\}\{\dots\}\\
139 \bs end\{subcolumns\}
140 }
141 \end{quote}
142 }
143 \end{subcolumns}
144
145 \block[titlewidthscale=.8,bodywidthscale=.9,titleoffsety=9.5mm,bodyoffsety=9mm]{Changing the Poster's Appearance}{
146 If the default appearance of the title, background, blocks, and notes is not desired, you may change the colors by calling the color style along with a general layout theme with the commands
147 \begin{quote}
148 \texttt{\bs usecolorpalette}\{{\em color palette}\}\\
149 \texttt{\bs usecolorstyle\{{\em color style}\}}
150 \end{quote}
151 and
152 \begin{quote}
153 \texttt{\bs usetheme\{{\em layout style}\}}
154 \end{quote}
155 where the color palette and style and layout style are either the name of a custom made or one of the offered predefined choices listed in the manual or the comments of this poster's source. Individual changes can be made to the style of the background, title matter, blocks, inner blocks, and notes by using one of the following (along with either a custom-designed style or a predefined style listed in the manual or the comments of this poster's source). These changes are made with the commands
156 \begin{quote}
157 \texttt{\bs usebackgroundstyle[]\{\}, \bs usetitlestyle[]\{\},\\ \bs useblockstyle[]\{\},\bs innerblockstyle[]\{\}, \bs usenotestyle[]\{\}}
158 \end{quote}
159 Custom styles for these can be made; this is detailed in the manual.
160 }
161
162 \end{columns}
163
164 \block[titleoffsety=-1cm,bodyoffsety=-1cm]{Sample document}{\vspace{2em}
165 This poster was created by the following commands (omitting the contents of the blocks and notes) to give a sense of how different objects are created and options used.
166 \begin{quote}
167 \texttt{\bs documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=15mm,
168 blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]\{tikzposter\}\\
169 \bs title\{Using tikzposter\} \bs author\{Pascal Richter, Elena Botoeva, Richard Barnard, \& Dirk Surmann\} \bs institute\{\}\\
170 \bs usetheme\{Autumn\}\bs usecolorstyle[colorPalette=BrownBlueOrange]\{Germany\}\\
171 \bs begin\{document\}\bs maketitle\\
172 \bs begin\{columns\} \bs column\{0.55\}\\
173 \bs block\{Creating the document\}\{The document\dots\} \bs note[targetoffsetx=-.05\bs textwidth,targetoffsety=9.5cm,innersep=.4cm,angle=-45,connection]\{\dots\}\\
174 \bs block\{The title matter\}\{The title\dots\}\\
175 \bs block\{Blocks\}\{Blocks are\dots\} \bs note[targetoffsetx=24cm, targetoffsety=-9cm,rotate=1,angle=270,radius=8cm,width=.75\bs textwidth,innersep=.4cm]\{You can\dots\}\\
176 \bs column\{0.45\} \bs block\{Columns\}\{By default,\dots\}\\
177 \bs begin\{subcolumns\} \bs subcolumn\{.45\}
178 \bs block\{Subcolumns\}\{If you\dots\}
179 \bs subcolumn\{.5\} \bs block\{\}\{An example\dots\}
180 \bs end\{subcolumns\}\\
181 \bs block[titlewidthscale=.8,bodywidthscale=.9,titleoffsety=9.5mm,bodyoffsety=9mm]\{Changing the Poster's Appearance\}\{If the default\dots\}
182 \bs end\{columns\}\\
183 \bs block[titleoffsety=-1cm,bodyoffsety=-1cm]\{Sample document\}\{This poster\dots\}\\
184 \bs end\{document\}
185 }
186 \end{quote}
187 }
188
189 \end{document}
190
191
192
193
194 \endinput
195 %%
196 %% End of file `tikzposter-example.tex'.