Debian Codegraph @

texmf-dist/doc/latex/ffslides/ffslides-template.tex

raw
1 % This is a template for using the ffslides class. It contains brief
2 % documentation of the class's facilities. See the file ffslides_doc.pdf and/or
3 % ffslides.cls for more detail.
4 %
5 % Available options:
6 % showgrid Puts a 100x100 grid (with color ffgridcolor) over the
7 % background.
8 % <name> If option <name> is entered, then a file matching
9 % bground-<name>.txt is read to produce the background.
10 % Files matching header-<name>.txt or footer-<name>.txt
11 % are read to define the header or footer, respectively.
12 % More than one such option can be specified, but only
13 % the first match of each kind is used.
14 % draft, leqno Passed on to article class on which ffslides is based.
15 % fleqn, openbib Passed on to article class.
16 % 10pt, 11pt, 12pt Passed on to article class (only need to set this for
17 % font or package compatibility).
18 \documentclass[showgrid]{ffslides}
19 %
20 %
21 %##############################################################################
22 %### BEGIN SET UP VISUAL STYLE ###
23 %##############################################################################
24
25 %=== Change page size/dimensions ===
26 % Use \ffpage{<lines_tall>}{<aspect_ratio>} To specify page dimensions. E.g.
27 % use 1.3333 for 4:3 pages, 1.7778 for 16:9 pages.
28
29
30 %=== Set up fonts ===
31 % It is not necessary to put anything here, but this is a good place to put any
32 % font-related preamble lines. For convenience here are some (not all) packages
33 % that allow selection of different matched text + math fonts.
34 % \usepackage{fourierNC} %-New Century Schoolbook + Fourier math
35 % \usepackage{newcent} %-Century Schoolbook
36 % \usepackage{mathptmx} %-Times
37 % \usepackage{bookman} %-bookman
38 % \usepackage{mathpple} %-palatino
39 % \usepackage{mathpazo} %-palatino
40 % \usepackage{arev} %-arev
41
42
43
44 %=== Load needed packages ===
45 % Packages pstricks, geometry, lastpage, twoopt, and graphics are loaded with
46 % the class. Here, load any packages you need to make your design (e.g. pst-*
47 % packages for additional pstricks capabilities).
48
49
50
51 %=== Define colors ===
52 % Define any colors you will need. Use the pstricks facilities, e.g.:
53 % \newrgbcolor{<name>}{R G B}
54 % \newgray{<name>}{graylevel}
55 % Use name ffgridcolor to change the color of the alignment grid (if using
56 % option showgrid, or the \gridon command)
57
58
59
60 %=== Redefine the background ===
61 % If not using the default background or setting the background through the
62 % class options, customize the background with
63 % \renewcommand{\drawbackground}{<code>}
64
65
66
67 %=== Redefine the header ===
68 % If not using the default header or the class option, customize the header with
69 % \renewcommand{\drawheader}[1]{<code>}. Remember that this command takes one
70 % argument (the slide title).
71
72
73
74
75 %=== Redefine the footer ===
76 % If not using the default footer or the class option, customize the footer with
77 % \renewcommand{\drawfooter}{<code>}.
78
79
80
81
82 %=== Control the dtext, ctext, and btext regions ===
83 % Use \renewcommand to change from the defaults.
84 % * For dtext, you may change \dtexttopedge, \dtextleftedge, \dtextrightedge,
85 % and \dtextinclude.
86 % * For ctext, you may change \ctextinclude.
87 % * For btext, you may change \btextboxinclude and you can change the default
88 % box style using \newpsstyle{btextboxstyle}{<pstricks parameters list>}
89 % The "include" macros are inserted just before the contents of their respective
90 % boxes, so they can be used to set default colors, line spacing, \parskip, and
91 % so on for the contents of each type of box.
92
93
94
95
96 %=== Change default bullets for \qi, \qii, \qiii ===
97 % Use \renewcommand to re-define \qitemi, \qitemii, or \qitemiii to specify
98 % what is to appear by default in the "bullet" or "left side" of the \qi, \qii,
99 % and \qiii structures. By default these mimic the default bullets in an
100 % itemize list. These commands are purely optional.
101
102
103
104
105 %##############################################################################
106 %### END SET UP VISUAL STYLE ###
107 %##############################################################################
108
109 %=== Place your own macros below this line ====================================
110
111
112 % A few potentially useful packages are listed here for convenience:
113 %\usepackage{setspace} %use, e.g., \begin{spacing}{2.5} blahblah \end{spacing}
114 %\usepackage{bbding} %dingbat fonts e.g. for bullets
115 %\usepackage{amsmath}
116 %\usepackage{amssymb}
117 %\usepackage[normalem]{ulem} %better underlines and other text decoration
118 %\usepackage{multicol} %multi-column in a minipage (e.g. for contents, refs)
119 %\usepackage{enumitem} %easier control of lists
120
121
122
123
124 %##############################################################################
125 %### BEGIN DOCUMENT ###
126 %##############################################################################
127 \begin{document}
128
129 %---------------------------------------
130 \blankpage
131 \ctext[c]{0.5}{0.4}{0.7}{\centering This could become a title page.}
132
133 %---------------------------------------
134 \normalpage{This is a normal page}{%
135 Using \texttt{\textbackslash normalpage\{title\}\{contents\}} creates a new page, adds in the background, header, and footer, and puts its second argument (the contents of the page, i.e. this text) into a \texttt{\textbackslash dtext} box.
136
137 For more guidance please see ffslides.doc or the class file itself.
138 }
139
140 \end{document}
141
142
143
144