From d7433e7c60087614c7a5950d8816b05fba640e86 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 15 Feb 2016 22:45:34 +0100 Subject: Start sum chap 4; improved discussion format Can now add questions inline with \question; only shown when the \ifshowquestions is set to true. Can now add an introductory text to discussion paragraphs. --- summary.tex | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'summary.tex') diff --git a/summary.tex b/summary.tex index c542108..90e28ec 100644 --- a/summary.tex +++ b/summary.tex @@ -1,9 +1,10 @@ -\documentclass[landscape,twocolumn,10pt,a4paper]{article} +\documentclass[landscape,twocolumn,9pt,a4paper]{article} \title{An Introduction to Christian Theology\\\normalsize{Summary of the book by Plantinga, Thompson and Lundberg}} \author{Camil Staps} \usepackage{dogmatics} +\showquestionsfalse \usepackage[top=2cm, bottom=3cm, inner=3.6cm, outer=3.6cm, heightrounded, marginparwidth=2cm, marginparsep=0.6cm]{geometry} \usepackage[hidelinks]{hyperref} @@ -12,10 +13,12 @@ \usepackage{array} \usepackage{marginnote} -\reversemarginpar -% Smaller font in marginpars \makeatletter +% Align marginpars to inside; doesn't work yet +%\let\oldmarginpar\marginpar +%\renewcommand*{\marginpar}[1]{\oldmarginpar{\color{black}\if@firstcolumn\raggedleft\fi#1}} +% Smaller font in marginpars \long\def\@ympar#1{% \@savemarbox\@marbox{\scriptsize #1}% \global\setbox\@currbox\copy\@marbox @@ -25,6 +28,20 @@ % Indexing \usepackage{makeidx} \makeindex +% Index on same page; http://tex.stackexchange.com/a/23873/23992 +% But in next column; http://tex.stackexchange.com/a/27481/23992 +\makeatletter +\renewenvironment{theindex} + {\vfill\eject\section*{\indexname}% + \@mkboth{\MakeUppercase\indexname}% + {\MakeUppercase\indexname}% + \thispagestyle{plain}\parindent\z@ + \parskip\z@ \@plus .3\p@\relax + \columnseprule \z@ + \columnsep 35\p@ + \let\item\@idxitem} + {} +\makeatother % Show index entries in the margin notes; see http://tex.stackexchange.com/q/236373/23992 \usepackage{xparse} @@ -64,6 +81,7 @@ \maketitle \input{sum-chap-3.tex} +\input{sum-chap-4.tex} \printindex -- cgit v1.2.3