I have a problem when I use the command \verb|detectionFinProgramme|. I don't know how to manage LaTex to get a normal alignement at the end of the line.

Does someone have a solution ?
Thanks in advance for your help.
I have a problem when I use the command \verb|detectionFinProgramme|. I don't know how to manage LaTex to get a normal alignement at the end of the line.

Does someone have a solution ?
Thanks in advance for your help.
You can use egreg's solution to Hyphenation of CamelCaseClassNames: Mix automatic and manual? as follows:

\documentclass{article}
\makeatletter
\def\camelhyph#1{\c@melhyph#1\relax}
\def\c@melhyph#1{%
\ifx#1\relax\else
\ifx#1\-#1\else
\ifnum`#1<91 \-\fi
#1%
\expandafter\expandafter\expandafter\c@melhyph\expandafter
\fi
\fi}
\makeatother
\begin{document}
Filler text filler text filler text filler text filler text filler text
\texttt{\camelhyph{detectionFinProgramme}}
filler text filler text filler text filler text filler text filler
text filler text filler text filler text filler text filler text.
\end{document}
\verbhere\texttt{detectionFinProgramme}would be better. It would not change the linebreak though. What do you want to happen? extra white space (try adding\sloppybefore the paragraph) or do you want to break within the word, and if so do you want a-at the end of the line. – David Carlisle Dec 12 '12 at 11:07