Reputation
135,600
Next tag badge:
145/100 score
19/20 answers
Badges
11 363 656
Newest
 Revival
Impact
~3.7m people reached

May
23
revised Can I store sequences in sequences with expl3
Tidy ip some mark up
May
23
comment Beamer: don't enumerate the first section in the TOC
I've added this code to beamer: it will be in the next release, probably once TeX Live starts updating again.
May
23
comment LaTeX figure problems
You shouldn't use an extension in the argument of \includegraphics, but that should not cause the issue. Can you edit in the .log file you get, in particular any warnings or errors?
May
22
comment Simple way to multiply two values
@Veger You need the graphicx package for keyval syntax: I've edited the answer.
May
22
revised Simple way to multiply two values
Need graphicx for keyval syntax
May
22
answered Mark on document where input starts and what is the filename
May
22
comment Mark on document where input starts and what is the filename
LaTeX's \input is set up to allow both plain TeX and LaTeX-like syntaxes. You probably want to redefine \@iinput, which is used internally with the LaTeX-like version.
May
22
comment Purpose of \do@noligs in LaTeX verbatim environment
You have a lot of issues wrapped up together here: for example, the \lowercase trick is more general than just applying in this case and I think has been discussed before.
May
22
comment Purpose of \do@noligs in LaTeX verbatim environment
@HåkonHægland We need the \lowercase as he \def has to apply to something definable, here an active character. ~ is 'active' already, so we can rely on its catcode being suitable. The category code of a token is set when it's read, so if we omitted the \lowercase and tried to do \def#1{... with #1 equal to say - then we'd get an error as - was not active when read as #1.
May
22
comment Purpose of \do@noligs in LaTeX verbatim environment
@HåkonHægland Escaping the characters means that TeX will look at the character itself rather than any definition, and also makes sure we are not caught out by tokens that would otherwise have a 'special' effect. It's pretty standard to escape each character when setting codes (\lccode, etc.) as it does no harm and is 'safer' than omitting it.
May
21
comment Specific unit output using siunitx
The question doesn't make it explicit, but I was working on the assumption that the brackets were meant to cover 'units raised to the same power'.
May
21
comment Purpose of \do@noligs in LaTeX verbatim environment
@HåkonHægland If you remove the \catcode`#1\active then the various characters are not 'active' inside the verbatim environment, and all of the work is for nothing. If you move the \endgroup then the \def is inside a group and is lost at \endgroup, and again nothing useful is achieved.
May
21
answered Purpose of \do@noligs in LaTeX verbatim environment
May
21
revised Purpose of \do@noligs in LaTeX verbatim environment
Fix '`' use
May
21
comment Specific unit output using siunitx
@SvendTveskæg If you want a 'general solution', how should cases such as \N\cubic\m\per\square\kg be handled [I will add a feature request, but want to know what I'm being asked for :-)]
May
21
comment Specific unit output using siunitx
I meant that you can't auto-format from \N\square\m\per\square\kg.
May
21
comment Specific unit output using siunitx
The current situatuion is that you can'd do this directly using the tools in the package.
May
21
revised Specific unit output using siunitx
Capitalisation
May
21
comment Issues with bibliography — No special characters
@HameerAbbasi No, you either have to do it using a script or by hand.
May
21
comment Issues with bibliography — No special characters
Did you run BibTeX? If so, what does the .blg file say?