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 142 143 144
|
% This is a template for using the ffslides class. It contains brief
% documentation of the class's facilities. See the file ffslides_doc.pdf and/or
% ffslides.cls for more detail.
%
% Available options:
% showgrid Puts a 100x100 grid (with color ffgridcolor) over the
% background.
% <name> If option <name> is entered, then a file matching
% bground-<name>.txt is read to produce the background.
% Files matching header-<name>.txt or footer-<name>.txt
% are read to define the header or footer, respectively.
% More than one such option can be specified, but only
% the first match of each kind is used.
% draft, leqno Passed on to article class on which ffslides is based.
% fleqn, openbib Passed on to article class.
% 10pt, 11pt, 12pt Passed on to article class (only need to set this for
% font or package compatibility).
\documentclass[showgrid]{ffslides}
%
%
%##############################################################################
%### BEGIN SET UP VISUAL STYLE ###
%##############################################################################
%=== Change page size/dimensions ===
% Use \ffpage{<lines_tall>}{<aspect_ratio>} To specify page dimensions. E.g.
% use 1.3333 for 4:3 pages, 1.7778 for 16:9 pages.
%=== Set up fonts ===
% It is not necessary to put anything here, but this is a good place to put any
% font-related preamble lines. For convenience here are some (not all) packages
% that allow selection of different matched text + math fonts.
% \usepackage{fourierNC} %-New Century Schoolbook + Fourier math
% \usepackage{newcent} %-Century Schoolbook
% \usepackage{mathptmx} %-Times
% \usepackage{bookman} %-bookman
% \usepackage{mathpple} %-palatino
% \usepackage{mathpazo} %-palatino
% \usepackage{arev} %-arev
%=== Load needed packages ===
% Packages pstricks, geometry, lastpage, twoopt, and graphics are loaded with
% the class. Here, load any packages you need to make your design (e.g. pst-*
% packages for additional pstricks capabilities).
%=== Define colors ===
% Define any colors you will need. Use the pstricks facilities, e.g.:
% \newrgbcolor{<name>}{R G B}
% \newgray{<name>}{graylevel}
% Use name ffgridcolor to change the color of the alignment grid (if using
% option showgrid, or the \gridon command)
%=== Redefine the background ===
% If not using the default background or setting the background through the
% class options, customize the background with
% \renewcommand{\drawbackground}{<code>}
%=== Redefine the header ===
% If not using the default header or the class option, customize the header with
% \renewcommand{\drawheader}[1]{<code>}. Remember that this command takes one
% argument (the slide title).
%=== Redefine the footer ===
% If not using the default footer or the class option, customize the footer with
% \renewcommand{\drawfooter}{<code>}.
%=== Control the dtext, ctext, and btext regions ===
% Use \renewcommand to change from the defaults.
% * For dtext, you may change \dtexttopedge, \dtextleftedge, \dtextrightedge,
% and \dtextinclude.
% * For ctext, you may change \ctextinclude.
% * For btext, you may change \btextboxinclude and you can change the default
% box style using \newpsstyle{btextboxstyle}{<pstricks parameters list>}
% The "include" macros are inserted just before the contents of their respective
% boxes, so they can be used to set default colors, line spacing, \parskip, and
% so on for the contents of each type of box.
%=== Change default bullets for \qi, \qii, \qiii ===
% Use \renewcommand to re-define \qitemi, \qitemii, or \qitemiii to specify
% what is to appear by default in the "bullet" or "left side" of the \qi, \qii,
% and \qiii structures. By default these mimic the default bullets in an
% itemize list. These commands are purely optional.
%##############################################################################
%### END SET UP VISUAL STYLE ###
%##############################################################################
%=== Place your own macros below this line ====================================
% A few potentially useful packages are listed here for convenience:
%\usepackage{setspace} %use, e.g., \begin{spacing}{2.5} blahblah \end{spacing}
%\usepackage{bbding} %dingbat fonts e.g. for bullets
%\usepackage{amsmath}
%\usepackage{amssymb}
%\usepackage[normalem]{ulem} %better underlines and other text decoration
%\usepackage{multicol} %multi-column in a minipage (e.g. for contents, refs)
%\usepackage{enumitem} %easier control of lists
%##############################################################################
%### BEGIN DOCUMENT ###
%##############################################################################
\begin{document}
%---------------------------------------
\blankpage
\ctext[c]{0.5}{0.4}{0.7}{\centering This could become a title page.}
%---------------------------------------
\normalpage{This is a normal page}{%
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.
For more guidance please see ffslides.doc or the class file itself.
}
\end{document}
|