What units are pgfphysicalheight and pgfphysicalwidth defined in? Unicorn Meta Zoo #1: Why...

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

How to translate "red flag" into Spanish?

What's parked in Mil Moscow helicopter plant?

What *exactly* is electrical current, voltage, and resistance?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

Check if a string is entirely made of the same substring

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"

Expansion//Explosion and Siren Stormtamer

Multiple fireplaces in an apartment building?

What is a 'Key' in computer science?

Do you need a weapon for Thunderous Smite, and the other 'Smite' spells?

How do I check if a string is entirely made of the same substring?

Split coins into combinations of different denominations

Can I criticise the more senior developers around me for not writing clean code?

What do you call the part of a novel that is not dialog?

c++ diamond problem - How to call base method only once

Is accepting an invalid credit card number a security issue?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

As an international instructor, should I openly talk about my accent?

How would I use different systems of magic when they are capable of the same effects?

What to do with someone that cheated their way through university and a PhD program?

All ASCII characters with a given bit count

Trumpet valves, lengths, and pitch

Married in secret, can marital status in passport be changed at a later date?



What units are pgfphysicalheight and pgfphysicalwidth defined in?



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraWhat are the differences between newdimen, newskip and newlength?Running Sample Tikz CodeWhat is going on with pgfpages and page labels?Is there a pre-defined width that covers the text area and the margin?What are skip values?Displaying rubber lengths in arbitrary unitsstandalone package and user-defined macros/lengthsWhat is the difference between ‘truemm’ and ‘mm’ etc.?em, ex, en? Which length units are font size dependent?What is the correct calculation to span some columns?












2















I often use pgfphysicalheight and pgfphysicalwidth from the pgfpages package to define sizes dynamically based on the dimensions of my page (which vary). For example, here's a "dynamic" vertical space:



vspace*{.04pgfphysicalheight}


What units are these pgf values actually in? In other words, what is the value of pgfphysicalheight if my document height is 10in?



I found nothing in the pgfpages docs. Also tried logging the values with show, but got something cryptic like "dimen195" which I couldn't decipher further.










share|improve this question




















  • 2





    use showthe not show

    – David Carlisle
    5 hours ago
















2















I often use pgfphysicalheight and pgfphysicalwidth from the pgfpages package to define sizes dynamically based on the dimensions of my page (which vary). For example, here's a "dynamic" vertical space:



vspace*{.04pgfphysicalheight}


What units are these pgf values actually in? In other words, what is the value of pgfphysicalheight if my document height is 10in?



I found nothing in the pgfpages docs. Also tried logging the values with show, but got something cryptic like "dimen195" which I couldn't decipher further.










share|improve this question




















  • 2





    use showthe not show

    – David Carlisle
    5 hours ago














2












2








2








I often use pgfphysicalheight and pgfphysicalwidth from the pgfpages package to define sizes dynamically based on the dimensions of my page (which vary). For example, here's a "dynamic" vertical space:



vspace*{.04pgfphysicalheight}


What units are these pgf values actually in? In other words, what is the value of pgfphysicalheight if my document height is 10in?



I found nothing in the pgfpages docs. Also tried logging the values with show, but got something cryptic like "dimen195" which I couldn't decipher further.










share|improve this question
















I often use pgfphysicalheight and pgfphysicalwidth from the pgfpages package to define sizes dynamically based on the dimensions of my page (which vary). For example, here's a "dynamic" vertical space:



vspace*{.04pgfphysicalheight}


What units are these pgf values actually in? In other words, what is the value of pgfphysicalheight if my document height is 10in?



I found nothing in the pgfpages docs. Also tried logging the values with show, but got something cryptic like "dimen195" which I couldn't decipher further.







tikz-pgf lengths pgfpages






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago









David Carlisle

501k4211471897




501k4211471897










asked 5 hours ago









kontextifykontextify

1765




1765








  • 2





    use showthe not show

    – David Carlisle
    5 hours ago














  • 2





    use showthe not show

    – David Carlisle
    5 hours ago








2




2





use showthe not show

– David Carlisle
5 hours ago





use showthe not show

– David Carlisle
5 hours ago










1 Answer
1






active

oldest

votes


















5














A TeX length (dimen or skip) register does not store the units used when the value is set, whether you use pt or cm or whatever is not recorded and it just saves the value as an integer which is the length in sp, if you look at the value using the or showthe then TeX will show the value using pt units (that is, the stored integer divided by 65536)



On the terminal you could see this for example by:



$ latex 
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex)
restricted write18 enabled.
**relax
entering extended mode
LaTeX2e <2018-12-01>

*textheight=10in

*showthetextheight
> 722.7pt.
<*> showthetextheight





share|improve this answer


























    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%2f487411%2fwhat-units-are-pgfphysicalheight-and-pgfphysicalwidth-defined-in%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









    5














    A TeX length (dimen or skip) register does not store the units used when the value is set, whether you use pt or cm or whatever is not recorded and it just saves the value as an integer which is the length in sp, if you look at the value using the or showthe then TeX will show the value using pt units (that is, the stored integer divided by 65536)



    On the terminal you could see this for example by:



    $ latex 
    This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex)
    restricted write18 enabled.
    **relax
    entering extended mode
    LaTeX2e <2018-12-01>

    *textheight=10in

    *showthetextheight
    > 722.7pt.
    <*> showthetextheight





    share|improve this answer






























      5














      A TeX length (dimen or skip) register does not store the units used when the value is set, whether you use pt or cm or whatever is not recorded and it just saves the value as an integer which is the length in sp, if you look at the value using the or showthe then TeX will show the value using pt units (that is, the stored integer divided by 65536)



      On the terminal you could see this for example by:



      $ latex 
      This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex)
      restricted write18 enabled.
      **relax
      entering extended mode
      LaTeX2e <2018-12-01>

      *textheight=10in

      *showthetextheight
      > 722.7pt.
      <*> showthetextheight





      share|improve this answer




























        5












        5








        5







        A TeX length (dimen or skip) register does not store the units used when the value is set, whether you use pt or cm or whatever is not recorded and it just saves the value as an integer which is the length in sp, if you look at the value using the or showthe then TeX will show the value using pt units (that is, the stored integer divided by 65536)



        On the terminal you could see this for example by:



        $ latex 
        This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex)
        restricted write18 enabled.
        **relax
        entering extended mode
        LaTeX2e <2018-12-01>

        *textheight=10in

        *showthetextheight
        > 722.7pt.
        <*> showthetextheight





        share|improve this answer















        A TeX length (dimen or skip) register does not store the units used when the value is set, whether you use pt or cm or whatever is not recorded and it just saves the value as an integer which is the length in sp, if you look at the value using the or showthe then TeX will show the value using pt units (that is, the stored integer divided by 65536)



        On the terminal you could see this for example by:



        $ latex 
        This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=latex)
        restricted write18 enabled.
        **relax
        entering extended mode
        LaTeX2e <2018-12-01>

        *textheight=10in

        *showthetextheight
        > 722.7pt.
        <*> showthetextheight






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 5 hours ago

























        answered 5 hours ago









        David CarlisleDavid Carlisle

        501k4211471897




        501k4211471897






























            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%2f487411%2fwhat-units-are-pgfphysicalheight-and-pgfphysicalwidth-defined-in%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

            What is the “three and three hundred thousand syndrome”?Who wrote the book Arena?What five creatures were...

            Gersau Kjelder | Navigasjonsmeny46°59′0″N 8°31′0″E46°59′0″N...

            Hestehale Innhaldsliste Hestehale på kvinner | Hestehale på menn | Galleri | Sjå òg |...