Tag Info

Hot answers tagged

9

An option (providing settings for both numbered and unnumbered chapters); adjust the settings according to your needs: \documentclass[openany]{book} \usepackage[dutch]{babel} \usepackage[explicit]{titlesec} \usepackage{tikz} \usepackage{lmodern}% to have a large font size for the chapter numbers \usepackage{lipsum}% just to generate text for the example ...


5

This is based on Peter Grill's answer to your earlier question. Note that I'm not sure quite what it is meant to look like since neither the first image you posted nor the second corresponds to the content of the MWE. Moreover, I still have absolutely zero idea what your description means, and you have not even attempted to clarify this. EDIT: An Unholy ...


4

With the memoir class you can define your own chapter styles without the need of the titlesec package. The style you're trying to achieve is very similar to the predefined veelo style. So it suffices to change it a little. We'll define a new chapter style colored: \makeatletter \newcommand{\chaptercolor}{} \makechapterstyle{colored}{% ...


2

I'm not sure what you want to happen in the case of unnumbered chapters, so I've omitted that formatting here. I'm also not clear whether you want to move the line or eliminate it, so I show examples of both. I've also commented the code concerning the setting of the page dimensions since your settings are not possible (i.e. memoir cannot implement the ...


2

Give the specification in the first mandatory argument (as a personal note, I consider the spacing of your definition a little bit awkward): \documentclass[final]{book} \usepackage{setspace} \usepackage{titlesec} \titleformat{\chapter}[hang] {\normalfont\huge\bfseries\setstretch{0.1}} {\chaptertitlename\ \thechapter}{0pt}{\LARGE} ...


2

\markboth takes two arguments --- not one: \markboth{\uppercase {Introduction}}{\uppercase {Introduction}}


2

You could just patch \chaptermark to remove the inserted \@chapapp\ : \documentclass[twoside]{book} \usepackage[spanish]{babel} \usepackage{fancyhdr,lipsum} \fancyhf{} \fancyhead[LE]{\slshape \leftmark} \fancyhead[RO]{\slshape PROYECTO FIN DE MASTER} \fancyfoot[LE,RO]{\thepage} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt} ...


1

The solution to the problem is actually in the post Chapter numbers in endnotes, which is cited in the question. The solution is to include one line of code (\addtoendnotes{\unexpanded{\enotedivision{}{}}}) above \theendnotes. The example above then becomes: \documentclass{scrreprt} \usepackage{endnotes,chngcntr} \counterwithin*{endnote}{chapter} % ...


1

The basic mechanics for this are pretty simple. If you're writing an English unilingual document with the memoir class, just add: \renewcommand{\cftchaptername}{Chapter\space} If you're not writing in English, as daleif says, you can use the \chaptername macro. Say something like: \usepackage[ngerman]{babel} ...


1

In the standard book class, the macro \@makechapterhead creates the chapter title leadin, starting with Chapter N.... chapter title. Using the xpatch package, this leadin can be removed and stripped down to the pure title only with xpatchcmd. \documentclass{book} \usepackage{subfiles} \usepackage{xpatch}% \makeatletter % For \mainmatter chapters so far ...


1

The resetting of the chapter counter after a new part (= year) confuses the hyperlink settings from hyperref in some cases unless the option hypertexnames=false is used. This 'solution' uses an automatic setup of month names in loop, but it's not suited of course in this form for a productive run with content between the month chapters ...


1

A solution using the tcolorbox package (I touched only upon numbered chapters format). Btw, you chapterstyle should be block, not display: \documentclass[ 11pt,a4paper,twoside,openright]{book} %nummering \usepackage{tikz} \usetikzlibrary{matrix} \usepackage{fancyhdr} \pagestyle{fancy} \pagestyle{plain} \lhead{} \chead{} \rhead{} \lfoot{} ...



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