diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/latex/doxygen.sty | 12 | ||||
-rw-r--r-- | templates/xml/compound.xsd | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty index 8f59bcc..8d9535a 100644 --- a/templates/latex/doxygen.sty +++ b/templates/latex/doxygen.sty @@ -20,6 +20,8 @@ \RequirePackage{adjustbox} \RequirePackage{amssymb} \RequirePackage{stackengine} +\RequirePackage{enumitem} +\RequirePackage{alphalph} \RequirePackage[normalem]{ulem} % for strikeout, but don't modify emphasis %---------- Internal commands used in this style file ---------------- @@ -574,3 +576,13 @@ \H@refstepcounter{figure}% \@dblarg{\@caption{figure}}} \makeatother + +% Define alpha enumarative names for counters > 26 +\makeatletter +\def\enumalphalphcnt#1{\expandafter\@enumalphalphcnt\csname c@#1\endcsname} +\def\@enumalphalphcnt#1{\alphalph{#1}} +\def\enumAlphAlphcnt#1{\expandafter\@enumAlphAlphcnt\csname c@#1\endcsname} +\def\@enumAlphAlphcnt#1{\AlphAlph{#1}} +\makeatother +\AddEnumerateCounter{\enumalphalphcnt}{\@enumalphalphcnt}{aa} +\AddEnumerateCounter{\enumAlphAlphcnt}{\@enumAlphAlphcnt}{AA} diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd index c128140..f540c8a 100644 --- a/templates/xml/compound.xsd +++ b/templates/xml/compound.xsd @@ -512,6 +512,8 @@ <xsd:sequence> <xsd:element name="listitem" type="docListItemType" maxOccurs="unbounded" /> </xsd:sequence> + <xsd:attribute name="type" type="DoxOlType" /> + <xsd:attribute name="start" type="xsd:integer" /> </xsd:complexType> <xsd:complexType name="docListItemType"> @@ -967,5 +969,15 @@ </xsd:restriction> </xsd:simpleType> + <xsd:simpleType name="DoxOlType"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="1" /> + <xsd:enumeration value="a" /> + <xsd:enumeration value="A" /> + <xsd:enumeration value="i" /> + <xsd:enumeration value="I" /> + </xsd:restriction> + </xsd:simpleType> + </xsd:schema> |