From: Benjamin Mako Hill Date: Sat, 11 Jan 2014 05:57:20 +0000 (-0800) Subject: three small changes to the template X-Git-Url: https://code.communitydata.science/cdsc_tex.git/commitdiff_plain/8e6dd96bbe87bfbee82d699f93d84a0d4a356b9d?ds=sidebyside;hp=fc613f1b2616baa3771d8ced10d15cd45168e3dd three small changes to the template 1. Tweaked the refs.bib work in the makefile so that it removes the refs-cleaned.bib intermediary step and so that it only rebuilds the refs when it needs to. 2. Tweaked the article-2 stylesheet so that subsubsection headers are not smaller than normal text. 3. Changed the list rendering so that it's smaller (firmlists). --- diff --git a/paper_template/Makefile b/paper_template/Makefile index a831bb3..e78e0f4 100644 --- a/paper_template/Makefile +++ b/paper_template/Makefile @@ -4,17 +4,18 @@ all: project_description.pdf references.pdf pdf: all -%.pdf: %.tex - perl -p -e 's/©//' refs.bib > refs-cleaned.bib - perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-cleaned.bib |sponge refs-cleaned.bib - recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib +refs-processed.bib: + perl -p -e 's/©//' refs.bib > refs-processed.bib + perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-processed.bib |sponge refs-processed.bib + recode -d u8..ltex < refs-processed.bib | sponge refs-processed.bib + +%.pdf: %.tex refs-processed.bib rubber -fd $< clean: rubber -d --clean *.tex rm -f *.tmp rm -f vc - rm -f refs-cleaned.bib rm -f refs-processed.bib viewpdf: all diff --git a/paper_template/mako-mem.sty b/paper_template/mako-mem.sty index ffdb4bf..e453b01 100644 --- a/paper_template/mako-mem.sty +++ b/paper_template/mako-mem.sty @@ -66,7 +66,7 @@ \setsecheadstyle{\large\scshape} \setsubsecheadstyle{\normalsize\itshape} \setaftersubsubsecskip{-1em} - \setsubsubsecheadstyle{\small\bfseries} + \setsubsubsecheadstyle{\bfseries} \renewcommand{\printchaptername}{} \renewcommand{\chapternamenum}{} \renewcommand{\chapnumfont}{\chaptitlefont} diff --git a/paper_template/text.tex b/paper_template/text.tex index 0f51b10..7579512 100644 --- a/paper_template/text.tex +++ b/paper_template/text.tex @@ -35,12 +35,14 @@ \def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})} \def\citespos#1{\citeauthor{#1}' (\citeyear{#1})} +% memoir function to take out of the space out of the whitespace lists +\firmlists + % import vc stuff after running `make vc`: \input{vc} \pagestyle{kjhgit} \begin{document} \setlength{\parskip}{4.5pt} - \baselineskip 18.5pt \title{Title}