diff options
author | Norbert Preining <preining@logic.at> | 2006-10-04 08:43:01 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2006-10-04 08:43:01 +0000 |
commit | ba9472aebfed07843bc4faa00c7b96bc86194691 (patch) | |
tree | 4a952a012e2f1663beaac6384dec265fb50dd361 /Master/texmf-dist/tex/latex/ncclatex/ncctitlepage.sty | |
parent | a88bdfe70c672cfced299babf0a54881a916bcca (diff) |
Fix ctan2tds for pgf installation
comment powerdot-doc-vn in tpm-ctan-check, it always breaks
Update of the following packages:
labelcas pstricks-add sectionbox ltxmisc frenchle flowfram verse emulateapj
pst-pdf poemscol babelbib dk-bib breakurl screenplay ncctools xkeyval bibleref
muthesis pst-labo pgf ncclatex active-conf xcolor commath lineno dottex makeplo
git-svn-id: svn://tug.org/texlive/trunk@2240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ncclatex/ncctitlepage.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ncclatex/ncctitlepage.sty | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ncclatex/ncctitlepage.sty b/Master/texmf-dist/tex/latex/ncclatex/ncctitlepage.sty new file mode 100644 index 00000000000..bbcfb0a8b0f --- /dev/null +++ b/Master/texmf-dist/tex/latex/ncclatex/ncctitlepage.sty @@ -0,0 +1,44 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{ncctitlepage} + [2005/12/26 v1.00 The titlepage environment (NCC)] +% +% \changes{v1.00}{2005/12/26}{This version is uploaded to CTAN} +% +\RequirePackage{textarea} +\@ifundefined{if@restonecol}{\newif\if@restonecol} +% +% The titlepage environment. Sets the empty page style at the top-level +% title page. We suppose that a title page can contain many pages and many +% title pages inside. The page counter is restored to its +% original value after leaving a top-level title page. +% +\newif\ifNCC@intitle \NCC@intitlefalse +\def\titlepage{% + \clearpage + \if@twocolumn \@restonecoltrue \onecolumn \else \@restonecolfalse \fi + \ifNCC@intitle + \let\NCC@restorepagecount\@empty + \else + \pagestyle{empty} + \edef\NCC@restorepagecount{% + \noexpand\global\noexpand\c@page \@arabic\c@page\relax}% + \setcounter{page}\z@ + \c@footnote\z@ \def\thefootnote{\@fnsymbol\c@footnote}% + \NCC@intitletrue + \fi + \let\NCC@restoretextarea\@empty +} +\def\endtitlepage{% + \clearpage + \NCC@restoretextarea + \if@restonecol\twocolumn \fi + \NCC@restorepagecount +} +% +% The star-form of the titlepage environment works as an inner one, +% i.e. it does not change the page counter. +\newenvironment{titlepage*}{\NCC@intitletrue + \clearpage\pagestyle{empty}\titlepage +}{\endtitlepage} + +\endinput
\ No newline at end of file |