2
votes
1answer
55 views

How to change the font for chapter title with titlesec and titling under XeTeX?

I'm using XeTeX to edit a document in which I am trying to use titlesec and titling to set a different font for some headings. I'm using the approach suggested as a reply to a similar question, but ...
5
votes
1answer
148 views

titlesec titlemarks not working with pdfcolparallel

As you can see from the screenshot the numbers showing the verse locations in the titlemarks only show the very last values which were set. If you comment out the line \usepackage{pdfcolparallel} and ...
1
vote
0answers
314 views

How to assign distinct font, color and style to each sectioning environment of a document?

I am trying to compose with *TeX a document that looks like a GDR manual. Basically I need to set a different font, style and color for chapter, section, subsection and subsubsection labels. It is ...
6
votes
2answers
137 views

Can't increase spacing before section title

I'm having troubles with increasing spacing between the header and section title. As suggested in titlesec package documentation, I added the following line to my preamble: ...
2
votes
1answer
476 views

Customizing \chapter command

Here is the picture: The code is from this post. \documentclass[a4paper,12pt]{book} \usepackage{graphicx} \usepackage{lipsum} \usepackage{fontspec} \usepackage{titlesec} \setmainfont{EB Garamond ...
16
votes
1answer
18k views

Change section fonts

I am trying to emulate MS Word 2010 functionality with LaTeX since I am fed up with word. I am using TexShop, and I have been able to set the main font to Calibri through the use of XeTeX. How do I ...
3
votes
2answers
5k views

Problems with fontspec and titlesec packages

I've been trying to create a CV template by following the tutorial from here. Here's the latex code I used \documentclass[a4paper,10pt]{article} %A Few Useful Packages \usepackage{marvosym} ...
3
votes
1answer
610 views

How to achieve different formats for label and text in a subsection heading using titlesec

How to get a different formatting for the label and text of a subsection using titlesec? Reason: Italic numbers in the subsection heading hurts my eyes and should be avoided at all cost, Label of the ...