1

I'm trying to make a notebook for my classes with adding my slide pictures and putting some horizontal lines as places to write some notes on. I've used multicol package to separate the page into two columns, attach the picture to the left and draw the horizontal lines in the right column. I have these two issues:

1 - My pictures are not the same size and as I've restricted their width, their height might differ. I want to draw lines to the bottom of the picture (fill the column with horizontal lines) but I couldn't find any solution.

2 - Some of the pictures overlaps with the fancyhdr footer (esp. in the pages with title) and latex doesn't initiate a newpage automatically. What should I do?

My command code using multicol:

\usepackage{multicol,graphicx}
\linespread{2.5}
\newcommand{\slide}[1]{%
    \setlength{\columnsep}{-3cm}
    \begin{multicols}{2}
        \null
        \includegraphics[width=6cm]{./Pic/Picture#1}
        \vfill\null
        \columnbreak
        \noindent\rule{\columnwidth}{0.4pt} \\
        \noindent\rule{\columnwidth}{0.4pt} \\
        \noindent\rule{\columnwidth}{0.4pt} \\
        \noindent\rule{\columnwidth}{0.4pt} \\
    \end{multicols}
}

And a sample one: enter image description here

Thanks in advance.

Siavash
  • 11
  • Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Alessandro Cuttin Feb 03 '20 at 16:50
  • 1
    Perhaps this answer allows you to do that. –  Feb 03 '20 at 16:53
  • @Schrödinger'scat Thanks a lot! That really worked. – Siavash Feb 07 '20 at 04:59

0 Answers0