Search found 10 matches

by nipj
Fri May 18, 2018 4:55 am
Forum: Text Formatting
Topic: \addcontentsline is not aligned
Replies: 8
Views: 526

\addcontentsline is not aligned

I literally just added "\hspace": \addcontentsline{toc}{chapter}{1 \hspace{0.00cm} CHAPTER I: bla bla bla bla bla bla bla la bla bla bla bla la bla bla bla bla } Since I have no idea on how to use "titlesec" or "titletoc" to make a global customized format for headings ...
by nipj
Thu May 17, 2018 6:49 am
Forum: Text Formatting
Topic: \addcontentsline is not aligned
Replies: 8
Views: 526

\addcontentsline is not aligned

I realized that the problem is not "\chapter".
The problem appears when adding a chapter with "\addcontentsline".

An easy but not sophisticated solution is using "\hspace{Xcm}". Adjusting "X" as you desire.
by nipj
Thu May 17, 2018 5:08 am
Forum: Text Formatting
Topic: \addcontentsline is not aligned
Replies: 8
Views: 526

\addcontentsline is not aligned

In the page 13 of "titlesec.pdf", I think i found what i need, but i cannot make it work. I also found and tried this code without success: \usepackage{titletoc,titlesec} \titlecontents{section}[1.5em] {\addvspace{1em}\bfseries} {\contentslabel{2em}} {\hspace*{-2.3em}} {\hfill\contentspage...
by nipj
Thu May 17, 2018 3:33 am
Forum: Text Formatting
Topic: \addcontentsline is not aligned
Replies: 8
Views: 526

\addcontentsline is not aligned

Thanks. I'll give it a try.
by nipj
Wed May 16, 2018 2:01 am
Forum: Text Formatting
Topic: \addcontentsline is not aligned
Replies: 8
Views: 526

\addcontentsline is not aligned

Thanks for answering.

  1. \documentclass[12pt]{report}
  2. \usepackage[utf8]{inputenc}


Oh I see. But, How do I stablish a customized global format for headings? At least where the headings are left-aligned.
by nipj
Tue May 15, 2018 3:55 am
Forum: Text Formatting
Topic: \addcontentsline is not aligned
Replies: 8
Views: 526

\addcontentsline is not aligned

Hello! I added a chapter following this: \chapter*{\begin{center} {\begin{spacing}{1.2} {\fontsize{14}{104}\selectfont Chapter 1: bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla } \end{spacing} } \end{center}} \vskip -0.0cm \vspace*{-1.5cm} \st...
by nipj
Sat May 12, 2018 4:25 pm
Forum: Text Formatting
Topic: Spaces above and below headings
Replies: 5
Views: 750

Spaces above and below headings

Thank you.
by nipj
Sat May 12, 2018 3:49 am
Forum: Text Formatting
Topic: Spaces above and below headings
Replies: 5
Views: 750

Spaces above and below headings

How would the code look if someone needs to completely remove the space below the chapter title. I tried myself by deleting the increasing, decreasing and deleting the number "40", without success. I also removed "\bigbreak", but I'm not sure if the space below is deleted 100% Re...
by nipj
Fri May 11, 2018 3:59 am
Forum: Text Formatting
Topic: Spaces above and below headings
Replies: 5
Views: 750

Spaces above and below headings

Your code works!

And I agree with you, "titlesec" package is not that easy to work with, at least for beginners like me.

Thanks for your time and help!
by nipj
Thu May 10, 2018 6:22 am
Forum: Text Formatting
Topic: Spaces above and below headings
Replies: 5
Views: 750

Spaces above and below headings

Hello! I found in this forum the following code to remove spaces before "\chapter": \usepackage{etoolbox} \makeatletter % \patchcmd{\@makechapterhead}{\vspace*{50\p@}}{}{}{}% Removes space above \chapter head \patchcmd{\@makeschapterhead}{\vspace*{50\p@}}{}{}{}% Removes space above \chapte...

Go to advanced search