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/ncclatex.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/ncclatex.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ncclatex/ncclatex.sty | 136 |
1 files changed, 53 insertions, 83 deletions
diff --git a/Master/texmf-dist/tex/latex/ncclatex/ncclatex.sty b/Master/texmf-dist/tex/latex/ncclatex/ncclatex.sty index 42965e9966a..dc7903bfa55 100644 --- a/Master/texmf-dist/tex/latex/ncclatex/ncclatex.sty +++ b/Master/texmf-dist/tex/latex/ncclatex/ncclatex.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ncclatex} - [2005/05/20 v1.05 NCC-LaTeX Extension Package (NCC)] + [2006/01/17 v1.07 NCC-LaTeX Extension Package (NCC)] % % \changes{v1.00}{2002/03/16}{This version is uploaded to CTAN} % \changes{v1.01}{2002/05/17}{Package extdash is loaded with cyremdash} @@ -14,19 +14,21 @@ % \changes{v1.05}{2005/03/23}{Add \NCC logo} % \changes{v1.05}{2005/04/25}{Declare equation counter as dynamic one} % \changes{v1.05}{2005/05/20}{Change nccsect package date to 2005/05/20} +% \changes{v1.06}{2005/12/27}{Reorganize the package!!!} +% \changes{v1.06}{2005/12/27}{The `minimize' option is introduced} +% \changes{v1.06}{2005/12/29}{Add defaults for parts in books} +% \changes{v1.06}{2006/01/01}{Minor changes} +% \changes{v1.07}{2006/01/17}{addtopackage -> afterpackage} % -% Define headers for theorem-like environments and acknowledgements. +% Load basic packages % -\newcommand{\theoremname}{Theorem} -\newcommand{\lemmaname}{Lemma} -\newcommand{\propositionname}{Proposition} -\newcommand{\corollaryname}{Corollary} -\newcommand{\definitionname}{Definition} -\newcommand{\statementname}{Statement} -\newcommand{\examplename}{Example} -\newcommand{\remarkname}{Remark} -\newcommand{\proofname}{Proof} -\newcommand{\acknowname}{Acknowledgements} +\RequirePackage{nccdefaults} +\RequirePackage{dcounter}[2005/04/25] +\RequirePackage{desclist} +\RequirePackage[shortcuts,cyremdash]{extdash} +\RequirePackage{nccmath} +\def\maketag@@@#1{\hbox{$\m@th\mathrm{#1}$}} +\RequirePackage{nccsect}[2005/05/20] % % Russian headings (Babel needed) % @@ -36,26 +38,45 @@ \DeclareOption{T2B}{\def\NCC@cyrenc{T2B}} \DeclareOption{T2A}{\def\NCC@cyrenc{T2A}} % -% Smaller headings of sections +% Smaller section titles % \newif\ifNCC@small \NCC@smallfalse \DeclareOption{small}{\NCC@smalltrue} +% +% The `minimize' option does not load the optional packages: +% +\def\NCC@temp{% + \RequirePackage{ncctheorems} + \RequirePackage{nccthm} + \RequirePackage{nccboxes} + \RequirePackage{nccfoots} + \RequirePackage{nccpic} + \RequirePackage{nccfloats} +} +\DeclareOption{minimize}{\let\NCC@temp\relax} +% +% Process options +% \ExecuteOptions{T2A} \ProcessOptions\relax +\NCC@temp \let\NCC@temp\relax % -% Load packages +% \acknow starts acknowledgements +% +\newcommand\acknowname{Acknowledgements} +\AfterPackage{babel}{% + \addto\captionsrussian{% + \def\acknowname{% + {\cyr\CYRB\cyrl\cyra\cyrg\cyro\cyrd\cyra\cyrr\cyrn\cyro\cyrs\cyrt\cyri}}% + } +} +\newcommand{\acknow}{% + \NCC@secskip{\NCC@runskip}\@nobreakfalse + \noindent\normalfont\textit\acknowname.\enskip +} +% +% Language specific actions % -\RequirePackage{dcounter}[2005/04/25] -\RequirePackage{desclist} -\RequirePackage[shortcuts,cyremdash]{extdash} -\RequirePackage{nccboxes} -\RequirePackage{nccfoots} -\RequirePackage{nccmath} -\def\maketag@@@#1{\hbox{$\m@th\mathrm{#1}$}} -\RequirePackage{nccpic} -\RequirePackage{nccthm} -\RequirePackage{nccsect}[2005/05/20] -\RequirePackage{nccfloats} \ifNCC@rus \RequirePackage[\NCC@cyrenc]{fontenc} \RequirePackage[russian]{nccltrus} @@ -68,71 +89,21 @@ \fi \let\NCC@cyrenc\relax % -% Declare the equation counter in the dynamic style. -% -\DeclareDynamicCounter{equation} -% % \cref{label} is cite without square brackets % \newcommand*{\cref}[1]{{\def\@cite##1##2{##1}\cite{#1}}} % -% Prepare theorem-like environments -% -\newtheorem{theorem}{\theoremname} -\newtheorem{lemma}{\lemmaname} -\newtheorem{proposition}{\propositionname} -\newtheorem{corollary}{\corollaryname} -\newtheorem{statement}{\statementname}[remark] -\newtheorem{definition}{\definitionname}[remark] -\newtheorem{example}{\examplename}[remark] -\newtheorem{remark}{\remarkname}[remark] -% -% Prepare APAR theorem-like environments -% -\newtheorem*{atheorem}{\theoremname} -\newtheorem*{alemma}{\lemmaname} -\newtheorem*{aproposition}{\propositionname} -\newtheorem*{acorollary}{\corollaryname} -\newtheorem*{astatement}{\statementname}[remark] -\newtheorem*{adefinition}{\definitionname}[remark] -\newtheorem*{anexample}{\examplename}[remark] -\newtheorem*{aremark}{\remarkname}[remark] -% -% Prepare manual theorem-like environments -% -\newenvironment{Theorem}{\liketheorem{\theoremname}}{\qef} -\newenvironment{Lemma}{\liketheorem{\lemmaname}}{\qef} -\newenvironment{Proposition}{\liketheorem{\propositionname}}{\qef} -\newenvironment{Corollary}{\liketheorem{\corollaryname}}{\qef} -\newenvironment{Statement}{\likeremark{\statementname}}{\qef} -\newenvironment{Definition}{\likeremark{\definitionname}}{\qef} -\newenvironment{Example}{\likeremark{\examplename}}{\qef} -\newenvironment{Remark}{\likeremark{\remarkname}}{\qef} -% -% Change default settings for theorems -% -\renewtheoremtype{remark}{\bfseries}{}{} -\TheoremCommentDelimiters{}{} -\AfterTheoremHeaderChar{.} -\AfterTheoremHeaderSkip{\hskip .7em \@plus .2em \@minus .1em} -\AparStyleParameters{\bff}{\bff}{.\enskip} -\ProofStyleParameters{\bff}{\proofname} -% -% \acknow starts acknowledgements. -% -\newcommand{\acknow}{\likeremark{\normalfont\itshape\acknowname}{}} -% % \mop{FOO} is equivalent to \operatorname{FOO} % \newcommand{\mop}{\operatorname} % -% NCC logo: +% Define NCC logo % \DeclareRobustCommand{\NCC}{{\protect\AmSfont N\kern-.05em\lower.5ex\hbox{C}\kern.05emC}% } % -% Customize sections and captions. +% Customize sections and captions % \def\NCC@runskip{2.3ex \@plus 1ex \@minus .2ex} \DeclareSection{-2}{table}{\bfseries}{\z@}{1.3ex}{\small} @@ -143,6 +114,8 @@ {4ex \@plus 1ex \@minus .2ex}% {2.8ex \@plus .2ex}{\LARGE\bff} }{% + \DeclarePart{\StartFromTextArea\vspace{\stretch{.5}}\centering}% + {\vfill\newpage}{\vspace{1.5em}\Large\bff}{\huge\bff} \DeclareSection*0{chapter}{\vspace{1.5ex}\large\bff}{\z@}% {6ex \@plus .2ex}{\LARGE\bff} } @@ -161,6 +134,8 @@ {5ex \@plus 1ex \@minus .2ex}% {3.8ex \@plus .2ex}{\huge\bff} }{% + \DeclarePart{\StartFromTextArea\vspace{\stretch{.5}}\centering}% + {\vfill\newpage}{\vspace{2em}\LARGE\bff}{\Huge\bff} \DeclareSection*0{chapter}{\vspace{2ex}\Large\bff}{\z@}% {8ex \@plus .2ex}{\huge\bff} } @@ -178,13 +153,8 @@ {-.6em \@plus -.2em \@minus -.1em}{\normalsize\bff} \DeclareSection5{subparagraph}[\parindent]{}{\NCC@runskip}% {-.6em \@plus -.2em \@minus -.1em}{\normalsize\bff} -\SectionTagSuffix{.\hskip .6em} -\CaptionTagSuffix{.\hskip .6em \@plus .2em \@minus .1em} -\NumberlineSuffix{.\hskip .6em}{.\hskip .4em} -\sectionstyle{hangindent*} % -% Millimeters are default units in NCC-LaTeX. +% Millimeters are default units in NCC-LaTeX % \unitlength=1mm -\renewcommand{\cboxstyle}{\scriptsize} \endinput |