Reputation
133,770
Next tag badge:
192/100 score
19/20 answers
Badges
10 360 650
Newest
 Necromancer
Impact
~3.6m people reached

Apr
12
revised How to write a LaTeX package that bundles not only .sty and .cls files but also some logos in .pdf or .eps formats?
Mark up some inline code
Apr
12
comment How to write a LaTeX package that bundles not only .sty and .cls files but also some logos in .pdf or .eps formats?
Depends exactly what you want to do. As .eps files are ASCII, you can include them in a .dtx (I do in chemstyle, for example).
Apr
12
revised Redefining \include
LaTex2e not as code
Apr
12
comment How to take off the marks of a graphic made with a CSV file
I'd also omit the x=x and y=y parts, which are redundant
Apr
11
comment Reusing the current argument's number with xparse
In addition to what @egreg says, \l__xparse_current_arg_int is marked as internal (two underscores) and is not described in the 'user' part of the documents: we'd hope this would mark it as not for general use!
Apr
11
comment Appending to a style that sets code with arguments in pgfkeys
I'd say this looks like a bug in pgfkeys: if you try fancy/.show code you get \pgfkeysalso { format/.code = \textbf {##1}, } to begin with but \pgfkeysalso { format/.code = \textbf {#1}}\pgfkeysalso { } later, with the loss of a #.
Apr
11
revised Programming with LaTeX xkeyval
appended answer 107542 as supplemental
Apr
11
comment Proper nesting of tikzpicture environments: Reset all PGF values to their defaults
@cacamailg No, as this is just the same as simply inserting the code. TeX's grouping does not work in the same way as functional programming languages, so using \newcommand makes no odds here.
Apr
11
comment Text within ExplSyntaxOn/Off
@CharlesStewart There is nothing to stop you simply altering the treatment of ` ` for an entire block including the definition of a command. Experience with LaTeX2e though suggests this makes altering behaviour tricky, as you have large macros which either have to be copy-pasted or fixed using something like xpatch when issues arise. I'm not sure also what 'close' means: does that mean within the definition of a command or simply on the next line of the input?
Apr
11
awarded  Enlightened
Apr
11
comment How to use data structures in TikZ?
The pgfkeys approach is object-oriented, which the keyval support in LaTeX3 is not. So you'd need a different approach: I'll try to suggest one later.
Apr
11
comment Text within ExplSyntaxOn/Off
@CharlesStewart Well one of the LaTeX3 principals is that 'document commands' should really be interfaces to some defined code level stuff, with no 'programming' in them at all (see issues with patching LaTeX2e commands for reasons). So moving 'some text' out of commands is a general idea: we've done that with error messages (name the message, but put the text of the message separately so it can be varied without impact on the calling command).
Apr
11
comment siunitx: Error while including value
If you are reading data from a table, then \input is not the correct approach: look at datatool or pgfplotstable.
Apr
11
awarded  Nice Answer
Apr
11
revised Impossible to save LaTeX file in Texmaker on Windows
Mark up names, alter tags to focus on issue
Apr
11
revised Text within ExplSyntaxOn/Off
I meant ' ' not '~'
Apr
10
comment How to use achemso bibliography style without achemso package?
The achemso class is really not suitable for use other than for journal submission as there are several internal assumptions about the base class and package loading. It is much better to use the achemso package for general documents.
Apr
10
awarded  Nice Answer
Apr
10
reviewed Approve Detecting all pages which contain color
Apr
10
reviewed Approve List of all post original TeX control commands