Hi Michael,
besides the remark made by Stefan_K, notice that your code contains two nested preambles so the compilation will produce errors.
Text Formatting ⇒ Too much space between chapter and section headings
Too much space between chapter and section headings
1,1,2,3,5,8,13,21,34,55,89,144,233,...
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 92
- Joined: Fri Apr 24, 2009 8:02 pm
Too much space between chapter and section headings
Below is my liturgical.sty package I have found my errors, but still cannot figure out which number to reduce in order to get the desired result [decreaesed spacing above the section & subsection & chapter headers]
Here is what I want it to look like using my liturgical package. Note that however; I wish to do this using \section & \subsection.
Sorry for the length, please help if possible.
Thanks,
-Michael D
Code: Select all
%Packages
\ProvidesPackage{liturgical}
\RequirePackage[british]{babel}
\RequirePackage{color}
\RequirePackage{lettrine}
\RequirePackage{ecclesiastic}
\RequirePackage{liturg}
\RequirePackage[pagestyles]{titlesec}
\RequirePackage{framed}
\RequirePackage{amsmath, amssymb}
%Commands
\titleformat{\chapter}[display]
{\normalfont\Huge\bfseries\centering}{}{20pt}{\huge}
\titlespacing*{\chapter} {0pt}{28pt}{20pt}
\titleformat{\section}[display]
{\normalfont\LARGE\bfseries\centering}{}{14pt}{\Large}
\titlespacing*{\section} {0pt}{16pt}{14pt}
\titleformat{\subsection}[display]
{\normalfont\Large\bfseries\centering}{}{12pt}{\large}
\titlespacing*{\subsection} {0pt}{14pt}{12pt}
\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}
%End Macro
Code: Select all
\documentclass[12pt,letterpaper,twoside,openany]{book}
\usepackage[left=0.50in,right=0.45in,top=0.50in,bottom=0.50in]{geometry}
\usepackage{liturgical}
\title{AN ORTHODOX RULE OF PRAYER.}
\author{Father Thomas Moore, Michael Dykes}
\begin{document}
\maketitle
\tableofcontents
\chapter{APOLYTIKIA AND KONTAKIA FOR THE MONTH OF SEPTEMBER.}
\rubric{Here are simplified rubrics for Sunday Troparia, and Kontakia; when there is no Major Feast Day.}
\hhourheading{01: The Indiction; that is the Church New Year. \red{III}}
\rubric{Feast, Dispensation for Wine and Oil.}
\hourheading{Apolytikion for the Indiction. \ins{Tone II.}}
O Creator of the Universe, Thou hast appointed times by Thine own power; bless the crown of this year with Thy goodness, O Lord. Preserve in safety Thy rulers and Thy cities: and through the intercession of the Theotokos, save us!
\hourheading{Apolytikion for the Theotokos. \ins{Tone I.}}
Rejoice, O Virgin Theotokos, Full of Joy, Refuge and Protectress of the human race, for from you the Redeemer of the world was incarnate! For as you alone, Mother and Virgin, are ever-blessed and most-glorified, beseech Christ God to grant peace to the whole world.
\hourheading{Apolytikion for St. Simeon. \ins{Tone I.}}
You were a pillar of patient endurance,
Having imitated the forefathers, O Venerable One:
Job in suffering, and Joseph in temptations.
You lived like the bodiless ones while yet in the flesh, O Simeon, our Father.
Beseech Christ God that our souls may be saved.
\rubric{Glory.}
\hourheading{Kontakion for St. Simeon. \ins{Tone II. ``Seeking the things of the highest''}}
Seeking the things of the Highest,
And having made you pillar a fiery chariot, you were joined to the heights.
Therefore, you have become a companion to the angels, O Venerable One,
And with them you are praying incessantly to Christ God for us all.
\rubric{Both now and ever.}
\hourheading{Kontakion for the Indiction. \ins{Tone IV. ``As thou wast voluntarily raised up''}}
O Creator and Master of time and the ages, Triune and Merciful God of all: Grant blessings for the course of this year, and in Thy boundless mercy save those who worship Thee and cry out in fear: O Saviour, grant blessings to all Mankind!
\hourheading{07: The Forefeast of the Nativity of the Theotokos.}
\hhourheading{08: THE NATIVITY OF OUR ALL-HOLY LADY, THE THEOTOKOS AND EVER-VIRGIN MARY. \red{I}}
\rubric{Feast; Dispensation for Fish, Wine, and Oil.}
\hourheading{Apolytikion for the Nativity of the Theotokos. \ins{Tone IV.}}
Your Nativity, O Virgin,
Has proclaimed joy to the whole universe!
The Sun of Righteousness, Christ our God,
Has shone from You, O Theotokos!
By annulling the curse,
He bestowed a blessing.
By destroying death, He has granted us eternal Life.
\rubric{Glory. Now and ever.}
\hourheading{Kontakion for the Nativity of the Theotokos. \ins{Tone IV.}}
By Your Nativity, O Most Pure Virgin,
Joachim and Anna are freed from barrenness;
Adam and Eve, from the corruption of death.
And we, your people, freed from the guilt of sin, celebrate and sing to you:
The barren woman gives birth to the Theotokos, the Nourisher of our life!
\ins{Because of the nearness of this feast to that of The Elevation of the Cross, The Feast of The Nativity of the Theotokos is celebrated for only Five Days--its Apodosis being on 12 September--instead of the usual Eight.}
\end{document}
Sorry for the length, please help if possible.
Thanks,
-Michael D
-Michael D
Too much space between chapter and section headings
Hi Michael,
I did a simple test using the code you provided and immediately got errors regarding an option clash for the babel package; so I temporarily commented out the line loading the babel package and added latin as global option, but even then I got errors regarding the \rubric command (an isuue that had already been pointed out to you). Can you please tell us which package provides that command? Or, if you defined it, can you include the definition?
I did a simple test using the code you provided and immediately got errors regarding an option clash for the babel package; so I temporarily commented out the line loading the babel package and added latin as global option, but even then I got errors regarding the \rubric command (an isuue that had already been pointed out to you). Can you please tell us which package provides that command? Or, if you defined it, can you include the definition?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 92
- Joined: Fri Apr 24, 2009 8:02 pm
Too much space between chapter and section headings
Sorry for the delay in replying. Here is the code that supplies the \rubric. It is in my variation of liturg.sty below. I have deleted the references to ``latin'' as I am not Roman Catholic, but an Orthodox Christian.
Now, here is the package I created off of this: liturgical.sty
Now, finally; here is an abbreviated example of the code I am trying to run & shorten the spaces above each ``section'' header.
I think I now have defined everything.
-MD
Code: Select all
% \begin{macrocode}
\ProvidesPackage{liturg}
\RequirePackage[british]{babel}
\RequirePackage{color}
\newcommand\stich[1]{%
\textcolor{red}{S. }#1%
}
\newcommand{\psalmheading}[1]{%
\begin{center}
\textbf{\noindent\normalsize\textcolor{red}{#1}}
\end{center}
}
\newcommand{\ppsalmheading}[1]{%
\begin{center}
\textbf{\noindent\Large\textcolor{red}{#1}}
\end{center}
}
\newcommand\hourheading[1]{%
\begin{center}
\normalsize\textbf{#1}\\%
\end{center}
}
\newcommand\hhourheading[1]{%
\begin{center}
\large\textbf{#1}\\%
\end{center}
}
\newcommand{\prayerheading}[1]{%
\begin{center}
\textcolor{red}{#1}
\end{center}
}
\newcommand\rubric[1]{%
\begin{center}
\textit{\noindent\small\textcolor{red}{#1}}\normalsize\\%
\end{center}
}
\newcommand\rrubric[1]{%
\begin{center}
\textit{\noindent\normalsize\textcolor{red}{#1}}\normalsize\\%
\end{center}
}
\newcommand\ins[1]{%
\textit{\small\textcolor{red}{#1}}
}
\newcommand\iins[1]{%
\textit{\normalsize\textcolor{red}{#1}}
}
\newcommand{\red}{\textcolor{red}}
\newcommand\priestword{S. }
\newcommand\deaconword{D. }
\newcommand\readerword{R. }
\newcommand\choirword{C. }
\newcommand{\massenglish}{%
\renewcommand\priestword{P. }
\renewcommand\deaconword{D. }
\renewcommand\readerword{R. }
\renewcommand\choirword{C. }
}
\newcommand\priest[1]{%
\noindent\textcolor{red}{\priestword}{#1}\\%
}
\newcommand\deacon[1]{%
\noindent\textcolor{red}{\deaconword}{#1}\\%
}
\newcommand\reader[1]{%
\noindent\textcolor{red}{\readerword}{#1}\\%
}
\newcommand\choir[1]{%
\noindent\textcolor{red}{\choirword}{#1}\\%
}
% \end{macrocode}
Now, here is the package I created off of this: liturgical.sty
Code: Select all
%Packages
\ProvidesPackage{liturgical}
\RequirePackage[british]{babel}
\RequirePackage{color}
\RequirePackage{liturg}
\RequirePackage[pagestyles]{titlesec}
\RequirePackage{framed}
\RequirePackage{amsmath, amssymb}
%Commands
\titleformat{\chapter}[display]
{\normalfont\Huge\bfseries\centering}{}{20pt}{\huge}
\titlespacing{\chapter} {0pt}{16pt}{12pt}
\titleformat{\section}[display]
{\normalfont\LARGE\bfseries\centering}{}{14pt}{\Large}
\titlespacing{\section} {0pt}{10pt}{8pt}
\titleformat{\subsection}[display]
{\normalfont\Large\bfseries\centering}{}{12pt}{\large}
\titlespacing{\subsection} {0pt}{8pt}{6pt}
\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}
%End Macro
Code: Select all
\documentclass[12pt,letterpaper,twoside,openany]{book}
\usepackage[left=0.50in,right=0.45in,top=0.55in,bottom=0.65in]{geometry}
\usepackage{liturgical}
\title{AN ORTHODOX RULE OF PRAYER.}
\author{Father Thomas Moore, Michael Dykes}
\begin{document}
\maketitle
\tableofcontents
\chapter{SATURDAY EVENING PRAYERS.}
\ins{Towards evening, we stand before the holy icons (having lit a candle and maybe some incense), with reverence and fear of God; we gather our thoughts, make the Sign of the Cross, and say:}\\
In the Name of the Father, and of the Son, and of the Holy Spirit. Amen.
\begin{framed}
\rubric{From St. Thomas Sunday until Ascension, instead of \textbf{O God, cleanse me, a sinner \ldots we say:}}
Christ is risen from the dead, trampling down death by death, and upon those in the tombs bestowing life. \ins{(thrice)}\\
\ins{During any Vigil-rank Festal Period [(see Appendix A) - including your and your Temple's Patronal Feast Day], we begin our prayers by praying the Festal Troparia (again, see Appendix A).}
\rubric{Then, in either case, we immediately pray the Trisagion Prayers as below:}
\end{framed}
\rubric{Afterwards, we collect our thoughts, and make seven prostrations (or metanoias), saying:}
\section{THE SEVEN--BOW BEGINNING.}
O God, be merciful to me, a sinner.
O God, cleanse me, a sinner, and have mercy on me.
Thou hast created me, O Lord, have mercy on me.
Countless times have I sinned, O Lord, forgive me.
All-holy Lady Theotokos, save me, a sinner,
O Angel, my holy Guardian, protect me from all evil.
O Saint, \ins{N}, my Patron pray to God for me.
\rubric{Then, we begin the Evening Prayers with these words:}
\section{THE INTRODUCTORY PRAYERS.}
O Lord Jesus Christ our God, through the prayers of our Thine All-pure Mother, of our holy and God-bearing Fathers, and of all the saints, have mercy on us. Amen.
Glory to Thee, O our God, Glory to Thee.
O Heavenly King, the Comforter, the Spirit of Truth, Who art everywhere present and fillest all things, Treasury of blessings and Giver of Life: Come and abide in us; and cleanse us from every impurity, and save our souls, O Good One.
\section{TRISAGION PRAYERS.}
Holy God. Holy Mighty. Holy Immortal. Have mercy on us. \ins{(thrice)}
Glory to the Father, and to the Son, and to the Holy Spirit; now and ever, and unto ages of ages. Amen.
O Most-holy \ins{(All-holy)} Trinity: Have mercy on us. Lord: cleanse us from our sins. Master: Pardon our transgressions. Holy One: Visit and heal our infirmities, for Thy Name's sake.
Lord, have mercy. \ins{(thrice)}
Glory to the Father, and to the Son, and to the Holy Spirit; now and ever, and unto ages of ages. Amen.
Our Father, Who art in heaven, hallowed be Thy Name. Thy Kingdom come; Thy will be done on earth as it is in Heaven. Give us this day our daily bread; and forgive us our debts as we forgive our debtors. And lead us not into temptation, but deliver us from the evil one.
Through the prayers of our holy Fathers, O Lord Jesus Christ our God, have mercy on us. Amen.
\section{EVENING TROPARIA. TONE VI.}
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.
\rubric{Glory to the Father, and to the Son, and to the Holy Spirit.}
O Lord, have mercy on us, for in Thee have we put our trust. Do not be angry with us, nor remember our iniquities, but look down on us even now, since Thou art compassionate, and deliver us from our enemies. For Thou art our God and we are Thy people; we are all the work of Thy hands, and we call on Thy Name.
\rubric{Both now and ever, and unto ages of ages. Amen.}
O blessed Theotokos, open the doors of compassion to us whose hope is in thee, that we may not perish but be delivered from adversity through thee, who art the salvation of the Christian people.
Lord, have mercy. \ins{(twelve times)}
\section{EVENING PRAYER AT THE BOWING OF THE HEADS.}
O Lord our God, Who didst bow down the heavens and come down for the salvation of the human race: Do Thou look upon Thy servants and Thine inheritance. For unto Thee, the dread Judge Who lovest Mankind, have Thy servants bowed their heads and submissively inclined their necks, awaiting not help from men, but Thy mercy, in expectation of Thy salvation. Whom do Thou protect at all times, both during the present evening and the approaching night, from every adverse action of the devil, and from vain thoughts and evil imaginations. Blessed and Most-glorified be the majesty of Thy Kingdom, of the Father, and of the Son, and of the Holy Spirit; now and ever, and unto ages of ages. Amen.\\
<more text>
\chapter{WEEKDAY MORNING PRAYERS}
<more chapters>
\appendix
\part{MENAIA.}
\chapter{APOLYTIKIA AND KONTAKIA FOR THE MONTH OF SEPTEMBER.}
\ins{Here are simplified rubrics for Sunday Troparia, and Kontakia; when there is no Major Feast Day.}
\section{01: The Indiction; that is the Church New Year. \red{III}}
\rubric{Feast, Dispensation for Wine and Oil.}
\hourheading{Apolytikion for the Indiction. \ins{Tone II.}}
O Creator of the Universe, Thou hast appointed times by Thine own power; bless the crown of this year with Thy goodness, O Lord. Preserve in safety Thy rulers and Thy cities: and through the intercession of the Theotokos, save us!
\hourheading{Apolytikion for the Theotokos. \ins{Tone I.}}
Rejoice, O Virgin Theotokos, Full of Joy, Refuge and Protectress of the human race, for from you the Redeemer of the world was incarnate! For as you alone, Mother and Virgin, are ever-blessed and most-glorified, beseech Christ God to grant peace to the whole world.
\hourheading{Apolytikion for St. Simeon. \ins{Tone I.}}
You were a pillar of patient endurance,
Having imitated the forefathers, O Venerable One:
Job in suffering, and Joseph in temptations.
You lived like the bodiless ones while yet in the flesh, O Simeon, our Father.
Beseech Christ God that our souls may be saved.
\rubric{Glory.}
\hourheading{Kontakion for St. Simeon. \ins{Tone II. ``Seeking the things of the highest''}}
Seeking the things of the Highest,
And having made you pillar a fiery chariot, you were joined to the heights.
Therefore, you have become a companion to the angels, O Venerable One,
And with them you are praying incessantly to Christ God for us all.
\rubric{Both now and ever.}
\hourheading{Kontakion for the Indiction. \ins{Tone IV. ``As thou wast voluntarily raised up''}}
O Creator and Master of time and the ages, Triune and Merciful God of all: Grant blessings for the course of this year, and in Thy boundless mercy save those who worship Thee and cry out in fear: O Saviour, grant blessings to all Mankind!
\subsection{07: The Forefeast of the Nativity of the Theotokos.}
\section{08: THE NATIVITY OF OUR ALL-HOLY LADY, THE THEOTOKOS AND EVER-VIRGIN MARY. \red{I}}
\rubric{Feast; Dispensation for Fish, Wine, and Oil.}
\hourheading{Apolytikion for the Nativity of the Theotokos. \ins{Tone IV.}}
Your Nativity, O Virgin,
Has proclaimed joy to the whole universe!
The Sun of Righteousness, Christ our God,
Has shone from You, O Theotokos!
By annulling the curse,
He bestowed a blessing.
By destroying death, He has granted us eternal Life.
\rubric{Glory. Now and ever.}
\hourheading{Kontakion for the Nativity of the Theotokos. \ins{Tone IV.}}
By Your Nativity, O Most Pure Virgin,
Joachim and Anna are freed from barrenness;
Adam and Eve, from the corruption of death.
And we, your people, freed from the guilt of sin, celebrate and sing to you:
The barren woman gives birth to the Theotokos, the Nourisher of our life!
\ins{Because of the nearness of this feast to that of The Elevation of the Cross, The Feast of The Nativity of the Theotokos is celebrated for only Five Days--its Apodosis being on 12 September--instead of the usual Eight.}
<more text>
<more appendices>
\end{document}
-MD
-Michael D