Tag Info

Hot answers tagged

7

The problem is the extra \begin{document}..\end{document} inside chap1.tex. It doesn't belong there. There is just one document -- created from one or multiple source files. Removing the extra environment should fix the errors.


6

You can build your own chapterstyle with the titlesec package: \documentclass{report} \usepackage[explicit]{titlesec} \usepackage{lipsum} \usepackage{type1cm} \usepackage{xcolor} \titleformat{\chapter}[display] {\normalfont\Large\rmfamily} ...


5

You have conflicting font packages. In the first code you have \usepackage{lmodern} after \usepackage{kerkis}, so LaTeX is instructed first to use Kerkis and then to change the font to Latin Modern. Similarly, in the second code you have \usepackage{fourier}, that instructs LaTeX to use Utopia for text and Fourier form math. Remove the call.


3

The following example code shows where to insert the modifications required (the relevant lines of code are marked with % change color and size here). I used a shade of green and \huge, but of course you can use the attributes that best suit your needs: \documentclass[ twoside, openright, titlepage, numbers=noenddot, headinclude, ...


3

The chapter title formatting is labelled in classicthesis.sty as "Fancy Stuff": % ******************************************************************** % Fancy Stuff % ******************************************************************** \RequirePackage{booktabs} % for better rules in tables \RequirePackage{textcase} % for \MakeTextUppercase ...


3

You can use the chngcntr package: \usepackage{chngcntr} \counterwithin{chapter}{part} both will reset the chapter counter each time a new part begins and will prefix the chapter counter with the part counter.


3

Here's one possibility: Simply comment out a spurious blank space after \end{tikzpicture}. I used the explicit option for titlesec and then used two side-by-syde \nodes of predefined width; one for the image, the other one for #1 (the actual title). I also defined a variant using numberless for starred chapters (such as the table of contents, the list of ...


2

With the explicit option of titlesec, it is easy: \documentclass[french]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \title{Titre de la th├Ęse} \author{moi} \date{\today} \usepackage{babel} \usepackage{lipsum} \usepackage[top = 2cm, left = 2cm, right = 2cm, bottom = 2cm, head = 14pt, headsep = .5cm]{geometry} ...


2

The simple answer is like Christian Hupfer implicitly writes: Change the \chapter{RAA...} to \section{RAA...}. Your MNWE will be: \documentclass{article} \usepackage{pdfpages} \begin{document} \section{RAA renal hormones} \label{06222014204556} \includepdf[pages={-}]{06222014204556.pdf} \end{document} If you want more easy options, I will suggest ...


2

You have to enable chapterprefix: \documentclass[oneside,chapterprefix=true]{scrbook} \setkomafont{disposition}{\normalfont\bfseries} % not sans serif \begin{document} \mainmatter \chapter{Default Chapter Heading} \end{document}


2

You can use the OpenType version of Kerkis (http://iris.math.aegean.gr/kerkis/) and then run xelatex or lualatex: \documentclass{book} \usepackage{pifont} \usepackage{fontspec} \setmainfont[BoldFont=Kerkisbold, ItalicFont=Kerkisitalics]{Kerkis} \setsansfont{KerkisSans} \usepackage[english,greek]{babel} ...


2

In order to achieve the OP's request, some aspects must be considered: Restore the chapter number of a true chapter Restore the running appendix number Restore the counter output formats Additionally one has to keep in mind Should it be a command such as \appendix If this is the case, the restore of settings is a little difficult, but can be done, ...


1

A short answer, but too long for a comment and good highlighting. It is not meant to keep it. For resetting, you have to add it the reset list (;-)) In the preamble, say after the last \usepackage{}, but before \begin{document} \makeatletter \@addtoreset{chapter}{part} \makeatother This will reset the chapter number when a new part starts!


1

\addtocontents write a record to the file toc which is read by \tableofcontents the next time latex is run. Examine the .toc file to see results. \string\contentsline for example writes "\contentsline" but does not expand it. The {chapter} entry has something to do with distinguishing chapters from sections, etc. The rest is the same as with chapters ...


1

The \addtocontents command is the source of the error, in my point of view, so I changed it to \addcontentsline version. However, the lab command does not seem to be well-defined in this case. Additionally, for use with hyperref, there should be a \phantomsection command before \addcontentsline. \documentclass[12pt]{book} % Book class in 12 ...


1

In scrbook/scrreport, the skip before/at the end of a chapter is given by \renewcommand*{\chapterheadstartvskip}{% \vspace*{2.3\baselineskip}% }% \renewcommand*{\chapterheadendvskip}{% \vspace{1.725\baselineskip \@plus .115\baselineskip \@minus .192\baselineskip}% }% Adjust them to your liking. In terms of \sections, the KOMA-script bundle still ...



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