263 reputation
18
bio website
location
age
visits member for 4 years, 1 month
seen Jul 25 at 21:25

May
28
comment Greedy line breaks for 2 lines
I don't need automatic hyphenation in this example, I've inserted all hyphens I need manually.
May
11
comment error while running latex code with embedded python code
Try to compile it with latex -shell-escape pyinlt.tex
May
11
comment error while running latex code with embedded python code
Please post the contents of the pyinlt.log file.
Feb
19
comment How to detect overfull and underfull hbox without triggering the warning?
With a positive attitude everything is possible :-). Thanks for the \lastbox solution. Feel free to give a luatex solution, but most probably we'll go with \lastbox to reduce dependencies.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
Thanks for the fix, it works!
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
Please note that pastebin.com/UNdSgJCa demonstrating the bug doesn't contain any words that need more than 1 line break, so there may be another bug in your code causing text to disappear in an unanticipated way.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
I need to gather more data on the success rate of normal line breaking (with a large \emergencystretch), to figure out how desperately we need an alternative. Please note that if we have an alternative, then we can try both, and keep the result without an overfull \hbox, or if neither has it, keep the result with fewer number of lines.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
There is some input which normal TeX linebreaking can't break without an overfull \hbox, but this code can. Our input is 100000 table cells generated from a database, and we can't afford to manually fix all the failed line breaks, and we need an automated solution. I don't know of anything other than your code.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
Yes, I was planning to use this code in production for typesetting narrow, multiline table cells if TeX's line breaking algorithm produces overfull or underfull boxes. A bugfix would be very useful for me. Without the bugfix I can't use it, dropping text is a no-go even with a warning.
Feb
18
comment Can I locally switch to a 'greedy' justification algorithm?
I think I've found a bug in this implementation of \linebylinepar: some text disappears, see it here: pastebin.com/UNdSgJCa
Feb
17
comment Can I locally switch to a 'greedy' justification algorithm?
Would it be possible to make every line as tight as possible?
Oct
6
comment How to pass a macro as the argument to \selectlanguage
This doesn't answer the question (see the title).
Jan
22
comment How do I activate the split theme in beamer?
Thank you for the lots of helpful information in your answer.
Jan
22
comment How do I activate the split theme in beamer?
This does too many changes. I want to change only the footline.
Dec
12
comment High precision \includegraphics for LaTeX
@Martin Schröder: I can't use my package right now, because it doesn't support all options of \includegraphics I need.