Fonts & Character SetsAccented Letters not always displayed

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
nounouuuuu201186
Posts: 36
Joined: Sun May 20, 2012 6:28 am

Accented Letters not always displayed

Post by nounouuuuu201186 »

Hi all,

I am preparing a report containing all the chapters in French. I have a problem with accented letters. Here are all packages that I used:

Code: Select all

\documentclass[12pt, ChapStyle1, oneside]{./Styles/Dea_Gsm}
% options : ChapStyle0 | ChapStyle1 | ChapStyle2, draft (double interligne + oneside), 10pt | 11pt | 12pt,  oneside | twoside...
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage {longtable}

\usepackage{mathrsfs, amsmath, amssymb, bbm}
\usepackage{pstricks, pst-node, pst-tree, pstcol}
\usepackage[dvips]{graphicx,graphics,epsfig}
\usepackage{floatflt,multirow, array, subfigure, hhline, enumerate, comment, url, pifont}
\usepackage[active]{./Styles/srcltx,rotating}
\usepackage[ruled,vlined,french,titlenumbered]{algorithm2e}
\usepackage{listings}
\usepackage{lscape}
\usepackage{url}
\usepackage[normalem]{ulem}
\usepackage{placeins}

\usepackage{slashbox}
%\usepackage{abstract}
%\usepackage{algorithm}
%\usepackage{algorithmic}
%\usepackage[lined,algonl,boxed]{algorithm2e}
%\usepackage{algpseudocode}
Some chapters display accented letters, others do not. Can you help me to settle this problem?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Accented Letters not always displayed

Post by Stefan Kottwitz »

Those two lines of your code are important.

Code: Select all

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
I guess you are using Windows. Your editor has to support latin1 input encoding. Furthermore, your font should support those accented letters. I don't see in your code which font you are using.

It would be good if you would post a Infominimal working example which shows that an accented letter in the code isn't displayed in the output.

Stefan
LaTeX.org admin
Post Reply