Footnote marks always under the rule in koma script
up vote
0
down vote
favorite
I'm trying to modify the standard appearance of the footnote mark in the koma script class scrbook.
The behavior should be similar to the behavior in Microsoft Word. So the footnote numbers are left aligned under the horizontal rule. And with every next order of magnitude (I have footnote numbers going up to 2000) the box for the superscripted footnote mark is extended so that the numbers stay under the horizontal rule.
However, the below code doesn't look good as the space between the footnote mark and the following text varies. And my impression is that guessing the right ?em is the wrong way. Here I would like to have the koma standard behavior (koma script guide p. 91):
The first line of the footnote follows directly.
So now I'm looking for a way to have both the alignment from the koma class, but with footnote marks which stay under the horizontal rule.
(One note: I think setting the mark width to the width of the greatest number looks odd for the smaller numbers. So this not an option.)
documentclass{scrbook}
deffootnote
[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
]
{
ifnumthevalue{footnote}<10
0.9em
else
ifnumthevalue{footnote}<100
1.3em
else
ifnumthevalue{footnote}<1000
1.7em
else
2.1em
fi
fi
fi
}
{1.0em}
{makebox[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
][l]{textsuperscript{thefootnotemark}}}
begin{document}
Test1footnote{Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1.}
setcounter{footnote}{9}
Test10footnote{Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. }
setcounter{footnote}{99}
Test100footnote{Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. }
setcounter{footnote}{999}
Test1000footnote{Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. }
end{document}
spacing footnotes koma-script
add a comment |
up vote
0
down vote
favorite
I'm trying to modify the standard appearance of the footnote mark in the koma script class scrbook.
The behavior should be similar to the behavior in Microsoft Word. So the footnote numbers are left aligned under the horizontal rule. And with every next order of magnitude (I have footnote numbers going up to 2000) the box for the superscripted footnote mark is extended so that the numbers stay under the horizontal rule.
However, the below code doesn't look good as the space between the footnote mark and the following text varies. And my impression is that guessing the right ?em is the wrong way. Here I would like to have the koma standard behavior (koma script guide p. 91):
The first line of the footnote follows directly.
So now I'm looking for a way to have both the alignment from the koma class, but with footnote marks which stay under the horizontal rule.
(One note: I think setting the mark width to the width of the greatest number looks odd for the smaller numbers. So this not an option.)
documentclass{scrbook}
deffootnote
[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
]
{
ifnumthevalue{footnote}<10
0.9em
else
ifnumthevalue{footnote}<100
1.3em
else
ifnumthevalue{footnote}<1000
1.7em
else
2.1em
fi
fi
fi
}
{1.0em}
{makebox[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
][l]{textsuperscript{thefootnotemark}}}
begin{document}
Test1footnote{Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1.}
setcounter{footnote}{9}
Test10footnote{Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. }
setcounter{footnote}{99}
Test100footnote{Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. }
setcounter{footnote}{999}
Test1000footnote{Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. }
end{document}
spacing footnotes koma-script
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to modify the standard appearance of the footnote mark in the koma script class scrbook.
The behavior should be similar to the behavior in Microsoft Word. So the footnote numbers are left aligned under the horizontal rule. And with every next order of magnitude (I have footnote numbers going up to 2000) the box for the superscripted footnote mark is extended so that the numbers stay under the horizontal rule.
However, the below code doesn't look good as the space between the footnote mark and the following text varies. And my impression is that guessing the right ?em is the wrong way. Here I would like to have the koma standard behavior (koma script guide p. 91):
The first line of the footnote follows directly.
So now I'm looking for a way to have both the alignment from the koma class, but with footnote marks which stay under the horizontal rule.
(One note: I think setting the mark width to the width of the greatest number looks odd for the smaller numbers. So this not an option.)
documentclass{scrbook}
deffootnote
[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
]
{
ifnumthevalue{footnote}<10
0.9em
else
ifnumthevalue{footnote}<100
1.3em
else
ifnumthevalue{footnote}<1000
1.7em
else
2.1em
fi
fi
fi
}
{1.0em}
{makebox[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
][l]{textsuperscript{thefootnotemark}}}
begin{document}
Test1footnote{Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1.}
setcounter{footnote}{9}
Test10footnote{Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. }
setcounter{footnote}{99}
Test100footnote{Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. }
setcounter{footnote}{999}
Test1000footnote{Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. }
end{document}
spacing footnotes koma-script
I'm trying to modify the standard appearance of the footnote mark in the koma script class scrbook.
The behavior should be similar to the behavior in Microsoft Word. So the footnote numbers are left aligned under the horizontal rule. And with every next order of magnitude (I have footnote numbers going up to 2000) the box for the superscripted footnote mark is extended so that the numbers stay under the horizontal rule.
However, the below code doesn't look good as the space between the footnote mark and the following text varies. And my impression is that guessing the right ?em is the wrong way. Here I would like to have the koma standard behavior (koma script guide p. 91):
The first line of the footnote follows directly.
So now I'm looking for a way to have both the alignment from the koma class, but with footnote marks which stay under the horizontal rule.
(One note: I think setting the mark width to the width of the greatest number looks odd for the smaller numbers. So this not an option.)
documentclass{scrbook}
deffootnote
[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
]
{
ifnumthevalue{footnote}<10
0.9em
else
ifnumthevalue{footnote}<100
1.3em
else
ifnumthevalue{footnote}<1000
1.7em
else
2.1em
fi
fi
fi
}
{1.0em}
{makebox[
ifnumthevalue{footnote}<10
0.4em
else
ifnumthevalue{footnote}<100
0.8em
else
ifnumthevalue{footnote}<1000
1.2em
else
1.6em
fi
fi
fi
][l]{textsuperscript{thefootnotemark}}}
begin{document}
Test1footnote{Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1. Footnote Test 1.}
setcounter{footnote}{9}
Test10footnote{Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. Footnote Test 10. }
setcounter{footnote}{99}
Test100footnote{Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. Footnote Test 100. }
setcounter{footnote}{999}
Test1000footnote{Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. Footnote Test 1000. }
end{document}
spacing footnotes koma-script
spacing footnotes koma-script
asked 1 hour ago
user2653422
1,037820
1,037820
add a comment |
add a comment |
active
oldest
votes
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',
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%2f466424%2ffootnote-marks-always-under-the-rule-in-koma-script%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f466424%2ffootnote-marks-always-under-the-rule-in-koma-script%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