Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
36 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
37 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
1answer
35 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
226 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
22 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
71 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
407 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
63 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
25 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
93 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{...
0
votes
0answers
46 views

accented letters, page numbering and lines duplicated

I have 3 problems: Some accented letters don't work: The page numbering: I want to start from a specific page and not from the beginning of file.(\setcounter{page}{1} does not work for ...
2
votes
2answers
165 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
74 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
265 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
58 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
115 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: \...
2
votes
0answers
53 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
85 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
231 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
355 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
53 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
289 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
124 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
53 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
215 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
51 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
89 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
196 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
388 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
496 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
445 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
130 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
184 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
664 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
541 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
969 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
61 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
110 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
65 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
322 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
244 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
125 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
103 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
387 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 ...
1
vote
1answer
1k views

bibliography option in French

I wonder if it is possible to get a complete French bibliography? For example, even if French accents can be used in bibtex, the categories still are in English. In French, edition is "édition". I ...
0
votes
1answer
209 views

French Bibliography [duplicate]

Could someone help me to write a bibliography in french? I tried many codes for this site (copy/paste in a separate document) and I always get errors. e.g.
1
vote
0answers
76 views

How do I make PythonTex accepts french accent? [closed]

I have some strings to print using PythonTex. With strings in english, no problem. E.g., I can use string like "a string of char printed using python" and it works \pyc{print("a string of char ...
3
votes
1answer
72 views

Why does polyglossia read hyph-fr.pat.txt twice?

Consider the following snippet: \documentclass{article} \usepackage{polyglossia} \setmainlanguage{french} \begin{document} Test \end{document} Compile with luatex shipped with TeXLive 2016, you get ...
3
votes
1answer
83 views

Incompatibility between french babel and fnpct \multfootnote

I would like to use babel with the french option and the multiple footnotes provided by the fnpct package (\multfootnote). But when I do, only one footnote is created instead of multiples. \...
2
votes
1answer
369 views

French spell check for texMaker is not working?

i'm trying to correct my report using texmaker i have downloaded and added the french language to texmaker But when i click on the spell check button a window appears but no suggestions or ...