0

I use tcolorbox to definie new theorem styles. This is one example :

\documentclass{article}
\usepackage[many]{tcolorbox}
\tcbuselibrary{theorems}
\newtcbtheorem{remarq}{Remarque}{%
    breakable,enhanced,colback=blue!10!white,%
    colframe=blue!95!black,fonttitle=\bfseries,%
    label separator={' :'}}{remarq}
\newenvironment{remarque}{\begin{remarq*}}{\end{remarq*}}

\begin{document}
\begin{remarque}{}{}
  Une remarque...
\end{remarque}
\end{document}

I can't seem to find the correct way to signify I would like a space before my ":" in the heading of the theorem : "Remarque :" and not "Remarque:" (as you may guess, I'm french :)

Can anyone help me on this matter ? The manual is not very specific on this matter (or, more certainly, I read it wrong...).

Thanks.

0

1 Answer 1

2

I think you mean separator sign and not label separator

\documentclass{article}
\usepackage[many]{tcolorbox}
\tcbuselibrary{theorems}
\newtcbtheorem{remarq}{Remarque}{%
    breakable,enhanced,colback=blue!10!white,%
    colframe=blue!95!black,fonttitle=\bfseries,%
    separator sign={\ :}}{remarq}
\newenvironment{remarque}{\begin{remarq*}}{\end{remarq*}}

\begin{document}
\begin{remarque}{test}{}
  Une remarque...
\end{remarque}
\end{document}

enter image description here

1
  • Yes ! My mistake. I confused the label written in the title and the label written in reference on page 339 : flashed on ":", didn't read the rest :-( Thanks a lot. Commented Oct 31, 2018 at 11:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .