Tag Info

Hot answers tagged

7

With titlesec: \documentclass{report} \usepackage[explicit]{titlesec} \titleformat{\chapter}[display] {\normalfont\huge\bfseries\filcenter} {\LARGE\bfseries\thechapter} {20pt} {\Huge\MakeUppercase{#1}} \titleformat{name=\chapter,numberless}[display] {\normalfont\huge\bfseries\filcenter} {} {20pt} {\Huge\MakeUppercase{#1}} ...


7

The family name you should use is not libertine. Just change \fontfamily{pbk} into \rmfamily (this is because, by default, scrbook applies \sffamily to chapter titles). \documentclass{scrreprt} \usepackage{lipsum} \usepackage{libertine} \usepackage{tabularx} \usepackage{xcolor,fix-cm} \definecolor{numbercolor}{RGB}{150,20,0} \makeatletter ...


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.


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.


4

Here's a simple way to do this. (I'm assuming since you want 'Annexe' your document is in French. \documentclass[parskip=full,12pt,a4paper,twoside,frenchb,openany,fleqn]{book} \usepackage[demo]{graphicx} % remove [demo] for real images \usepackage[T1]{fontenc} \usepackage[francais]{babel} \renewcommand{\thefigure}{\thechapter-\arabic{figure}} ...


4

The definition of \cleardoublepage - responsible for properly clearing pages to a recto page - checks whether you're using the twoside option or not (alternatively, oneside). If we strip this conditional twoside from the definition (available in latex.ltx), you achieve your goal: % Taken from http://mirrors.ctan.org/macros/latex/unpacked/latex.ltx ...


4

The easy option here is to redefine \@chapapp to just gobble its argument: \documentclass{report} \makeatletter \let\@chapapp\@gobble \makeatother \begin{document} \chapter{Vector Spaces} \end{document} Why does this work? Look at \@makechapterhead (from report.cls): \def\@makechapterhead#1{% \vspace*{50\p@}% {\parindent \z@ \raggedright ...


4

\documentclass[10pt,twoside,b5paper,showtrims]{memoir} \usepackage[english]{babel} \addto\captionsenglish{\renewcommand\chaptername{Section}} \begin{document} \chapter{Foo} \section{bar} baz \end{document}


3

Just use \renewcommand{\chaptername}{Section} in the preamble (preferably). \documentclass{memoir} \let\LaTeXStandardChapterName\chaptername% \renewcommand{\chaptername}{Section} \begin{document} \chapter{And now I am a section}% \section{I am a true section, but without "Section" } \end{document}


3

The following example uses class scrreprt as example (the question has not specified the class). The methods can be adopted to other classes (more or less easily). Macros \chapterformat for the number in \chapter and \othersectionlevelsformat for the number in \section and friedns are redefined. First the number including dot and separation space is ...


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

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 ...


2

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, ...


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

That number is set by \ChNumVar and you use Zapf Chancery. Comment that line or choose one of the other font families: \documentclass[french]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{xcolor} \usepackage[Sonny]{fncychap} %----------- \ChNameVar{\Huge\fontfamily{put}\selectfont\color{black}}% Utopia ...


1

You can redefine \partheademptypage \documentclass{scrbook} \renewcommand*\partheademptypage{\thispagestyle{empty}} \usepackage{scrpage2} \pagestyle{scrheadings} \begin{document} \part{SMAPLE} Some text \chapter{SAMPLE} Some content... \end{document}


1

I inserted \libertineSB after in the \chaptitlefont before \fontshape, but after it is the same. However, I use pdflatex \documentclass{scrreprt} \usepackage{lipsum} % For XeLaTeX use %\usepackage[type1]{libertine} instead \usepackage{libertine} \usepackage{tabularx} \usepackage{xcolor,fix-cm} \definecolor{numbercolor}{RGB}{150,20,0} \makeatletter ...


1

You can use \addcontentsline{toc}{chapter}{name} to make an entry in your table of contents. \documentclass[parskip=full,12pt,a4paper,twoside,frenchb,openany,fleqn]{book} \begin{document} \tableofcontents \chapter{Test} \section{Test} \chapter*{Test2} \addcontentsline{toc}{chapter}{Test2} \end{document}


1

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 ...



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