Reputation
11,531
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
2 29 50
Newest
 Good Answer
Impact
~456k people reached

Oct
13
answered How do I cancel/strike out a line?
Oct
13
revised How can I display an array (as in the data structure from Computer Science, not the mathematical version) in LaTeX?
fixed code: added ensuremath to length determination
Oct
13
answered How can I display an array (as in the data structure from Computer Science, not the mathematical version) in LaTeX?
Oct
13
awarded  Enlightened
Oct
13
awarded  Nice Answer
Oct
13
revised How can I display an array (as in the data structure from Computer Science, not the mathematical version) in LaTeX?
added 2594 characters in body
Oct
12
answered How can I display an array (as in the data structure from Computer Science, not the mathematical version) in LaTeX?
Oct
12
comment Spacing too large with exponents and big Oh
I don't think the spacing looks that bad actually... You could manually adjust the spacing by adding a negative hspace. \[ O\hspace*{-.25em}\left(\frac{1}{n}\right) \] and the same for the exponent.
Oct
12
comment Highlighting line ranges in a lstlisting: partial solution, but expansion issues
@projetmbc Sure, just remove all the <> stuff, the only's, and the beamer stuff and include pfg.
Oct
11
awarded  Commentator
Oct
11
comment Highlighting line ranges in a lstlisting: partial solution, but expansion issues
It appears that \ifx goes to the true branch if and only if Both arguments are macros AND their first level expansion is identical AND they have the same status with respect to \long and \outer. Source. The first level expansion is most likely where it goes wrong. Not sure how to remedy that, yet.
Oct
11
comment Highlighting line ranges in a lstlisting: partial solution, but expansion issues
It looks like you don't want \btLstHL to expand to \empty. If you change your MWE to use \empty as the linebackgroundcolor you get the same problem with white lines. To make it expand to \empty, you would only need to place that in the 4th argument, instead of leaving it actually empty as it is now.
Oct
11
revised Creating Page Border for Single Page only
added 183 characters in body
Oct
10
answered Creating Page Border for Single Page only
Oct
10
comment Put a leading space to a paragraph using texttt
I am unsure about what actually happens to the spaces, but putting a box around it does produce them. So \mbox{\texttt{~~Some~~thing}} should work as you expect it. Although the indentation will be larger, because, as Werner has already mentioned, the spaces are larger since texttt is monospaced.
Oct
10
comment Snippet Manager in TeXnicCenter
I don't use TeXnicCenter, so I can't really help you there. You could use something like Auto-Hotkey to set that up to work regardless of what editor you are using though.
Oct
7
answered What is the best symbol for vector/matrix transpose?
Oct
7
comment Vertical space between horizontal lines
\\[x] doesn't work, it starts a new line after x. Even if x is explicit, the newline is not.
Oct
7
answered Vertically Centering Text/Numbers in Rows of Array using Math Mode
Oct
6
comment Document requiring infinitely many compiler passes?
(cont.) This leads to a circular program, which won't halt as long as we assume latex is consistent, i.e. given the same input, the output is also the same.