4,880 reputation
2833
bio website
location England
age
visits member for 1 year, 8 months
seen 2 hours ago

I've been using LaTeX since I started university 6 years ago, and grateful to everyone ever involved in the kernel, or in the various packages, distributions and websites, those who introduced me to it and those who answer related questions!

I'm following with interest the developments on LaTeX3 and also the alternative engines, which I hope to one-day be able to exploit more!


Feb
23
comment Vertical loop/block lines in algorithmicx with 'noend' option
@sazr: Yes, sorry, this solution does not work well in many cases. This is a due to both the \addvspace{-3pt} and the rule parameters height .75\baselineskip depth .25\baselineskip, which don't account for the actual height of the current line. Accounting for that is extremely difficult. I attempted to give a tikz/zref solution at Problems with vertical lines in algorithmicx but it is still not perfect and I'm unable to further improve it as I wouldn't know how.
Feb
22
comment Vertical loop/block lines in algorithmicx with 'noend' option
@sazr: Sounds like it might be a \makeatletter problem? Can you confirm that this MWE works for you? Would probably need a bit more to go on otherwise.
Dec
3
comment Is it a bad idea to use \begin{section} … \end{section} in LaTeX?
To complete Bruno's suggestion, one needs to add \advance\ss@sec\m@ne to \endrelsec (actually \endsect in Will's newsec package) before the \begingroup.
Dec
3
comment Suppress frame title when using allowframebreaks in beamer
@user41974: If there is no title, then it doesn't take any space (at least in the default beamer theme), so I am not quite sure what you are asking. You can add the option [t] to the frame to get it to align at the top of the slide instead of the vertical center, if that helps?
Oct
22
comment Hyperref + footnotebackref in longtable
@dardisco: Yes, exactly. source2e/latex.ltx has the original forms of \footnote and \@makefnmark if needed. And also longtable changes footnote handling. footnotebackref is a very small package so I'd start with that. Just open up the sty file (either on your own machine or from CTAN if easier) and inspect! For specific commands, latexdef can be useful (and there's lots of questions and answers involving it on this site).
Oct
21
comment Hyperref + footnotebackref in longtable
@dardisco: Sorry, didn't put much explanation in! The tag is what hyperref uses as an anchor. The first patch converts footnotebackref's setting of \BackrefFootnoteTag within \footnote to be global instead of lasting only for current group (\xdef instead of \edef), and the second part ensures that \BackrefFootnoteTag is expanded when \@makefntext is called rather than deferring it to when \@makefnmark is called (footnotes don't get created straight away when in a table but are saved for recalling later, but by then, multiple footnotes will cause earlier tags to get lost).
Oct
20
comment Why don't bookmarks appear when using \nofiles?
@DavidCarlisle: Many thanks for the suggestions, I have edited them in. If those are the only likely problems then I am happy with this.
Oct
11
comment LaTeX - Using commands inside inline code
See also Escaping in \lstinline
Oct
5
comment Make each frame (not slide) appear in the PDF bookmarks with beamer
Note to users: the answer to the original question has been extended with an extra patch for handling cases with mode specifications better.
Oct
4
comment beamer/beamerarticle: mode specification for frame doesn't work as expected
I think beamer intentionally processes excluded frames (through \beamer@donoframe, putting them into \beamer@tempbox) so that side effects can still happen. Regardless, the most obvious difference between \mode<handout>{\begin{frame}Text\end{frame} and \begin{frame}<handout>Text\end{frame} is the frame numbering in non-handout mode, so the two specifications aren't intended to produce the same result.
Oct
3
comment Drawbacks of using fragile frames in beamer
The only issue that I remember encountering so far is in debugging. If you get an error (e.g. \foo is undefined), then without fragile, you get the line number of the \end{frame} in which the error occurred. On the other hand, with fragile, you just get the line number within the frame (the .vrb file), not of the frame itself.
Oct
3
comment Allow only certain commands in own environment
You can use \nullfont to ignore the text, but restricting other commands is harder as Matthew has said. It might help if we knew more about your application. For example, if \fred is allowed within myenv, do you want the user to be able to do \newcommand{\xyzzy}{\fred\fred} and use that?
Sep
15
comment Command doing the same job as StrBefore but being expandable
@jfbu: thanks, that would certainly work. However, I will not merge this into the answer as I feel that the current version is easier to read, in a sense. Please retain your comment here for the benefit of others though!
Sep
15
comment Command doing the same job as StrBefore but being expandable
@Jonathan: thanks, I have updated my answer using something similar to your suggestion, but I am not sure why you suggest adding an extra dotted component?
May
27
comment Package footnotebackref conflict with memoir
The warning you are getting is due to both memoir and the fmtcount package trying to define \ordinal for similar purposes. However, from what I can tell, these are not interface compatible as one works on a counter name and the other on a literal number, hence it depends if you are using the fmtcount version anywhere. The footnotebackref code does not load fmtcount so this is caused by something unrelated to this question and you would be advised to create a further question with an appropriate MWE if you want help investigating.
Apr
11
comment Disabling backref in secondary multibib bibliography with natbib
Happy to help. Perhaps now you'd like to edit your question so that the focus is on the 'bonus' part, as it is still an interesting question?
Apr
10
comment Disabling backref in secondary multibib bibliography with natbib
Adding \renewcommand{\backrefcitedsinglestring}[1]{} \renewcommand{\backrefcitedmultistring}[1]{} between your \begingroup...\endgroup for the Publications part (but before \bibliographypublications) seems to solve the first (easiest) part of your question.
Apr
5
comment Installation/usage of latexdiff on Windows 7
@KevinC: Your error message, if it is to be trusted, does indicate that it is looking for the file with a .pl extension (and possibly in a different subfolder?), so it might be worth copying the script to there to see if it helps. However, before you do that, I wonder if it is worth trying to update the part of your MiKTeX distribution that contains latexdiff.exe (probably called a MiKTeX bin package or something), through the MiKTeX Update (admin) application (or just update everything that has an update available there).
Apr
4
comment Installation/usage of latexdiff on Windows 7
The latexdiff.exe is just a MiKTeX executable that is either supposed to prompt to install the latexdiff perl script (part of the latexdiff MiKTeX package) or to execute said perl script if already installed. As you say you do not have the perl script (but note it may not have the .pl extension), it seems like the latexdiff package is not installed, though it is odd that you are not prompted to install it automatically. Try launching the MiKTeX package manager directly (in Admin mode?) and selecting the latexdiff package for installation.
Apr
2
comment How to use \section*{something} without removing it from the Table of Contents?
See also my answer to No section numbers, but still have PDF bookmarks with hyperref. There, the use of hyperref is optional and omitting it results in all unnumbered sections still appearing in the ToC.