# How to create custom formatting command

I'd like to create a formatting command to use like so:

\myawesomecommand{Some awesome text.}


This should be interpreted as, for instance,

\textbf{\color{red} Some awesome text.}


How can I do that?

• \newcommand\myawesomecommand[1]{\textbf{\color{red} #1}} helps? than you can use as \myawesomecommand{Some awesome text.} Mar 7 '18 at 18:23
• @Zarko yes, thanks! I'll upvote it if you post it as an answer.
– Zubo
Mar 7 '18 at 18:25

\documentclass[]{article}