Every time I want a bold text, I want it colored blue. Currently, I am using:

\textcolor{blue}{\textbf{some bold and colored text}}

To save time, I can define a command to do both at once. How can I do it?

  • 3
    \newcommand\bluebf[1]{\textcolor{blue}{\textbf{#1}}} ? This is \bluebf{blue bold text} – Zarko May 6 '16 at 0:54



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.