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
Arduino Pro Micro - switch off LEDs
A pet rabbit called Belle
Can a 1st-level character have an ability score above 18?
Sort list of array linked objects by keys and values
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?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
how can a perfect fourth interval be considered either consonant or dissonant?
University's motivation for having tenure-track positions
How does ice melt when immersed in water
Semisimplicity of the category of coherent sheaves?
Who or what is the being for whom Being is a question for Heidegger?
Can smartphones with the same camera sensor have different image quality?
Create an outline of font
How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?
"... to apply for a visa" or "... and applied for a visa"?
Why can't devices on different VLANs, but on the same subnet, communicate?
Relations between two reciprocal partial derivatives?
Can the DM override racial traits?
How are presidential pardons supposed to be used?
How to test the equality of two Pearson correlation coefficients computed from the same sample?
Does Parliament hold absolute power in the UK?
Are my PIs rude or am I just being too sensitive?
How do you keep chess fun when your opponent constantly beats you?
Would it be possible to rearrange a dragon's flight muscle to somewhat circumvent the square-cube law?
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
usepackagetikzpagenodes
usepackagelipsum
usepackagetikz
usetikzlibrarypositioning,calc
usepackagetcolorbox
usepackagefancyhdr
pagestylefancy
fancyhf
renewcommandchaptermark[1]markboththechapter #1
renewcommandsectionmark[1]markrightthesection #1
fancyhead[LO]
begintikzpicture[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) aaaaVaaaa;
endtikzpicture
begindocument
lipsum[1-2]
enddocument
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
usepackagetikzpagenodes
usepackagelipsum
usepackagetikz
usetikzlibrarypositioning,calc
usepackagetcolorbox
usepackagefancyhdr
pagestylefancy
fancyhf
renewcommandchaptermark[1]markboththechapter #1
renewcommandsectionmark[1]markrightthesection #1
fancyhead[LO]
begintikzpicture[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) aaaaVaaaa;
endtikzpicture
begindocument
lipsum[1-2]
enddocument
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
usepackagetikzpagenodes
usepackagelipsum
usepackagetikz
usetikzlibrarypositioning,calc
usepackagetcolorbox
usepackagefancyhdr
pagestylefancy
fancyhf
renewcommandchaptermark[1]markboththechapter #1
renewcommandsectionmark[1]markrightthesection #1
fancyhead[LO]
begintikzpicture[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) aaaaVaaaa;
endtikzpicture
begindocument
lipsum[1-2]
enddocument
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
usepackagetikzpagenodes
usepackagelipsum
usepackagetikz
usetikzlibrarypositioning,calc
usepackagetcolorbox
usepackagefancyhdr
pagestylefancy
fancyhf
renewcommandchaptermark[1]markboththechapter #1
renewcommandsectionmark[1]markrightthesection #1
fancyhead[LO]
begintikzpicture[remember picture,overlay]
node[xshift=-leftmargin, inner sep=0pt] (a) aaaaVaaaa;
endtikzpicture
begindocument
lipsum[1-2]
enddocument
geometry
geometry
asked 3 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