A handy macro egreg made works famously, but not so well in titles. \protect
ing it prevents TeX from dying, but then it seems to be hidden from \spacedallcaps
.
\documentclass{article}
\usepackage{xspace}
\usepackage[nochapters,beramono]{classicthesis}
%% from https://tex.stackexchange.com/a/71094/31523
\newcommand{\species}[3]{%
\newcommand{#1}{\gdef#1{\textit{#3}\xspace}\textit{#2}\xspace}}
\species{\ecoli}{Escherichia coli}{E.~coli}
\species{\celegans}{Caenorhabditis elegans}{C.~elegans}
%%
\title{\spacedallcaps{Studying \protect\celegans eating \protect\ecoli.}}
\begin{document}
\maketitle
\ecoli is an example of a model species. People study \ecoli because
people have studied \ecoli. But \celegans is better.
\end{document}
With \title{\spacedallcaps{Studying \textit{Caenorhabiditis Elegans} eating \protect\ecoli.}}
replacing the other \title
, it looks more as-intended
\lsstyle
:Studying \textit{\lsstyle Caenor...}}
– egreg Nov 15 '14 at 0:20