Text FormattingChapter header spacing, spacing after sections

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
DMichael
Posts: 1
Joined: Tue Nov 03, 2015 11:16 pm

Chapter header spacing, spacing after sections

Post by DMichael »

Hi, I am trying to create double spacing throughout this document - after "Chapter 1" and "after Dimension Reduction in Symmetric Spaces", etc. I also want a top margin of an 1 inch. Can anyone tell me how this might be done? Thanks!

Here is the compiled tex code -
test.pdf
(47.33 KiB) Downloaded 238 times
I added a pdf below created in Word that has the formatting that I'd to implement in tex (Chapter 1.pdf).
Chapter 1.pdf
(8.92 KiB) Downloaded 206 times

Code: Select all

\documentclass[12pt,fleqn, letterpaper]{report}
\usepackage{sectsty}
\usepackage{lipsum}
\chapterfont{\centering}
\sectionfont{\fontsize{12}{15}\selectfont \centering \mdseries}
\chapterfont{\fontsize{12}{15}\selectfont \centering \mdseries}
\subsectionfont{\fontsize{12}{15}\selectfont \centering \mdseries}
\usepackage{mathptmx}
\usepackage[nodisplayskipstretch]{setspace}
\usepackage[left=.88in,right=.88in,top=.88in,bottom=.88in,includefoot]{geometry}
\doublespacing
\begin{document}
\chapter{Dimension Reduction in Symmetric Spaces} \label{chpt:Dim_Red} \vspace{-15pt}
In this chapter PGA procedures and their computations for data in three types of manifolds, the space of positive definite matrices, the special orthogonal group and the unit spheres, are specified and analyzed.
\section{The Space of Positive Definite Matrices, $P(n)$} \label{sec:pos_def}
\subsection{Geometry of $P(n)$} \label{ssec:posdef_geo}
A real $n \times n$ symmetric matrix, $p$, is \textit{positive definite} if and only if for each $n \times 1$ real column vector $x \neq 0$ we have $x^\top  p x> 0$. The set of all positive definite matrices is denoted here by $P(n)$. $P(n)$ can also be characterized as the set of all real $n \times n$ symmetric matrices with all eigenvalues strictly greater than zero.
\end{document}

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply