This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
Sectioning and Text Spacing #203
Comments
For the time being considering I am allowing text not to be \raggedright as per the original manual, I will be removing this code: \usepackage[explicit]{titlesec} % For modification of titles
% \titlespacing\command{left}{before}{after}
% spacing: how to read {12pt plus 4pt minus 2pt}
% 12pt is what we would like the spacing to be
% plus 4pt means that TeX can stretch it by at most 4pt
% minus 2pt means that TeX can shrink it by at most 2pt
\titlespacing\chapter{0pt}{1.4in}{12pt plus 6pt minus 2pt}
\titlespacing\section{0pt}{12pt plus 4pt minus 2pt}{-4pt plus 6pt minus 2pt}
\titlespacing\subsection{0pt}{12pt plus 4pt minus 2pt}{-4pt plus 6pt minus 2pt}
\titlespacing\subsubsection{0pt}{12pt plus 4pt minus 2pt}{-4pt plus 6pt minus 2pt}
\titleformat%
{\chapter}% command
[display]% shape, one of: hang, block, display, runin, leftmargin, rightmargin, drop, wrap, frame
{\bfseries\Huge}% format
{\fontsize{40}{40}\selectfont\thechapter}% label
{0em}% sep
{
\vspace{-1.5em}
\hspace{1.5em}
\parbox{0.8\textwidth}{
\raggedright%
#1%
}
}% before-code
[
\vspace{0.1em}
\titlerule
]% after-code |
This issue should be easy enough to fix by adjusting this code:
But for some reason, I cannot quite get it right at the moment. |
I'm not sure if this still needs to be done. Please give an update on this issue on sourceforge or the forum if needed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The spacing looks a bit off.
I do not remember having the manual spacing like this. I might consider reverting the change. I know the project goal is preservation, but the manual is difficult to preserve 100% because it is so different and coded in LaTeX.
Edit:
Even spacing for text with and without large fonts looks a bit off:
Edit2:
And this one shows the sectioning too close together.
The text was updated successfully, but these errors were encountered: