0

I am writing my thesis and have a lot of align* environments inside an enumerate environment. I have to use align* environment as I have huge math equations which are split over multiple lines. However often the text goes out of the margins without even showing a warning. Why is this happening and how to avoid it? Here is an example

\documentclass[draft]{report}
\usepackage{amsmath}
\usepackage{showframe} 

\begin{document}

\begin{enumerate}
\item  No warning
\begin{align*}
blahblahblahblahblahblahblahblahblablahblahblahblahblahblahblablahblahblah
\end{align*}
\item But we see warning here
\begin{align*}
blahblahblahblahblahblahblahblahblablahblahblahblahblahblahblablahblahblahblah
\end{align*}
\end{enumerate}

and also here
\begin{align*}
blahblahblahblahblahblahblahblahblablahblahblahblahblahblahblablahblahblahbl
\end{align*}

\end{document}
0

1 Answer 1

2

In the very latest version of amsmath you do get a warning from the first

Overfull \hbox (20.35115pt too wide) detected at line 11

triggered by

addmargin, enumerate and align* miss an overfull hbox

3
  • Thanks! I am using texshop in mac. Do you know how to force texshop to use the latest version of amsmath?
    – skf23852
    Apr 2, 2018 at 23:19
  • 1
    texshop is just the editor, if you have texlive 2017 you should be able to update using tlmgr or I understand the mac has a front end called tex manager or some similar name (I don't have a mac:-) Apr 2, 2018 at 23:21
  • Ok Thanks! I'll try to update otherwise I will just post the code at the start. Thanks so much!
    – skf23852
    Apr 2, 2018 at 23:25

You must log in to answer this question.

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