Questions tagged [french]

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

Filter by
Sorted by
Tagged with
10
votes
1answer
199 views

Siunitx comma as separator in unit exponent

I'm writing a report in French in which I want to display units with non-integer exponents: \documentclass[10pt,letterpaper]{article} \usepackage{siunitx} \begin{document} \sisetup{locale=FR} ...
7
votes
0answers
44 views

Tell LaTeX to use one command in one situation, a different one in another

In French, we write century numbers as the century number in Roman numerals, small caps, followed by e in superscript. As I use this a lot, I have created a command for it: \newcommand{\siecle}[1]{\...
0
votes
1answer
67 views

Document language messing with line spacing

I'm new to LaTeX. I need my document in French. I need things like "Table des matières" instead of "Contents", "Chapitre" instead of "Chapter"... From some research, I've added french in \...
3
votes
1answer
48 views

prettyref bug when used with babel-french

I'm writting in French so I use babel. I'd like to use prettyref to keep from writting "Section" and co. The problem is that I can not use it with French babel. It throws me: ! Paragraph ended ...
2
votes
1answer
21 views

Parts broken in TOC with Polyglossia / French

I'm trying to remove "Première Partie" from the TOC, I just would like the part title. It works well if I remove polyglossia, but I need it for Asian languages in my document. Minimal example: \...
0
votes
0answers
45 views

Multi-languages in amsbook using texstudio on Mac

I'm using the following LaTeX codes in texstudio on MacBook Pro (I omit somethings): \documentclass{amsbook} \usepackage{fancyhdr,etoolbox} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\thepage} \...
1
vote
0answers
40 views

Polyglossia \setotherlanguage french breaks autospacing [closed]

I'm writing a German (main), French paper with lua and polyglossia. After I use a local French \textfrench{} or \begin{french} - \end{french} the French punctuation spacing continues, even in a German ...
0
votes
1answer
51 views

Header with book title and part name using fancyhdr

I am currently writing a book in french which is made of three parts (with \part{}). Using the fancyhdr package, I would like to have the tile of my book on the even pages and the name of the part (...
1
vote
1answer
54 views

Obtaining babel-french automatic spaces before punctuation when using pandoc

I'm trying to get pandoc (which converts Markdown to PDF using LaTeX) to produce PDFs which respect French typesetting rules concerning non-breakable spaces. The suggestions here do not seem to work, ...
1
vote
2answers
107 views

Issues with Biblatex and the bib files

My bibliography codes looks like this \usepackage[backend=biber,style=apa{biblatex} \addbibresource{bibliographie.bib} And an exemple of one my references @article{Harrison2007, title = {What'...
0
votes
1answer
48 views

Unwanted uppercases in bibliography names and in captions

when I use the apa6 or article document class in english, there is no problem. But when I put it in french the names of authors in apa style (with apalike) are with uppercases and it's the same about ...
0
votes
0answers
37 views

Change Bibtex's details language

I'm trying to change the information of bibtex from english to french like year->année and master's thesis -> Mémoire de mastère, I tried few things but they gave wrong translation, like master's ...
1
vote
1answer
75 views

How to reduce space between a text line and differents \hline in a table - trying to use negative \vspace value

On the following figure, I try to make decrease the space betwen the line "Nombre de bins : (Y1) :5 ..." and the two \hlines above. More over, you can see that line "Nombre de bins : (Y1) :5 ..." is ...
0
votes
1answer
108 views

Problem with hyphenation in Ubuntu ( No hyphenation patterns were preloaded for french babel)

I have a problem when compiling a latex document in Ubuntu (18.04). I am using TeXmaker et MikTeX. The message is Package babel Warning: No hyphenation patterns were preloaded for (babel) the ...
2
votes
1answer
49 views

How to resize columns of a table?

I'm a beginner in Latex and I have used a table in my document. This is a part of the code: \documentclass{article} \usepackage{latexsym} \usepackage{ragged2e, ltablex, booktabs, makecell} \...
19
votes
2answers
1k views

Saint abbreviation

I would like to know if there is a way to abbreviate "saint" in this french way. A dash is also commonly used. My researches are unsuccessful at this point, thanks in advance.
0
votes
0answers
28 views

Conflict using french babel resulting in bibliography refs appearing in smallcaps [duplicate]

I wanted to re-run my thesis and while I changed nothing (nor the file format, the bib file or anything), all my references in the text now appear in smallcaps. I suspect there is a conflict with the ...
1
vote
1answer
105 views

Modify the authors field of article class (authblk package)

I am puzzling how I can modify the author field in article class when using the authblk package. I am writing an article in French. The following code \documentclass[french,11pt]{article} \...
3
votes
1answer
118 views

Add a space between the word and the colon in description

In French, colons are always placed after an unbreakable space. However, babel does not implement this rule. How to correct that? \documentclass{amsart} \usepackage[french]{babel} \begin{document} ...
1
vote
1answer
46 views

How to modify the appearance of some types of entries in the formatted bibliography?

I have to replace the mention In with Dans in the @inbook field of my bibliography, in order to follow some french rules. How could I do that? Thanks a lot! This is an entry: @inbook{AnnieAnzieu2010,...
2
votes
1answer
142 views

French hyphenation in plain TeX - plain TeX for french

I use plain TeX and work in french, how can I load the correct hyphenation patterns? How can I modify INITEX in order to get a stable "french plain TeX"? I would prefer not to go to LaTeX for that and ...
4
votes
2answers
179 views

Keep lowercase in biblatex

I have a little issue, my bibliography (using Biblatex, biber) is written in upper case while I did note specified anything (I think), and I'm not happy with this. Here is a little example : \...
3
votes
1answer
83 views

French spacing disappears within commands

I am preparing a document in French, using the "babel" package with option "french" and using commands that include colons and semicolons. My problem is, the French spacing before colons and ...
5
votes
1answer
266 views

French Theoremstyle

\documentclass[french]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{amssymb,amsfonts} \usepackage{amsmath} \usepackage{amsfonts} \theoremstyle{...
0
votes
1answer
31 views

Foreign accents in \document{res}

I get an error every time I try to type Dipl\^ome Accents such as in \'ecole work fine. I use \documentclass[margin]{res} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsfonts,...
1
vote
1answer
169 views

Package selinput Error: Cannot find a matching encoding

I am trying to write a CV in French using moderncv package, and every time I compile the file it gives me the following error: Package selinput Error: Cannot find a matching encoding. Here is the code ...
4
votes
1answer
415 views

Why is the character & replaced by “et”?

\documentclass[french,12pt,fleqn,a4paper,twoside,openright]{book} \newcommand{\chaptertoc}[1]{\chapter*{#1} \addcontentsline{toc}{chapter}{#1} \markboth{{#1}}{{#1}}} % Set the beginning of a LaTeX ...
3
votes
2answers
96 views

French words with memoir demo chapterstyle

I am looking for an easy solution to have the chapter numbers written in French words while using the \chapterstyle{demo} with the memoir class. If I use \chapterstyle{default}, the word "chapter" is ...
0
votes
0answers
30 views

Babel's automatic spacing seems to disappear in \href when the target is an URL [duplicate]

Babel provides automatic spacing around some characters for French, but hyperref's \href command seems to mess that up in certain particular contexts. See this example: \documentclass{minimal} \...
0
votes
1answer
346 views

accented characters error

I'm writing with french language. Document and chapters title are okey but the main text like this: Here the used packages: \usepackage[explicit]{titlesec} \usepackage[french]{babel} \usepackage{...
2
votes
2answers
290 views

KOMA-Script and \captionformat

I am using the class scrartcl to set an article which includes figures. I want the figures to have arbitrary titles, without a "Figure n:" in front of them. According to the KOMA-Script manual, I ...
1
vote
1answer
100 views

Bad space in quotation with csquotes and polyglossia

I use xelatex processing command and I want to obtain a specific result using the \enquote or \textquote commands of the csquotes package. The main language of my document is french and I must obtain ...
5
votes
3answers
477 views

How to get/suppress french spacing before punctuation in `\href`

Attention I have already a possible answer and will add it soon. I thought it would be useful to have a solution about it on the site. (Other answers are naturally welcome too). Question How to ...
1
vote
1answer
236 views

Display partname in memoir class with babel and French

I would like to have the \partname (Part) display in the table of content. Example: Part II: This is the title of my part 2 instead of "II This is the title of my part 2" For now, I use this: \...
4
votes
0answers
94 views

Why is a single inline French quote with csquotes causing all the following punctuation to have extra spacing? [duplicate]

I'm pretty new to LaTeX, so take it easy on me. 🤣 I'm trying to include a (single) French phrase in a (short, simple) document — and I want to get it right, more as a learning exercise, than because ...
1
vote
1answer
194 views

TexnicCenter Spelling

I start using TexnicCenter (2.02 stable) as an editor to write LateX files. During the installation I make sure to install different languages dictionaries especially the french one. When using ...
2
votes
2answers
423 views

acmart + [french]babel = confusing warning about caption

When processing \documentclass{acmart} \usepackage[french,american]{babel} \begin{document} Some text. \end{document} pdflatex spits out the following warning: Package frenchb.ldf Warning: Please ...
1
vote
2answers
793 views

\encl{} with multiple lines in lettre class

I use lettre class for French letters and, in the \encl{} I need to specify multiples lines. This is my MWE: \documentclass[12pt]{lettre} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
3
votes
1answer
87 views

Reledmac & indextools : Indexing a word inside a critical note problem

I'm really sorry to bother you, but I have a small problem with reledmac and indextools. I'm doing a thesis editing an old French manuscript. I am using several layers of critical notes and doing two ...
0
votes
0answers
488 views

French characters in TeXworks

I'm writing a long article using TeXworks, and I realize I have used poorly chosen notation or names for several notions that appear throughout the document. I would like to avoid spending three ...
1
vote
2answers
275 views

Translate the \byline command output in french

I would like to create a newspaper article and I found the command \byline to include my title and my name. The problem is that I need to publish my article in French and the command displays the ...
1
vote
1answer
83 views

Redefine French bibliography string “visité le ” by “page consulté le” in biblatex

I tried \DefineBibliographyStrings{french}{ urldate = {page consultée le}, } in Overleaf but I'm getting this error Package xkeyval Error: `urldate' undefined in families `blx@lbx'. I'm ...
3
votes
1answer
420 views

Using inputs both in utf8 and latin1

Issue I am writing a document in utf8 but I have to include some files encoded in ISO-8859 which are crashing my build. Indeed, I am using [utf8]{inputenc} which works great for all my files but does ...
0
votes
0answers
70 views

How to get “Dans” in place of “IN” in bibliography latex

I am writing my thesis in french and I need to put bibliography in french. I am using this style \bibliographystyle{plainnat-fr}. @inproceedings{ref1, title={Learning from Synthetic Data Using a ...
3
votes
1answer
123 views

lastpage for french

Does someone know, why the package lastpage doesn't work for french? \documentclass{scrbook} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{french} \usepackage{helvet} \usepackage{...
0
votes
1answer
287 views

Char encoding problem in listlisting

I would like to use listlisting and post commented source code in french. This is the complete document : \documentclass{article} \usepackage{listings,xcolor} %% Langage et police utilisée \...
5
votes
1answer
520 views

french: Add \usepackage{fontspec} to the preamble of your document

Consider the input \documentclass{article} \usepackage{fontspec} \usepackage[french,main=american]{babel} % \usepackage{fontspec}%%% Doesn't matter where you use fontspec \begin{document} Nothing. \...
2
votes
0answers
853 views

TeXStudio: disable internal shortcut (Ctrl+Alt+X) [closed]

I'm using a french keyboard with a bepo layout which makes great use of the AltGr key modifier. Unfortunately, some of TeXStudio's shortcuts use the Ctrl+Alt modifier. I managed to disable almost all ...
0
votes
2answers
1k views

Bibliography latex in french

I am using \bibliographystyle{plainnatfr} to generate references. For example, @inproceedings{cohen2003inference, title={Inference of human postures by classification of 3D human body shape}, ...
3
votes
2answers
215 views

Remove space in front of simple question mark in: (?)

Following, french typographic rules, LaTeX inserts a space in front of a question mark ?. No problem. However, for the following sequence, (?), LaTeX sets a space in front of the question mark and is ...