I need your help: to change the default column sep of aligned from \quad to \qquad globally, thanks.
Asked
Active
Viewed 720 times
3
lockstep
- 250,273
1 Answers
4
You could modify the value of \minalignsep:
\renewcommand*{\minalignsep}{2em}
It is 10pt by default. If you write this into your preamble, after loading amsmath, the change is globally, as desired. However, it's also valid for other align environments. That may be desired as well, to preserve consistent math environments.
By this redefinition you can keep the modification of \minalignsep local to aligned:
\makeatletter
\newenvironment{aligned}{%
\renewcommand*{\minalignsep}{2em}
\let\@testopt\alignsafe@testopt
\aligned@a
}{%
\crcr\egroup
\restorecolumn@
\egroup
}
\makeatother
Stefan Kottwitz
- 231,401
-
@ Stefan Kottwitz: Many thanks. Would you tell me which does "other align environments" mean? Include the "align" and "alignat" and "flalign" and the forth? Unless the align environment col sep will not increases, or it is not I want. – Mar 14 '11 at 09:00
-
@never shown:
alignandalign*also use the same space between columns likealigned, which is meaningful. Do you also use several columns withalignand wish to keep the space narrow, in contrast toaligned? If yes,aligneditself could be redefined or an internal macro could be changed, the first would be the better choice. – Stefan Kottwitz Mar 14 '11 at 09:11 -
You said right. I wrote some multiple lines structure with "align" but not "aligned" because "align" could be broken by page. If their col sep increases, I have to took much time to check the horizontal overflow boxs. But how to redifine the "aligned"? – Mar 14 '11 at 09:39
-
-
alignedatenvironment, which allows you to choose the spacing between aligned elements. That is, the default spacing is zero, so the final spacing equals whatever space you choose to insert. – Phil Hirschhorn Mar 14 '11 at 05:03aligneddidn't use a\quad– Mar 14 '11 at 07:28