5,205 reputation
21138
bio website
location England
age
visits member for 2 years, 3 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!


Oct
30
comment Escaping in \lstinline
@PhilippeGoutet: Thanks, good spot. Feel free to add your example to the answer. I wonder if it's worth trying to find a more satisfactory workaround for issues like that.
Sep
11
comment Make hyperref links open in new browser window for easier navigation
@HeikoOberdiek: Okay, sorry, I stand corrected... I should have guessed from the way the key is named and from the wording of its behaviour in the manual. Oops!
Sep
11
comment Make hyperref links open in new browser window for easier navigation
@BlackMagic: does it work if you add http:// to the start of your target URL?
Jul
29
comment Printing a handout of a Beamer presentation, the resulting pdf is shrunk!
What you really need is a pgfpages layout that somehow combines the relevant behaviour of two screens with optional second (the layout used by show notes on second screen) and {2 on 1}[a4paper], but that's beyond my abilities. Until then, perhaps it would be easier to post-process the PDF with a non-TeX tool? Related, but not currently very helpful for you: Page size too small when using beamer class, Beamer “show notes on second screen” with pgfpages “4 on 1”
Jul
5
comment \autoref subsections in appendix
@RhysUlerich: Yes, but it is not as robust to new releases of hyperref. Simply find the definition \def\hyper@makecurrent in hyperref.sty, copy and paste in place of the \patchcmd and perform the replacement yourself. If you get stuck, let me know. There are also other packages providing commands that can do the same job as \patchcmd. Perhaps you could explain why it is that you wish to avoid etoolbox, as I understand that to be a fairly common and robust package?
Jun
26
comment What does “running in backwards compatibility mode” mean and what should I fix to get rid of it?
If you don't specify any compat then you get compat=default which is the same as pre 1.3. Obviously pgfplots cannot suggest a version newer than the version of the pgfplots package that is installed, but I don't know the specifics of how pgfplots suggests a version. Perhaps if there have been important bugfixes, it suggests newer versions even if it hasn't detected use of certain new features. If you want your document to look close to how it used to look, then find the date of the old document and try the latest pgfplots version that was available then!
Jun
26
comment What does “running in backwards compatibility mode” mean and what should I fix to get rid of it?
If the pgfplots manual doesn't help you, then I'm not sure I can either. The only time pgfplots guesses a version is when you request compat=newest and it tries to estimate which new features you are using and which you are not, to encourage you to request a specific version instead of newest. There have been some bugfixes etc that have not preserved compatibility, so loading compat=X may not be the same as loading version X of the package file as it was when released. For more help, I suggest that you start a new question with a MWE where someone more knowledgeable may find it.
Jun
11
comment Vertical loop/block lines in algorithmicx with 'noend' option
@CommuSoft: I was always aware of that problem, sorry that I seemed to neglect to mention it in my answer. I have posted an update that is probably the best I can do in regards to trying to solve that particular issue. Hope it is of some use.
Jun
10
comment Vertical loop/block lines in algorithmicx with 'noend' option
@CommuSoft: Sorry, I am not quite sure what you have tried nor can I anticipate what might be the problem. Perhaps this would be worth a new question of its own?
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.