diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/disser/titledefs.rtx')
-rw-r--r-- | Master/texmf-dist/tex/latex/disser/titledefs.rtx | 69 |
1 files changed, 50 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/titledefs.rtx b/Master/texmf-dist/tex/latex/disser/titledefs.rtx index 7b92d2e143a..61e5958c4ec 100644 --- a/Master/texmf-dist/tex/latex/disser/titledefs.rtx +++ b/Master/texmf-dist/tex/latex/disser/titledefs.rtx @@ -6,7 +6,7 @@ %% %% titledefs.dtx (with options: `titledefs') %% -%% Copyright (c) 2004-2009 Stanislav Kruchinin. +%% Copyright (c) 2004-2010 Stanislav Kruchinin. %% All rights reserved. %% %% This file is part of the disser package. @@ -19,41 +19,44 @@ \cyrl\cyri\cyrs\cyrt} \def\keywordsname{\cyr\CYRK\cyrk\cyryu\cyrch\cyre\cyrv\cyrery\cyre\ % \cyrs\cyrl\cyro\cyrv\cyra} -\def\keywordssep{:} -\def\keywordslabel{\keywordsname\keywordssep} +\def\keywordslabel{\keywordsname:} \def\workname{\cyr\CYRD\cyri\cyrs\cyrs\cyre\cyrr\cyrt\cyra\cyrc\cyri\cyrya} \def\approved{\workname\ \cyrd\cyro\cyrp\cyru\cyrshch\cyre\cyrn\cyra\ % \cyrk\ \cyrz\cyra\cyrshch\cyri\cyrt\cyre} \def\appos{\cyr\cyrz\cyra\cyrv.\ \cyrk\cyra\cyrf\cyre\cyrd\cyrr\cyro\cyrishrt} \def\groupname{\cyr\cyrg\cyrr.} \def\topicname{\cyr\CYRT\cyre\cyrm\cyra} -\def\topicsep{:\ } -\def\topiclabel{\topicname\topicsep} +\def\topiclabel{\topicname:\ } \def\coursename{\cyr\CYRN\cyra\cyrp\cyrr\cyra\cyrv\cyrl\cyre\cyrn\cyri\cyre} -\def\coursesep{:} -\def\courselabel{\coursename\coursesep} +\def\courselabel{\coursename:} \def\specname{% \cyr\CYRS\cyrp\cyre\cyrc\cyri\cyra\cyrl\cyrsftsn\cyrn\cyro\cyrs\cyrt\cyrsftsn} -\def\specsep{:} -\def\speclabel{\specname\specsep} +\def\speclabel{\specname:} \def\masterprogname{% \cyr\CYRM\cyra\cyrg\cyri\cyrs\cyrt\cyre\cyrr\cyrs\cyrk\cyra\cyrya\ % \cyrp\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra} -\def\masterprogsep{:} -\def\masterproglabel{\masterprogname\masterprogsep} +\def\masterproglabel{\masterprogname:} \def\studentname{\cyr\CYRV\cyrery\cyrp\cyro\cyrl\cyrn\cyri\cyrl\ % \cyrs\cyrt\cyru\cyrd\cyre\cyrn\cyrt} -\def\studentlabel{\studentname} +\def\studentlabel{\studentname\ \groupname\ \@group\hspace{2cm}} \def\saname{\cyr\CYRN\cyra\cyru\cyrch\cyrn\cyrery\cyrishrt\ % \cyrr\cyru\cyrk\cyro\cyrv\cyro\cyrd\cyri\cyrt\cyre\cyrl\cyrsftsn} +\def\sasndname{\saname} \def\salabel{\saname} +\def\sasndlabel{\saname} \def\sconname{\cyr\CYRN\cyra\cyru\cyrch\cyrn\cyrery\cyrishrt\ % \cyrk\cyro\cyrn\cyrs\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrn\cyrt} +\def\sconsndname{\sconname} \def\sconlabel{\sconname} +\def\sconsndlabel{\sconsndname} \def\revname{\cyr\CYRR\cyre\cyrc\cyre\cyrn\cyrz\cyre\cyrn\cyrt} +\def\revsndname{\revname} \def\revlabel{\revname} +\def\revsndlabel{\revsndname} \def\conname{\cyr\CYRK\cyro\cyrn\cyrs\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrn\cyrt} +\def\consndname{\conname} \def\conlabel{\conname\ \cyrp\cyro\ \@conspec} +\def\consndlabel{\consndname\ \cyrp\cyro\ \@consndspec} \def\asmanuscript{\cyr\CYRN\cyra\ \cyrp\cyrr\cyra\cyrv\cyra\cyrh\ % \cyrr\cyru\cyrk\cyro\cyrp\cyri\cyrs\cyri} \def\libcatname{\cyr\CYRU\CYRD\CYRK} @@ -61,7 +64,11 @@ \cyr\CYRK\cyro\cyrn\cyrs\cyru\cyrl\cyrsftsn\cyrt\cyra\cyrn\cyrt\cyrery:} \def\institution#1{\gdef\@institution{#1}}\institution{} \def\spec#1{\gdef\@spec{#1}}\spec{} +\def\specsnd#1{\gdef\@specsnd{#1}}\specsnd{} + \def\specnum#1{\gdef\@specnum{#1}}\specnum{} +\def\specsndnum#1{\gdef\@specsndnum{#1}}\specsndnum{} + \def\course#1{\gdef\@course{#1}}\course{} \def\coursenum#1{\gdef\@coursenum{#1}}\coursenum{} \def\keywords#1{\gdef\@keywords{#1}}\keywords{} @@ -82,16 +89,29 @@ \let\commonsect=\textbf \def\postcommonsect{\ } \def\sa#1{\gdef\@sa{#1}}\sa{} +\def\sasnd#1{\gdef\@sasnd{#1}}\sasnd{} + \def\sastatus#1{\gdef\@sastatus{#1}}\sastatus{} +\def\sasndstatus#1{\gdef\@sasndstatus{#1}}\sasndstatus{} + \def\scon#1{\gdef\@scon{#1}}\scon{} +\def\sconsnd#1{\gdef\@sconsnd{#1}}\sconsnd{} \def\sconstatus#1{\gdef\@sconstatus{#1}}\sconstatus{} +\def\sconsndstatus#1{\gdef\@sconsndstatus{#1}}\sconsndstatus{} + \def\rev#1{\gdef\@rev{#1}}\rev{} +\def\revsnd#1{\gdef\@revsnd{#1}}\revsnd{} \def\revstatus#1{\gdef\@revstatus{#1}}\revstatus{} -\def\conspec#1{\gdef\@conspec{#1}} -\def\con#1{\gdef\@con{#1}} -\def\constatus#1{\gdef\@constatus{#1}} +\def\revsndstatus#1{\gdef\@revsndstatus{#1}}\revsndstatus{} + +\def\con#1{\gdef\@con{#1}}\con{} +\def\consnd#1{\gdef\@consnd{#1}}\consnd{} +\def\conspec#1{\gdef\@conspec{#1}}\conspec{} +\def\consndspec#1{\gdef\@consndspec{#1}}\consndspec{} +\def\constatus#1{\gdef\@constatus{#1}}\constatus{} +\def\consndstatus#1{\gdef\@consndstatus{#1}}\consndstatus{} -\AtBeginDocument{ +\AtBeginDocument{% \addto\captionsrussian{% \def\contentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre} } @@ -114,11 +134,21 @@ \cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery} \providecommand*\review{\nchapter{\reviewname}} -\providecommand\field[1]{% +\deflength\fieldhshift{8cm} + +\providecommand\diplomafield[1]{% \csname #1label\endcsname,\\% \csname @#1status\endcsname\> - \makebox[8.5cm][l]{\hrulefill\ \csname @#1\endcsname} + \makebox[\fieldhshift][l]{\hrulefill\ \csname @#1\endcsname} } +\providecommand\disserfield[1]{% + \begin{tabbing} + \hspace{\fieldhshift}\={\csname #1label\endcsname}\\ + \>\csname @#1status\endcsname\\ + \>\csname @#1\endcsname + \end{tabbing} +} + \providecommand\@approved{ \begin{tabbing} \hspace{8cm}\={\approved}\\ @@ -134,7 +164,8 @@ \providecommand\mkcommonsect[3]{% \@namedef{#1head}{#2} - \@namedef{#1section}{\commonsect{\expandafter\csname #1head\endcsname}\postcommonsect} + \@namedef{#1section}{\commonsect{\expandafter\csname #1head\endcsname}% + \postcommonsect} \@namedef{#1text}{#3} } \let\mkintrosect=\mkcommonsect |