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










0















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








share


























    0















    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








    share
























      0












      0








      0








      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








      share














      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





      share












      share










      share



      share










      asked 3 mins ago









      Marcelo RodriguesMarcelo Rodrigues

      1019




      1019




















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



          );













          draft saved

          draft discarded


















          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















          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%2f484711%2fwhich-variable-stores-the-value-of-the-documents-margins%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

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Join wedge with single bond in chemfigHow to make only one part of double bond bold with chemfig?Crossing bonds in chemfigjoining atoms in chemfig. Two adjacent molculesHow do I selectively change bond length in chemfig?Ugly bond joints in chemfigchemfig: reaction above arrowUsing the mhchem and chemfig packages in conjunctionBonding to specific element letter using chemfigResonance hybrids in chemfigScale chemfig molecule in beamer with tikzWhy does this chemfig bond with a hook start in the middle of the atom?

          Are small insurances worth itIs insurance worth it if you can afford to replace the item? If not, when is it?Is accident insurance worth it for my kids who play sportsIs insuring property for more than it is worth allowed?At what point does it become worth it to file an insurance claim?Are wage loss insurance programs worth the cost compared to having an emergency fund?When is an event worth insuring against?Is insurance worth it if you can afford to replace the item? If not, when is it?FHA loan just commenced : Any way to get any of the up-front mortgage insurance back?Which types of insurances do I need to buy?Should I carry less renter's insurance if I can self-insure?Mortgage Adviser Signed Me Up For Multiple Home and Life Insurances (UK)Why many travel insurances don't cover country of nationality?