Questions tagged [penalty]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
53 views

How to place an optional break with second line flushed to right?

I wrote a table of the \advance operator. If the line is too long, I want a break, and the second line flushed to right. I tried to get inspiration from the macro \signed presented in the TeXbook, ...
1
vote
1answer
47 views

Reliable way to know a (lower bound?) remaining space on the page

In order to solve this question: Wrap automatically into figure if not enough space to place it Here I need to learn the remaining space on the current page. I tried this to put a rule of exactly the ...
1
vote
1answer
55 views

Could someone explain threeparttable's para setting?

The para setting in threeparttable (excerpt below) uses what David Carlisle calls "an interesting collection of penalties and glue" that I must sadly confess is beyond me. Could someone ...
6
votes
3answers
121 views

Forbidding line breaks after specific symbols in inline math?

I'm writing a text in which order relations (e.g. <, \prec, \ll) often appear as arguments of functions rather than binary operators (e.g. $O(P,<)$). Every so often this leads to an inline ...
2
votes
1answer
157 views

What are exactly those \widowpenalties and what are they doing precisely? [duplicate]

In this answer, the author is using the command \widowpenalties=3 10000 10000 150. While I can understand what \widowpenalty is doing, I found no documentation for \widowpenalties3 nor for \...
1
vote
1answer
36 views

\penalty Not Having Effect

I am trying to suppress page breaks following a minor heading that I've defined. However, the penalty does not seem to have any effect, no matter where I place it. MWE: \documentclass{article} \...
0
votes
1answer
40 views

How to avoid the consecutive hyphenation in a para

i am getting the consecutive hyphen at the line end in a paragraph (more than 5 consecutive hyphen), in a two column format, I already used \doublehyphendemerits=10000, but not solved the issue. how ...