4
votes
1answer
152 views

Missing space after “guillemets”

I have a problem with the \og and \fg characters for opening and closing "guillemet". The closing guillemet is always too close to whatever follows, in other words, there is missing space between \fg ...
22
votes
1answer
370 views

microtype and the French way of typing text

In French, we put spaces before characters : ! ; ? when we type the text. For instance, we will type Que fait-on ? On met un espace avant les deux points : comme cela. If I do so and use microtype, ...
7
votes
3answers
262 views

xelatex + frenchb introduce extra spaces before some characters in lstlisting blocks

When using babel 'frenchb' with xelatex, spaces are introduced before colons and other characters. This is great for prose, but this is also being applied to code snippets. This yields an unacceptable ...
6
votes
3answers
282 views

Spacing in french documents?

I am currently writing a letter in French. I know that in the French language there are some (for other european languages) unusual spacings near question marks, colons and french guillemets. I write ...
6
votes
1answer
311 views

Equation spacing issue with fleqn (amsmath) and frenchb (Babel)

This is a follow-up to this question. Here is an exemple of the code I wrote to add a light gray background to important equations: \documentclass{article} \usepackage[fleqn]{amsmath} % ...
10
votes
1answer
238 views

Wrong spacing around guillemets

I use UTF-8 encoding to type a document in French, with the following definitions for guillemets: \DeclareUnicodeCharacter{AB}{\og} \DeclareUnicodeCharacter{BB}{\fg\xspace} and the Babel package: ...
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 ...
5
votes
1answer
977 views

French typography: space before percent sign

I have come across another specific typography rule in French: one must put a non-breaking space before the percentage sign (see this handy cheat-sheet). This is also true for colons, semi-colons, ...
11
votes
1answer
460 views

babel, frenchb and em dash

If I'm not wrong, in French the em-dashes, typeset with --- in LaTeX, are usually treated like the guillemets as far as non-breaking spaces go. An "opening" em-dash must be followed by a non-breaking ...