Adding sectioning support in scrlttr2 class
It seems like by default the scrlttr2
class doesn't support sectioning, that is the command section
or paragraph
returns errors.
How can one add sectioning support to a latter basing on scrlttr2
?
sectioning letters scrlttr2
add a comment |
It seems like by default the scrlttr2
class doesn't support sectioning, that is the command section
or paragraph
returns errors.
How can one add sectioning support to a latter basing on scrlttr2
?
sectioning letters scrlttr2
add a comment |
It seems like by default the scrlttr2
class doesn't support sectioning, that is the command section
or paragraph
returns errors.
How can one add sectioning support to a latter basing on scrlttr2
?
sectioning letters scrlttr2
It seems like by default the scrlttr2
class doesn't support sectioning, that is the command section
or paragraph
returns errors.
How can one add sectioning support to a latter basing on scrlttr2
?
sectioning letters scrlttr2
sectioning letters scrlttr2
asked Jul 12 '12 at 18:32
Dror
11.1k1872150
11.1k1872150
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
One solution is hinted in this answer. In particular, download the file sectionslco.zip and unzip it to the directory containing the letter. Finally, add the class option sections
. Now you can use all sectioning macros, e.g. section
, as usual.
add a comment |
I would recommend using an scrartcl
document together with the scrletter
package which comes with Koma-Script for a few years now. It allows you to put a letter
environment into any document, effectively enabling sections inside and after your main letter.
Example:
documentclass{scrartcl}
usepackage{scrletter} % You can put most scrlttr2 options here.
usepackage{lipsum}
begin{document}
date{today}
setkomavar{fromname}{My Name}
setkomavar{fromaddress}{My address\My City}
setkomavar{fromphone}{Phone Number}
setkomavar{fromemail}{mail@example.com}
setkomavar{place}{City}
setkomavar{signature}{My name again}
setkomavar{subject}{Hello World}
begin{letter}[fontsize=14pt]{%
To:\ You
}
opening{Hello there!}
Hello dear world.
section{Oh wow!}
This is another section.
closing{CU later}
ps{PS: Forgot anything?}
encl{A bottle of beer}
end{letter}
tableofcontents % Even hyperrefs into the main letter work.
section{Another section}
With content.
end{document}
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%2f63085%2fadding-sectioning-support-in-scrlttr2-class%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
One solution is hinted in this answer. In particular, download the file sectionslco.zip and unzip it to the directory containing the letter. Finally, add the class option sections
. Now you can use all sectioning macros, e.g. section
, as usual.
add a comment |
One solution is hinted in this answer. In particular, download the file sectionslco.zip and unzip it to the directory containing the letter. Finally, add the class option sections
. Now you can use all sectioning macros, e.g. section
, as usual.
add a comment |
One solution is hinted in this answer. In particular, download the file sectionslco.zip and unzip it to the directory containing the letter. Finally, add the class option sections
. Now you can use all sectioning macros, e.g. section
, as usual.
One solution is hinted in this answer. In particular, download the file sectionslco.zip and unzip it to the directory containing the letter. Finally, add the class option sections
. Now you can use all sectioning macros, e.g. section
, as usual.
edited Apr 13 '17 at 12:35
Community♦
1
1
answered Jul 12 '12 at 18:35
Dror
11.1k1872150
11.1k1872150
add a comment |
add a comment |
I would recommend using an scrartcl
document together with the scrletter
package which comes with Koma-Script for a few years now. It allows you to put a letter
environment into any document, effectively enabling sections inside and after your main letter.
Example:
documentclass{scrartcl}
usepackage{scrletter} % You can put most scrlttr2 options here.
usepackage{lipsum}
begin{document}
date{today}
setkomavar{fromname}{My Name}
setkomavar{fromaddress}{My address\My City}
setkomavar{fromphone}{Phone Number}
setkomavar{fromemail}{mail@example.com}
setkomavar{place}{City}
setkomavar{signature}{My name again}
setkomavar{subject}{Hello World}
begin{letter}[fontsize=14pt]{%
To:\ You
}
opening{Hello there!}
Hello dear world.
section{Oh wow!}
This is another section.
closing{CU later}
ps{PS: Forgot anything?}
encl{A bottle of beer}
end{letter}
tableofcontents % Even hyperrefs into the main letter work.
section{Another section}
With content.
end{document}
add a comment |
I would recommend using an scrartcl
document together with the scrletter
package which comes with Koma-Script for a few years now. It allows you to put a letter
environment into any document, effectively enabling sections inside and after your main letter.
Example:
documentclass{scrartcl}
usepackage{scrletter} % You can put most scrlttr2 options here.
usepackage{lipsum}
begin{document}
date{today}
setkomavar{fromname}{My Name}
setkomavar{fromaddress}{My address\My City}
setkomavar{fromphone}{Phone Number}
setkomavar{fromemail}{mail@example.com}
setkomavar{place}{City}
setkomavar{signature}{My name again}
setkomavar{subject}{Hello World}
begin{letter}[fontsize=14pt]{%
To:\ You
}
opening{Hello there!}
Hello dear world.
section{Oh wow!}
This is another section.
closing{CU later}
ps{PS: Forgot anything?}
encl{A bottle of beer}
end{letter}
tableofcontents % Even hyperrefs into the main letter work.
section{Another section}
With content.
end{document}
add a comment |
I would recommend using an scrartcl
document together with the scrletter
package which comes with Koma-Script for a few years now. It allows you to put a letter
environment into any document, effectively enabling sections inside and after your main letter.
Example:
documentclass{scrartcl}
usepackage{scrletter} % You can put most scrlttr2 options here.
usepackage{lipsum}
begin{document}
date{today}
setkomavar{fromname}{My Name}
setkomavar{fromaddress}{My address\My City}
setkomavar{fromphone}{Phone Number}
setkomavar{fromemail}{mail@example.com}
setkomavar{place}{City}
setkomavar{signature}{My name again}
setkomavar{subject}{Hello World}
begin{letter}[fontsize=14pt]{%
To:\ You
}
opening{Hello there!}
Hello dear world.
section{Oh wow!}
This is another section.
closing{CU later}
ps{PS: Forgot anything?}
encl{A bottle of beer}
end{letter}
tableofcontents % Even hyperrefs into the main letter work.
section{Another section}
With content.
end{document}
I would recommend using an scrartcl
document together with the scrletter
package which comes with Koma-Script for a few years now. It allows you to put a letter
environment into any document, effectively enabling sections inside and after your main letter.
Example:
documentclass{scrartcl}
usepackage{scrletter} % You can put most scrlttr2 options here.
usepackage{lipsum}
begin{document}
date{today}
setkomavar{fromname}{My Name}
setkomavar{fromaddress}{My address\My City}
setkomavar{fromphone}{Phone Number}
setkomavar{fromemail}{mail@example.com}
setkomavar{place}{City}
setkomavar{signature}{My name again}
setkomavar{subject}{Hello World}
begin{letter}[fontsize=14pt]{%
To:\ You
}
opening{Hello there!}
Hello dear world.
section{Oh wow!}
This is another section.
closing{CU later}
ps{PS: Forgot anything?}
encl{A bottle of beer}
end{letter}
tableofcontents % Even hyperrefs into the main letter work.
section{Another section}
With content.
end{document}
answered Dec 13 '18 at 15:19
quazgar
6511819
6511819
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f63085%2fadding-sectioning-support-in-scrlttr2-class%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