415 reputation
27
bio website
location
age
visits member for 2 years, 1 month
seen Feb 20 at 18:39

Feb
8
comment \AtBeginDocument breaks csquotes nesting - or \xspace won't add space
as I mentioned in the linked question, the problem is not that nesting doesn't work, but the problem is that \xspace really doesn't add a space before \csq@oqopen. In the light of that, this question could either be considered invalid or a duplicate of my original question.
Feb
8
comment \xspace doesn't add whitespace before quotes if they are active
Hours of debugging later I know a little bit more: \AtBeginDocument does not enable the quotes, that is why \xspace seems to work in the above example (“ is a quote by default). One has to additionally use \EnableQuotes to make them active, but then the space is gone again. I'll update the MWE and unaccept this answer.
Feb
8
comment \AtBeginDocument breaks csquotes nesting - or \xspace won't add space
oh oh.... no answer to this yet? If this is a bug, where would be the correct place to report it?
Feb
3
comment \xspace doesn't add whitespace before quotes if they are active
Oh oh, I just discovered that this solution breaks nesting, see here: tex.stackexchange.com/questions/157278/…
Feb
1
comment How to prevent TeX from stretching glue beyond a given maximum?
I really appreciate your creativity and you trying to help. Makes me realize new possibilities; however, in this case plan b doesn't solve the problem because the page break should cause the 1\baselineskip to be in the middle of the page, not at the end (otherwise the page looks too short). But I will experiment with the badness parameters, maybe I can find a satisfying solution that way.
Feb
1
comment How to eat/gobble all following skips?
I see what you mean. I thought to reduce the problem to its essence in the MWE... I will add some more explanation.
Feb
1
comment How to prevent TeX from stretching glue beyond a given maximum?
Yeah, this is what I have been playing with already. I have no idea how to "encourage it to shrink", though. That seems to be more difficult than to manually fix all the pages where the glue has been stretched too far :-( This seems like a serious limitation of TeX to me.
Feb
1
comment How to prevent TeX from stretching glue beyond a given maximum?
Ok, fair enough. so let me ask something else: is there a (variable, changable) penalty for TeX to stretch beyond the specified amount?
Feb
1
comment How to prevent TeX from stretching glue beyond a given maximum?
Darn! :( Is there an inherent reason for it? I mean, why then the possibility to specify an exact amount? Wouldn't it be more appropriate then to just use integers for glue so that one can specify relations of stretchability? Like 4pt plus 5 and 4pt plus 10 to get glue that can stretch twice as fast as the other glue?
Feb
1
comment How to prevent TeX from stretching glue beyond a given maximum?
Yes, indeed, but that is not exactly my question. My question is how to impose a limit on the amount it stretches. What, after all, is the use of giving a plus 1mm if you will then end up with 1cm?
Feb
1
comment How to eat/gobble all following skips?
Can you give me a little more detail about what information you need or what exactly is unclear to you? All I want to know is how to do the opposite of \unskip: neutralize a following \addvspace or \vskip.
Feb
1
comment How to eat/gobble all following skips?
I'm not so sure why you are asking this... I never mentioned the table of contents, but the list of figures. Anyway, after my chapter definition I do not want any skips to be effective, neither in case of a following \section, nor in case of the list of figures if it starts with a few \addvspace's. I hope that makes it clearer.
Nov
20
comment \xspace doesn't add whitespace before quotes if they are active
yes; but that confirms the opposite of the documentation and makes it even less clear to me... I cannot use \MakeAutoQuote anywhere in the preamble, only with \AtBeginDocument does it work. So there must be something else in \AtBeginDocument, too, after which \MakeAutoQuote has to be executed, right?
Nov
20
comment \xspace doesn't add whitespace before quotes if they are active
yes, thanks! But that is only because I left the \ExplSyntaxOn out in the too-minimal-WE :)
Nov
20
comment \xspace doesn't add whitespace before quotes if they are active
wow, thanks, that works flawlessly! Any explanation as to why? I am asking because the xspace documentation claims the opposite: first make the character active, then add it to an exception or remove it.
Oct
17
comment Has anyone combined marginfix and tikzmark yet?
Ok, I have to admit, I had to give up on this for now, it takes too much time to figure everything out... but the good news is, while reading package code to see how others have been doing it, I accidentally came across the marginnotes package, which I didn't know before. That package has no trouble at all putting the notes exactly where they should be. On pages where I need automatic adjustment of margin stuff, I use marginfix. So I am done for now - until a bright person is able to fix marginfix...
Oct
14
comment Has anyone combined marginfix and tikzmark yet?
yes - 820 pages, and lots and lots of margin notes. I only use 0.5\onelineskips that are problematic, all others are interger multiples of \onelineskips. Quite fantastic and really good looking, but if there is an uneven number of 0.5\onelineskips on a page, the text ends half a line too soon on the page. So I need a little bit of glue there... I'll have a look at your solution. I have also figured that marginfix is determining the position in \MFX@getypos, storing it in \mfx@ypos. Now just how to adapt that...
Oct
13
comment How to determine width of \textls? \settowidth doesn't work
darn... how then can I define in a package a TOC layout that says "PART I TITLE" and that indents the chapters by the amount of "PART I", which is \textlsed?
Oct
13
comment How to determine width of \textls? \settowidth doesn't work
@egreg: very good point! I will change that.
Oct
13
comment How to put a figure on the facing page of a chapter page with correct numbering?
aha! now this is perfection, since you used latex3 and even provided for the optional sidecaption arg. Very smart, thank you very much! I will have to get used to this redefining commands to restore the old command :)