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 245 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 211 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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply