summaryrefslogtreecommitdiff
path: root/summary.tex
diff options
context:
space:
mode:
Diffstat (limited to 'summary.tex')
-rw-r--r--summary.tex14
1 files changed, 9 insertions, 5 deletions
diff --git a/summary.tex b/summary.tex
index 90e28ec..dc5cedf 100644
--- a/summary.tex
+++ b/summary.tex
@@ -12,12 +12,11 @@
\usepackage{multicol}
\usepackage{array}
-\usepackage{marginnote}
-
\makeatletter
% Align marginpars to inside; doesn't work yet
-%\let\oldmarginpar\marginpar
-%\renewcommand*{\marginpar}[1]{\oldmarginpar{\color{black}\if@firstcolumn\raggedleft\fi#1}}
+\let\oldmarginpar\marginpar
+\renewcommand*{\marginpar}[1]{\oldmarginpar{\color{black}\if@firstcolumn\raggedleft\fi#1}}
+%\renewcommand*{\marginpar}[1]{\oldmarginpar{\color{black}\raggedright#1}}
% Smaller font in marginpars
\long\def\@ympar#1{%
\@savemarbox\@marbox{\scriptsize #1}%
@@ -27,6 +26,7 @@
% Indexing
\usepackage{makeidx}
+\usepackage{multicol}
\makeindex
% Index on same page; http://tex.stackexchange.com/a/23873/23992
% But in next column; http://tex.stackexchange.com/a/27481/23992
@@ -45,6 +45,7 @@
% Show index entries in the margin notes; see http://tex.stackexchange.com/q/236373/23992
\usepackage{xparse}
+\renewcommand\qindex[1]{\oldindex{#1}}
\let\oldindex\index
\renewcommand{\index}[1]{%
\oldindex{#1}%
@@ -83,7 +84,10 @@
\input{sum-chap-3.tex}
\input{sum-chap-4.tex}
-\printindex
+\vfill\eject
+\begin{multicols}{3}
+ \printindex
+\end{multicols}
\end{document}