Reputation
21,147
Next tag badge:
95/100 score
16/20 answers
Badges
2 47 111
Impact
~876k people reached

Jun
23
comment Listings with some notes
Look up the escapeinside option that lets you escape to LaTeX within the listing. Then (with '@' as escape character), typeset your label using \llap at the begin of a line, e.g., @\llap{\tikz\node[shape=circle]{1};}@<the real listing line>
Jun
18
comment Can an environment replace text within it during compilation?
The babel package provides Esperanto support, the accented characters are typeset by making ^ active: ^c becomes ĉ. Not exactly what you are looking for, but definitely less cumbersome. (Besides, bable takes also care of correct hyphenation.)
Jun
17
comment Querying and modifying TEXINPUTS from inside a latex file?
+1 Oh I would love to have a feature like that. It would solve so many problems in my cross-site, cross-platform and dozen-of-participants projects.
Jun
17
comment How to get a numbered alphabetical bibliography with (author,year) citations
@Timm: No, it should be backend=bibtex8, as biber is the default in recent versions of biblatex. It is perfectly possible to still use bibtex, but in that case highly preferrable to use the 8-bit version including the "Wolfgang" switch (bibtex8 -W) as the internal buffers of classical 7-bit bibtex are often too small.
May
22
comment How can I fix jumping TikZ pictures in beamer?
Thanks @Clément :-) Honestly, I almost forgot about this answer because of this newer one, which basically uses the same trick, but with some slight improvements for complex expressions. I probably should add this here as well.
May
20
comment PDF optimization packages/options
Related (may be even duplicate): How to make the PDFs produced by pdflatex smaller.
May
13
comment Switching to lualatex: How to translate font setups?
@Mico: Almost, I think some more details would be useful. I have edited them in; feel free to reject this edit if you don't like it.
May
13
comment Switching to lualatex: How to translate font setups?
Mico, while there are not an issue for my particular use case, the answer would nevertheless profit from mentioning the hyphenation issues Ulrike brought up. Especially the quote from luainputenc can be somewhat misleading, as one would expect the same typographical output.
May
11
comment TikZ- Draw a cooking pot
I love it, this should become a package :-)
May
8
comment Created own theme
The error message tells it all! beamer prefixes whatever is passed to \usetheme with beamertheme. Just save your theme as beamerthememyown.sty and \usetheme{myown} will find it.
May
6
comment Switching to lualatex: How to translate font setups?
Mico, you are the man, luainputenc does indeed the trick! I wasn't aware of the existence of this package before. (Possible minor hyphenation issues are less of a problem in beamer slides, where I typically try hard to avoid any kind of hyphenation.)
May
6
comment Switching to lualatex: How to translate font setups?
"There's a huge and wonderful world related to OpenType and TrueType fonts out there" Yes, I believe that and I am optimistic that one day I would be able to value it as well. However, my current setup is more like this: I have a lecture series with 500+ beamer slides with hand-optimized line breaks. I am totally happy with the current fonts and pdflatex, but for some cool package that requires lua I want to try lualatex. But, please, with as little change as possible to the fonts.
May
6
comment Switching to lualatex: How to translate font setups?
@Johannes_B: Sure. However, I am also sure that for most of them some OpenType version also exists, so it should be possible to describe a fontspec setup as well.
May
6
comment Switching to lualatex: How to translate font setups?
Actually, I have tried that – but did not get UTF-8 characters to work, as mentioned by Ulrike.
May
6
comment How is a TeX document written when using LuaLaTeX?
@IbnSaeed: tex.stackexchange.com/questions/243482/…
May
6
comment Switching to lualatex: How to translate font setups?
@UlrikeFischer: Old habits... I think I have fixed all fontencs now.
May
6
comment Switching to lualatex: How to translate font setups?
@FranckPastor: Sure, thanks for spotting this!
May
6
comment How is a TeX document written when using LuaLaTeX?
Thinking about it, my previous comment is probably worth a question on its own...
May
6
comment How is a TeX document written when using LuaLaTeX?
"Don’t use any package that changes the fonts; use fontspec commands instead." This is the critical and IMHO most intimidating part for people that try to switch from pdflatex to lualatex. The fontspec documentation is big and complex. What I am notoriously missing is a simple translation table for existing LaTeX font packages: What to write instead of e.g., \usepackage{charter} or \usepackage[scaled=0.86]{beramono}` or \renewcommand{\sfdefault}{cmbr} to get the same output? How can I use lualatex without having to become an expert in all issues of font handling?
May
5
comment Paths of `pgfimages` in beamer templates
"This can drastically reduce the file size if you use an image repeatedly". In fact, \includegraphics automatically detects multiple inclusions and stores the image only once into the resulting PDF.