summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-06-16 13:49:42 +0000
committerKarl Berry <karl@freefriends.org>2006-06-16 13:49:42 +0000
commit55554d091fb71035a766149e43e7cf94b2814714 (patch)
tree285b3b3686406268526ac8b0c99580acbfd4477d
parentf4274a0601c40081c1a6d35a870779a763c43512 (diff)
sciposter 1.17
git-svn-id: svn://tug.org/texlive/trunk@1686 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/sciposter/README2
-rw-r--r--Master/texmf-dist/doc/latex/sciposter/sciposterexample/sciposter-example.tex8
-rw-r--r--Master/texmf-dist/doc/latex/sciposter/scipostermanual.pdfbin124305 -> 128244 bytes
-rw-r--r--Master/texmf-dist/tex/latex/sciposter/sciposter.cls143
-rw-r--r--Master/texmf-dist/tpm/sciposter.tpm6
5 files changed, 130 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/sciposter/README b/Master/texmf-dist/doc/latex/sciposter/README
index 4dc8858b69d..f8a69537f19 100644
--- a/Master/texmf-dist/doc/latex/sciposter/README
+++ b/Master/texmf-dist/doc/latex/sciposter/README
@@ -16,5 +16,5 @@ graphicspath settings are ignored.
An example can be found in the sciposterexample directory.
-(c) 2004, 2005 RuG
+(c) 2004-2006 University of Groningen
Michael Wilkinson
diff --git a/Master/texmf-dist/doc/latex/sciposter/sciposterexample/sciposter-example.tex b/Master/texmf-dist/doc/latex/sciposter/sciposterexample/sciposter-example.tex
index 2f5f294d46f..afc2144e462 100644
--- a/Master/texmf-dist/doc/latex/sciposter/sciposterexample/sciposter-example.tex
+++ b/Master/texmf-dist/doc/latex/sciposter/sciposterexample/sciposter-example.tex
@@ -56,6 +56,14 @@
\conference{{\bf ICPR 2002}, 16th International Conference on Pattern
Recognition, 11-15 August 2002, Qu\'ebec City, Canada}
+% Some examples of caption control (remove % to check result)
+
+%\renewcommand{\algorithmname}{Algoritme} % for Dutch
+
+%\renewcommand{\mastercapstartstyle}[1]{\textit{\textbf{#1}}}
+%\renewcommand{\algcapstartstyle}[1]{\textsc{\textbf{#1}}}
+%\renewcommand{\algcapbodystyle}{\bfseries}
+%\renewcommand{\thealgorithm}{\Roman{algorithm}}
\maketitle
diff --git a/Master/texmf-dist/doc/latex/sciposter/scipostermanual.pdf b/Master/texmf-dist/doc/latex/sciposter/scipostermanual.pdf
index c59a0327832..6e7c2526a33 100644
--- a/Master/texmf-dist/doc/latex/sciposter/scipostermanual.pdf
+++ b/Master/texmf-dist/doc/latex/sciposter/scipostermanual.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/sciposter/sciposter.cls b/Master/texmf-dist/tex/latex/sciposter/sciposter.cls
index 1c24dbe6dd5..6dcdb35381d 100644
--- a/Master/texmf-dist/tex/latex/sciposter/sciposter.cls
+++ b/Master/texmf-dist/tex/latex/sciposter/sciposter.cls
@@ -1,17 +1,30 @@
%%
-%% This is file `sciposter.cls' v 1.15
+%% This is file `sciposter.cls' v 1.17
%%
%% Authors Michael H.F. Wilkinson and Alle Meije Wink
-%% October 20, 2005
+%% June 15, 2006
%%
%% Derived from IWIposter.cls, 18/11/2003, same authors
%% Problems, bugs and comments to
-%% michael@cs.rug.nl
+%% m.h.f.wilkinson@rug.nl
+%% version 1.17, 2006/06/15 :
+%% - interfacing to babel implemented by using \figurename
+%% and \tablename in table caption. Thanks to Marcus
+%% Guenther for pointing out the problem.
+%% - \algorithmname added for easy changing of algorithm
+%% caption start, for similar reasons as above
+%% - posibilities for changing caption style added
+%% - \setmargins added as command
+%% - \noindent added to figure, algorithm, and table
+%% environments to obtain correct layout if \parindent
+%% is not zero (the default). Suggested by Pavel Rehulka
+%% version 1.16, 2006/03/28 :
+%% - plainboxsection option added, by popular request
%% version 1.15, 2005/10/20 :
-%% - \caption given extra optional parameter indicating
-%% which fraction of \columnwidth the width should be
-%% (default 1). Thanks to Andreas Engel for this
-%% suggestion.
+%% - \caption given extra optional parameter indicating
+%% which fraction of \columnwidth the width should be
+%% (default 1). Thanks to Andreas Engel for this
+%% suggestion.
%% version 1.14, 2005/09/02 :
%% - \centering (in stead of the center environment) can now
%% be used within figure environment without unwanted
@@ -41,12 +54,13 @@
%% ANSI E?).
%% - Boxed section headers work better on small paper now.
%% version 1.00, 2004/02/16 :
-%% Essentially IWIposter.cls v1.16, but without explicit
-%% reference to University of Groningen and Institute for
-%% Mathematics and Computing Science
-%% Formatting for logos is provided but no defaults available
+%% - Essentially IWIposter.cls v1.16, but without explicit
+%% reference to University of Groningen and Institute for
+%% Mathematics and Computing Science
+%% Formatting for logos is provided but no defaults
+%% available
%%
-\ProvidesClass{sciposter}[2005/10/20 v1.15 scientific poster class (MHFW, AMW)]
+\ProvidesClass{sciposter}[2006/05/30 v1.17 scientific poster class (MHFW, AMW)]
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\LoadClass{article}
\RequirePackage{ifthen}
@@ -95,6 +109,10 @@
\renewcommand{\sectionsize}{\Large}
\renewcommand{\subsectionsize}{\large}
}
+\DeclareOption{plainboxedsections}{
+\renewcommand{\secstyle}{plainboxed}
+}
+
% BUILT IN ISO paper size support
\DeclareOption{a0}{% ISO A0 paper
\renewcommand{\papertype}{a0}
@@ -273,12 +291,14 @@
\newlength{\logowidth}
-\newcommand{\setuppage}{
- \ifthenelse{\equal{\orientation}{landscape}}{
- \setlength{\papermargin}{0.06\paperheight}
+\newcommand{\setmargins}[1][]{
+ \ifthenelse{\equal{#1}{}}{
+ \ifthenelse{\equal{\orientation}{landscape}}{
+ \setlength{\papermargin}{0.06\paperheight}
}{
- \setlength{\papermargin}{0.06\paperwidth}
+ \setlength{\papermargin}{0.06\paperwidth}
}
+ }{\setlength{\papermargin}{#1}}
\setlength{\textwidth}{\paperwidth}
\addtolength{\textwidth}{-2\papermargin}
\setlength{\textheight}{\paperheight}
@@ -304,7 +324,7 @@
}
-\setuppage
+\setmargins
\ifthenelse{\equal{\fontpointsize}{20pt}}{
\renewcommand{\tiny}{\fontsize{10}{12}\selectfont}
@@ -670,6 +690,49 @@
\end{center}
\par\vspace{0.375\secskip}
}
+%%% \replacement for \section
+% with colored section-title and automatic numbering
+\newcommand{\PlainBoxSection}[2][?]{
+ \vspace{\secskip}
+ \refstepcounter{section}
+ \begin{center}
+ \setlength{\secboxwidth}{\columnwidth}
+ \addtolength{\secboxwidth}{-1cm}
+ \setlength{\fboxrule}{2pt}
+ \setlength{\fboxsep}{0pt}
+ \fbox{\colorbox{BoxCol}{
+ \begin{minipage}[c]{\secboxwidth}
+ \vspace{1.1ex}
+ \begin{center}
+ {\bf\sectionsize\textcolor{SectionCol}{\arabic{section}.~#2}}
+ \end{center}
+ \vspace{0.2ex}
+ \end{minipage}
+ }}
+ \end{center}
+ \par\vspace{0.375\secskip}
+}
+%
+\newcommand{\sPlainBoxSection}[1]{
+ \vspace{\secskip}
+ \begin{center}
+ \setlength{\secboxwidth}{\columnwidth}
+ \addtolength{\secboxwidth}{-1cm}
+ \setlength{\fboxrule}{2pt}
+ \setlength{\fboxsep}{0pt}
+ \fbox{\colorbox{BoxCol}{
+ \begin{minipage}[c]{\secboxwidth}
+ \vspace{1.1ex}
+ \begin{center}
+ {\bf\sectionsize\textcolor{SectionCol}{#1}}
+ \end{center}
+ \vspace{0.2ex}
+ \end{minipage}
+ }}
+ \end{center}
+ \par\vspace{0.375\secskip}
+}
+%
%
%
%
@@ -679,8 +742,12 @@
}{
\ifthenelse{\equal{\secstyle}{plain}}{
\renewcommand{\section}{\secdef\PlainSection\sPlainSection}
- }{
- \renewcommand{\section}{\secdef\Section\sSection}
+ }{
+ \ifthenelse{\equal{\secstyle}{plainboxed}}{
+ \renewcommand{\section}{\secdef\PlainBoxSection\sPlainBoxSection}
+ }{
+ \renewcommand{\section}{\secdef\Section\sSection}
+ }
}
}
%%% \SubSection - replacement for \subsection
@@ -719,26 +786,48 @@
\end{tabular}
}
+%%% caption formatting commands
+\newcommand{\mastercapstartstyle}[1]{\textbf{#1}}
+\newcommand{\mastercapbodystyle}{\itshape}
+\newcommand{\capbodystyle}{\mastercapbodystyle}
+
+\newcommand{\figcapstartstyle}[1]{\mastercapstartstyle{#1}}
+\newcommand{\figcapbodystyle}{\mastercapbodystyle}
+\newcommand{\tablecapstartstyle}[1]{\mastercapstartstyle{#1}}
+\newcommand{\tablecapbodystyle}{\mastercapbodystyle}
+\newcommand{\algcapstartstyle}[1]{\mastercapstartstyle{#1}}
+\newcommand{\algcapbodystyle}{\mastercapbodystyle}
+
%%% replacement for standard figure environment
\renewenvironment{figure}[1][h]
{\vspace{\figtopskip}
\refstepcounter{figure}
- \renewcommand{\capstart}{\bf Figure \arabic{figure}: }
+ \renewcommand{\capstart}{%
+ \figcapstartstyle{\figurename\nobreakspace\thefigure:}%
+ }
\renewcommand{\capfirstskip}{\vspace{0.5\figtopskip}\par}
\renewcommand{\caplastskip}{}
+ \noindent%
\begin{minipage}{\columnwidth}
+ \renewcommand{\capbodystyle}{\figcapbodystyle}
}
{\end{minipage}
\vspace{\figbotskip}}
+
+\newcommand{\algorithmname}{Algorithm}
\newcounter{algorithm}
%%% replacement for algorithm environment
\newenvironment{algorithm}[1][h]
{\vspace{\figtopskip}
\refstepcounter{algorithm}
- \renewcommand{\capstart}{\bf Algorithm \arabic{algorithm}: }
+ \renewcommand{\capstart}{%
+ \algcapstartstyle{\algorithmname\nobreakspace\thealgorithm:}%
+ }
\renewcommand{\capfirstskip}{\vspace{0.5\figtopskip}\par}
\renewcommand{\caplastskip}{}
+ \noindent%
\begin{boxedminipage}{\columnwidth}
+ \renewcommand{\capbodystyle}{\algcapbodystyle}
}
{\end{boxedminipage}
\vspace{\figbotskip}}
@@ -746,10 +835,14 @@
\renewenvironment{table}[1][h]
{\vspace{\figtopskip}
\refstepcounter{table}
- \renewcommand{\capstart}{\bf Table \arabic{table}: }
+ \renewcommand{\capstart}{%
+ \tablecapstartstyle{\tablename\nobreakspace\thetable:}%
+ }
\renewcommand{\caplastskip}{\vspace{0.5\figtopskip}\par}
\renewcommand{\capfirstskip}{}
+ \noindent%
\begin{minipage}{\columnwidth}
+ \renewcommand{\capbodystyle}{\tablecapbodystyle}
}
{\end{minipage}\vspace{\figbotskip}}
%%% replacement for standard \caption
@@ -757,9 +850,9 @@
\capfirstskip
\begin{minipage}{#1\columnwidth}
\renewcommand{\baselinestretch}{1}
- \setbox0=\hbox{\capstart \it #2}
+ \setbox0=\hbox{\capstart\nobreakspace\capbodystyle #2}
\ifdim\wd0>\hsize
- {\capstart \it #2}
+ {\capstart\nobreakspace\capbodystyle #2}
\else
\centerline{\box0}
\fi
@@ -864,7 +957,7 @@
\color{TextCol}
%%
-%% End of file `poster.cls'.
+%% End of file `sciposter.cls'.
diff --git a/Master/texmf-dist/tpm/sciposter.tpm b/Master/texmf-dist/tpm/sciposter.tpm
index 9b88051017d..169e229607a 100644
--- a/Master/texmf-dist/tpm/sciposter.tpm
+++ b/Master/texmf-dist/tpm/sciposter.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/sciposter.zip">
<TPM:Name>sciposter</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/01/09 00:44:40</TPM:Date>
+ <TPM:Date>2006/06/15 10:26:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>Make posters of ISO A3 size and larger.</TPM:Title>
@@ -26,7 +26,7 @@ An example can be found in the sciposterexample directory.
<TPM:Author>unknown</TPM:Author>
<TPM:Size>660689</TPM:Size>
<TPM:Build/>
- <TPM:RunFiles size="34402">
+ <TPM:RunFiles size="37526">
texmf-dist/tex/latex/sciposter/paperb0.cfg
texmf-dist/tex/latex/sciposter/paperb1.cfg
texmf-dist/tex/latex/sciposter/paperb2.cfg
@@ -38,7 +38,7 @@ texmf-dist/tex/latex/sciposter/paperra2.cfg
texmf-dist/tex/latex/sciposter/sciposter.cls
texmf-dist/tpm/sciposter.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="626287">
+ <TPM:DocFiles size="630927">
texmf-dist/doc/latex/sciposter/README
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1.eps
texmf-dist/doc/latex/sciposter/sciposterexample/blocks1.pdf