From 4725ee6f3db30c7184411aa3fb78b88ad6f1d482 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Wed, 17 Feb 2016 19:34:51 +0100
Subject: Summary chap 4

---
 summary.tex | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

(limited to 'summary.tex')

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}
 
-- 
cgit v1.2.3

