8
votes
2answers
197 views

Make \section unaffected by \parfillskip

To avoid widow words at the last line of a paragraph, I adjust parfillskip: \parfillskip 0pt plus 0.75\textwidth While this gives nicer paragraphs, it also stretches section titles a little, as you ...
12
votes
2answers
410 views

Producing centered asterisk to indicate new section

In a text (or a passage of a text) that is not subdivided by headings -- say, an essay --, a common tool to indicate the start of a new section is a simple asterisk (or other symbol), usually ...
9
votes
2answers
779 views

Minimum length of last line of a paragraph

There is a more or less equivalent question to this: Ensure minimal length of last line, but I absolutely need a TeX solution. I more or less stumbled upon the problem mentioned in the discussion of ...
10
votes
3answers
833 views

When to indent a paragraph?

I use indentation of the first line for paragraphs. When a new paragraph starts after a code listing (or some other figure), this looks a bit unpleasant to me. What is the typographical convention for ...
17
votes
1answer
2k 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 ...
12
votes
2answers
429 views

Avoid just nearly filled last lines

Old school typesetters never allowed the last line of a paragraph to be just nearly filled. Either it would be clearly shorter than the other lines or it would be stretched to align with the right ...
42
votes
3answers
32k views

No indent in the first paragraph in a section?

I am just curious that the following format looks good to you or not? The preamble I used is just \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} ...
4
votes
1answer
235 views

How to typeset definitions with several paragraphs in the KOMA classes

The KOMA classes do not use vertical inter-paragraph spacing with some good arguments (see page 50 of the scrguide). I defined an environment for definitions with the amsthm package using their ...
152
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
751 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 ...
2
votes
2answers
272 views

Should I leave LaTeX decide the vertical height of the space above a text paragraph?

In my document, above a text paragraph, there are objects of many possibilities: \end{figure}, \end{align*}, $$, \end{itemize}, end{enumerate}, etc... It seems that visually on the final pdf, it does ...
4
votes
2answers
2k views

How and when to remove the space on the left hand of the beginning of a paragraph?

I have something like that: \section{subsection} ... \begin{figure} ... \end{figure} texttexttext ... It turns out that it does not put the "texttexttext" on the very left hand side... it leaves ...