generated from onwidget/astrowind
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d72657
commit ef24a58
Showing
16 changed files
with
930 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions
62
src/content/blog/cs/working-with-non-numbered-sections-in-latex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: "Working with Non-numbered Sections in LaTeX" | ||
description: "Learn how to create non-numbered sections and chapters in LaTeX and decide whether or not to include them in the Table of Contents. Dive deep into the commands and techniques for a better document structuring experience." | ||
tags: ["LaTeX"] | ||
authors: ["Datanautes"] | ||
date: "2023-09-21" | ||
isLocalized: false | ||
--- | ||
|
||
If you've ever worked with LaTeX, you know the value of structuring your document with sections and subsections. But sometimes, you might not want these sections to be numbered. Here's how you can achieve that and even decide whether or not to include them in the Table of Contents. | ||
|
||
## Non-numbered Chapters and Sections | ||
|
||
In LaTeX, to create a non-numbered chapter or section, you use the `*` character. Specifically: | ||
|
||
- For non-numbered chapters: `\chapter*{Your Chapter Name}` | ||
- For non-numbered sections: `\section*{Your Section Name}` | ||
|
||
However, by default, these non-numbered sections or chapters won't appear in your Table of Contents. | ||
|
||
## Including Non-numbered Sections in the Table of Contents | ||
|
||
If you want to include your non-numbered sections or chapters in the Table of Contents, you can use the `\addcontentsline` command. Here's how: | ||
|
||
- For chapters: `\addcontentsline{toc}{chapter}{Your Chapter Name}` | ||
- For sections: `\addcontentsline{toc}{section}{Your Section Name}` | ||
- For subsections: `\addcontentsline{toc}{subsection}{Your Subsection Name}` | ||
|
||
## Example | ||
|
||
```latex | ||
\documentclass{article} | ||
\usepackage[utf8]{inputenc} | ||
\begin{document} | ||
\tableofcontents | ||
\section*{Non-numbered Section} | ||
\addcontentsline{toc}{section}{Non-numbered Section} | ||
This is a non-numbered section. | ||
\section{Numbered Section} | ||
This is a numbered section. | ||
\subsection{Numbered Subsection} | ||
This is a numbered subsection. | ||
\subsection*{Non-numbered Subsection} | ||
\addcontentsline{toc}{subsection}{Non-numbered Subsection} | ||
This is a non-numbered subsection. | ||
\end{document} | ||
``` | ||
### Result: | ||
|
||
![](/images/working-with-non-numbered-sections-in-latex.png) | ||
|
||
## Wrapping Up | ||
|
||
LaTeX is an incredibly powerful tool for document preparation. By understanding commands like the ones above, you can gain greater control over your document's structure and presentation. Happy TeXing! |
62 changes: 62 additions & 0 deletions
62
src/content/blog/da/working-with-non-numbered-sections-in-latex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: "Working with Non-numbered Sections in LaTeX" | ||
description: "Learn how to create non-numbered sections and chapters in LaTeX and decide whether or not to include them in the Table of Contents. Dive deep into the commands and techniques for a better document structuring experience." | ||
tags: ["LaTeX"] | ||
authors: ["Datanautes"] | ||
date: "2023-09-21" | ||
isLocalized: false | ||
--- | ||
|
||
If you've ever worked with LaTeX, you know the value of structuring your document with sections and subsections. But sometimes, you might not want these sections to be numbered. Here's how you can achieve that and even decide whether or not to include them in the Table of Contents. | ||
|
||
## Non-numbered Chapters and Sections | ||
|
||
In LaTeX, to create a non-numbered chapter or section, you use the `*` character. Specifically: | ||
|
||
- For non-numbered chapters: `\chapter*{Your Chapter Name}` | ||
- For non-numbered sections: `\section*{Your Section Name}` | ||
|
||
However, by default, these non-numbered sections or chapters won't appear in your Table of Contents. | ||
|
||
## Including Non-numbered Sections in the Table of Contents | ||
|
||
If you want to include your non-numbered sections or chapters in the Table of Contents, you can use the `\addcontentsline` command. Here's how: | ||
|
||
- For chapters: `\addcontentsline{toc}{chapter}{Your Chapter Name}` | ||
- For sections: `\addcontentsline{toc}{section}{Your Section Name}` | ||
- For subsections: `\addcontentsline{toc}{subsection}{Your Subsection Name}` | ||
|
||
## Example | ||
|
||
```latex | ||
\documentclass{article} | ||
\usepackage[utf8]{inputenc} | ||
\begin{document} | ||
\tableofcontents | ||
\section*{Non-numbered Section} | ||
\addcontentsline{toc}{section}{Non-numbered Section} | ||
This is a non-numbered section. | ||
\section{Numbered Section} | ||
This is a numbered section. | ||
\subsection{Numbered Subsection} | ||
This is a numbered subsection. | ||
\subsection*{Non-numbered Subsection} | ||
\addcontentsline{toc}{subsection}{Non-numbered Subsection} | ||
This is a non-numbered subsection. | ||
\end{document} | ||
``` | ||
### Result: | ||
|
||
![](/images/working-with-non-numbered-sections-in-latex.png) | ||
|
||
## Wrapping Up | ||
|
||
LaTeX is an incredibly powerful tool for document preparation. By understanding commands like the ones above, you can gain greater control over your document's structure and presentation. Happy TeXing! |
62 changes: 62 additions & 0 deletions
62
src/content/blog/de/working-with-non-numbered-sections-in-latex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: "Working with Non-numbered Sections in LaTeX" | ||
description: "Learn how to create non-numbered sections and chapters in LaTeX and decide whether or not to include them in the Table of Contents. Dive deep into the commands and techniques for a better document structuring experience." | ||
tags: ["LaTeX"] | ||
authors: ["Datanautes"] | ||
date: "2023-09-21" | ||
isLocalized: false | ||
--- | ||
|
||
If you've ever worked with LaTeX, you know the value of structuring your document with sections and subsections. But sometimes, you might not want these sections to be numbered. Here's how you can achieve that and even decide whether or not to include them in the Table of Contents. | ||
|
||
## Non-numbered Chapters and Sections | ||
|
||
In LaTeX, to create a non-numbered chapter or section, you use the `*` character. Specifically: | ||
|
||
- For non-numbered chapters: `\chapter*{Your Chapter Name}` | ||
- For non-numbered sections: `\section*{Your Section Name}` | ||
|
||
However, by default, these non-numbered sections or chapters won't appear in your Table of Contents. | ||
|
||
## Including Non-numbered Sections in the Table of Contents | ||
|
||
If you want to include your non-numbered sections or chapters in the Table of Contents, you can use the `\addcontentsline` command. Here's how: | ||
|
||
- For chapters: `\addcontentsline{toc}{chapter}{Your Chapter Name}` | ||
- For sections: `\addcontentsline{toc}{section}{Your Section Name}` | ||
- For subsections: `\addcontentsline{toc}{subsection}{Your Subsection Name}` | ||
|
||
## Example | ||
|
||
```latex | ||
\documentclass{article} | ||
\usepackage[utf8]{inputenc} | ||
\begin{document} | ||
\tableofcontents | ||
\section*{Non-numbered Section} | ||
\addcontentsline{toc}{section}{Non-numbered Section} | ||
This is a non-numbered section. | ||
\section{Numbered Section} | ||
This is a numbered section. | ||
\subsection{Numbered Subsection} | ||
This is a numbered subsection. | ||
\subsection*{Non-numbered Subsection} | ||
\addcontentsline{toc}{subsection}{Non-numbered Subsection} | ||
This is a non-numbered subsection. | ||
\end{document} | ||
``` | ||
### Result: | ||
|
||
![](/images/working-with-non-numbered-sections-in-latex.png) | ||
|
||
## Wrapping Up | ||
|
||
LaTeX is an incredibly powerful tool for document preparation. By understanding commands like the ones above, you can gain greater control over your document's structure and presentation. Happy TeXing! |
62 changes: 62 additions & 0 deletions
62
src/content/blog/en/working-with-non-numbered-sections-in-latex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: "Working with Non-numbered Sections in LaTeX" | ||
description: "Learn how to create non-numbered sections and chapters in LaTeX and decide whether or not to include them in the Table of Contents. Dive deep into the commands and techniques for a better document structuring experience." | ||
tags: ["LaTeX"] | ||
authors: ["Datanautes"] | ||
date: "2023-09-21" | ||
isLocalized: true | ||
--- | ||
|
||
If you've ever worked with LaTeX, you know the value of structuring your document with sections and subsections. But sometimes, you might not want these sections to be numbered. Here's how you can achieve that and even decide whether or not to include them in the Table of Contents. | ||
|
||
## Non-numbered Chapters and Sections | ||
|
||
In LaTeX, to create a non-numbered chapter or section, you use the `*` character. Specifically: | ||
|
||
- For non-numbered chapters: `\chapter*{Your Chapter Name}` | ||
- For non-numbered sections: `\section*{Your Section Name}` | ||
|
||
However, by default, these non-numbered sections or chapters won't appear in your Table of Contents. | ||
|
||
## Including Non-numbered Sections in the Table of Contents | ||
|
||
If you want to include your non-numbered sections or chapters in the Table of Contents, you can use the `\addcontentsline` command. Here's how: | ||
|
||
- For chapters: `\addcontentsline{toc}{chapter}{Your Chapter Name}` | ||
- For sections: `\addcontentsline{toc}{section}{Your Section Name}` | ||
- For subsections: `\addcontentsline{toc}{subsection}{Your Subsection Name}` | ||
|
||
## Example | ||
|
||
```latex | ||
\documentclass{article} | ||
\usepackage[utf8]{inputenc} | ||
\begin{document} | ||
\tableofcontents | ||
\section*{Non-numbered Section} | ||
\addcontentsline{toc}{section}{Non-numbered Section} | ||
This is a non-numbered section. | ||
\section{Numbered Section} | ||
This is a numbered section. | ||
\subsection{Numbered Subsection} | ||
This is a numbered subsection. | ||
\subsection*{Non-numbered Subsection} | ||
\addcontentsline{toc}{subsection}{Non-numbered Subsection} | ||
This is a non-numbered subsection. | ||
\end{document} | ||
``` | ||
### Result: | ||
|
||
![](/images/working-with-non-numbered-sections-in-latex.png) | ||
|
||
## Wrapping Up | ||
|
||
LaTeX is an incredibly powerful tool for document preparation. By understanding commands like the ones above, you can gain greater control over your document's structure and presentation. Happy TeXing! |
62 changes: 62 additions & 0 deletions
62
src/content/blog/es/working-with-non-numbered-sections-in-latex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: "Working with Non-numbered Sections in LaTeX" | ||
description: "Learn how to create non-numbered sections and chapters in LaTeX and decide whether or not to include them in the Table of Contents. Dive deep into the commands and techniques for a better document structuring experience." | ||
tags: ["LaTeX"] | ||
authors: ["Datanautes"] | ||
date: "2023-09-21" | ||
isLocalized: false | ||
--- | ||
|
||
If you've ever worked with LaTeX, you know the value of structuring your document with sections and subsections. But sometimes, you might not want these sections to be numbered. Here's how you can achieve that and even decide whether or not to include them in the Table of Contents. | ||
|
||
## Non-numbered Chapters and Sections | ||
|
||
In LaTeX, to create a non-numbered chapter or section, you use the `*` character. Specifically: | ||
|
||
- For non-numbered chapters: `\chapter*{Your Chapter Name}` | ||
- For non-numbered sections: `\section*{Your Section Name}` | ||
|
||
However, by default, these non-numbered sections or chapters won't appear in your Table of Contents. | ||
|
||
## Including Non-numbered Sections in the Table of Contents | ||
|
||
If you want to include your non-numbered sections or chapters in the Table of Contents, you can use the `\addcontentsline` command. Here's how: | ||
|
||
- For chapters: `\addcontentsline{toc}{chapter}{Your Chapter Name}` | ||
- For sections: `\addcontentsline{toc}{section}{Your Section Name}` | ||
- For subsections: `\addcontentsline{toc}{subsection}{Your Subsection Name}` | ||
|
||
## Example | ||
|
||
```latex | ||
\documentclass{article} | ||
\usepackage[utf8]{inputenc} | ||
\begin{document} | ||
\tableofcontents | ||
\section*{Non-numbered Section} | ||
\addcontentsline{toc}{section}{Non-numbered Section} | ||
This is a non-numbered section. | ||
\section{Numbered Section} | ||
This is a numbered section. | ||
\subsection{Numbered Subsection} | ||
This is a numbered subsection. | ||
\subsection*{Non-numbered Subsection} | ||
\addcontentsline{toc}{subsection}{Non-numbered Subsection} | ||
This is a non-numbered subsection. | ||
\end{document} | ||
``` | ||
### Result: | ||
|
||
![](/images/working-with-non-numbered-sections-in-latex.png) | ||
|
||
## Wrapping Up | ||
|
||
LaTeX is an incredibly powerful tool for document preparation. By understanding commands like the ones above, you can gain greater control over your document's structure and presentation. Happy TeXing! |
62 changes: 62 additions & 0 deletions
62
src/content/blog/fr/working-with-non-numbered-sections-in-latex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
title: "Working with Non-numbered Sections in LaTeX" | ||
description: "Learn how to create non-numbered sections and chapters in LaTeX and decide whether or not to include them in the Table of Contents. Dive deep into the commands and techniques for a better document structuring experience." | ||
tags: ["LaTeX"] | ||
authors: ["Datanautes"] | ||
date: "2023-09-21" | ||
isLocalized: false | ||
--- | ||
|
||
If you've ever worked with LaTeX, you know the value of structuring your document with sections and subsections. But sometimes, you might not want these sections to be numbered. Here's how you can achieve that and even decide whether or not to include them in the Table of Contents. | ||
|
||
## Non-numbered Chapters and Sections | ||
|
||
In LaTeX, to create a non-numbered chapter or section, you use the `*` character. Specifically: | ||
|
||
- For non-numbered chapters: `\chapter*{Your Chapter Name}` | ||
- For non-numbered sections: `\section*{Your Section Name}` | ||
|
||
However, by default, these non-numbered sections or chapters won't appear in your Table of Contents. | ||
|
||
## Including Non-numbered Sections in the Table of Contents | ||
|
||
If you want to include your non-numbered sections or chapters in the Table of Contents, you can use the `\addcontentsline` command. Here's how: | ||
|
||
- For chapters: `\addcontentsline{toc}{chapter}{Your Chapter Name}` | ||
- For sections: `\addcontentsline{toc}{section}{Your Section Name}` | ||
- For subsections: `\addcontentsline{toc}{subsection}{Your Subsection Name}` | ||
|
||
## Example | ||
|
||
```latex | ||
\documentclass{article} | ||
\usepackage[utf8]{inputenc} | ||
\begin{document} | ||
\tableofcontents | ||
\section*{Non-numbered Section} | ||
\addcontentsline{toc}{section}{Non-numbered Section} | ||
This is a non-numbered section. | ||
\section{Numbered Section} | ||
This is a numbered section. | ||
\subsection{Numbered Subsection} | ||
This is a numbered subsection. | ||
\subsection*{Non-numbered Subsection} | ||
\addcontentsline{toc}{subsection}{Non-numbered Subsection} | ||
This is a non-numbered subsection. | ||
\end{document} | ||
``` | ||
### Result: | ||
|
||
![](/images/working-with-non-numbered-sections-in-latex.png) | ||
|
||
## Wrapping Up | ||
|
||
LaTeX is an incredibly powerful tool for document preparation. By understanding commands like the ones above, you can gain greater control over your document's structure and presentation. Happy TeXing! |
Oops, something went wrong.