I'd greatly appreciate any help with this issue.
Actually, I created a new command (with 3 arguments) in order to have a basic correction functionality.
It's working for any text without accent like the minimal example below :
Code: Select all
% General package
\documentclass[a4paper, 12pt]{report} % soit book soit report
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,francais]{babel}
%Specific packages for the command
\usepackage{xcolor}
\usepackage{soul}
\usepackage{xstring}
% Command
\newcommand{\ps}[3]{%
\IfEqCase{#3}{%
{0}{\st{#1} \hl{#2}}%
{1}{#2}%
{-1}{#1}%
}
}%
\begin{document}
\ps{toto}{tata}{0}
\end{document}
Normally, accents are managed by the package
\usepackage[T1]{fontenc}
excepted for my command...Do you have any ideas to solve this problem ?
Thank you in advance for your precious help.