2
votes
2answers
17 views

Misalignment chapter titles with hang option of titlesec package and redefined \cleardoublepage

When I redefine the command \cleardoublepage to include the words "This page has been intentionally left blank", the titles of the chapters are misaligned. \documentclass{book} \usepackage[a4paper, ...
0
votes
0answers
35 views

LyX : Some Parts and Sections Full-Justifying

LyX / LaTex newbie here. I have a document I'm working on and for most part and section headings the text is being outputted as left-aligned (which is what I want). However I have a handful that ...
3
votes
1answer
26 views

How to align chapter, section, subsection with parindent?

Is there a way to solve that? Thanks a lot!
3
votes
1answer
193 views

“Something's wrong - perhaps a missing \item” after second instance of centering section

I have been receiving this error on multiple documents recently. The first and third section headers render correctly, but the second produces an error. \documentclass{report} \begin{document} ...
2
votes
1answer
57 views

Alignment of the subsection changed after styling

I applied some styling to my page.But my alignment of the sub section headers changed.Here is the code: \documentclass[12pt,oneside]{book} \usepackage{graphicx} \usepackage[explicit]{titlesec} ...
0
votes
2answers
264 views

How to reduce the left margin of the Friggeri CV template?

I'd like to reduce the left margin of the Friggeri template, in order to increase the width of the aside section. I first tried to change the numbers of the line 308 of friggeri-cv.cls file: ...
2
votes
1answer
77 views

How to change the title alignment just for the appendix sections?

I am formatting my dissertation document using the usfdis class. However, due to new specifications, the appendices titles should now be single spaced and aligned to the left margin. The code ...
3
votes
1answer
302 views

Three fixed width columns for cv entry

I'm in the process of writting my cv in LaTeX. I need to display the information in such a way that for each entry I have 3 left aligned items. The first being the date period, the second the ...
3
votes
2answers
100 views

Enumeration across many sections

I am trying to combine enumeration over multiple sections: it is not working. \documentclass[12pt]{article} \usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry} ...
5
votes
1answer
104 views

Alignment of Part and Chapter headings text

Following this question of mine, I try to make the start of part and chapter title headings "vertically parallel" (right term?). Example of what I get: ("." not visible only to show space ...
3
votes
1answer
37 views

Alignment of the titles in a ToC and \Roman{section}

There is a problem with the alignment of the numbering of the ToC: When we use \renewcommand{\thesection}{\Roman{section}} the numbers encroach on the titles. When the command is commented out, ...
5
votes
2answers
631 views

Beamer table of contents custom bullets: Long section titles do not align

I have redefined the table of contents bullets in my slides to a circled number. However, long section titles which span more than one line do not align with the text from the previous line but with ...
3
votes
1answer
296 views

Chapter number alignment with \titleformat

Sorry if this problem already emerged in here! I'd like to see how to "push" the red number of the chapter to be aligned with the paragraphs. As you can see bellow, the red number is a slightly far ...
0
votes
1answer
91 views

How can I center align subsection heading in an AMSBOOK document

In an amsbook based document A subsection heading seems to be left aligned with some indentation in the beginning. Chapter and section headings are center aligned. How can I make subsections also ...
6
votes
1answer
2k views

Centering chapter/section/subsection

I am trying to center my chapters/sections/subsections. I have used the following: \newcommand{\cchapter}[1]{\chapter[#1]{\centering #1}} \newcommand{\ssection}[1]{\section[#1]{\centering #1}} ...
3
votes
1answer
127 views

Changing style of unnumbered chapters in memoir

The MWE below illustrates that while I can center numbered chapter headings, I cannot do so for unnumbered chapter headings: \documentclass{memoir} \renewcommand*{\printchaptername}{\centering} ...
2
votes
1answer
122 views

Make the titles centered using the titlesec package

I am using the titlesec package to better define my section headings. I have a question about it: How can I make the titles already centered in the middle of the page? I have them centered (at the top ...
1
vote
1answer
234 views

Special chapter title formatting

Using the book class. I would like to have chapter titles that look like this: | CHAPTER ## | | Chapter Title (italic) | Can titlesec do this?
4
votes
1answer
139 views

Enforcing writing across full width of page whilst using the res document class

I am using \documentclass[margin]{res} to display the section titles of my document to the left of the body text and the section{Section_name} command works fine. However, I would like for some ...
5
votes
1answer
291 views

automatic flushleft/flushright for section headings (book class)

I'm preparing a large document using the book class. I want my chapter, section, subsection, etc headings to appear either flushed left or right depending on whether they appear on an even or odd ...
7
votes
1answer
325 views

Unindent section headings

In attempting to answer Indent all the normal text, I had to resort to using the titlesec package to unindent the section headings. With \let\OldSection\section, I was sure that either ...
5
votes
1answer
4k views

Left aligned section title

I use a LaTeX template which center aligns all section titles. I want to left align these section titles but I do not know how. I tried \begin{flushleft} \section{\textbf{Introduction and ...
7
votes
1answer
423 views

Right align chapter number to the chapter name when using memoir with veelo style

I am using the memoir document class and the veelo chapter style. I'm having trouble aligning the chapter number to the right so it has the same right margin as the section name. Because of the page ...
1
vote
1answer
2k views

Aligning sections to the left

I am writing my thesis and using \documentclass{thesis.tex}, how do I left align only my sections and subsections without it affecting the chapter which is centered
5
votes
1answer
130 views

How can I change the width of the subsection headings to 4 in?

I am using \@startsection in pdflatex to define the formatting of the subsection headings. I would like their width to be limited to 4in, and centered. I can change the third item {\z@} to indent ...
6
votes
1answer
3k views

Center a single chapter heading

I want to have a single chapter heading centered. The other chapter headings should not be centered. I tried the following: \documentclass[12pt]{scrbook} \usepackage{lipsum} % for filler text ...
3
votes
2answers
1k views

How will I right align the chapter/section/subsection? [duplicate]

Possible Duplicate: Right-align chapter/section/subsection header I need to align the chapter and its heading to the right. Please help me with it
6
votes
1answer
134 views

Centring a heading, including the numbering

I've got a problem that should be simple to fix. I'm using the fontspec to layout my chapter headings like so %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode ...
5
votes
1answer
608 views

Format title: section number flush left and title centered?

How can I format with the titlesec package that I get somethine like this (this is a twocolumn document): I do not know how to get the number to the left and the title in the center is this ...
3
votes
1answer
642 views

A modification of \part style in memoir

I have modified the \part command style in a memoir document as in the following minimal example: \documentclass[b5paper,10pt,twoside,openright,final,english]{memoir} \usepackage{lipsum} ...
2
votes
1answer
79 views

Put the text of each section inside an environment

I want to put each section's content inside a center environment, that means when I write the code \section{First} texts\dots text text text \section{Second} texts\dots text text text it will be ...
1
vote
1answer
410 views

How to center the name of nomencl?

I am writing my thesis and need to use the nomenclature package to make a list of symbols. Initially I get a list of symbols, making the entire procedure that specifies the help of this package. But ...
3
votes
1answer
535 views

Center body and left margin in page

I'm using the titlesec package to put section titles to the left of their body, but I'd like for the entire page to appear centered. That is, I'd like for the space from the far left of the page to ...
4
votes
2answers
3k views

How to change subsection heading (e.g. center it)

I'd like to change the styling of \subsection in the memoir class. The example is: \documentclass[oneside, 12pt]{memoir} \begin{document} \subsection{A subsection - center me!} \end{document} ...
1
vote
1answer
598 views

How to lower the bibliography's title by 3.3cm? And change its alignment?

I'm running a pretty hacked-up template for my thesis, and the bibliography chapter's title is now too high. (This is due to various changes to the 'normal' chapter titles and their alignment/spacing, ...
9
votes
3answers
3k views

Underline and center headings

For a paper I have to make my LaTeX document guideline conforming. Many of you will already guess now that this means dirty work by violating virtually all possible typography standards. My biggest ...
6
votes
1answer
3k views

Center \chapter (book class)

Using the document class book, chapters headings (Chaper 1) are aligned on the left. How to center them?
2
votes
1answer
303 views

Oddly wide spaces in subsection title

I have a problem, this is what it looks like: And this is the code: \subsection{Bakterienst\"amme und Anzuchtbedingungen} Where does the huge whitespace come from?
4
votes
2answers
915 views

Alignment in multiline sections

I have some long section names that span more than one line, so I break them into two lines with \\ (I am using fancyhdr for that to work). The result is not very aesthetic. What I would like to ...
3
votes
1answer
718 views

Changing the alignment of chapter headings and quotes in quotchap

How can I change the alignment of chapter headings and quotes in quotchap without modifying the .sty file? More specifically, I would like left-align the chapter headings and right-align the quotes.
5
votes
1answer
3k views

Center aligning chapters

I'm using the following to center align chapters. Heres the code \newcommand{\cchapter}[1]{\chapter[#1]{\centering #1}} And using \cchapter to format chapters. But the chapter heading for eg. ...
11
votes
3answers
13k views

How to format the chapter heading?

How can I change the chapter heading of the book class to typeset centered chapter names as shown in the image above?
8
votes
2answers
15k views

Section Heading Centering problem

\begin{center} \section*{\textcolor{blue}{Ukaaranta }} \end{center} \subsection*{Shabhu Harivat} \addcontentsline{toc}{subsection}{shambhu harivat} \begin{center} ...
3
votes
1answer
979 views

How can I do numbering with a hanging indent to the left into the page margin?

I am compiling some solutions to textbook exercises, and I am trying to do so in the style of the book. The way the book does it is that the body of each exercise appears unindented, left-aligned, ...
13
votes
3answers
8k views

Right-align chapter/section/subsection header

How can I change the alignment of a chapter/section/subsection heading? Preferably, I want this to be something I specify in the header, as this will be necessary for all headers in the document.
14
votes
3answers
1k views

How can I put a line above a section heading and prevent a page break between?

We have designed a class for some journal. We wanted our section titles to be separated by a horizontal line from the previous line. Here is the code: \def\section{% \vskip 1.2\@bls% \hrule ...
18
votes
4answers
2k views

Centering \section* and adding them to the ToC

I'm using LaTeX and the book class and have one problem: I want that my starred sections (only starred sections) appear in the center of the pages instead of the left side of the pages and also these ...