Fix running head and ToC
This commit is contained in:
parent
db9d689bca
commit
effdcab525
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ book.pdf
|
|||||||
*.log
|
*.log
|
||||||
*.aux
|
*.aux
|
||||||
*.out
|
*.out
|
||||||
|
*.toc
|
||||||
|
2
Makefile
2
Makefile
@ -17,4 +17,4 @@ tex: $(tex_chapters)
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(edited_chapters) $(tex_chapters) book.pdf *.aux *.log *.out
|
$(RM) $(edited_chapters) $(tex_chapters) book.pdf *.aux *.log *.out *.toc
|
||||||
|
14
book.tex
14
book.tex
@ -1,18 +1,28 @@
|
|||||||
\documentclass{book}
|
\documentclass{book}
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
\usepackage{titleps}
|
\usepackage[pagestyles]{titlesec}
|
||||||
|
\usepackage{etoolbox}
|
||||||
|
% \usepackage{titleps}
|
||||||
\usepackage{babel}
|
\usepackage{babel}
|
||||||
|
|
||||||
\providecommand{\tightlist}{%
|
\providecommand{\tightlist}{%
|
||||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\title[Trial by Jury]{An Essay on the Trial by Jury}
|
|
||||||
|
\renewpagestyle{headings}{
|
||||||
|
\sethead[\thepage][\MakeUppercase{Trial by Jury.}][]%
|
||||||
|
{}{\MakeUppercase{\sectiontitle}}{\thepage}
|
||||||
|
}
|
||||||
|
|
||||||
|
\title{An Essay on the Trial by Jury}
|
||||||
\author{Lysander Spooner}
|
\author{Lysander Spooner}
|
||||||
\date{1852}
|
\date{1852}
|
||||||
|
|
||||||
\frontmatter
|
\frontmatter
|
||||||
\maketitle
|
\maketitle
|
||||||
|
\tableofcontents
|
||||||
|
|
||||||
\input{tex/note.tex}
|
\input{tex/note.tex}
|
||||||
|
|
||||||
\mainmatter
|
\mainmatter
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
\chapter[Juries Judges of the Justice of Laws.]{The Right of Juries to Judge of the Justice of Laws.}
|
\chapter[Juries Judges of the Justice of Laws.]{The Right of Juries to Judge of the Justice of Laws.}
|
||||||
|
\pagestyle{headings}
|
||||||
|
|
||||||
\section{}
|
\section[Juries Judges of the Justice of Laws.]{}
|
||||||
|
|
||||||
For more than six hundred years--that is, since Magna Carta, in
|
For more than six hundred years--that is, since Magna Carta, in
|
||||||
1215--there has been no clearer principle of English or American
|
1215--there has been no clearer principle of English or American
|
||||||
@ -190,7 +191,7 @@ substantially the whole people (through a jury) consent that it may
|
|||||||
exercise.
|
exercise.
|
||||||
|
|
||||||
|
|
||||||
\section{}
|
\section[Juries Judges of the Justice of Laws.]{}
|
||||||
|
|
||||||
The force and justice of the preceding argument cannot be evaded by
|
The force and justice of the preceding argument cannot be evaded by
|
||||||
saying that the government is chosen by the people; that, in theory, it
|
saying that the government is chosen by the people; that, in theory, it
|
||||||
|
Loading…
Reference in New Issue
Block a user