Reputation
Top tag
Next privilege 250 Rep.
View close votes
Badges
8
Newest
 Commentator
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 8 votes cast
Mar
9
comment Using multline or equation based on a boolean flag
Thanks you @egreg. That example is perfect for the application I had in mind.
Mar
9
accepted Using multline or equation based on a boolean flag
Mar
9
comment Using multline or equation based on a boolean flag
Thanks. The reason I want to format a 'single line display' as a multline is because such a display does not remain a 'single line display' anymore when I move to a two-column format (since the width of the line decreases). All I am trying to do is to be able to generate both the single column and two-column versions from the same version of the equation that differs only in the placement of the newline commands.
Mar
9
comment Using multline or equation based on a boolean flag
@egreg: I have some text that needs to be formatted both for a 2-column format as well as a single column format. This means that some equations have to have line breaks inserted in the 2-column version. Since the equation environment simply ignores the newline (`\`) commands, I was wondering if I can use that behavior to keep a single copy of each equation in the main text, and control the 2-column vs 1-column spacing differences by means of a flag in the preamble.
Mar
9
awarded  Commentator
Mar
9
comment Using multline or equation based on a boolean flag
Yes, that seems to work, thank you. But I am still wondering if there is a downside to this, and if it is possible to do something similar to the case of equation
Mar
9
asked Using multline or equation based on a boolean flag
Jan
18
awarded  Nice Question
Feb
27
revised Amsart with algorithm2e introduces extraneous text into pdf file with Texlive 2011
Fixed spelling, removed a quote that was not correctly formatted and replaced it with a description
Nov
26
awarded  Popular Question
Sep
13
awarded  Curious
Sep
12
comment No “=” sign in math mode with newtxmath
I believe collection-fontextra should be collection-fontsextra (note the s after font): this is the name of the collection in TeXLive 2014. (I cannot submit this as an edit because it is too small in terms of the number of characters).
Sep
12
accepted No “=” sign in math mode with newtxmath
Sep
12
comment No “=” sign in math mode with newtxmath
@egreg: That works, thanks! Would you mind adding it as an answer?
Sep
12
asked No “=” sign in math mode with newtxmath
Sep
11
accepted Adding continuation pages for overflowing sections
Sep
11
asked Adding continuation pages for overflowing sections
Mar
20
comment Preprocessing without compiling with etoolbox
@egreg: In fact, in my use case, TeX is the only tool I can use (any other tool would be hopelessly insufficient). Thanks for the response anyway. It does look like there is no readily available tool capable of achieving what I want to do. I had my hopes up just because cleveref (somewhat) surprisingly did have a similar feature which allowed me to remove instances of its use.
Mar
20
revised Preprocessing without compiling with etoolbox
added 921 characters in body
Mar
19
comment Preprocessing without compiling with etoolbox
@egreg: I actually want the TeX source. etoolbox already produces the right conditional pdf output on compilation. My use case is that I need to share the source file as well as the output, but I do not want the recipient to see the conditionals I put in place to customize the output for them.