bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

style.tex (2876B)


      1 % This style file is used both for `book' and `report' modes
      2 
      3 \renewcommand{\ChapRef}[2]{chapter~#1}
      4 \renewcommand{\ChapRefUC}[2]{Chapter~#1}
      5 
      6 % sections
      7 \renewcommand{\Spart}[2]{\part[#1]{#2}}
      8 \renewcommand{\Ssection}[2]{\chapter[#1]{#2}}
      9 \renewcommand{\Ssubsection}[2]{\section[#1]{#2}}
     10 \renewcommand{\Ssubsubsection}[2]{\subsection[#1]{#2}}
     11 \renewcommand{\Ssubsubsubsection}[2]{\subsubsection[#1]{#2}}
     12 \renewcommand{\Ssubsubsubsubsection}[2]{{\bf #2}}
     13 
     14 % "star" means unnumbered and not in ToC:
     15 \renewcommand{\Spartstar}[1]{\part*{#1}}
     16 \renewcommand{\Ssectionstar}[1]{\chapter*{#1}}
     17 \renewcommand{\Ssubsectionstar}[1]{\section*{#1}}
     18 \renewcommand{\Ssubsubsectionstar}[1]{\subsection*{#1}}
     19 \renewcommand{\Ssubsubsubsectionstar}[1]{\subsubsection*{#1}}
     20 \renewcommand{\Ssubsubsubsubsectionstar}[1]{\Ssubsubsubsubsection{#1}}
     21 
     22 % "starx" means unnumbered but in ToC:
     23 \renewcommand{\Spartstarx}[2]{\Spartstar{#2}\addcontentsline{toc}{part}{#1}}
     24 \renewcommand{\Ssectionstarx}[2]{\Ssectionstar{#2}\addcontentsline{toc}{chapter}{#1}}
     25 \renewcommand{\Ssubsectionstarx}[2]{\Ssubsectionstar{#2}\addcontentsline{toc}{section}{#1}}
     26 \renewcommand{\Ssubsubsectionstarx}[2]{\Ssubsubsectionstar{#2}\addcontentsline{toc}{subsection}{#1}}
     27 \renewcommand{\Ssubsubsubsectionstarx}[2]{\Ssubsubsubsectionstar{#2}\addcontentsline{toc}{subsubsection}{#1}}
     28 \renewcommand{\Ssubsubsubsubsectionstarx}[2]{\Ssubsubsubsubsectionstar{#2}}
     29 
     30 % "grouper" is for the 'grouper style variant:
     31 \renewcommand{\Ssubsectiongrouper}[2]{\setcounter{GrouperTemp}{\value{section}}\Ssubsectionstarx{#1}{#2}\setcounter{section}{\value{GrouperTemp}}}
     32 \renewcommand{\Ssubsubsectiongrouper}[2]{\setcounter{GrouperTemp}{\value{subsection}}\Ssubsubsectionstarx{#1}{#2}\setcounter{subsection}{\value{GrouperTemp}}}
     33 \renewcommand{\Ssubsubsubsectiongrouper}[2]{\setcounter{GrouperTemp}{\value{subsubsection}}\Ssubsubsectionstarx{#1}{#2}\setcounter{subsubsection}{\value{GrouperTemp}}}
     34 \renewcommand{\Ssubsubsubsubsectiongrouper}[2]{\Ssubsubsubsubsectionstarx{#1}{#2}}
     35 
     36 \renewcommand{\Ssubsectiongrouperstar}[1]{\setcounter{GrouperTemp}{\value{section}}\Ssubsectionstar{#1}\setcounter{section}{\value{GrouperTemp}}}
     37 \renewcommand{\Ssubsubsectiongrouperstar}[1]{\setcounter{GrouperTemp}{\value{subsection}}\Ssubsubsectionstar{#1}\setcounter{subsection}{\value{GrouperTemp}}}
     38 \renewcommand{\Ssubsubsubsectiongrouperstar}[1]{\setcounter{GrouperTemp}{\value{subsubsection}}\Ssubsubsectionstar{#1}\setcounter{subsubsection}{\value{GrouperTemp}}}
     39 \renewcommand{\Ssubsubsubsubsectiongrouperstar}[1]{\Ssubsubsubsubsectionstar{#1}}
     40 
     41 % To increment section numbers:
     42 \renewcommand{\Sincpart}{\stepcounter{part}}
     43 \renewcommand{\Sincsection}{\stepcounter{chapter}}
     44 \renewcommand{\Sincsubsection}{\stepcounter{section}}
     45 \renewcommand{\Sincsubsubsection}{\stepcounter{subsection}}
     46 \renewcommand{\Sincsubsubsubsection}{\stepcounter{subsubsection}}
     47