Why the number in the example is not blue?

\documentclass[11pt, a4paper]{article}
\newtheorem{exmp}{{\color{blue}\bfseries Παράδειγμα}}
\setmainfont[Mapping=tex-text]{DejaVu Sans}
  • Welcome to TeX.SX. You've put some extra { } around your \color command. Remove them and it works fine :) – Rico Jan 2 '16 at 12:56
  • You're misusing \exmp: it must be called as \begin{exmp}...\end{exmp}. – egreg Jan 2 '16 at 16:23

Wrapping \color in extra { } restricts it to the content inside the brackets. If you want the whole thing in color you need to remove those brackets.

\newtheorem{exmp}{\color{blue}\bfseries Παράδειγμα}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.