Text FormattingA problem with liturg.sty package

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

A problem with liturg.sty package

Post by thedoctor818 »

Hullo all. I am currently having a problem with the liturg.sty package. In brief, the problem I am having has to do with this newcommand:

Code: Select all

\newcommand\rub[1]{%
\noindent\small\textcolor{red}{#1}\normalsize\\%}
I wish to make the text (using \rub) not only small, and red, but also bold. How can I accomplish this?

Thanks for all your help.
-Michael D

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

A problem with liturg.sty package

Post by frabjous »

I don't see what this has to do with liturg.sty, but have you tried:

Code: Select all

\newcommand{\rub}[1]{%
\textcolor{red}{\textbf{\small #1}}%
}
If you want a newline at the end:

Code: Select all

\newcommand{\rub}[1]{%
\textcolor{red}{\textbf{\small #1}}\newline%
}
Throw in \noindent at the beginning if you like.
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

A problem with liturg.sty package

Post by thedoctor818 »

That might work, but currently I am sturggling with several error messages when I try to compile. Here is a short part of my doc:

Code: Select all

\documentclass[a4paper,14pt,twocolumn]{article}
\usepackage[british]{babel}
\usepackage[top=2cm, bottom=2cm, left=1cm, right=1cm]{geometry} 
\usepackage{amsfonts,amssymb,amsmath}
\usepackage{liturg,color}


\title{}
\author{The Doctor}
\date{\today}

\begin{document}

\maketitle

\rub{We chant the 1$^{st}$ Antiphon of the 1$^{st}$ Kathisma ``Blessed is the Man \ldots''}\\

\begin{center}
\section{``Lord, I have cried \ldots''}
\end{center}
\rub{At ``Lord, I have cried \ldots'', we insert 8 stichera 
\& we sing 3 podoben of the  Pentecostarion, and then 5 of the Forerunner.}\\

\centrub{Of the Pentecostarion. Tone 4. ``Thou didst ascend the cross.''}
And here are the error I am getting:

Error line 6! File ended while scanning use of \@ argdef.
Error line 15! Undef. conrol sequence. \rub
Error line 23! Undef. control sequence. \centrub



And for reference, here are those two definitions in my altered form of liturg.sty:

Code: Select all

\newcommand{\rub}[1]{%
\textcolor{red}{\textbf{\small{#1}}%
}

\newcommand{\blackrub}[1]{%
\small\textcolor{black}{#1}\normalsize%
}

\newcommand{\centrub}[1]{%
\begin{center}
\normalsize\textcolor{red}{#1}
\end{center}

Thanks for any help anyone can be.
-Michael D
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

A problem with liturg.sty package

Post by thedoctor818 »

Actually, my /rub should be:

Code: Select all

\newcommand{\rub}[1]{%
\textcolor{red}{\textbf{\small #1}}%
}
Thanks.
-MD
-Michael D
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Re: A problem with liturg.sty package

Post by thedoctor818 »

Thanks for the help.
-Michael D
Post Reply