10,971 reputation
22546
bio website about:blank
location Hilversum, Netherlands
age 27
visits member for 2 years, 10 months
seen 2 days ago

I'm a discrete mathematician. My main research interests are discrete optimization and scheduling in specific. I've been using LaTeX on and off since 2007, mostly for homework assignments. I have really gotten into it while writing my thesis though. Scheduling problems call for quite a lot of diagrams, so my main focus and interest within LaTeX is TikZ.


Mar
28
comment Doing \def+asdf+{\texttt{#1}} where + can be set with a macro
@mathematical.coffee: I'll add some explanation to the answer, since there isn't enough room in the comments.
Mar
28
comment Doing \def+asdf+{\texttt{#1}} where + can be set with a macro
If we were to place the \endgroup after the \def... it would make the \def local to that group and thus not work. If we place the \endgroup before the \lowercase then the lccode assignment would be local and have disappeared before the \lowercase is expanded. As an example consider this: \def\color{red}The color is \color! {\def\color{green}The color is \color! }The color is \color! and study the output to see the consequence of definitions being local.
Mar
28
comment Doing \def+asdf+{\texttt{#1}} where + can be set with a macro
Excellent point, hadn't thought about that at all. Changed the code to incorporate this.
Mar
28
revised Doing \def+asdf+{\texttt{#1}} where + can be set with a macro
modified the code after egreg's comment.
Mar
28
comment TikZ: Paling Effect
First, loading tikz is enough, it already loads pgf so you don't have to do that explicitly. Second, why are you loading so many libraries? You only need patterns for this example. Finally, does adding opacity=0.1 to the options of the \filldraw you want to affect give the desired result? You can of course play with the value to get different opacity.
Mar
28
comment Doing \def+asdf+{\texttt{#1}} where + can be set with a macro
I'd recommend TeX By Topic or The TeXbook (That's merely the source, you can probably find it online somewhere or consider purchasing it, it's a nice book to have). Both treat the ## construct.
Mar
28
answered Doing \def+asdf+{\texttt{#1}} where + can be set with a macro
Mar
27
comment TikZ borders showing through when they shouldn't (overlapping circles)
@Uly: I'm sure. zoomed in to 6400% on reader. Also tried it on kpdf (yes I know, it's old) and I don't see any edge there either.
Mar
27
revised TikZ borders showing through when they shouldn't (overlapping circles)
added 7 characters in body
Mar
27
comment TikZ borders showing through when they shouldn't (overlapping circles)
This doesn't happen for me on Acrobat Reader 9. What viewer are you using? On a side note, TikZ already loads xcolor so there is no need to do so yourself separately.
Mar
26
comment Force impagination sequence
Or this reference answer regarding floats: tex.stackexchange.com/a/39020/8344
Mar
23
revised Whole page table with tabularx
adjusted second piece of code after comment
Mar
23
comment Whole page table with tabularx
@egreg: I'll change the code. I am still curious about this though. From what I understand, \centering places it's argument in a \hbox to\hsize with \hss on either side to center it. Would that not force it to be in restricted horizontal mode?
Mar
23
comment Whole page table with tabularx
@egreg: Not that I disagree, but do you have any specific reason for that preference?
Mar
22
comment Make the width of the figure (including 2 minipages) same as the paper
change 0.48 to 0.5?
Mar
22
comment Whole page table with tabularx
@ArTourter: That's not how I read it, but I added an alternative for that case.
Mar
22
revised Whole page table with tabularx
added 339 characters in body
Mar
22
answered Whole page table with tabularx
Mar
22
comment Inserted figure is appearing later than it should in when compiled to pdf
perhaps add that you can load the package with the section option to solve this specific issue?
Mar
22
reviewed Approve suggested edit on pgfplots stacked bar plot: distance to axis, padding between bars