6
votes
1answer
96 views

Is there a standard for automatic line-breaking for text with various alignment types?

The context is that I'd like to not have to manually choose newlines and rather eyeball the length of text and possibly specify the number of lines or horizontal width the text should take up. I'm ...
5
votes
2answers
78 views

Line break with _

I have been searching what is the proper line break when using _ but I did not find any rules for that. I have a table which is too big and the content has to be divided into two lines. I have a name ...
20
votes
1answer
274 views

How to I force a word to move to the end of the line?

How do I force my document to pull selected words to the end of each line (and to hyphenate them as well, if needed)? I have an old document. I know the page size and I think I've found the ...
15
votes
1answer
184 views

Expand abbreviation automatically at beginning of line

According to an tradition in Spanish typesetting (Martinez de Sousa, MELE4), the abbreviation etc. should be fully expanded to etcétera when it appears at the beginning of the line (Spanish page in ...
12
votes
1answer
461 views

Is there a way to avoid short lines?

Is there a universal setting to tell TeX that the last line of a paragraph can not have just one word? For instance, instead of this: This is a sample paragraph and there is one word here. you ...
2
votes
1answer
207 views

Prevent words such as 'the' from appearing at the end of the line

I write my document in Latex for Mac and I don't know how to prevent Latex from putting 'the' and similar short words at the end of the line. I already tried impnattypo and encxvlna packages, but none ...
6
votes
2answers
386 views

smarter hyphenation for narrow columns?

I know how to turn off hyphenation via \nohyphens{.....} (from hyphenat). But what I'd really like would be to hyphenate smartly. What I mean by this should hopefully be made clear by the following ...
17
votes
2answers
269 views

Could TeX typeset note text between two lines of the body?

How to typsetting the note text like There is body blahblah blahblah I need a note here and then blah blah The note about word blahblah blahblah ...
13
votes
2answers
411 views

Is there way to put hard space after defined words?

In Polish typography, one should avoid putting prepositions at the end of the line. Example: Nie wiedziałem, że nie umieszcza się przyimków na końcu strony. - bad Nie wiedziałem, że nie umieszcza się ...
17
votes
1answer
1k views

How to join paragraphs with a pilcrow \P?

Background There are many typographically distinct ways to separate paragraphs from one another, the most common being starting each paragraph on a new line with either an indent or additional ...
7
votes
2answers
568 views

How to punctuate multiline equations?

This might be off topic, yet I wouldn't know where else to ask. I want to keep up with the good habit of punctuating displayed equations. For example I know the comma (,) is compulsory in Here, we ...
149
votes
5answers
5k views

How to define the badness of a river?

I've written an algorithm to try and detect rivers in paragraphs and it actually detects quite a lot when I run it. Some of them are clearly false positives, but there are others that are indeed ...
29
votes
2answers
685 views

Ensure minimal length of last line

This question led to a new feature in a package: impnattypo One rule in French typography is that the last line of a paragraph should not be shorter than the double of the indentation of the ...
35
votes
5answers
3k views

one-letter word at the end of line

This question led to a new feature in a package: impnattypo I come from Poland and I'm writing some text in my native language. One of our typography standards is that we do not leave ...
22
votes
2answers
745 views

Repetition of a word on two lines

This question led to a new feature in a package: impnattypo There have been questions about rivers asked in the past. I'm wondering about words that are repeated in the same place on two ...
1
vote
1answer
468 views

Breaking formulas before and after binary operators

Page 195 of the TeXBook reads: Although formulas within a paragraph always break after binary operations and relations, displayed formulas always break before binary operations and relations. ...
27
votes
2answers
969 views

How to visualize the underfull box in final output PDF files

I am finalizing a document. There are a few underfull vbox I just cannot figure out where they are. Sometimes it is easy to figure out which page is underfull vbox from the log file, but sometimes it ...
36
votes
4answers
8k views

When should I use non-breaking space?

DEK gained a reputation of painting red the draft dissertations of his students, taking particular note of incidents when they omitted a non-breaking space that should have been included. I have this ...