Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [french]

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

0
votes
0answers
16 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
38 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} \...
18
votes
2answers
959 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
26 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
24 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
77 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
41 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,...
1
vote
1answer
76 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 ...
3
votes
2answers
81 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
43 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
233 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
27 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
112 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
411 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
76 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
26 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
199 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
213 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
83 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
367 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 ...
0
votes
0answers
63 views

french characters commands do not work

I'm using the CV template of Debarghya Das (https://www.overleaf.com/latex/templates/deedy-resume/sqdbztjjghvz#.Wc4HfBOCzVp). I'm preparing my CV in French then I need to use French characters. The ...
1
vote
1answer
142 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
74 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
0answers
115 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
296 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
552 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
72 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
363 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
182 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
66 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
317 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
54 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
101 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
224 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
439 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
662 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
756 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
146 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 ...
2
votes
1answer
193 views

curly apostrophes in fancyvrb verbatim environments

I am actually using the fancyvrb package to have verbatim environments with working commands inside. I am also using the cmun.ttf font (computer modern unicode font), with XeTeX. When I am using this ...
3
votes
1answer
919 views

Package inputenc Error: Unicode char ⁠ (U+2060)(inputenc) not set up for use with LaTeX

To write French in my Latex documents, I've added "\usepackage[utf8]{inputenc}" to the preamble. This statement prints the following error in different parts of the log file: Package inputenc Error:...
1
vote
0answers
697 views

Missing french.ldf [closed]

I am unable to compile any Latex file in french, I always get an error message relating to the babel package. Apparently in the log file, it says the file french.ldf is not found and thus babel ...
2
votes
2answers
1k views

Package exercise: change “exercise” to French “exercice”

I am preparing a homework for my students with LaTeX, so I used \usepackage{exercise}. In the .pdf file I got "exercise" and I want it to be in French (exercice) not English. I put \usepackage[...
1
vote
0answers
72 views

Polyglossia: equivalent to \NoAutoSpacing?

I use polyglossia in XeLaTeX with the french language. When I type verbatim text, with \verb|...|, the space before a : is not removed. For exemple, I get http :// for web URLs... In Babel, I could ...
2
votes
2answers
113 views

XyMTeX problem with for French

I want to use XyMTeX to draw some chemical structrures, but because I am French, I need to add \usepackage[francais]{babel} in order to be able to use accents. My problem is that with this package, my ...
0
votes
1answer
74 views

Replacing words in a table automatically

I am currently working on a paper for an economics course. I need to produce, among other things, summary statistics. As I am working on Stata, I picked the sutex command and outputted the tables in ...
5
votes
1answer
385 views

Space inside French guillemets

Here is my source: \documentclass[12pt]{memoir} \usepackage{polyglossia} \setdefaultlanguage{french} \usepackage{csquotes} \MakeOuterQuote{"} \begin{document} Je n'ai rien à dire --- mais je le dis ...
4
votes
1answer
273 views

Prevent line break before :

Here is my minimal code: \documentclass[12pt]{memoir} \usepackage{polyglossia} \setdefaultlanguage{french} \begin{document} Bonjour tout le monde. Si je vais au bout de la ligne, je vais avoir cela :...
2
votes
0answers
140 views

PDFLatex Printing Preview - French Cursive environment

I wanted to had a maxime to my latex book. Here is document viewed with Evince here the document viewed with the preview application in printing windows of Evince here the document viewed with ...
2
votes
1answer
116 views

Problem with babel [duplicate]

I can't understand the way babel works (or, more precisely, doesn't) in the following example. The command \sujet is supposed to create a new command named \sujeti, which in turn is supposed to print ...
1
vote
1answer
494 views

Using multibib and natbib for French bibliographies

I want two separate bibliographies in my work. I have used the package multibib to create my bibliography. The problem is that I am using natbib because my bibliography style requires it (francais.bst ...