Chapter title under chapter number in KOMA class












0















Using the scrbook class, how do I place the chapter title under the chapter number? Here's a MWE



documentclass{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
begin{document}
chapter{A chapter}
end{document}


The corresponding output is



enter image description here



And what I'd like to have is something like this



enter image description here



Once I can do that, how do I change the vertical space between the two?



EDIT:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}

%makeatletter
%renewcommand{@chapapp}{}
%makeatother

usepackage{fancyhdr}
renewcommand{headrulewidth}{0pt}

fancypagestyle{theorems}{
renewcommand{chaptermark}[1]{markboth{##1}{}}
fancyhead[LO, RE]{itshapenouppercaseleftmark}
fancyhead[LE, RO]{thepage}
fancyfoot{}}

pagestyle{theorems}
begin{document}
tableofcontents
chapter{A chapter}
newpage
a
end{document}


Corresponding heading



enter image description here










share|improve this question

























  • Please note: usepage[showframe]{geometry} changed the size of the text area and margins. If you don't want this, you should either use usepackage{showframe} instead of loading geometry or add option pass.

    – Schweinebacke
    Mar 24 at 15:28











  • Usage of fancyhdr together with a KOMA-Script class is not recommended. It needs extra user work to not break several features of KOMA-Script (e.g. to respect chaptermarkformat). See the warning message of KOMA-Script.

    – Schweinebacke
    Mar 24 at 15:35











  • Got it. Should I open another post asking how to create that heading with a KOMA-Script class or do you have a quick fix?

    – noibe
    Mar 24 at 15:37











  • Use scrlayer-scrpage as recommended by the warning in the log-file.

    – Schweinebacke
    Mar 24 at 15:44











  • Thanks for the help, I posted a new question as I'm having a few issues with scrlayer-scrpage package.

    – noibe
    Mar 24 at 16:08
















0















Using the scrbook class, how do I place the chapter title under the chapter number? Here's a MWE



documentclass{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
begin{document}
chapter{A chapter}
end{document}


The corresponding output is



enter image description here



And what I'd like to have is something like this



enter image description here



Once I can do that, how do I change the vertical space between the two?



EDIT:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}

%makeatletter
%renewcommand{@chapapp}{}
%makeatother

usepackage{fancyhdr}
renewcommand{headrulewidth}{0pt}

fancypagestyle{theorems}{
renewcommand{chaptermark}[1]{markboth{##1}{}}
fancyhead[LO, RE]{itshapenouppercaseleftmark}
fancyhead[LE, RO]{thepage}
fancyfoot{}}

pagestyle{theorems}
begin{document}
tableofcontents
chapter{A chapter}
newpage
a
end{document}


Corresponding heading



enter image description here










share|improve this question

























  • Please note: usepage[showframe]{geometry} changed the size of the text area and margins. If you don't want this, you should either use usepackage{showframe} instead of loading geometry or add option pass.

    – Schweinebacke
    Mar 24 at 15:28











  • Usage of fancyhdr together with a KOMA-Script class is not recommended. It needs extra user work to not break several features of KOMA-Script (e.g. to respect chaptermarkformat). See the warning message of KOMA-Script.

    – Schweinebacke
    Mar 24 at 15:35











  • Got it. Should I open another post asking how to create that heading with a KOMA-Script class or do you have a quick fix?

    – noibe
    Mar 24 at 15:37











  • Use scrlayer-scrpage as recommended by the warning in the log-file.

    – Schweinebacke
    Mar 24 at 15:44











  • Thanks for the help, I posted a new question as I'm having a few issues with scrlayer-scrpage package.

    – noibe
    Mar 24 at 16:08














0












0








0








Using the scrbook class, how do I place the chapter title under the chapter number? Here's a MWE



documentclass{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
begin{document}
chapter{A chapter}
end{document}


The corresponding output is



enter image description here



And what I'd like to have is something like this



enter image description here



Once I can do that, how do I change the vertical space between the two?



EDIT:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}

%makeatletter
%renewcommand{@chapapp}{}
%makeatother

usepackage{fancyhdr}
renewcommand{headrulewidth}{0pt}

fancypagestyle{theorems}{
renewcommand{chaptermark}[1]{markboth{##1}{}}
fancyhead[LO, RE]{itshapenouppercaseleftmark}
fancyhead[LE, RO]{thepage}
fancyfoot{}}

pagestyle{theorems}
begin{document}
tableofcontents
chapter{A chapter}
newpage
a
end{document}


Corresponding heading



enter image description here










share|improve this question
















Using the scrbook class, how do I place the chapter title under the chapter number? Here's a MWE



documentclass{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
begin{document}
chapter{A chapter}
end{document}


The corresponding output is



enter image description here



And what I'd like to have is something like this



enter image description here



Once I can do that, how do I change the vertical space between the two?



EDIT:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}

%makeatletter
%renewcommand{@chapapp}{}
%makeatother

usepackage{fancyhdr}
renewcommand{headrulewidth}{0pt}

fancypagestyle{theorems}{
renewcommand{chaptermark}[1]{markboth{##1}{}}
fancyhead[LO, RE]{itshapenouppercaseleftmark}
fancyhead[LE, RO]{thepage}
fancyfoot{}}

pagestyle{theorems}
begin{document}
tableofcontents
chapter{A chapter}
newpage
a
end{document}


Corresponding heading



enter image description here







chapters koma-script scrbook






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 24 at 15:33







noibe

















asked Mar 24 at 11:51









noibenoibe

554113




554113













  • Please note: usepage[showframe]{geometry} changed the size of the text area and margins. If you don't want this, you should either use usepackage{showframe} instead of loading geometry or add option pass.

    – Schweinebacke
    Mar 24 at 15:28











  • Usage of fancyhdr together with a KOMA-Script class is not recommended. It needs extra user work to not break several features of KOMA-Script (e.g. to respect chaptermarkformat). See the warning message of KOMA-Script.

    – Schweinebacke
    Mar 24 at 15:35











  • Got it. Should I open another post asking how to create that heading with a KOMA-Script class or do you have a quick fix?

    – noibe
    Mar 24 at 15:37











  • Use scrlayer-scrpage as recommended by the warning in the log-file.

    – Schweinebacke
    Mar 24 at 15:44











  • Thanks for the help, I posted a new question as I'm having a few issues with scrlayer-scrpage package.

    – noibe
    Mar 24 at 16:08



















  • Please note: usepage[showframe]{geometry} changed the size of the text area and margins. If you don't want this, you should either use usepackage{showframe} instead of loading geometry or add option pass.

    – Schweinebacke
    Mar 24 at 15:28











  • Usage of fancyhdr together with a KOMA-Script class is not recommended. It needs extra user work to not break several features of KOMA-Script (e.g. to respect chaptermarkformat). See the warning message of KOMA-Script.

    – Schweinebacke
    Mar 24 at 15:35











  • Got it. Should I open another post asking how to create that heading with a KOMA-Script class or do you have a quick fix?

    – noibe
    Mar 24 at 15:37











  • Use scrlayer-scrpage as recommended by the warning in the log-file.

    – Schweinebacke
    Mar 24 at 15:44











  • Thanks for the help, I posted a new question as I'm having a few issues with scrlayer-scrpage package.

    – noibe
    Mar 24 at 16:08

















Please note: usepage[showframe]{geometry} changed the size of the text area and margins. If you don't want this, you should either use usepackage{showframe} instead of loading geometry or add option pass.

– Schweinebacke
Mar 24 at 15:28





Please note: usepage[showframe]{geometry} changed the size of the text area and margins. If you don't want this, you should either use usepackage{showframe} instead of loading geometry or add option pass.

– Schweinebacke
Mar 24 at 15:28













Usage of fancyhdr together with a KOMA-Script class is not recommended. It needs extra user work to not break several features of KOMA-Script (e.g. to respect chaptermarkformat). See the warning message of KOMA-Script.

– Schweinebacke
Mar 24 at 15:35





Usage of fancyhdr together with a KOMA-Script class is not recommended. It needs extra user work to not break several features of KOMA-Script (e.g. to respect chaptermarkformat). See the warning message of KOMA-Script.

– Schweinebacke
Mar 24 at 15:35













Got it. Should I open another post asking how to create that heading with a KOMA-Script class or do you have a quick fix?

– noibe
Mar 24 at 15:37





Got it. Should I open another post asking how to create that heading with a KOMA-Script class or do you have a quick fix?

– noibe
Mar 24 at 15:37













Use scrlayer-scrpage as recommended by the warning in the log-file.

– Schweinebacke
Mar 24 at 15:44





Use scrlayer-scrpage as recommended by the warning in the log-file.

– Schweinebacke
Mar 24 at 15:44













Thanks for the help, I posted a new question as I'm having a few issues with scrlayer-scrpage package.

– noibe
Mar 24 at 16:08





Thanks for the help, I posted a new question as I'm having a few issues with scrlayer-scrpage package.

– noibe
Mar 24 at 16:08










1 Answer
1






active

oldest

votes


















0














You can use option chapterprefix if you want a chapter heading with a prefix line, that has only the formatted number:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
renewcommand*{chaptermarkformat}{thechapterautodotenskip}% If you don't want the chapter name in the running head.
begin{document}
chapter{A chapter}
end{document}


enter image description here



There are already examples for similar chapter headings like:




  • https://tex.stackexchange.com/a/480247/9057

  • https://tex.stackexchange.com/a/298509/9057


Please avoid using fancyhdr with KOMA-Script classes. As the warning message tells you, using fancyhdr breaks several features of KOMA-Script classes. Use scrlayer-scrpage instead. If you want running head aligned to the inner margin and page numbers aligned to the outer margins and if the chapter titles in the running head should be without chapter numbers, you can use:



renewcommand*{chaptermarkformat}{}% If you want running heads without
% chapter number.

usepackage[automark]{scrlayer-scrpage}
clearpairofpagestyles
ihead*{pagemark}% page number also on plain pages
ohead{headmark}





share|improve this answer


























  • It works, but now the headings are 'Chapter 1 A chapter', while before they were simply '1 A chapter'. How do I fix that?

    – noibe
    Mar 24 at 15:11











  • @noibe Not with my example and KOMA-Script 3.26b, which is the current release on CTAN, in TeX Live and MiKTeX.

    – Schweinebacke
    Mar 24 at 15:25













  • I have the same version. I found a workaround through makeatletterrenewcommand{@chapapp}{}makeatother

    – noibe
    Mar 24 at 15:28











  • @noibe After the shown redefinition of chapterformat KOMA-Script cannot produce the output you are talking about. And redefining @chapapp would not remove the space. So you are doing something you are not telling us. And note, appendix would again redefine @chapapp.

    – Schweinebacke
    Mar 24 at 15:30













  • That's possible. I posted an example showing my problem in my original question.

    – noibe
    Mar 24 at 15:33












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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481190%2fchapter-title-under-chapter-number-in-koma-class%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









0














You can use option chapterprefix if you want a chapter heading with a prefix line, that has only the formatted number:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
renewcommand*{chaptermarkformat}{thechapterautodotenskip}% If you don't want the chapter name in the running head.
begin{document}
chapter{A chapter}
end{document}


enter image description here



There are already examples for similar chapter headings like:




  • https://tex.stackexchange.com/a/480247/9057

  • https://tex.stackexchange.com/a/298509/9057


Please avoid using fancyhdr with KOMA-Script classes. As the warning message tells you, using fancyhdr breaks several features of KOMA-Script classes. Use scrlayer-scrpage instead. If you want running head aligned to the inner margin and page numbers aligned to the outer margins and if the chapter titles in the running head should be without chapter numbers, you can use:



renewcommand*{chaptermarkformat}{}% If you want running heads without
% chapter number.

usepackage[automark]{scrlayer-scrpage}
clearpairofpagestyles
ihead*{pagemark}% page number also on plain pages
ohead{headmark}





share|improve this answer


























  • It works, but now the headings are 'Chapter 1 A chapter', while before they were simply '1 A chapter'. How do I fix that?

    – noibe
    Mar 24 at 15:11











  • @noibe Not with my example and KOMA-Script 3.26b, which is the current release on CTAN, in TeX Live and MiKTeX.

    – Schweinebacke
    Mar 24 at 15:25













  • I have the same version. I found a workaround through makeatletterrenewcommand{@chapapp}{}makeatother

    – noibe
    Mar 24 at 15:28











  • @noibe After the shown redefinition of chapterformat KOMA-Script cannot produce the output you are talking about. And redefining @chapapp would not remove the space. So you are doing something you are not telling us. And note, appendix would again redefine @chapapp.

    – Schweinebacke
    Mar 24 at 15:30













  • That's possible. I posted an example showing my problem in my original question.

    – noibe
    Mar 24 at 15:33
















0














You can use option chapterprefix if you want a chapter heading with a prefix line, that has only the formatted number:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
renewcommand*{chaptermarkformat}{thechapterautodotenskip}% If you don't want the chapter name in the running head.
begin{document}
chapter{A chapter}
end{document}


enter image description here



There are already examples for similar chapter headings like:




  • https://tex.stackexchange.com/a/480247/9057

  • https://tex.stackexchange.com/a/298509/9057


Please avoid using fancyhdr with KOMA-Script classes. As the warning message tells you, using fancyhdr breaks several features of KOMA-Script classes. Use scrlayer-scrpage instead. If you want running head aligned to the inner margin and page numbers aligned to the outer margins and if the chapter titles in the running head should be without chapter numbers, you can use:



renewcommand*{chaptermarkformat}{}% If you want running heads without
% chapter number.

usepackage[automark]{scrlayer-scrpage}
clearpairofpagestyles
ihead*{pagemark}% page number also on plain pages
ohead{headmark}





share|improve this answer


























  • It works, but now the headings are 'Chapter 1 A chapter', while before they were simply '1 A chapter'. How do I fix that?

    – noibe
    Mar 24 at 15:11











  • @noibe Not with my example and KOMA-Script 3.26b, which is the current release on CTAN, in TeX Live and MiKTeX.

    – Schweinebacke
    Mar 24 at 15:25













  • I have the same version. I found a workaround through makeatletterrenewcommand{@chapapp}{}makeatother

    – noibe
    Mar 24 at 15:28











  • @noibe After the shown redefinition of chapterformat KOMA-Script cannot produce the output you are talking about. And redefining @chapapp would not remove the space. So you are doing something you are not telling us. And note, appendix would again redefine @chapapp.

    – Schweinebacke
    Mar 24 at 15:30













  • That's possible. I posted an example showing my problem in my original question.

    – noibe
    Mar 24 at 15:33














0












0








0







You can use option chapterprefix if you want a chapter heading with a prefix line, that has only the formatted number:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
renewcommand*{chaptermarkformat}{thechapterautodotenskip}% If you don't want the chapter name in the running head.
begin{document}
chapter{A chapter}
end{document}


enter image description here



There are already examples for similar chapter headings like:




  • https://tex.stackexchange.com/a/480247/9057

  • https://tex.stackexchange.com/a/298509/9057


Please avoid using fancyhdr with KOMA-Script classes. As the warning message tells you, using fancyhdr breaks several features of KOMA-Script classes. Use scrlayer-scrpage instead. If you want running head aligned to the inner margin and page numbers aligned to the outer margins and if the chapter titles in the running head should be without chapter numbers, you can use:



renewcommand*{chaptermarkformat}{}% If you want running heads without
% chapter number.

usepackage[automark]{scrlayer-scrpage}
clearpairofpagestyles
ihead*{pagemark}% page number also on plain pages
ohead{headmark}





share|improve this answer















You can use option chapterprefix if you want a chapter heading with a prefix line, that has only the formatted number:



documentclass[chapterprefix]{scrbook}
usepackage{xcolor, graphicx}
usepackage[showframe]{geometry}

definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}

letraggedchapterraggedleft
addtokomafont{disposition}{normalfont}
setkomafont{chapter}{LARGE}

renewcommand*{chapterformat}{%
scalebox{5}{color{chaptergrey}thechapter}%
}
renewcommand*{chaptermarkformat}{thechapterautodotenskip}% If you don't want the chapter name in the running head.
begin{document}
chapter{A chapter}
end{document}


enter image description here



There are already examples for similar chapter headings like:




  • https://tex.stackexchange.com/a/480247/9057

  • https://tex.stackexchange.com/a/298509/9057


Please avoid using fancyhdr with KOMA-Script classes. As the warning message tells you, using fancyhdr breaks several features of KOMA-Script classes. Use scrlayer-scrpage instead. If you want running head aligned to the inner margin and page numbers aligned to the outer margins and if the chapter titles in the running head should be without chapter numbers, you can use:



renewcommand*{chaptermarkformat}{}% If you want running heads without
% chapter number.

usepackage[automark]{scrlayer-scrpage}
clearpairofpagestyles
ihead*{pagemark}% page number also on plain pages
ohead{headmark}






share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 24 at 15:53

























answered Mar 24 at 14:19









SchweinebackeSchweinebacke

22.2k4577




22.2k4577













  • It works, but now the headings are 'Chapter 1 A chapter', while before they were simply '1 A chapter'. How do I fix that?

    – noibe
    Mar 24 at 15:11











  • @noibe Not with my example and KOMA-Script 3.26b, which is the current release on CTAN, in TeX Live and MiKTeX.

    – Schweinebacke
    Mar 24 at 15:25













  • I have the same version. I found a workaround through makeatletterrenewcommand{@chapapp}{}makeatother

    – noibe
    Mar 24 at 15:28











  • @noibe After the shown redefinition of chapterformat KOMA-Script cannot produce the output you are talking about. And redefining @chapapp would not remove the space. So you are doing something you are not telling us. And note, appendix would again redefine @chapapp.

    – Schweinebacke
    Mar 24 at 15:30













  • That's possible. I posted an example showing my problem in my original question.

    – noibe
    Mar 24 at 15:33



















  • It works, but now the headings are 'Chapter 1 A chapter', while before they were simply '1 A chapter'. How do I fix that?

    – noibe
    Mar 24 at 15:11











  • @noibe Not with my example and KOMA-Script 3.26b, which is the current release on CTAN, in TeX Live and MiKTeX.

    – Schweinebacke
    Mar 24 at 15:25













  • I have the same version. I found a workaround through makeatletterrenewcommand{@chapapp}{}makeatother

    – noibe
    Mar 24 at 15:28











  • @noibe After the shown redefinition of chapterformat KOMA-Script cannot produce the output you are talking about. And redefining @chapapp would not remove the space. So you are doing something you are not telling us. And note, appendix would again redefine @chapapp.

    – Schweinebacke
    Mar 24 at 15:30













  • That's possible. I posted an example showing my problem in my original question.

    – noibe
    Mar 24 at 15:33

















It works, but now the headings are 'Chapter 1 A chapter', while before they were simply '1 A chapter'. How do I fix that?

– noibe
Mar 24 at 15:11





It works, but now the headings are 'Chapter 1 A chapter', while before they were simply '1 A chapter'. How do I fix that?

– noibe
Mar 24 at 15:11













@noibe Not with my example and KOMA-Script 3.26b, which is the current release on CTAN, in TeX Live and MiKTeX.

– Schweinebacke
Mar 24 at 15:25







@noibe Not with my example and KOMA-Script 3.26b, which is the current release on CTAN, in TeX Live and MiKTeX.

– Schweinebacke
Mar 24 at 15:25















I have the same version. I found a workaround through makeatletterrenewcommand{@chapapp}{}makeatother

– noibe
Mar 24 at 15:28





I have the same version. I found a workaround through makeatletterrenewcommand{@chapapp}{}makeatother

– noibe
Mar 24 at 15:28













@noibe After the shown redefinition of chapterformat KOMA-Script cannot produce the output you are talking about. And redefining @chapapp would not remove the space. So you are doing something you are not telling us. And note, appendix would again redefine @chapapp.

– Schweinebacke
Mar 24 at 15:30







@noibe After the shown redefinition of chapterformat KOMA-Script cannot produce the output you are talking about. And redefining @chapapp would not remove the space. So you are doing something you are not telling us. And note, appendix would again redefine @chapapp.

– Schweinebacke
Mar 24 at 15:30















That's possible. I posted an example showing my problem in my original question.

– noibe
Mar 24 at 15:33





That's possible. I posted an example showing my problem in my original question.

– noibe
Mar 24 at 15:33


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481190%2fchapter-title-under-chapter-number-in-koma-class%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?