2

If you insert \showtokens{#3} at the beginning of your redefined \chapterlinesformat, you'll see this on the terminal and in the log file: > \interlinepenalty \@M Digital Services of the University\@@par . \chapterlinesformat #1#2#3->\showtokens {#3} \myExtractFirstLetter {#3}\makeb...l.32 \chapter*{Digital ...


2

If I understand you correctly, you want to start the \part on odd pages (not left-sided, is it?) and keep \chapter to start on both even and odd pages. You can do this by using the \cleardoublepage command which does the same thing as \clearpage but also adds a blank page if needed. You can then redefine the \part macro to call \cleardoulepage before ...


2

As you (and the KOMA-Script documentation) note, the argument #3 contains \@@par at its very end, which is what's bothering you. KOMA-Script does not provide a hook to insert text after the title. The easiest hack is to just remove the \@@par and insert it after the inserted code. \documentclass{scrbook} \usepackage[T1]{fontenc} \usepackage{lmodern} \...


2

After I completed your MWE by adding \begin{document} chapter title and text \end{documernt} it only compiled with erros such as \color being undefined and problem with the \fontsize{150}{60} not available and size <24.88> being substituted. However, you can raise the \chaptername typesetting like this: % chaptitleprob.tex SE 567408 \documentclass[...


2

This seems a fully functional implementation of your requirements. \documentclass{book} \usepackage{endnotes} \usepackage{alphalph} \renewcommand{\theendnote}{\alphalph{\value{endnote}}} \newcommand{\resetendnotes}{% \setcounter{endnote}{0}% \addtoendnotes{% \par\protect\addvspace{\topsep}% \noindent\textbf{Chapter \thechapter}\par\nobreak \...


1

To make appendices behave that way, you should be using subappendices and sections. \documentclass{book} \usepackage{appendix} \usepackage{lipsum} \begin{document} \tableofcontents \chapter{one} \lipsum[4-10] \chapter{two}\label{test} \lipsum[4-10] \begin{subappendices} \section{app2.1} \lipsum[4-10] \section{app2.2} \lipsum[4-10] \end{...


1

This version does not use additional packages. \documentclass{book} \usepackage{blindtext} \makeatletter \renewcommand*\l@chapter[2]{% \ifnum \c@tocdepth >\m@ne \addpenalty{-\@highpenalty}% \vskip 1.0em \@plus\p@ \setlength\@tempdima{1.5em}% \begingroup \def\numberline##1{\hb@xt@\@tempdima{\@chapapp~##1:\hfil}}% \advance\@...


1

Since you are using book class the following will do the trick: \documentclass{book} \usepackage{titlesec}% <-- to change chapter, section,... style \usepackage[titles]{tocloft}% <-- changes to ToC \usepackage{blindtext} %rename \thechapter to easy display in ToC \renewcommand{\cftchappresnum}{Chapter } %punctuation for chapters in ToC \renewcommand{\...


1

You are losing the first letter as \texorpdfstring takes two arguments, the tex version for the document and the version for the pdf bookmark, so \texorpdfstring{\MakeUppercase Li}ifetime is \texorpdfstring{\MakeUppercase{L}i}{i}fetime and has no L in the string used for the bookmark, you could use \texorpdfstring{\MakeUppercase{L}i}{Li}fetime But (with ...


1

Here is an extended version that shifts and wraps around. It's based on the example of @jessexknight. \documentclass{book} \usepackage{lipsum} \usepackage{atbegshi} \usepackage{tikz} \usetikzlibrary{arrows} \usetikzlibrary{math} \makeatletter \newlength\ctw % half width \newlength\cth % height \newlength\ctx % x-offset \newlength\ctf \newlength\cttopmargin %...


1

Here is a solution (edited) using the thumbs package, as requested in the comments. I removed my old solution because I think the advanced behaviour of the thumbs package is essentially always preferable. Apologies I started from scratch as I wasn't sure what all in your MWE was actually needed. Overview To obtain the graphic, we overwrite the \rule within \...


1

In report class you can get a centred page number in the page foot, and no page head using \pagestyle{plain} (Which is the style already used on chapter openings) You can use \pagenumbering{roman} and \pagenumbering{arabic} To use roman or arabic numbers, setting the page count to 1 in each case.


1

Simply use titlesec. Add these lines to your preamble: \usepackage{titlesec} \titleformat{\chapter}[display]{\bfseries\filcenter}{\huge\chaptername~\thechapter}{3.8ex}{\Huge}[\vskip 1ex{\titlerule[1pt]}]


1

I don't think the appendix package provides the machinery you need. Fortunately, it's not difficult to provide the needed setup instructions -- specifically, \addcontentsline, \setcounter, and \renewcommand\thesection directives -- yourself. \documentclass[a4paper]{report} \begin{document} \tableofcontents \chapter{First chapter} \section{Introduction} \...


1

I'm not sure, why you used the package fancyhdr, so I removed it. In standard book class file \pagestyle{headings} is the default one, so no need to call it sesparately. \frontmatter tag will handle the \pagenumbering{roman} by auto, and \mainmatter will handle all the tags \setcounter{page}{0}\pagenumbering{arabic}\setcounter{page}{1} \markboth tag will ...


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