Text Formatting ⇒ Modifying the section format
Modifying the section format
Hi
I am writting a paper, I need the following format of the sections
1. TITLE
Thanks
I am writting a paper, I need the following format of the sections
1. TITLE
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
Modifying the section format
Hi, NELLLY!
Try titlesec package. With this package you can make any section format. Also this package can change the format of TOC.
Hope this will useful for you.
Try titlesec package. With this package you can make any section format. Also this package can change the format of TOC.
Hope this will useful for you.
Russian page layout artist
Modifying the section format
Not exactly. The titletoc package (a companion to titlesec) allows modifications to the format of the ToC entries.velisarus wrote:...With this package you can make any section format. Also this package can change the format of TOC...
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Modifying the section format
Hi
I tried the titlesec package and I have obtained the capitalized letters for the section by using
However I still have a problem for getting both capitalized letters and bold chartacters for the section. I need to have the following format
TITLE
I tried the titlesec package and I have obtained the capitalized letters for the section by using
Code: Select all
\titleformat*{\section} {\scshape}
TITLE
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Modifying the section format
In case you want all headings to be in small capitals the easiest way would be to load the titlesec package with appropriate options.
Otherwise you have to supplement your new format.
Best regards
Thorsten
Code: Select all
\usepackage[bf,sc]{titlesec}
Code: Select all
\titleformat*{\section}{\bfseries\scshape}
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Modifying the section format
Thanks Thorsten
I used the both commands
when I typset the document, I have
1. Introduction
but I should get
1. INTRODUCTION
I used the both commands
Code: Select all
\usepackage[bf,sc]{titlesec}
\titleformat*{\section}{\bfseries\scshape}
1. Introduction
but I should get
1. INTRODUCTION
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Modifying the section format
I suggested to use one or the other. Try the following.
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[bf]{titlesec}
\usepackage{blindtext}
\titleformat*{\section}{\Large\scshape}
\begin{document}
\blinddocument
\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Modifying the section format
Hi Thorsten
This works well but I still have a problem. I need to have all the letters with the same Lengths. Foe example for the section Introdutcion I should have
INTRODUCTION when I use the provided commands I have the first letter "I" higher than the others.
Many thanks.
This works well but I still have a problem. I need to have all the letters with the same Lengths. Foe example for the section Introdutcion I should have
INTRODUCTION when I use the provided commands I have the first letter "I" higher than the others.
Many thanks.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Modifying the section format
OK, next try.
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[bf]{titlesec}
\usepackage{blindtext}
\titleformat{\section}{\normalfont\Large\bfseries}{\thesection}{1em}{\uppercase}
\begin{document}
\section{One}
\blindtext
\end{document}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10