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

How to count in linear time worst-case?

What's the difference between using dependency injection with a container and using a service locator?

Is Electric Central Heating worth it if using Solar Panels?

Book with legacy programming code on a space ship that the main character hacks to escape

Could moose/elk survive in the Amazon forest?

PIC mathematical operations weird problem

Trumpet valves, lengths, and pitch

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

Are all CP/M-80 implementations binary compatible?

How to translate "red flag" into Spanish?

What is this word supposed to be?

My admission is revoked after accepting the admission offer

Dynamic Return Type

Does the set of sets which are elements of every set exist?

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

Why did Israel vote against lifting the American embargo on Cuba?

Seek and ye shall find

Does Feeblemind produce an ongoing magical effect that can be dispelled?

Is it acceptable to use working hours to read general interest books?

How long after the last departure shall the airport stay open for an emergency return?

Why didn't the Space Shuttle bounce back into space many times as possible so that it loose lot of kinetic energy over there?

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

Why did C use the -> operator instead of reusing the . operator?

Expansion//Explosion and Siren Stormtamer



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

            (145452) 2005 RN43 Классификация | Примечания | Ссылки |...

            Щит и меч (фильм) Содержание Названия серий | Сюжет |...

            Энтрерриос (город) Содержание История | Географическое...