0

I am writing a summary of my lecture notes when the command \limits acted very strangely: it wrote the bounds below and above but also acted like the \newpage command.

Those are the document characteristics, I use an A4 paper in landscape with 3 columns.
Additionally I wrote a special environment for leftbar.

\documentclass[a4paper,landscape]{report} \usepackage[a4paper,margin=0.5cm,landscape]{geometry} \usepackage{amscd} \usepackage{amsmath} \usepackage{amsfonts, verbatim, enumerate} \usepackage{amsthm} \usepackage{array} \usepackage{blindtext} \usepackage{enumitem} \usepackage{float} \usepackage{framed} \usepackage{graphicx} \usepackage{harvard} \usepackage{latexsym} \usepackage{longtable} \usepackage{makeidx} \usepackage{multicol} \usepackage{subfig} \usepackage{showidx} \usepackage[light,english,all]{draftcopy} \renewenvironment{leftbar}{% \OuterFrameSep=0ex plus .8ex \def\FrameCommand{{\vrule width 1pt}\hspace{3pt}}% \MakeFramed {\advance\hsize-\width \FrameRestore} \noindent\ignorespaces }{% \endMakeFramed \csname@endparenv\endcsname } \begin{document} \begin{multicols}{3} 

I enclose herewith the screenshots showing the problem.
Here the code before:
enter image description here

And after (the issue is at the cursor):
enter image description here

And that is what happened to the pdf.
Before:
enter image description here

After:
enter image description here

Does anyone know what this is due to?

Many thanks in advice for your answers!

3
  • 3
    Please no screenshot. Post code which we can copy/paste, preferrably a complete, minimal code from \documentclass to \end{document}. Commented Jul 24, 2021 at 16:05
  • 2
    You shouldn't be using limits here in the first place. There is a reason why latex does this. On the other hand, you really need to learn about displayed math Commented Jul 24, 2021 at 18:29
  • you seem to have \limits after ever \sum and \int you may (very) occasionaly need to use \limits to force a non standard layout but you should never need to use it regularly. Commented Jul 24, 2021 at 21:57

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.