Skip to content

Commit 33a2e5c

Browse files
committed
changes formatting for chapters
1 parent ef1db96 commit 33a2e5c

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

forallx-frontmatter.tex

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
%!TEX root = forallx.tex
12
\thispagestyle{empty}
23
{\Huge\forallx}
34

@@ -14,7 +15,7 @@
1415

1516

1617
{\sf
17-
\href{https://www.fecundity.com/logic/}{fecundity.com/logic}, version 1.31 [\bookversion]\\
18+
\href{https://www.fecundity.com/logic/}{fecundity.com/logic}, version 1.4 [\bookversion]\\
1819
This book is offered under a Creative Commons license.\\
1920
(Attribution 4.0)
2021
}

forallx.pdf

-1.15 KB
Binary file not shown.

forallx.sty

+10
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@
4949
\ifthenelse{\day<10}{0}{}\number\day%
5050
}
5151

52+
% table of contents
53+
\renewcommand{\contentsname}{\forallx\ contents}
54+
% chapter
55+
\usepackage{titlesec}
56+
\titleformat{\chapter}[display]
57+
{\normalfont\bfseries}
58+
{{\titlerule[2pt]}\LARGE Chapter \thechapter}
59+
{1ex}
60+
{\Huge}
61+
[\vspace{1ex}{\titlerule[2pt]}]
5262

5363

5464
% ****************************************

forallx.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
\documentclass[openany, twoside]{book}
22
\usepackage{forallx,hyperref}
33
\usepackage[width=4.75in,height=8in]{geometry}
4-
\hypersetup{pdftitle={forall x}, pdfauthor={P.D. Magnus}, pdfsubject={An open access introductory textbook in formal logic}, pdfkeywords={propositional logic, predicate logic, formal semantics, proof}, pdfborder=0 0 0, pdfdisplaydoctitle={true}, pdfstartpage={3}, pdfpagelayout={TwoColumnRight}}
4+
\hypersetup{pdftitle={forall x}, pdfauthor={P.D. Magnus}, pdfsubject={An open access introductory textbook in formal logic}, pdfkeywords={propositional logic, predicate logic, formal semantics, proof}, pdfborder=0 0 0, pdfdisplaydoctitle={true}, pdfstartpage={3}}
55

66
\begin{document}
77
\setlength{\parindent}{0em}

0 commit comments

Comments
 (0)