Tag Info

Hot answers tagged

7

Add the following definition for sections and alike \renewcommand*\othersectionlevelsformat[3]{% \llap{#3\autodot\enskip}% } and change the definition of \chapterformat to \renewcommand*{\chapterformat}{% {\fontsize{20}{30}\scshape\chapappifchapterprefix{}}% \fontsize{120}{30}\selectfont\rlap{\thechapter\autodot}% } MWE: \documentclass[ ...


5

if you think that including the large images is what's taking most time, process just the images and enough surrounding text to make sure they're doing what you want them to do. then add [draft] using one of these methods in the preamble: \documentclass[draft]{...} \usepackage[draft]{...} this will suppress loading and processing of the images, but will ...


5

A preliminary version, without \section parts. It will fail most probably, if the chapter title will contain macros instead of unexpandable material. \documentclass{book} \usepackage{xcolor} \definecolor{Monvert}{RGB}{229,36,36} \definecolorseries{MONVERT}{rgb}{last}{Monvert}{black} \resetcolorseries[50]{MONVERT} \usepackage{xpatch} ...


4

The 'offending' code is a \llap in the \@makechapterhead macro, within the \if@thesisfancy branch, causing the left indentation into the margin. This can be removed by applying a patch at the relevant place. Edit This does not work if the chapter title is longer than the textwidth (minus the width of the chapter number figure) (so far) ...


4

As a memoir chapter style \documentclass[a4paper,draft]{memoir} \setlrmarginsandblock{3cm}{3cm}{*} \checkandfixthelayout \usepackage{tikz} \usetikzlibrary{decorations.text} \def\startang{170} % title on curve \newcommand\ToC[1]{ \begin{tikzpicture} % depends on the chosen font size \clip (-1.1em,0.05) rectangle (9,4.5); \path ...


3

You didn't give the documentclass you are using. So I will let loose my guess that it is book. Here the default space above is defined by \vspace*{50\p@}. This can be patched as in this code: \documentclass{book} \usepackage{blindtext,showframe} %% just for demo \usepackage{xpatch} \makeatletter ...


3

If you would like to avoid the draft option of the graphicx package, you could duplicate all your images with lower resolution copies, thus you retain the actual images with their respective sizes, however, due to the lower quality the resulting pdf will be smaller and compiling will probably be faster. During writing you probably do not need the high-end ...


3

With fancychap you have limited styles. On the other hand titlesec can help you to design whatever you want. Further, if you use fancychap, you will be making the Italian TeX guru (aka egreg) unhappy (which I won't do) ;-) Here is a sample with titlesec. Adjust the lengths as you like. \documentclass{report} \usepackage{titlesec} ...


2

This is just an add to christian Hupfer's answer, in case, there is long title of chapter (but i think it is bad idea: long text in uppercase) \documentclass[12pt,tocnosub,fancy,offcenter]{uiucecethesis09} \usepackage{geometry} \geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in} \usepackage{blindtext} \usepackage{xpatch} \makeatletter ...


2

The solution is to use \textbar for the “pipe” in text mode (| is good in math mode). You seem to be using a very old template and I don't think you should be loading the IL2 package. The test \ifx\pdfoutput\undefined is a clear sign of this; note that on current TeX distributions (less than five year old or so), the test will always return false.


1

You're basically forgetting to issue \pagestyle{fancy}. However, also the order of your packages is wrong. Here's a fixed version. \documentclass[twoside,12pt,openright,a4paper]{book} \usepackage{titlesec} \usepackage[titles]{tocloft} \usepackage{fancyhdr} \usepackage{chngcntr} \usepackage{lipsum} \usepackage[linktoc=all,hyperindex]{hyperref} ...


1

This can be done with titlesec. Here is a sample. \documentclass{book} \usepackage{titlesec} \titleformat{\chapter}[display] {\normalfont\Large\bfseries}{\MakeUppercase{\chaptertitlename}\ \thechapter}{10pt}{\titlerule[1pt]\vskip12pt\Large\filcenter\MakeUppercase} \titleformat{name=\chapter,numberless}[display] ...


1

My apologies, this is a shameless self-promotion by me! This is a simple style I created for my thesis. It's not the style OP wanted, but may be the OP or someone will like this too. \usepackage{titlesec} \titleformat{name=\chapter}[display] {\chapterfont\bfseries\huge} {\raisedrule[0.175em]{1pt}\Large\filleft\textsc{ \chaptertitlename} \Huge\thechapter} ...


1

I managed to find the answer. The class i am using is \documentclass{abntex2} which is based on the \documentclass{memoir} class the fix for the chapter space was to combine the metric \beforechapskip with the redefinition of the command \chapterheadstart that somehow got lost inside the abntex2 package. ...


1

\documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.text} \begin{document} \begin{tikzpicture} \node (One) at (-4,0) [shape=point] {}; \node (Two) at (4,0) [shape=point] {}; \draw [hidden,postaction={decorate,decoration={raise=1ex,text along path,text align=left,text={|\sffamily|How to make this as a memoir chapterstyle?}}}] (One) to ...



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