I understand the reasoning behind the fairly narrow textwidth in a default LaTeX article. 60-80 characters per line and all that. However, I am preparing a document that features many lengthy equations, and it seems silly to me to restrict the equations to fit into the same margins as the text when there's all that whitespace going unused on either side.
I'd like to have equations which are wider than the textwidth do the obvious thing, that is, continue to be centered on the page just like all the other equations, and simply extend into both the left and right margin equally. My equations are unnumbered, so there's no concern about where to put equation numbers.
How might I go about implementing this?
equation
environment? Perhaps also\[
...\]
? Noalign*
fromamsmath
? – Werner Jan 31 '14 at 18:07\documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[2] {\centering\makebox[0pt]{$\displaystyle y = \frac{A}{12345} + Bx + Cx^2 + Dx^3 + Ex^4 + Fx^5 + Gx^6 + A + Bx + Cx^2 + Dx^3 + Ex^4 + Fx^5 + Gx^6$}\par} \lipsum[2] \end{document}
– Steven B. Segletes Jan 31 '14 at 18:11equation*
,align*
,gather
... – thecommexokid Jan 31 '14 at 18:13equation*
to useadjustwidth
fromchangepage
, but it comes with some vertical alignment issues. I was testing it this way:\expandafter\let\expandafter\oldequationstar\csname equation*\endcsname \expandafter\let\expandafter\endoldequationstar\csname endequation*\endcsname \renewenvironment{equation*}{\begin{adjustwidth}{-2cm}{-2cm} \begin{oldequationstar}}{\end{oldequationstar} \end{adjustwidth}}
... – Werner Jan 31 '14 at 18:27