{french} is about typesetting and conventions relating to the French language.

learn more… | top users | synonyms

14
votes
4answers
707 views

tikz declare function and babel french option

I would like to declare functions in tikz for multiple uses of the same function within the code. Sadly, it seems that the tikz "declare function" is not compatible with the french option in babel. ...
6
votes
3answers
290 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 ...
3
votes
1answer
628 views

MiKTeX update: a too old babel/frenchb

This question deals with the version of a babel language available after a MiKTeX update (the french one, namely frenchb.dtx). I've just made an update of my (complete) MiKTeX 2.9, especially ...
4
votes
1answer
498 views

Caption formatting with babel French

I have a problem override the default formatting of float captions when using babel’s French option. When babel’s francais setting is chosen, captions are formatted with the label (“Figure X”) in ...
6
votes
1answer
335 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
249 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: ...
3
votes
3answers
5k views

How to convert UTF-8 to latin-1 on the fly?

I have my whole latex document which is encoded in latin-1. Also, the documentclass provided by my institution is designed to use latin-1. I write in french. I wish to use .bib files created by ...
5
votes
0answers
250 views

Removing spaces before command

When using French guillemets with TeX4HT, the resulting symbols are not followed/preceded by non-breaking spaces like they should, resulting in wrong line-breaking in HTML. I tried resetting \og and ...
8
votes
3answers
8k views

How to type French character in LaTeX

I would like to insert "ç". Tried including \usepackage[utf8]{inputenc}, and type \c {c} , but doesn't work.
12
votes
3answers
283 views

Why does the package babel[french] destroy \@for loops?

Why does this minimal example code: \documentclass{article} \usepackage[francais]{babel} \begin{document} \def\names{Toto,Titi,Tete,Tutu} \makeatletter \@for\next:=\names\do{\textbf{\next} } ...
6
votes
4answers
986 views

Error when using \begin{RÉSUMÉ}

I write a paper in French, I add a package \usepackage[english,francais]{babel} to use a French but when I write: \begin{RÉSUMÉ} abstract in french \end{RÉSUMÉ} I get the error: ! LaTeX Error: ...
7
votes
1answer
333 views

Right-aligned line-break with long verses in verse

I'm happily using the verse environment to typeset French poetry. However, I'm unsatisfied with the behavior of long-line breaks (when the verse is too long to fit on the page). The verse behavior is ...
6
votes
3answers
10k views

Writing French characters

This question is (almost) exactly the same as this one : How to write directly French characters in Emacs and print them in LaTeX? You may read his question instead of mine, the only difference (I ...
29
votes
2answers
780 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 ...
4
votes
1answer
371 views

efrench vs frenchb

What are the differences between efrench and frenchb? Are they compatible with one another (for example the use of \og and fg in frenchb)? Why is efrench not in TeXLive even though its documentation ...
2
votes
1answer
1k views

How to write directly French characters in Emacs and print them in LaTeX?

I am editing LaTeX with Emacs. I would like to write in French. At the moment I have to write special French characters for instance like this: \'e prints é. If I write directly é in Emacs, the ...
6
votes
3answers
5k views

How can I install Kile 2.1.0 spellcheck libraries other than English?

I need a french dictionary. At least, it would be nice to have any information on the location where kile stores its spell-checking dictionaries.
13
votes
3answers
923 views

French typography recommendations

This question led to a new package: impnattypo The French government publications office (Imprimerie Nationale) publishes a list of recommendations for French typography. I'm wondering how to ...
8
votes
1answer
702 views

Biblatex, French and pp.

I'm having a little problem with the settings of my bibliography. I think everyone is familiar with the difference between the number of pages, shortened "pp.", and the page referenced, shortened ...
5
votes
1answer
1k 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, ...
33
votes
1answer
4k views

Test if a package (or package option) is loaded

[french]{babel} (aka frenchb) is incompatible with some other packages, such as tikz, since it tries to insert \thinspace before semi-colons. In order to make these two play nice, you have to call ...
11
votes
1answer
467 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 ...