]> code.communitydata.science - cdsc_tex.git/commitdiff
small changes to article-2
authorBenjamin Mako Hill <mako@atdot.cc>
Sat, 4 Jan 2014 21:26:44 +0000 (13:26 -0800)
committerBenjamin Mako Hill <mako@atdot.cc>
Sat, 4 Jan 2014 21:26:44 +0000 (13:26 -0800)
(1) by default, use slightly smaller section headings font style
(2) by default, use "real" \scshape w/o \MakeLowerCase
(3) add commented out code to turn on (sub)section numbering

paper_template/mako-mem.sty

index 8fe47193a737358447d68a29bb1515213f8900c0..5c6c5706c5d26c1a3eb22fd93e5ed77ba7caa4c2 100644 (file)
@@ -60,7 +60,7 @@
  \renewcommand{\rmdefault}{ugm}
  \renewcommand{\sfdefault}{phv}
 
  \renewcommand{\rmdefault}{ugm}
  \renewcommand{\sfdefault}{phv}
 
- \setsecheadstyle{\Large\scshape\MakeLowercase} 
+ \setsecheadstyle{\large\scshape} 
  \setsubsecheadstyle{\normalsize\itshape} 
  \setaftersubsubsecskip{-1em}
  \setsubsubsecheadstyle{\small\bfseries}
  \setsubsecheadstyle{\normalsize\itshape} 
  \setaftersubsubsecskip{-1em}
  \setsubsubsecheadstyle{\small\bfseries}
  % supress chapter numbers 
  \maxsecnumdepth{chapter} 
  \setsecnumdepth{chapter}
  % supress chapter numbers 
  \maxsecnumdepth{chapter} 
  \setsecnumdepth{chapter}
+ % for numbered sections and subsections:
+ % (a) comment out the above stanza; (b) uncomment the one below
+ % \maxsecnumdepth{subsection} 
+ % \setsecnumdepth{subsection}
+ % \setsecnumformat{\csname the#1\endcsname. }
 
  % reduce skip after section heading
  \setaftersecskip{1.7ex}
 
  % reduce skip after section heading
  \setaftersecskip{1.7ex}
  \renewcommand{\bibname}{References}
 }
 
  \renewcommand{\bibname}{References}
 }
 
+
 % >> article-3 <<
 \makechapterstyle{article-3}{
  \renewcommand{\rmdefault}{ugm}
 % >> article-3 <<
 \makechapterstyle{article-3}{
  \renewcommand{\rmdefault}{ugm}

Community Data Science Collective || Want to submit a patch?