Text FormattingToo much space between chapter and section headings

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

Too much space between chapter and section headings

Post by thedoctor818 »

I had a prob w/ centering chapter headings that is now completely solved - thanks to everyone here. But, now I have way TOO much space above my chapter & *mainly* my section headings. Here is my MWE below.

Code: Select all

\documentclass[12pt,letterpaper,twoside,openany]{book}
\usepackage[pagestyles]{titlesec}

\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}{}{20pt}{\Huge}
\titlespacing*{\chapter} {0pt}{30pt}{20pt}
  
\titleformat{\section}[display]
 {\normalfont\LARGE\bfseries\centering}{}{14pt}{\Large}
\titlespacing*{\section} {0pt}{18pt}{14pt}
  
\titleformat{\subsection}[display]
 {\normalfont\Large\bfseries\centering}{}{12pt}{\large}
\titlespacing*{\section} {0pt}{14pt}{10pt}

\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}

\begin{document}
%\maketitle
\tableofcontents

\chapter{SATURDAY EVENING PRAYERS.}

<text>

<other chs>

<more text>

\chapter{MEALTIME PRAYERS.}

\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}{\centering\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing*{\chapter}
  {0pt}{50pt}{40pt}
  
\titleformat{\section}[display]
  {\normalfont\Large\bfseries\centering}{}{20pt}{\Large}
\titlespacing*{\chapter}
  {0pt}{50pt}{40pt}  

\appendix
\chapter{A}

<more text>

\chapter{ORTHOPRAXIS---RIGHT PRACTICE.}
\section{ON THE SIGN OF THE PRECIOUS AND LIFE-GIVING CROSS.}

\end{document}
Thanks for any help you all can provide.
-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.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Too much space between chapter and section headings

Post by gmedina »

Change the value of the last two arguments of the corresponding \titlespacing commands; use something like the following (I corrected some mistakes in the first arguments also):

Code: Select all

\documentclass[12pt,letterpaper,twoside,openany]{book}
\usepackage[pagestyles]{titlesec}

\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}{}{20pt}{\Huge}
\titlespacing*{\chapter} {0pt}{30pt}{20pt}
 
\titleformat{\section}[display]
{\normalfont\LARGE\bfseries\centering}{}{14pt}{\Large}
\titlespacing*{\section} {0pt}{18pt}{14pt}
 
\titleformat{\subsection}[display]
{\normalfont\Large\bfseries\centering}{}{12pt}{\large}
\titlespacing*{\subsection} {0pt}{14pt}{10pt}

\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}

\begin{document}
%\maketitle
\tableofcontents

\chapter{SATURDAY EVENING PRAYERS.}

<text>

<other chs>

<more text>

\chapter{MEALTIME PRAYERS.}

\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}{\centering\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing*{\chapter}
  {0pt}{10pt}{10pt}
 
\titleformat{\section}[display]
  {\normalfont\Large\bfseries\centering}{}{20pt}{\Large}
\titlespacing*{\section}
  {0pt}{10pt}{10pt} 

\appendix
\chapter{A}

<more text>

\chapter{ORTHOPRAXIS---RIGHT PRACTICE.}
\section{ON THE SIGN OF THE PRECIOUS AND LIFE-GIVING CROSS.}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Too much space between chapter and section headings

Post by thedoctor818 »

I tried that & it works fine. However, when I go back & try to reduce the space above the section headings, by making the 2nd & 3rd numbers smaller - then running tex, I get the following errors:
Missing $ inserted
Double superscript
Missing }

Here is the code I tried:

Code: Select all

\documentclass[12pt,letterpaper,twoside,openany]{book}
\usepackage[pagestyles]{titlesec}
\usepackage[left=0.50in,right=0.45in,top=0.50in,bottom=0.50in]{geometry}
\usepackage{liturg, framed, amsmath, amssymb}

\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}{}{20pt}{\Huge}
\titlespacing*{\chapter} {0pt}{30pt}{20pt}

\titleformat{\section}[display]
{\normalfont\LARGE\bfseries\centering}{}{14pt}{\Large}
\titlespacing*{\section} {0pt}{18pt}{14pt}

\titleformat{\subsection}[display]
{\normalfont\Large\bfseries\centering}{}{12pt}{\large}
\titlespacing*{\subsection} {0pt}{14pt}{10pt}

\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}

\begin{document}
%\maketitle
\tableofcontents

\chapter{SATURDAY EVENING PRAYERS.}

<text>

<other chs>

<more text>

\chapter{MEALTIME PRAYERS.}

\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}{\centering\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing*{\chapter}
  {0pt}{50pt}{40pt}
 
\titleformat{\section}[display]
  {\normalfont\Large\bfseries\centering}{}{20pt}{\Large}
\titlespacing*{\chapter}
  {0pt}{50pt}{40pt} 

\appendix
\chapter{A}

<more text>

\chapter{ORTHOPRAXIS---RIGHT PRACTICE.}
\section{ON THE SIGN OF THE PRECIOUS AND LIFE-GIVING CROSS.}

\end{document}
-Michael D
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: too much space

Post by Stefan Kottwitz »

Do you get such errors with that code posted above? I could compile it without errors or warnings.
Check the posted code again, if it brings errors then post the .log file or post code that would raise the error instead of cut code without error.

Stefan
LaTeX.org admin
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Too much space between chapter and section headings

Post by thedoctor818 »

Stephan,

This is what I am getting in my log for the original code, and when I try to simplify it:

Code: Select all

LOG FILE :
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 2009.8.19) 21 SEP 2009 20:11
entering extended mode
%&-line parsing enabled.
**001.tex
(./001.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
n, swedish, ukenglish, pinyin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/book.cls
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/bk12.clo
File: bk12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf-texlive/tex/latex/titlesec/titlesec.sty
Package: titlesec 2005/01/22 v2.6 Sectioning titles
\ttl@box=\box26
\beforetitleunit=\skip43
\aftertitleunit=\skip44
\ttl@plus=\dimen103
\ttl@minus=\dimen104
\titlewidth=\dimen105
\titlewidthlast=\dimen106
\titlewidthfirst=\dimen107
(/usr/share/texmf-texlive/tex/latex/titlesec/ttlps.def
File: ttlps.def 2005/01/22
))
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
Package: geometry 2002/07/08 v3.2 Page Geometry
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
\Gm@cnth=\count88
\Gm@cntv=\count89
\c@Gm@tempcnt=\count90
\Gm@bindingoffset=\dimen108
\Gm@wd@mp=\dimen109
\Gm@odd@mp=\dimen110
\Gm@even@mp=\dimen111
\Gm@dimlist=\toks15
(/usr/share/texmf-texlive/tex/xelatex/xetexconfig/geometry.cfg)) (./liturg.sty
Package: liturg
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package
(/usr/share/texmf-texlive/tex/generic/babel/latin.ldf
File: latin.ldf 2007/10/19 v2.0h Latin support from the babel system
(/usr/share/texmf-texlive/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel@savecnt=\count91
\U@D=\dimen112
)
Package babel Info: Making " an active character on input line 184.
)
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
Language: english 2005/03/30 v3.3o English support from the babel system
\l@british = a dialect from \language\l@english
\l@UKenglish = a dialect from \language\l@english
\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
))
(/usr/share/texmf-texlive/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
(/etc/texmf/tex/latex/config/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: dvips.def on input line 130.
(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
(/usr/share/texmf-texlive/tex/latex/graphics/dvipsnam.def
File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
(/usr/share/texmf-texlive/tex/latex/lettrine/lettrine.sty
File: lettrine.sty 2004/05/22 v1.6 (D. Flipo)
\c@DefaultLines=\count92
\DefaultFindent=\dimen113
\DefaultNindent=\dimen114
\DefaultSlope=\dimen115
\L@lbox=\box27
\L@tbox=\box28
\c@L@lines=\count93
\L@Pindent=\dimen116
\L@Findent=\dimen117
\L@Nindent=\dimen118
\L@lraise=\dimen119
\L@first=\dimen120
\L@next=\dimen121
\L@slope=\dimen122
\L@height=\dimen123
\LettrineWidth=\dimen124
(/usr/share/texmf-texlive/tex/latex/lettrine/lettrine.cfg)) (./ecclesiastic.sty
Package: ecclesiastic 2007/09/28 v.0.1 Ecclesiastic composition of Latin
LaTeX Font Info: Redeclaring font encoding T1 on input line 54.
Package babel Info: Making ' an active character on input line 68.
LaTeX Info: Redefining \lt@cwm on input line 120.
Package babel Info: Making ; an active character on input line 149.
Package babel Info: Making : an active character on input line 150.
Package babel Info: Making ! an active character on input line 151.
Package babel Info: Making ? an active character on input line 152.
)) (./framed.sty
Package: framed 2007/10/04 v 0.95: framed or shaded text with page breaks
\fb@frw=\dimen125
\fb@frh=\dimen126
\FrameRule=\dimen127
\FrameSep=\dimen128
) (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip45
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen129
))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen130
)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count94
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count95
\leftroot@=\count96
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count97
\DOTSCASE@=\count98
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box29
\strutbox@=\box30
\big@size=\dimen131
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count99
\c@MaxMatrixCols=\count100
\dotsspace@=\muskip10
\c@parentequation=\count101
\dspbrk@lvl=\count102
\tag@help=\toks17
\row@=\count103
\column@=\count104
\maxfields@=\count105
\andhelp@=\toks18
\eqnshift@=\dimen132
\alignsep@=\dimen133
\tagshift@=\dimen134
\tagwidth@=\dimen135
\totwidth@=\dimen136
\lineht@=\dimen137
\@envbody=\toks19
\multlinegap=\skip46
\multlinetaggap=\skip47
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
)) (./001.aux)
\openout1 = `001.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 21.
LaTeX Font Info: ... okay on input line 21.
LaTeX Font Info: Checking defaults for T1/lmr/m/n on input line 21.
LaTeX Font Info: Try loading font information for T1+lmr on input line 21.
(/usr/share/texmf/tex/latex/lm/t1lmr.fd
File: t1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: ... okay on input line 21.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 21.
LaTeX Font Info: ... okay on input line 21.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 21.
LaTeX Font Info: ... okay on input line 21.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 21.
LaTeX Font Info: ... okay on input line 21.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 21.
LaTeX Font Info: ... okay on input line 21.
-------------------- Geometry parameters
paper: letterpaper
landscape: --
twocolumn: --
twoside: true
asymmetric: --
h-parts: 36.135pt, 545.63873pt, 32.52127pt
v-parts: 36.135pt, 722.7pt, 36.135pt
hmarginratio: --
vmarginratio: --
lines: --
heightrounded: --
bindingoffset: 0.0pt
truedimen: --
includehead: --
includefoot: --
includemp: --
driver:
-------------------- Page layout dimensions and switches
\paperwidth 614.295pt
\paperheight 794.96999pt
\textwidth 545.63873pt
\textheight 722.7pt
\oddsidemargin -36.135pt
\evensidemargin -39.74872pt
\topmargin -68.00879pt
\headheight 12.0pt
\headsep 19.8738pt
\footskip 30.0pt
\marginparwidth 98.0pt
\marginparsep 7.0pt
\columnsep 10.0pt
\skip\footins 10.8pt plus 4.0pt minus 2.0pt
\hoffset 0.0pt
\voffset 0.0pt
\mag 1000
\@twosidetrue \@mparswitchtrue
(1in=72.27pt, 1cm=28.45pt)
-----------------------
(./001.toc
LaTeX Font Info: Try loading font information for U+msa on input line 3.
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input line 3.
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
)
! Missing $ inserted.
<inserted text>
$
l.8 ... \prime \futurelet \@let@token \egroup }{4}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Double superscript.
<recently read> ^
l.8 ... \prime \futurelet \@let@token \egroup }{4}
I treat `x^1^2' essentially like `x^1{}^2'.
! Extra }, or forgotten $.
<recently read> }
l.8 ... \prime \futurelet \@let@token \egroup }{4}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.8 ... \prime \futurelet \@let@token \egroup }{4}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
)
\tf@toc=\write3
\openout3 = `001.toc'.
! Missing } inserted.
<inserted text>
}
l.23 \tableofcontents
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
[1
]
Chapter 1.
[2
]
Chapter 2.
[3
]
Appendix A.
[4
]
Appendix B.
[5
] (./001.aux) )
Here is how much of TeX's memory you used:
2690 strings out of 94075
33706 string characters out of 1165176
91830 words of memory out of 1500000
5948 multiletter control sequences out of 10000+50000
10160 words of font info for 38 fonts, out of 1200000 for 2000
645 hyphenation exceptions out of 8191
31i,5n,31p,650b,163s stack positions out of 5000i,500n,6000p,200000b,5000s
Output written on 001.dvi (5 pages, 6816 bytes).
-Michael D
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: too much space

Post by gmedina »

It's still isn't clear to me if the error appears with the code that you posted before. If that's not the case, please post the offending code itself.

I took a quick look at the log file that you just posted and noticed that your system is using old versions of some packages. Try updating your LaTeX system.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Re: too much space

Post by thedoctor818 »

I'll try doing that first. What is the quickest, easiest way of doing that. I am using ubuntu, & I think TexLive.

-Michael
-Michael D
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Too much space between chapter and section headings

Post by Stefan Kottwitz »

Hi Michael,

just post a reduced code that really brings the error (minimal working example, follow the link).
If we could reproduce this error using your code we should be able then fo find the cause and to correct it.

Stefan
LaTeX.org admin
thedoctor818
Posts: 92
Joined: Fri Apr 24, 2009 8:02 pm

Too much space between chapter and section headings

Post by thedoctor818 »

Here is what I have.

Code: Select all

\documentclass[12pt,letterpaper,twoside,openany]{book}
\usepackage[pagestyles]{titlesec}
\usepackage[left=0.50in,right=0.45in,top=0.50in,bottom=0.50in]{geometry}
\usepackage{liturg, framed, amsmath, amssymb}

\titleformat{\chapter}[display]
  {\normalfont\Huge\bfseries\centering}{}{20pt}{\huge}
\titlespacing*{\chapter} {0pt}{30pt}{20pt}

\titleformat{\section}[display]
  {\normalfont\LARGE\bfseries\centering}{}{14pt}{\Large}
\titlespacing*{\section} {0pt}{18pt}{14pt}

\titleformat{\subsection}[display]
  {\normalfont\Large\bfseries\centering}{}{12pt}{\large}
\titlespacing*{\subsection} {0pt}{14pt}{10pt}

\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}

\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:}

\subsection{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:}
\subsection{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.
\documentclass[12pt,letterpaper,twoside,openany]{book}
\usepackage[pagestyles]{titlesec}
\usepackage[left=0.50in,right=0.45in,top=0.50in,bottom=0.50in]{geometry}
\usepackage{liturg, framed, amsmath, amssymb}

\titleformat{\chapter}[display]
  {\normalfont\Huge\bfseries\centering}{}{20pt}{\huge}
\titlespacing*{\chapter} {0pt}{30pt}{20pt}

\titleformat{\section}[display]
  {\normalfont\LARGE\bfseries\centering}{}{14pt}{\Large}
\titlespacing*{\section} {0pt}{18pt}{14pt}

\titleformat{\subsection}[display]
  {\normalfont\Large\bfseries\centering}{}{12pt}{\large}
\titlespacing*{\subsection} {0pt}{14pt}{10pt}

\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}

\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:}

\subsection{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:}
\subsection{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.
\end[{document}
That is w/o the appendices.
-Michael D
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: too much space

Post by Stefan Kottwitz »

That code is not producing that error. Instead the macros \ins and \rubric are undefined. Did you define them somewhere else? Without their definition it's not compilable and also the other errors are not reproducable.

Stefan
LaTeX.org admin
Post Reply