Which variable stores the value of the document's margins? The 2019 Stack Overflow Developer...
How does this infinite series simplify to an integral?
Does the AirPods case need to be around while listening via an iOS Device?
Is there a writing software that you can sort scenes like slides in PowerPoint?
Do working physicists consider Newtonian mechanics to be "falsified"?
Am I ethically obligated to go into work on an off day if the reason is sudden?
Do warforged have souls?
Grover's algorithm - DES circuit as oracle?
Make it rain characters
Match Roman Numerals
Can smartphones with the same camera sensor have different image quality?
Who or what is the being for whom Being is a question for Heidegger?
How to pronounce 1ターン?
Are spiders unable to hurt humans, especially very small spiders?
What do you call a plan that's an alternative plan in case your initial plan fails?
Arduino Pro Micro - switch off LEDs
how can a perfect fourth interval be considered either consonant or dissonant?
Converting from Markdown-with-biblatex-commands to LaTeX
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
Change bounding box of math glyphs in LuaTeX
system call string length limit
RT6224D-based step down circuit yields 0V - why?
Derivation tree not rendering
A pet rabbit called Belle
How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?
Which variable stores the value of the document's margins?
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Edit margins in res.cls (How to pass through correct value for “margin”?)How can I change the margins in LaTeX?Bad margins while printingDecrease the top and bottom margins and increase length of lineHow to get the active left and right margins to use them in a tikzpicture?Geometry does not seem to change the marginsHow to make the margins relative to the actual content rather than the baseline?Page margins are not equalfancyhdr messing up the document marginssmall text not going all the way to the margins
I am trying to create a header. I would like to position the information on the right or left margin. But I do not know which command stores the margin dimension correctly. The leftmargin command is not working the way I expected. I tried to calculate paperwidth less textwidth, but it also does not work.
documentclass[12pt,twoside]{book}
usepackage[left=5cm, right=3cm]{geometry}
usepackage[table, svgnames]{xcolor}
usepackage{tikzpagenodes}
usepackage{lipsum}
usepackage{tikz}
usetikzlibrary{positioning,calc}
usepackage{tcolorbox}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{}
renewcommand{chaptermark}[1]{markboth{thechapter #1}{}}
renewcommand{sectionmark}[1]{markright{thesection #1}{}}
fancyhead[LO]
{begin{tikzpicture}[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) {aaaaVaaaa};
end{tikzpicture}}
begin{document}
lipsum[1-2]
end{document}
geometry
add a comment |
I am trying to create a header. I would like to position the information on the right or left margin. But I do not know which command stores the margin dimension correctly. The leftmargin command is not working the way I expected. I tried to calculate paperwidth less textwidth, but it also does not work.
documentclass[12pt,twoside]{book}
usepackage[left=5cm, right=3cm]{geometry}
usepackage[table, svgnames]{xcolor}
usepackage{tikzpagenodes}
usepackage{lipsum}
usepackage{tikz}
usetikzlibrary{positioning,calc}
usepackage{tcolorbox}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{}
renewcommand{chaptermark}[1]{markboth{thechapter #1}{}}
renewcommand{sectionmark}[1]{markright{thesection #1}{}}
fancyhead[LO]
{begin{tikzpicture}[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) {aaaaVaaaa};
end{tikzpicture}}
begin{document}
lipsum[1-2]
end{document}
geometry
add a comment |
I am trying to create a header. I would like to position the information on the right or left margin. But I do not know which command stores the margin dimension correctly. The leftmargin command is not working the way I expected. I tried to calculate paperwidth less textwidth, but it also does not work.
documentclass[12pt,twoside]{book}
usepackage[left=5cm, right=3cm]{geometry}
usepackage[table, svgnames]{xcolor}
usepackage{tikzpagenodes}
usepackage{lipsum}
usepackage{tikz}
usetikzlibrary{positioning,calc}
usepackage{tcolorbox}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{}
renewcommand{chaptermark}[1]{markboth{thechapter #1}{}}
renewcommand{sectionmark}[1]{markright{thesection #1}{}}
fancyhead[LO]
{begin{tikzpicture}[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) {aaaaVaaaa};
end{tikzpicture}}
begin{document}
lipsum[1-2]
end{document}
geometry
I am trying to create a header. I would like to position the information on the right or left margin. But I do not know which command stores the margin dimension correctly. The leftmargin command is not working the way I expected. I tried to calculate paperwidth less textwidth, but it also does not work.
documentclass[12pt,twoside]{book}
usepackage[left=5cm, right=3cm]{geometry}
usepackage[table, svgnames]{xcolor}
usepackage{tikzpagenodes}
usepackage{lipsum}
usepackage{tikz}
usetikzlibrary{positioning,calc}
usepackage{tcolorbox}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{}
renewcommand{chaptermark}[1]{markboth{thechapter #1}{}}
renewcommand{sectionmark}[1]{markright{thesection #1}{}}
fancyhead[LO]
{begin{tikzpicture}[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) {aaaaVaaaa};
end{tikzpicture}}
begin{document}
lipsum[1-2]
end{document}
geometry
geometry
asked 2 mins ago
Marcelo RodriguesMarcelo Rodrigues
1019
1019
add a comment |
add a comment |
0
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',
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%2f484711%2fwhich-variable-stores-the-value-of-the-documents-margins%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
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.
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%2f484711%2fwhich-variable-stores-the-value-of-the-documents-margins%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