Tag Info

Hot answers tagged

8

Easy with \numprintand its \nplpadding command: \documentclass[]{report} \usepackage{numprint, apptools} \makeatletter \def\@makechapterhead#1{ \vspace*{-5.0em} {\parindent \z@ \normalfont \interlinepenalty\@M \LARGE{\ifappendix\Alph{chapter}\else\nplpadding{2}\numprint{\arabic{chapter}}\fi}% \par\vspace{0.25cm} ...


7

An Appendix belongs to the (very) end of a document, because it's appended ;-) Using \begin{appendix}...\end{appendix} for the LoF and LoT is possible but this should be at the end then. Since \appendix changes the \chaptername to \appendixname (being Appendix in standard setup) and also the chapter counter format is changed from arabic figures to upcase ...


4

You need to redefine \@makechapterhead (for numbered chapters) and \@makeschapterhead (for unnumbered chapters) and \section (the original definitions can be found in report.cls): \documentclass{report} \usepackage{lipsum}% just for the example \makeatletter \def\@makechapterhead#1{% \vspace*{50\p@}% {\parindent \z@ \raggedright \normalfont \ifnum ...


4

You can have what you want with the numberless key. I'm not sure whether you want unnumbered chapters to be in the table of contents; the below code does it, but it's easy to undo it if you don't want. Just use: \titleformat{\chapter}[display] {\normalfont\huge\bfseries\filcenter}{\chaptertitlename\ \thechapter}{20pt}{} ...


4

Since you are using memoir, you simply have to redefine \clarforchapter using, for example \gdef\clearforchapter{} A complete example: \documentclass[french,12pt,openany,oneside,openright]{memoir} \usepackage{lipsum}% just for the example \gdef\clearforchapter{} \begin{document} \chapter{One} \lipsum[4] \chapter{Two} \lipsum[4] \end{document} The ...


3

You can adjust the printing of \thechapter within \@makechapterhead to insert a 0 only if the value of the chapter counter is less than 10: \documentclass{report} \usepackage{etoolbox} \makeatletter \patchcmd{\@makechapterhead}% <cmd> {\thechapter}% <search> {\expandafter\ifx\@chapapp\appendixname\else\ifnum\value{chapter}<10 ...


3

\documentclass{report} \newcommand\fakechapter[1]{% \clearpage \refstepcounter{chapter}% \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}% \chaptermark{#1}} \begin{document} \tableofcontents \fakechapter{Obstacle Avoidance} blbla \fakechapter{Face Recognition} blblb \end{document}


3

This should need some adjustments, but it basically implements your request. Since I just redefine the sectioning commands, commenting out the \redefinelevel lines will revert to the standard behavior with no other change (apart running LaTeX a couple of times). \documentclass{report} \usepackage{fancyhdr} \usepackage{lipsum} \pagestyle{fancy} \fancyhf{} ...


3

Like that? I corrected your code, which couldn't compile (cf. \usepackage[letterspace=100], which loads absolutely nothing). Also, if you want to change the formatting of chapters, use `titleformat{\chapter}``… \documentclass[a4paper, twoside]{report} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{MinionPro} \usepackage{microtype} ...


3

Add \adjustmtc after the unnumbered chapter, see page 37 in the manual, section 1.3.4. \documentclass[12pt]{amsbook} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{minitoc} \setcounter{minitocdepth}{2} \title{Thesis} \begin{document} \maketitle \dominitoc[n] \nomtcrule \tableofcontents \chapter*{Introduction} \adjustmtc ...


2

article doesn't have a \chapter command, so what's happening is that this text is being treated as a new paragraph. really, you're not using the article markup at all. since putting in null \section won't do any harm, i'm just going to suggest that you enter your title as \noindent{\Large \bfseries CHAPTER 1: INTRODUCTION} oh, and \maketitle doesn't do ...


2

You should update two macros in order to achieve your desired output: \documentclass{memoir} \renewcommand{\chapternumberline}[1]{}% Gobble chapter number in ToC \renewcommand{\cftchapterdotsep}{\cftdotsep}% Chapter dots in ToC \begin{document} \tableofcontents \chapter{A chapter} \end{document} \chapternumberline formats the number associated with ...


2

From the comments, the document seems to be based on University of Bristol Thesis Template. The template document defines and uses its own chapter style named daleifmodif. It's quite unusual to change the chapter style for the bibliography only in a complete different format (left vs. right aligned title). Nevertheless class memoir allows the switching of ...


2

The standard for \printnomenclature is to issue \chapter*{\nomname} so you just have to redefine the name: \renewcommand{\nomname}{Abbreviations} and you get The font is different, because I don't have the one you're using, but this is irrelevant for the problem. Note: it's definitely a very bad idea to do \newfontfamily\normalfont{Minion Pro} ...


1

The question was solved by the OP, with the solution left in a comment: I just realised what I'm trying to achieve can simply be done with \part{...}. For this question, using \part sectioning elements instead of \chapter provided the desired output without needing to fiddle with the chapter formatting settings.


1

Here is a solution for ConTeXt users to force double digit numbers for the chapters. With the use of the \startsectionblockenvironment command one could provide setups which are only applied for a certain sectionblock environment. \startsectionblockenvironment[bodypart] \setuphead[chapter][deepnumbercommand=\twodigits] \stopsectionblockenvironment ...


1

You can use the \needspace macro (directly available in memoir, for other classes there's the needspace package). \documentclass[b5paper]{memoir} \usepackage{lipsum} \renewcommand{\clearforchapter}{} \pagestyle{plain} \chapterstyle{default} \renewcommand*{\chapterheadstart}{% \par \needspace{10\onelineskip} \vspace{\beforechapskip} ...


1

It depends on your actual intent. If, as was mentioned in comments to the question, the desired change is to obtain a different vertical alignment for unnumbered chapters produced using \chapter* (such as the ToC, LoF, LoT), you can use \printchapternonum. A little complete example in which I changed the original ...


1

One option might be to add the following to your preamble: \makeatletter \definecolor{myyellow}{rgb}{0.99,0.78,0.07} \def\@makechapterhead#1{% {\parindent\z@ \raggedright \hangindent12\p@ \advance\hangindent1em \refstepcounter{chapter}% %\textcolor[rgb]{0.99,0.78,0.07}{\rule{12\p@}{12\p@}}\quad ...


1

Use a couple of \MakeUppercase instructions: \documentclass{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{titlesec} \titleformat{\chapter}[hang] {\normalfont\Large\bfseries} {\MakeUppercase{\chaptertitlename}\ \thechapter:} {.5em} {\MakeUppercase} \begin{document} \mainmatter \chapter{Marco ...



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