11,181 reputation
22850
bio website about:blank
location Hilversum, Netherlands
age 27
visits member for 3 years, 1 month
seen Oct 20 at 11:23

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.


Apr
9
comment What are penalties and which ones are defined?
They are not, just the penalties associated with page breaking, as far as I can tell. There are some other for ,e.g., line breaking which are discussed in chapter 19. There might be others still besides those.
Apr
9
comment What are penalties and which ones are defined?
Section 27.4.2 of TeX by topic lists breaking point penalties. I'm not sure whether these are all the penalties there are though.
Apr
8
comment Automatically convert quotations in the form of “abc” to become ``abc"
@matth: I completely agree. In my academic writings I (pretty much) never use quotes. The only time I use them is when passing a literal string to the pgf math engine and in that case I need actual quotes, not the converted ones. Which mostly ends up in me typing \" and then removing the ``. This doesn't happen often enough for me to disable the autoreplace though. I know what I want in what case and how to obtain it. If you are using mostly quotes as in quotations it's an option though :)
Apr
8
comment Push/Pop or save a length/dimension?
@AhmedMusa: Thanks for the example. Better safe than sorry, same goes for the \empty marker of course.
Apr
8
comment Push/Pop or save a length/dimension?
@AhmedMusa: Out of curiosity, do you happen to have an example of when an assignment to \toks0 causes problems? As far at the \empty goes, I don't see that as a real problem, considering what the stack is meant for.
Apr
7
answered Multiple evaluation of a macro argument with side effects?
Apr
7
comment Push/Pop or save a length/dimension?
@egreg: good point. I added two \globals. I think this should be sufficient to handle groups. Of course, the assignment to \parindent would have to be made global as well for it to persist after the end of a group.
Apr
7
revised Push/Pop or save a length/dimension?
fixed code to handle groups, based on egregs comment
Apr
7
answered Push/Pop or save a length/dimension?
Apr
4
comment Including TikZ image (with external inputs) inside adjustbox adds horisontal spacing, why?
I am guessing spurious spaces, add a % at the end of the lines doing the \input and starting the \adjustbox.
Apr
4
comment Automatically convert quotations in the form of “abc” to become ``abc"
On an unrelated note, a lot of editors will automatically replace " with the correct quotation form when you type the character. I know for a fact kile does this, and I believe AUCTeX does so as well.
Apr
4
comment Automatically convert quotations in the form of “abc” to become ``abc"
You could just use sed for this (sed is awesome). It does require some escaping on the command line, since you are trying to replace quotes. I can't put it in here, since it contains backticks. So a link will have to do.
Apr
4
revised Classicthesis formatting for one-sided printing
small formatting fixes
Apr
4
comment Intersection of lines to draw a convex function
@Jake: I copied the starting point from his code :). For it to be the minimum it should indeed be (0,1.7). @stygianguest I like Altermundus's answer better, you should see mine more like an example of how to use the name path and name intersection constructs.
Apr
3
answered Intersection of lines to draw a convex function
Apr
3
awarded  Fanatic
Apr
2
comment How can I execute a macro for every node in TikZ?
This will probably be problematic, since TikZ works with relative coordinates inside. It then applies a transformation to get correct placement on the page. (At least, as far as I know).
Apr
2
comment Writing a line from two sibling nodes in a TikZ tree
Just have a look at the manual‌​. There is a chapter on Trees (18. Making Trees Grow). The second page of that chapter shows exactly what you want to do. It uses Alan's suggestion to do so (and Harish's to make it dashed).
Mar
30
revised Rotate individual letters of the text using TikZ
included images
Mar
30
revised TikZ: Blurring Effect
added modified solution based on Jake's comment