Point in table of contents with titletoc and indents The 2019 Stack Overflow Developer Survey...
Dual Citizen. Exited the US on Italian passport recently
Why is Grand Jury testimony secret?
In microwave frequencies, do you use a circulator when you need a (near) perfect diode?
What spell level should this homebrew After-Image spell be?
Is three citations per paragraph excessive for undergraduate research paper?
Inflated grade on resume at previous job, might former employer tell new employer?
What is this 4-propeller plane?
Why is my p-value correlated to difference between means in two sample tests?
What tool would a Roman-age civilization have to grind silver and other metals into dust?
What does "rabbited" mean/imply in this sentence?
What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?
Understanding the implication of what "well-defined" means for the operation in quotient group
Is this food a bread or a loaf?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
Carnot-Caratheodory metric
Falsification in Math vs Science
Pristine Bit Checking
Are there any other methods to apply to solving simultaneous equations?
Can the Protection from Evil and Good spell be used on the caster?
Which Sci-Fi work first showed weapon of galactic-scale mass destruction?
I see my dog run
Should I use my personal or workplace e-mail when registering to external websites for work purpose?
Is "plugging out" electronic devices an American expression?
Where to refill my bottle in India?
Point in table of contents with titletoc and indents
The 2019 Stack Overflow Developer Survey Results Are Intable of contents entries and formattingTable of contents with indents and dotsFormat table of contents with LaTexPage number on the left with book classAutomatic bold for every first character of a lineHow to input text from a fileHow to show Mini table only sections in a chapter not other chapter?Modifying Table of contents using titletocAdd entry “Contents” in Table of ContentsBold chapter numbers
It would be nice if someone can teach me how to get a point behind the section numbers in the table of contents. I use the package titletoc.
Besides I have two questions concerning the indents. How could I get one at the very first line after a section title? And how could I (globally) define a space between two paragraphs (without losing the indent)?
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
renewcommandcontentsname{normalfontlargetextsc{Contents}}
tableofcontents
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
table-of-contents formatting
bumped to the homepage by Community♦ 17 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
It would be nice if someone can teach me how to get a point behind the section numbers in the table of contents. I use the package titletoc.
Besides I have two questions concerning the indents. How could I get one at the very first line after a section title? And how could I (globally) define a space between two paragraphs (without losing the indent)?
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
renewcommandcontentsname{normalfontlargetextsc{Contents}}
tableofcontents
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
table-of-contents formatting
bumped to the homepage by Community♦ 17 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
It would be nice if someone can teach me how to get a point behind the section numbers in the table of contents. I use the package titletoc.
Besides I have two questions concerning the indents. How could I get one at the very first line after a section title? And how could I (globally) define a space between two paragraphs (without losing the indent)?
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
renewcommandcontentsname{normalfontlargetextsc{Contents}}
tableofcontents
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
table-of-contents formatting
It would be nice if someone can teach me how to get a point behind the section numbers in the table of contents. I use the package titletoc.
Besides I have two questions concerning the indents. How could I get one at the very first line after a section title? And how could I (globally) define a space between two paragraphs (without losing the indent)?
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
renewcommandcontentsname{normalfontlargetextsc{Contents}}
tableofcontents
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
table-of-contents formatting
table-of-contents formatting
asked Feb 16 '18 at 16:46
user115202
bumped to the homepage by Community♦ 17 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 17 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Here you are: you have to use the optional argument of contentslabel. Note you don't need to re-dsefine contentsname
.
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage[indentafter]{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel[thecontentslabel.]{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
{titleformat*{section}{centeringlargescshape}tableofcontents}
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
Thank you very much. You also have an idea about my "indent" problems?
– user115202
Feb 16 '18 at 17:27
Sorry, I forgot that (Freudian slip? I think it's a typographical heresy). It's just an option intitlesec
, see my updated answer. As to the spacing between paragraphs, setparskip
to some small (rubber) length. But you shouldn't use both paragraph indentation and paragraph spacing without very serious reasons.
– Bernard
Feb 16 '18 at 17:43
Alright, then I won't useparskip
. Do you know how I could get the wort 'Contens' centered? Withcentering
from my MWE it doesn't work and withbegin{center}...end{center}
there is a huge space to the first entry of the Toc.
– user115202
Feb 16 '18 at 18:01
@user372565: you can use the{titleformat*{section}{...}}
command (between braces, to make it local. See my updated answer. However if you also have a bibliography or an index, and want their titles to be centred, you'd better declaretitleformat {name=section, numberless}{largescshapefilcenter}{}{0pt} {}
in the preamble.
– Bernard
Feb 16 '18 at 19:48
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f415688%2fpoint-in-table-of-contents-with-titletoc-and-indents%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here you are: you have to use the optional argument of contentslabel. Note you don't need to re-dsefine contentsname
.
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage[indentafter]{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel[thecontentslabel.]{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
{titleformat*{section}{centeringlargescshape}tableofcontents}
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
Thank you very much. You also have an idea about my "indent" problems?
– user115202
Feb 16 '18 at 17:27
Sorry, I forgot that (Freudian slip? I think it's a typographical heresy). It's just an option intitlesec
, see my updated answer. As to the spacing between paragraphs, setparskip
to some small (rubber) length. But you shouldn't use both paragraph indentation and paragraph spacing without very serious reasons.
– Bernard
Feb 16 '18 at 17:43
Alright, then I won't useparskip
. Do you know how I could get the wort 'Contens' centered? Withcentering
from my MWE it doesn't work and withbegin{center}...end{center}
there is a huge space to the first entry of the Toc.
– user115202
Feb 16 '18 at 18:01
@user372565: you can use the{titleformat*{section}{...}}
command (between braces, to make it local. See my updated answer. However if you also have a bibliography or an index, and want their titles to be centred, you'd better declaretitleformat {name=section, numberless}{largescshapefilcenter}{}{0pt} {}
in the preamble.
– Bernard
Feb 16 '18 at 19:48
add a comment |
Here you are: you have to use the optional argument of contentslabel. Note you don't need to re-dsefine contentsname
.
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage[indentafter]{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel[thecontentslabel.]{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
{titleformat*{section}{centeringlargescshape}tableofcontents}
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
Thank you very much. You also have an idea about my "indent" problems?
– user115202
Feb 16 '18 at 17:27
Sorry, I forgot that (Freudian slip? I think it's a typographical heresy). It's just an option intitlesec
, see my updated answer. As to the spacing between paragraphs, setparskip
to some small (rubber) length. But you shouldn't use both paragraph indentation and paragraph spacing without very serious reasons.
– Bernard
Feb 16 '18 at 17:43
Alright, then I won't useparskip
. Do you know how I could get the wort 'Contens' centered? Withcentering
from my MWE it doesn't work and withbegin{center}...end{center}
there is a huge space to the first entry of the Toc.
– user115202
Feb 16 '18 at 18:01
@user372565: you can use the{titleformat*{section}{...}}
command (between braces, to make it local. See my updated answer. However if you also have a bibliography or an index, and want their titles to be centred, you'd better declaretitleformat {name=section, numberless}{largescshapefilcenter}{}{0pt} {}
in the preamble.
– Bernard
Feb 16 '18 at 19:48
add a comment |
Here you are: you have to use the optional argument of contentslabel. Note you don't need to re-dsefine contentsname
.
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage[indentafter]{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel[thecontentslabel.]{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
{titleformat*{section}{centeringlargescshape}tableofcontents}
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
Here you are: you have to use the optional argument of contentslabel. Note you don't need to re-dsefine contentsname
.
documentclass[a4paper,10pt]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage[english]{babel}
usepackage[indentafter]{titlesec}
titleformat{section}{largescshape}{thesection.}{0.5em}{}
usepackage{titletoc}
titlecontents{section}[1.5em]{large}{contentslabel[thecontentslabel.]{1.5em}}{hspace*{-1.5em}}{titlerule*[1pc]{.}contentspage}[vspace*{0.3em}]
begin{document}
{titleformat*{section}{centeringlargescshape}tableofcontents}
section{The first section}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
section{The second section}
end{document}
edited Feb 16 '18 at 19:41
answered Feb 16 '18 at 17:14
BernardBernard
176k778209
176k778209
Thank you very much. You also have an idea about my "indent" problems?
– user115202
Feb 16 '18 at 17:27
Sorry, I forgot that (Freudian slip? I think it's a typographical heresy). It's just an option intitlesec
, see my updated answer. As to the spacing between paragraphs, setparskip
to some small (rubber) length. But you shouldn't use both paragraph indentation and paragraph spacing without very serious reasons.
– Bernard
Feb 16 '18 at 17:43
Alright, then I won't useparskip
. Do you know how I could get the wort 'Contens' centered? Withcentering
from my MWE it doesn't work and withbegin{center}...end{center}
there is a huge space to the first entry of the Toc.
– user115202
Feb 16 '18 at 18:01
@user372565: you can use the{titleformat*{section}{...}}
command (between braces, to make it local. See my updated answer. However if you also have a bibliography or an index, and want their titles to be centred, you'd better declaretitleformat {name=section, numberless}{largescshapefilcenter}{}{0pt} {}
in the preamble.
– Bernard
Feb 16 '18 at 19:48
add a comment |
Thank you very much. You also have an idea about my "indent" problems?
– user115202
Feb 16 '18 at 17:27
Sorry, I forgot that (Freudian slip? I think it's a typographical heresy). It's just an option intitlesec
, see my updated answer. As to the spacing between paragraphs, setparskip
to some small (rubber) length. But you shouldn't use both paragraph indentation and paragraph spacing without very serious reasons.
– Bernard
Feb 16 '18 at 17:43
Alright, then I won't useparskip
. Do you know how I could get the wort 'Contens' centered? Withcentering
from my MWE it doesn't work and withbegin{center}...end{center}
there is a huge space to the first entry of the Toc.
– user115202
Feb 16 '18 at 18:01
@user372565: you can use the{titleformat*{section}{...}}
command (between braces, to make it local. See my updated answer. However if you also have a bibliography or an index, and want their titles to be centred, you'd better declaretitleformat {name=section, numberless}{largescshapefilcenter}{}{0pt} {}
in the preamble.
– Bernard
Feb 16 '18 at 19:48
Thank you very much. You also have an idea about my "indent" problems?
– user115202
Feb 16 '18 at 17:27
Thank you very much. You also have an idea about my "indent" problems?
– user115202
Feb 16 '18 at 17:27
Sorry, I forgot that (Freudian slip? I think it's a typographical heresy). It's just an option in
titlesec
, see my updated answer. As to the spacing between paragraphs, set parskip
to some small (rubber) length. But you shouldn't use both paragraph indentation and paragraph spacing without very serious reasons.– Bernard
Feb 16 '18 at 17:43
Sorry, I forgot that (Freudian slip? I think it's a typographical heresy). It's just an option in
titlesec
, see my updated answer. As to the spacing between paragraphs, set parskip
to some small (rubber) length. But you shouldn't use both paragraph indentation and paragraph spacing without very serious reasons.– Bernard
Feb 16 '18 at 17:43
Alright, then I won't use
parskip
. Do you know how I could get the wort 'Contens' centered? With centering
from my MWE it doesn't work and with begin{center}...end{center}
there is a huge space to the first entry of the Toc.– user115202
Feb 16 '18 at 18:01
Alright, then I won't use
parskip
. Do you know how I could get the wort 'Contens' centered? With centering
from my MWE it doesn't work and with begin{center}...end{center}
there is a huge space to the first entry of the Toc.– user115202
Feb 16 '18 at 18:01
@user372565: you can use the
{titleformat*{section}{...}}
command (between braces, to make it local. See my updated answer. However if you also have a bibliography or an index, and want their titles to be centred, you'd better declare titleformat {name=section, numberless}{largescshapefilcenter}{}{0pt} {}
in the preamble.– Bernard
Feb 16 '18 at 19:48
@user372565: you can use the
{titleformat*{section}{...}}
command (between braces, to make it local. See my updated answer. However if you also have a bibliography or an index, and want their titles to be centred, you'd better declare titleformat {name=section, numberless}{largescshapefilcenter}{}{0pt} {}
in the preamble.– Bernard
Feb 16 '18 at 19:48
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f415688%2fpoint-in-table-of-contents-with-titletoc-and-indents%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown