summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/MaintGuide/MaintGuide.tex6
-rw-r--r--doc/UsersGuide/UsersGuide.tex6
-rw-r--r--doc/latex/cactus.sty19
3 files changed, 21 insertions, 10 deletions
diff --git a/doc/MaintGuide/MaintGuide.tex b/doc/MaintGuide/MaintGuide.tex
index 18b98927..e359ddf4 100644
--- a/doc/MaintGuide/MaintGuide.tex
+++ b/doc/MaintGuide/MaintGuide.tex
@@ -60,9 +60,9 @@ $}{$ $Date$ $}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\renewcommand{\thepart}{\Alph{part}}
-\renewcommand{\thechapter}{\Alph{part}\arabic{chapter}}
-\renewcommand{\thepage}{\Alph{part}\arabic{page}}
+\renewcommand{\thepart}{\BigAlph{part}}
+\renewcommand{\thechapter}{\BigAlph{part}\arabic{chapter}}
+\renewcommand{\thepage}{\BigAlph{part}\arabic{page}}
\pagestyle{fancy}
\newpage
diff --git a/doc/UsersGuide/UsersGuide.tex b/doc/UsersGuide/UsersGuide.tex
index 70d7f183..cab70f1c 100644
--- a/doc/UsersGuide/UsersGuide.tex
+++ b/doc/UsersGuide/UsersGuide.tex
@@ -61,9 +61,9 @@ urlcolor=blue
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\renewcommand{\thepart}{\Alph{part}}
-\renewcommand{\thechapter}{\Alph{part}\arabic{chapter}}
-\renewcommand{\thepage}{\Alph{part}\arabic{page}}
+\renewcommand{\thepart}{\BigAlph{part}}
+\renewcommand{\thechapter}{\BigAlph{part}\arabic{chapter}}
+\renewcommand{\thepage}{\BigAlph{part}\arabic{page}}
\pagestyle{fancy}
\parskip = 10 pt
\parindent = 0pt
diff --git a/doc/latex/cactus.sty b/doc/latex/cactus.sty
index 1dc0aa41..1a8bd3aa 100644
--- a/doc/latex/cactus.sty
+++ b/doc/latex/cactus.sty
@@ -500,10 +500,21 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeatletter
+\def\BigAlph#1{\expandafter\@BigAlph\csname c@#1\endcsname}
+\def\@BigAlph#1{%
+ \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or
+ K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or U\or V\or W\or X\or
+ Y\or Z\or
+ a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or
+ k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or
+ y\or z\else\@ctrerr\fi}
+\makeatother
+
\newenvironment{cactuspart}[4]
{
\clearpage
- \renewcommand{\thepage}{\Alph{part}\arabic{page}}
+ \renewcommand{\thepage}{\BigAlph{part}\arabic{page}}
% Redefine the plain style
\fancypagestyle{plain}
{
@@ -513,7 +524,7 @@
\rfoot{\thepage/\pageref{lastpage:\thepart}}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.4pt}
- \renewcommand{\thepage}{\Alph{part}\arabic{page}}
+ \renewcommand{\thepage}{\BigAlph{part}\arabic{page}}
}
% Make sure it's arabic numbering
@@ -521,7 +532,7 @@
% Start the page counter at 1
\setcounter{page}{1}
% Start a new part
- \renewcommand{\thepage}{\Alph{part}\arabic{page}}
+ \renewcommand{\thepage}{\BigAlph{part}\arabic{page}}
\part{#2}
\setcounter{part}{#1}
% Redefine the page
@@ -538,7 +549,7 @@
\clearpage
}
-
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
%% End of cactus.sty