3,124 reputation
935
bio website
location London, UK
age
visits member for 2 years, 5 months
seen 3 hours ago

13h
awarded  Explainer
18h
comment Forbid page break after the title in mdframed
@AndrewSwann: The value x for needspace has to be large enough so that the lines of the title + the first line of the contents is covered. On the one hand, I have mdframes with titles that take two lines, and that have contents that sometimes start with (display) equations. On the other hand, I have mdframes which have a title that fits on one line, and contents that fits on another. Setting x too low means breaking the first case, setting x too high leaves too much whitespace on the previous page. In my case, there is no value for x for which neither situation happens.
1d
comment Forbid page break after the title in mdframed
@Bordaigorl: this is true but for large documents (I'm working on ~700 pages), this is quite tedious and not very robust. My current best solution is to not use mdframed's title at all, and manually insert the title instead (in my own environment) and put a \nobreak after the title. This works well.
2d
comment Longtable and floats: wrong table breaks on pages with floats (part 2)
LOL @ interesting features btw. I have rephrased the question accordingly.
2d
revised Longtable and floats: wrong table breaks on pages with floats (part 2)
added 17 characters in body
2d
comment Longtable and floats: wrong table breaks on pages with floats (part 2)
Thanks, David. I was hoping you in particular could help with this. You're right, I missed one additional line in the MWE. I've updated it and added a screenshot. Could you have another look if you have time? Much appreciated!
2d
revised Longtable and floats: wrong table breaks on pages with floats (part 2)
added 22 characters in body
2d
asked Longtable and floats: wrong table breaks on pages with floats (part 2)
2d
reviewed Approve suggested edit on \varepsilon vs. \epsilon
2d
comment Forbid page break after the title in mdframed
One way to solve this problem is to use the needspace option, but this is a bit of an unsatisfactory solution, because it does not really express the intention, and it needs manual tweaking in the case of multi-line titles.
Sep
28
revised Forbid page break after the title in mdframed
edited title
Sep
28
awarded  Investor
Sep
27
comment Forbid page break after the title in mdframed
@Aradnix: I just added a MWE for itun because I'm having the same problem. I also added a working but slightly unsatisfactory solution.
Sep
27
revised Forbid page break after the title in mdframed
added 372 characters in body
Sep
12
reviewed Approve suggested edit on Convert PSTricks to TikZ
Aug
26
comment I can not modify the chapter in latex
Have a look the answers given at tex.stackexchange.com/questions/160320/… which asks almost the same question. And texblog.net/latex-archive/uncategorized/fancy-chapter-tikz is another example.
Aug
26
reviewed Approve suggested edit on Command for text in math mode that does not become italicized inside theorem statements
Aug
1
revised How to simulate a bold font if I only have a Regular Height TTF file?
added 1 character in body; edited title
Jul
31
reviewed Approve suggested edit on Simulate handwriting with LaTeX
Jul
31
reviewed Edit suggested edit on How to un-italicise Bulletpoints