27,154 reputation
261124
bio website mychemistry.eu
location Germany
age 35
visits member for 3 years, 4 months
seen 3 hours ago

I'm a LaTeX enthusiast (who still has loads to learn, though :) )

I really like the LaTeX3 programming language expl3 which makes LaTeX programming so much easier and more intuitive.

I'm the maintainer of a few mostly chemistry related LaTeX packages such as chemnum or the chemmacros bundle about which I report on my blog www.mychemistry.eu.


Any code of mine that I publish or have published previously on the TeX.SE main site I hereby relicense under the WTFPL.


Useful links:


10h
comment Section Numbering in “Convex Optimizaion” by Boyd et. al. with Koma Script
@ChristopherMorris probably. But I'd have to investigate how as well. Probably best if you ask a new question...
11h
comment How to change \headsepline color in KOMA-Scriptclasses
@Friedrich all scr... packages and features are part of the KOMA-Script bundle but not all are loaded by default. Some of them have to be loaded explicitly. TeX.sx has no PMs. Me or someone else could put together the things in an answer. I'll do it if I have a bit more time.
11h
comment How to change \headsepline color in KOMA-Scriptclasses
@Friedrich As I said (or at least tried to say in my previous comment): the KOMA font headsepline only exists if you use the scrlayer-scrpage package. Details on the package and those options are explained in chapter 5 of the KOMA-Script manual.
12h
comment Practical use of lua
I think the greatest benefit of using LuaLaTeX from a user perspective is having packages like selnolig or impnattypo
12h
comment Margin note and paragraph not aligned when skipping a page
Welcome to TeX.sx! :) I'd use \marginnote after the first word of the paragraph instead of before (Le\marginnote{Unification sociétale.}[0.4cm]). This should solve your issue.
12h
comment How to change \headsepline color in KOMA-Scriptclasses
If you design your headers and footers using KOMA-Script's scrlayer-scrpage then you could use \setkomafont{headsepline}{\color{whatever}}
12h
comment How to change \headsepline color in KOMA-Scriptclasses
Unrelated to the question – there are a number of possible improvements: \renewcommand{\l@section} doesn't look very KOMA-like... IIRC for toc layout there is the KOMA-Script package tocbasic. The assignments \parindent 0pt and \parskip 6pt most definitely are wrong. Better use KOMA-Scripts parskip option. \usepackage[utf8x]{inputenc} most certainly isn't needed, \usepackage[utf8]{inputenc} should suffice. I'm also not sure you need the caption package: the setup you're doing seems to be doable using KOMA-Script's own caption formatting...
1d
comment Workaround how to use expl3 functionality in tikz
Nice. This must be adapted for arc (220:300:1) as well but that should not be a problem :)
1d
comment \AtBeginEnvironment adds spurious spaces to .toc when using \addtocontents
@justibus see What do \makeatletter and \makeatother do?
1d
comment \AtBeginEnvironment adds spurious spaces to .toc when using \addtocontents
Welcome to TeX.sx! :) You just need a \makeatletter before \AtBeginEnvironment and a \makeatother after all the patching is done
1d
comment Negation of nleftrightarrow?
Welcome to TeX.sx! :)
1d
revised Negation of nleftrightarrow?
code markup
1d
revised LaTeX: Quirks of mathmode?
added inline code markup
1d
comment LaTeX: Quirks of mathmode?
\textrm for math is wrong. The equivalent for math-mode is \mathrm. For upright Greek letters in math-mode there is the upgreek package
2d
comment tex4ht removes spaces in array column when including a package even if the package is not used
@Nasser I had a question mark at the end so this was meant as a question... I should probably have written “Do you know [...]?” Any user can know this by examining the log file. (Although it sometimes takes a bit experience to know how/where to look.) I didn't want to offend you. Sorry if I did!
2d
comment tex4ht removes spaces in array column when including a package even if the package is not used
You know that both tabularx and siunitx load array which is why it is not surprising that you get the same behaviour with them as with array?
2d
comment Draw molecule structure with torsion angles in TikZ
Welcome to TeX.sx! :) This reminds me of a blog post I had forgotten: tex.blogoverflow.com/2011/09/drawing-molecules
2d
comment Defining an environment that leaves the surrounding environment
Maybe you should describe your actual use case then?
2d
comment Defining an environment that leaves the surrounding environment
Let us continue this discussion in chat.
2d
comment Defining an environment that leaves the surrounding environment
Maybe... I for my part (nearly) always define new environments/commands for this. I like my document to be completely semantic. The “nearly” part has bitten me more than once already... I'm working on it to eliminate it :)