Tag Info

Hot answers tagged

5

There are many incorrect inputs that do not generate an error message. (\section[z]{\section{aa}} for example). \section inside a float is an error it is just not trapped by the system (it would have taken an unreasonable amount of memory to do so at the point that latex was designed.) The math/non-math distinction is built in to tex it is much easier to ...


3

Note that the following suggestions are limited to chapter headings with only one line. One possibility is appending the gray rule to \chapterheadstartvskip: \documentclass{scrreprt} \usepackage[utf8]{inputenc} \usepackage{blindtext} \usepackage[T1]{fontenc} \usepackage{xcolor} \usepackage{calc} \usepackage{etoolbox} \appto\chapterheadstartvskip{% ...


3

Patch the redefined \@makechapterhead to have \raggedright in the right place: \documentclass{book} \usepackage{fullpage} \usepackage[english]{babel} \usepackage[avantgarde]{quotchap} \usepackage{etoolbox} \makeatletter \patchcmd{\@makechapterhead} {\raggedleft\advance} {\raggedright\advance} {}{} \makeatother \begin{document} \chapter{Introduction} ...


2

use \titleformat{\chapter}[display]{\normalfont\bfseries}{\thechapter}{0pt}{\Large} ^^^^^^^^^^^^ or \titleformat{\chapter}[block]{\normalfont\bfseries}{\thechapter}{1em}{\Large} ^^^^^^^^ ^^^^^^^^^^^^ ^^^^ for " 1 title"


2

You have defined the format for numbered chapters and using an un-numbered chapter for Abstract. Defining the format for un-numbered chapters too is needed in this case to get a rule. \documentclass[11pt,oneside]{book} \usepackage{titlesec} % Below "\section" can be replaced with "\subsection" and "\subsubsection" % in order to customize the corresponding ...



Only top voted, non community-wiki answers of a minimum length are eligible