# Punctuation and text decoration - 'csquotes' not compatible with 'ulem' or 'soul'

I'm using TeX for a long time now, but I'm currently struggling integrating some features for my daily use. To be more precise: I'm intending to use features like text highlighting (yellow markup), strikeout text passages, and so on. For punctuation i've the package 'csquotes' in use for ages.

So far, I tried to realize this by using 'ulem' and 'soul'.

soul: breaks with 'csquotes' its \enquote{}-command.

! Argument of \csq@quote@i has an extra }


ulem: breaks also with \enquote{}.

MWE (wished by TeXnician)

\documentclass{article}
\usepackage{csquotes}
\usepackage{soulutf8}
\begin{document}
\hl{Alpha particles named after and denoted by the \enquote{first letter in the Greek alphabet, alpha consist of two protons} and two neutrons bound together.}
\end{document}


Any ideas? Any alternative packages?

Best regards

• Welcome to TeX.SX! Could you please post a minimal compilable code example (MWE) of what you're trying to achieve? Jul 24 '18 at 17:10
• Here you are... MWE added to topic. Didn't seem to be relevant to me, but it makes it maybe easier. Jul 24 '18 at 17:31
• It's an unfortunate (but known) limitation of soul(utf8) and ulem that their underlining commands can only accept light markup (from very few select macros) in their arguments. If you use LuaLaTeX you can use Lua callbacks to construct a more robust underlining. Jul 24 '18 at 17:38
• \soulregister{\enquote}{1} works but breaks the underline before and after the quotation mark. Jul 24 '18 at 17:42
• @guest Because line-breaking and breaking boxes is not that easy (and underlining is not considered proper typographical style anyway). Design restrictions of the most software packages will be noticeable at some point. Jul 24 '18 at 19:16

\documentclass{article}