1

The input below creates (unwanted) indentation after the display:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
{\allowdisplaybreaks 
\begin{align*} 
a_n&=b_n\\&>0
\end{align*}}       
so the sequence $\{a_n\}$ is increasing. We conclude that it converges, and by passing  
\end{document}

The indentation disappears if I insert a blank line and \indent after the display, but it adds extra space. Is there a clean way of not having the indentation?

  • 1
    You can mark your code in the question as code by selecting it and hitting the "{}" button (or indenting it by 4 spaces). For inline code you should enclose it with `. I made these changes to your question. – Skillmon Sep 26 '17 at 15:00
2

The space is added because you didn't escape the end of line after the closing brace of your group around the align* environment (you didn't put a % there). The following gives ordinary spacing:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
{\allowdisplaybreaks 
\begin{align*} 
a_n&=b_n\\&>0
\end{align*}}%
so the sequence $\{a_n\}$ is increasing. We conclude that it converges, and by passing  
\end{document}
  • Alternatively use \begingroup\allowdisplaybreaks...\endgroup – Andrew Swann Sep 26 '17 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.