1

I am trying to make some notes for my math class, and I would like to organize them in the following way: I first want to split the page with a vertical line, and have definitions on the left, theorems on the right. Secondly, I would like to split the page by horizontal lines, which split the material along lectures (illustration at the bottom). Using the answer here, I've managed to split the page by a vertical line. However, I can't figure out the horizontal lines. Any help is greatly appreciated!

Definitions | Theorems

Lecture 1 ....| Lecture 1

Def 1...........| Thm 1

Def 2...........| Thm 2

Def 3...........|

.---------------------------------

Lecture 2....| Lecture 2

Def 1...........| Thm 1

Def 2...........| Thm 2

.---------------------------------

and so on.

5
  • Which of the two methods did you use? The one based on two minipage enviornments or the one using the parallel package? Please also add some more information on the desired alignment. Does one "lecture" part span multiple pages or will two of them always fit onto a single page perfectly? Do you always want to vertically align "Def" and "Thm"? Where should the second theorem start, if the first theorem is short, but the first definition is long?...
    – leandriis
    Commented Sep 15, 2020 at 17:40
  • You can use \hrule to draw a horizontal line across the textwidth.
    – leandriis
    Commented Sep 15, 2020 at 17:41
  • @leandriis Oh sorry I didn't realize I left out so many details. I used the parallel package. A lecture may span multiple pages. Def and Thm do not have to be aligned at all; they can be completely imdependent.
    – Helix
    Commented Sep 16, 2020 at 0:36
  • 1
    Paracol uses column -1 for full width entries (line horizontal lines). Commented Sep 16, 2020 at 4:43
  • @JohnKormylo Sorry didn't quite understand, are you saying its possible to make the horizontal lines with Paracol?
    – Helix
    Commented Sep 16, 2020 at 15:14

1 Answer 1

2

While the paracol documentation refers to column -1 for spanning text, the only way to access it is through one of the optional arguments. You can improve the top and bottom spacing by adding \struts.

\documentclass{article}
\usepackage{paracol}
\setlength{\columnseprule}{0.4pt}
\begin{document}

\begin{paracol}{2}
\switchcolumn[0]
First column top
\switchcolumn[1]
Second column top
\switchcolumn[0]*[\hrule width\textwidth]
First column bottom
\switchcolumn[1]
Second column bottom
\end{paracol}

\end{document}
1
  • Thank you so much!
    – Helix
    Commented Sep 16, 2020 at 19:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .