I have created a newcommand to format titles in my prayer book. I want the newcommand to be centered, but with the following code, there is extra space above and below the newcommand. I tried to use \centering instead of \begin{center} \end{center}. but it doesn't compile centered.
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{xcolor}
\newcommand{\prayerheading}[1]{%
\begin{center}
\noindent\large\bfseries\textcolor{red}{#1}\normalsize
\end{center}
}
\newcommand{\psalmheading}[1]{%
{\centering
\noindent\large\bfseries\textcolor{red}{#1}\normalsize
}
}
\title{Test}
\author{Michael}
\begin{document}
\maketitle
\prayerheading{Introductory Prayer}
In the name of the Father, and of the Son, and of the Holy Spirit. Amen.\
Glory to Thee, our God, glory to Thee.\
\prayerheading{Evening Troparia}
Have mercy on us, O Lord have mercy on us, for laying
aside all excuse, we sinners offer to Thee as to our
Master this supplication: have mercy on us.\
\psalmheading{Evening Troparia}
Have mercy on us, O Lord have mercy on us, for laying
aside all excuse, we sinners offer to Thee as to our
Master this supplication: have mercy on us.\
\end{document}
I'm sorry I keep having issues having all the text that's in the code edited properly. So, I am trying to keep the look of the original code: \prayerheading but without the extra spacing above and below.
Thanks

\centeringbut remove\noindentand replace\normalsizeby\par– David Carlisle Jul 08 '23 at 00:16\\at the end of paragraphs – David Carlisle Jul 08 '23 at 00:18\centering', removenoindent' and use `\par' instead of '\normalsize' is the better or more correct way to reduce spacing in new commands requiring centering? – Doc Jul 08 '23 at 19:25