Page Layoutindentation of subsections in the book documentclass

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
karenvw
Posts: 1
Joined: Wed May 19, 2010 4:38 am

indentation of subsections in the book documentclass

Post by karenvw »

Hi,

I'm writing my theses in the documentclass book because I want to use the package 'goutchap'. But since i'm using this documentclass there is an identation of the subsection. I don't know how this come and I already tried a lot but nothing seems to work. First i thought it was something in the quotchap package (I named it PHDthesis in my code), but when I delete this package in my code there is still an identation. Has anyone an idea how i can fix this?

Code: Select all

\documentclass[dutch,11pt,cite,titlepage,a4paper,oneside]{book}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[dutch, english]{babel}
\usepackage{float}
\usepackage{flafter} 
\usepackage[hang,font={small,bf,sl},width=15cm,labelfont=bf]{caption}
\usepackage[latin1]{inputenc}
\usepackage{units}
\usepackage{textcomp}
\usepackage{fancyhdr}
\usepackage{phdthesis}
\usepackage{natbib}
\usepackage{color}
\usepackage{multirow}
\usepackage{xspace}                     	
\usepackage{url}    
\usepackage{graphicx, subfig}                   	
\usepackage{graphics}		
\usepackage[latin1]{inputenc}           
\usepackage{listings}                   	
\usepackage[a4paper,plainpages=false]{hyperref}    
\usepackage[version=3]{mhchem}   
\usepackage{pdfpages}
\usepackage{longtable}
\usepackage{titlesec}
\usepackage{eurosym}
\usepackage{gensymb}

\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\newcommand{\npar}{\par \vspace{2.3ex plus 0.3ex minus 0.3ex}}
\newcommand{\ch}[1]{\ensuremath{\mathrm{#1}}\xspace}
\newcommand{\hoek}[1]{\left\langle #1 \right\rangle}
\newcommand{\fig}[1]{Figuur \ref{fig:#1}}
\newcommand{\vgl}[1]{Vgl. (\ref{vgl:#1})}
\newcommand{\tab}[1]{Tabel \ref{tab:#1}}
\newcommand{\bijlage}[1]{Bijlage \ref{bijlage:#1}}
\renewcommand{\baselinestretch}{1.20}
\setlength{\parindent}{0pt}
\definecolor{chaptergrey}{rgb}{0.15294,0.25098,0.545098}
\titleformat{\subsection}{\normalfont\large\bfseries}{\thesubsection}{1em}{}

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

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

indentation of subsections in the book documentclass

Post by gmedina »

Hi,

please post complete, minimal and compilable code (a.k.a. minimal working example) allowing us to reproduce the problem mentioned.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply