Tagged Questions
3
votes
1answer
35 views
titleformat has no effect!
I have tried to specify the color for my section as shown here, but it has no effect. What am I doing wrong?
MWE:
\documentclass[10pt,letterpaper]{article}
\usepackage{lipsum}
\usepackage{multirow}
...
5
votes
3answers
126 views
Use of shaded box for section numbering only?
I have been wondering "how to get shaded box for section numbers only"?
Also, How to get grey square in between left mark and page number in the header? In code below I can get solid black square.
I ...
4
votes
4answers
170 views
coloring every chapter name in the document
My question is directly related to post-processing using authoring packages like etoolbox for instance.
I've included the package as follow :
\usepackage{etoolbox}
what i try to do is to prepend ...
7
votes
1answer
200 views
How to best set chapter title color in the memoir class's Hansen style?
I am tinkering with the Hansen chapter style for the memoir class, as reviewed and listed in texblog. The Hansen style is unfortunately not discussed in the memoir class documentation.
I changed it ...
2
votes
1answer
137 views
Paragraph and subparagraph title inheriting features from TeX group *after* it
I'm getting some strange behaviour when using the color package at paragraph and subparagraph level. See the code snippet below:
\usepackage[usenames,dvips]{color}
\section{A}
{\color{Green} ...
1
vote
0answers
83 views
TOC and section headings colored [closed]
I am writing on a larger probject and I want to have colored headings (the part title and the chapter title, but not the section and subsection and so on). In the toc, I also want the part and the ...
2
votes
1answer
117 views
Titlesec and xcolor not playing nicely?
I am trying to use the titlesec and xcolor packages together (well, actually, the tufte-book class is, but that's another story.)
Here is a minimal LaTeX file that illustrates my problem:
...
5
votes
2answers
211 views
Is it possible to change text color for all headings?
I want to change only the color (not font size, etc.) of all headings in my documents (\section, \subsection, \subsubsection, ...). I want to keep all other settings fixed.
Is there a way to do ...
4
votes
1answer
200 views
Offset color block behind section titles
Joseph Wright's CV source contains a snippet of code that produces an offset color block behind section titles using the titlesec package, like so:
\documentclass[11pt]{article}
...
2
votes
1answer
153 views
\subsubsection command and xcolor package
I am using xcolor package to draw some colored tables. But I am having trouble with the \subsubsection command.
When I block comment the colored tables and xcolor package, it works.
When I do not ...
3
votes
1answer
656 views
How can I set a color for the title rule?
I'm writing a document which uses titlesec, and I'd like to set the title rule to a different color.
How can I do that?
This is what I currently have, which produces section titles with black ...
15
votes
2answers
597 views
Coloring chapters and sections with respect to parts
I am using the book document class and I want to produce a document with several parts, chapters, sections, sections and subsections. I would like to make it easier for the reader by coloring ...
7
votes
1answer
532 views
Strange behaviour of titlesec, with colored titlerule
With the following MWE, i get the Section title underlined in black :
\documentclass[12pt]{article}
\usepackage[explicit]{titlesec}
\usepackage[dvipsnames]{xcolor}
\titleformat{\section}%
...
6
votes
4answers
1k views
Giving headlines a background color spanning across the entire typearea
I posted this at stackoverflow and got redirected here. This does indeed look like a better place to ask.
I would like to decorate my headlines (section, subsection, etc.) by adding a background ...
7
votes
1answer
456 views
How to prevent a page break between section title and colored rule?
I use \usepackage[explicit]{titlesec} to customize the design of my sections, subsections...
In particular, i have :
\titleformat{\section}%
{\large\sffamily\bfseries}%
{My Section \arabic{section} ...
1
vote
1answer
318 views
Colored sectioning - headings
I am working on some project in pdflatex. I am not an expert in this so I really need your help :). Well what I am trying to do:
I (or somebody) will make some common .tex file (with some text) with ...
1
vote
2answers
623 views
How to frame headings in \texwidth-long colored bounding box?
I am trying to add a background frame around my sections and subsections. The frame should be colored (in an 80% gray) and span the \textwidth.
I have tried a few (uninformed) approaches and ...
7
votes
2answers
3k views
Section and subsection colors using titlesec
Im trying to alter the colors on my section, subsection and subsubsection.
I do so using the titlesec page:
\titleformat*{\section}{\Large\bfseries\sffamily\color{red}}
...
2
votes
1answer
821 views
Colored chapter titles with the quotchap package
I already changed the chapter numbers using
\definecolor{chaptergrey}{}
But there must be some way to change the chapter titles also. Someone knows how?
2
votes
1answer
752 views
Change font colour of bringhurst chapterstyle in memoir
I would like to change the colour of chapter titles in bringhurst chapterstyle. The following should work, but apparantly I have misunderstood something and am not able to get it to work, and would ...
8
votes
2answers
2k views
How can I change the colour of my document's section numbering?
I know how to change the colour of a section name using for example
\section{\color{Red} Foobar}
but that still leaves the section number in black. Is there any way to change the colour of the ...