Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too much empty space on a page #281

Open
Brayanokles opened this issue Apr 20, 2020 · 0 comments
Open

Too much empty space on a page #281

Brayanokles opened this issue Apr 20, 2020 · 0 comments

Comments

@Brayanokles
Copy link

I seem to have more empty space on a page than I used to have in older TexLive versions. This used to be one page, but now it's 2 - and I never changed marges, font size etc. Can someone help me?

\documentclass[a5paper,openany,book,12pt]{memoir}

% Marges
\setulmarginsandblock{1.5cm}{1.5cm}{}
\setlrmarginsandblock{1.5cm}{1.5cm}{
}
\checkandfixthelayout
\setlength{\parindent}{0in}

% Vormgeving
\usepackage{graphicx}
\usepackage{tikzsymbols}
\usepackage{xcolor}
\usepackage{afterpage}

\newcommand\blankpage{%
\null
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\newpage}

% Hoofdstukken
\makeatletter
\def@makechapterhead#1{%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
%\large\bfseries @Chapapp\space \thechapter
\Large\bfseries \thechapter.\space%
%\par\nobreak
%\vskip 20\p@
\fi
\fi
\interlinepenalty@M
\Large \bfseries #1\par\nobreak
\vskip 12\p@
}}
\makeatother

% Secties
\makeatletter
\def@makesectionhead#1{%

{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
%\large\bfseries @Chapapp\space \thechapter
\normalsize \bfseries \thesection.\space%
%\par\nobreak
%\vskip 20\p@
\fi
\fi
\interlinepenalty@M
\normalsize \bfseries #1\par\nobreak
\vskip 12\p@
}}
\makeatother

\setsecnumdepth{chapter}

\chapterstyle{mychapterstyle}
\setsecheadstyle{\large\bfseries}
\setsubsecheadstyle{\large\bfseries}
\setsubsubsecheadstyle{\normalfont}
\setparaheadstyle{\normalfont}

\makeevenhead{headings}{\thepage}{}{\small\slshape\leftmark}
\makeoddhead{headings}{\small\slshape\rightmark}{}{\thepage}

\setlength\beforechapskip{-1\baselineskip}
\setlength\afterchapskip{1\baselineskip}

\setlength\beforesecskip{-1\baselineskip}
\setlength\aftersecskip{1\baselineskip}

% Kop- en voettekst
\makeheadrule{headings}{\textwidth}{\normalrulethickness}
\makefootrule{ruled}{\textwidth}{\normalrulethickness}{\footruleskip}

\makeevenfoot{headings}{\thepage}{}{}
\makeoddfoot{headings}{}{}{\thepage}
\makeevenhead{headings}{\leftmark}{}{}
\makeoddhead{headings}{}{}{\rightmark}

\makeheadrule{headings}{\textwidth}{\normalrulethickness}
\makefootrule{ruled}{\textwidth}{\normalrulethickness}{\footruleskip}

\makeevenhead{headings}{\leftmark}{}{}
\makeevenhead{ruled}{\leftmark}{}{}
\pagestyle{ruled}

\copypagestyle{chapter}{plain}
\makeevenfoot{chapter}{\thepage}{}{}
\makeoddfoot{chapter}{}{}{\thepage}
\makeevenhead{chapter}{}{}{}
\makeoddhead{chapter}{}{}{}

\makefootrule{chapter}{\textwidth}{\normalrulethickness}{\footruleskip}

\renewcommand\chaptermarksn[1]{}
\renewcommand\sectionmarksn[1]{}

% inhoudsopgave
\let\oldchaptitlefont\chaptitlefont
\def\contentstitlefont{\bfseries\Large}
\usepackage{tocloft}
\def\cftchapteraftersnum{.}

% Gregorio en Lilypond
\usepackage[autocompile]{gregoriotex}
\usepackage{gregoriosyms}
\gresetinitiallines{0}
\greseteolcustos{manual}%

% Taal
\usepackage[ngerman]{babel} %taal
\usepackage{fontspec}
\setmainfont{QTSchoolCentury}%lettertype
\usepackage[utf8]{inputenc} % speciale tekens

\usepackage{lyluatex}

\begin{document}

G.: Höre uns, o PRAios, wenn wir beten:
\vspace{8pt}

\begin{lilypond}
\version "2.18.2"

global = {
\key g \major
\time 4/4
\set Score.timing = ##f
\override Staff.TimeSignature #'transparent = ##t
}

sopranoVoice = \relative c'' {
\global
\dynamicUp
e,4 e4 e4 e4 e4 e4 e4 e4 fis4 fis4 fis4 g4 g4 \bar "" \break
a4 b4 b4 e4 d4 c4 b4 b4 \bar "" \break
b4 a4 a4 b4 g4 g4 \bar "" \break
a4 a4 a4 a4 a4 a4 g4 g4 fis4 e4 e4 \bar "" \break
b'4 b4 b4 b4 b4 b4 a4 a4 b4 g4 g4 \bar "" \break
a4 a4 a4 g4 g4 fis4 e4 e4 \bar "||"

}

verse = \lyricmode {
\set stanza = "A.:"
Al -- ve -- ra -- ni -- scher Hü -- ter der E -- wi -- gen Ord -- nung,
Dein Ur -- teil er -- kennt die Wahr -- heit.
Dein Wort schafft die Weis -- heit,
es schei -- det Wohl -- tat und Ge -- fahr des Wis -- sens.
Gib uns die Klug -- heit, die Kraft und die Ein -- sicht,
Dei -- nen Wil -- len zu er -- ken -- nen.

}

\score {
\new Staff \with {
midiInstrument = "choir aahs"
} { \sopranoVoice }
\addlyrics { \verse }
\layout { indent = 0\in}
\midi {
\tempo 4=100
}
}
\end{lilypond}
\vspace{8pt}

G.: Zeige uns, o PRAios, Deine Ordnung,
\vspace{8pt}

\begin{lilypond}
\version "2.18.2"

global = {
\key g \major
\time 4/4
\set Score.timing = ##f
\override Staff.TimeSignature #'transparent = ##t
}

sopranoVoice = \relative c'' {
\global
\dynamicUp
g4 g4 g4 g2 e2 fis2 \bar "||"

}

verse = \lyricmode {
\set stanza = "A.:"
PRA -- ios, er -- leuch -- te uns.

}

\score {
\new Staff \with {
midiInstrument = "choir aahs"
} { \sopranoVoice }
\addlyrics { \verse }
\layout { indent = 0\in}
\midi {
\tempo 4=100
}
}
\end{lilypond}
\vspace{8pt}

G.: Zeige uns, o PRAios, Deine Wahrheit,
\vspace{8pt}

\begin{lilypond}
\version "2.18.2"

global = {
\key g \major
\time 4/4
\set Score.timing = ##f
\override Staff.TimeSignature #'transparent = ##t
}

sopranoVoice = \relative c'' {
\global
\dynamicUp
g4 g4 g4 g2 e2 fis2 \bar "||"

}

verse = \lyricmode {
\set stanza = "A.:"
PRA -- ios, er -- leuch -- te uns.

}

\score {
\new Staff \with {
midiInstrument = "choir aahs"
} { \sopranoVoice }
\addlyrics { \verse }
\layout { indent = 0\in}
\midi {
\tempo 4=100
}
}
\end{lilypond}

\end{document}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant