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/ncctheorems.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/ncctheorems.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ncclatex/ncctheorems.sty | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ncclatex/ncctheorems.sty b/Master/texmf-dist/tex/latex/ncclatex/ncctheorems.sty new file mode 100644 index 00000000000..adda7572826 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ncclatex/ncctheorems.sty @@ -0,0 +1,82 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{ncctheorems} + [2006/01/17 v1.01 NCC-LaTeX default theorems (NCC)] +% +% \changes{v1.00}{2005/12/27}{This version is uploaded to CTAN} +% \changes{v1.01}{2006/01/17}{addtopackage -> afterpackage} +% +% The package specifies theorem-like environments to be defined when the +% nccthm package will be loaded. It extends the default settings from +% the nccdefaults package. +% +\RequirePackage{nccdefaults} +% +% Customize nccthm package +% +\AfterPackage{nccthm}{% +% +% Define headers for theorem-like environments. +% + \newcommand{\theoremname}{Theorem} + \newcommand{\lemmaname}{Lemma} + \newcommand{\propositionname}{Proposition} + \newcommand{\corollaryname}{Corollary} + \newcommand{\definitionname}{Definition} + \newcommand{\statementname}{Statement} + \newcommand{\examplename}{Example} + \newcommand{\remarkname}{Remark} +% +% 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} +} +% +% Specify russian versions of theorem-like titles. +% +\AfterPackage{babel}{% + \addto\captionsrussian{% + \def\theoremname{{\cyr\CYRT\cyre\cyro\cyrr\cyre\cyrm\cyra}}% + \def\lemmaname{{\cyr\CYRL\cyre\cyrm\cyrm\cyra}}% + \def\propositionname{% + {\cyr\CYRP\cyrr\cyre\cyrd\cyrl\cyro\cyrzh\cyre\cyrn\cyri\cyre}}% + \def\corollaryname{% + {\cyr\CYRS\cyrl\cyre\cyrd\cyrs\cyrt\cyrv\cyri\cyre}}% + \def\definitionname{% + {\cyr\CYRO\cyrp\cyrr\cyre\cyrd\cyre\cyrl\cyre\cyrn\cyri\cyre}}% + \def\statementname{% + {\cyr\CYRU\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyre\cyrn\cyri\cyre}}% + \def\examplename{{\cyr\CYRP\cyrr\cyri\cyrm\cyre\cyrr}}% + \def\remarkname{% + {\cyr\CYRZ\cyra\cyrm\cyre\cyrch\cyra\cyrn\cyri\cyre}}% + } +} +\endinput
\ No newline at end of file |