How can I get a frame to show the number of its own slides? (beamer)How can I show the numbering of slides of each frame?why beamer requires multiple compilation to get slide numbers correct?Beamer - Dresden theme: miniframes appeareance and frame number insertionUpper limit on the number of pause commands in a frameNumerical conditional within tikz keys?The tableofcontents in beamer arabicBeamer: handout/article mode - produce multiple copies of a frame with distinct overlay numbersGet number of each slide and total slides with respect to the whole presentationLaTeX beamer: pagenumbering appendixHow to Exclude Total Slide Number from Beamer SlideFrame-numbering alignment in beamer with many slides

Simplify an interface for flexibly applying rules to periods of time

Shortcut for setting origin to vertex

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

What is the significance behind "40 days" that often appears in the Bible?

Why do tuner card drivers fail to build after kernel update to 4.4.0-143-generic?

Is "upgrade" the right word to use in this context?

How do you talk to someone whose loved one is dying?

Professor being mistaken for a grad student

Examples of transfinite towers

Is it insecure to send a password in a `curl` command?

Can I use USB data pins as power source

How to write cleanly even if my character uses expletive language?

Print a physical multiplication table

Adventure Game (text based) in C++

If I can solve Sudoku, can I solve the Travelling Salesman Problem (TSP)? If so, how?

Tikz picture of two mathematical functions

Python if-else code style for reduced code for rounding floats

Instead of a Universal Basic Income program, why not implement a "Universal Basic Needs" program?

I am confused as to how the inverse of a certain function is found.

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

What options are left, if Britain cannot decide?

Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?

Are relativity and doppler effect related?

World War I as a war of liberals against authoritarians?



How can I get a frame to show the number of its own slides? (beamer)


How can I show the numbering of slides of each frame?why beamer requires multiple compilation to get slide numbers correct?Beamer - Dresden theme: miniframes appeareance and frame number insertionUpper limit on the number of pause commands in a frameNumerical conditional within tikz keys?The tableofcontents in beamer arabicBeamer: handout/article mode - produce multiple copies of a frame with distinct overlay numbersGet number of each slide and total slides with respect to the whole presentationLaTeX beamer: pagenumbering appendixHow to Exclude Total Slide Number from Beamer SlideFrame-numbering alignment in beamer with many slides













0















I am trying to write a code that shows the number of slides in each frame. However, the code seems to write the slides number of slides in the previous frame



In the MWE, the code reports frame 2 slides as 5 (slides in frame 1), reports number of frame 3 as 7 (slides in frame 2), etc.



How can I get a frame to show the number of its own slides? The desired result is not the same as the one we have in How can I show the numbering of slides of each frame?. Instead, I want the results to show (current slide in frame) of (total slides in frame). I have already achieved this, but 'total slides in frame' refers to the total slides in the previous frame.



documentclassbeamer

makeatletter
defc@slideinframebeamer@slideinframe
makeatother

newcountertotalslideinframe
AtBeginEnvironmentframe
setcountertotalslideinframeinsertframeendpage
addtocountertotalslideinframe-insertframestartpage
addtocountertotalslideinframe1



newcommandframeSlideNumberingSlide arabicslideinframe of arabictotalslideinframe



begindocument

beginframeFrame 1



This is slide arabicslideinframe of arabictotalslideinframe pause

Contents pause More contents pause Extra contents pause

endframe


beginframeFrame 2

This is slide arabicslideinframe of arabictotalslideinframe

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

endframe

beginframeFrame 3

This is slide arabicslideinframe of arabictotalslideinframe

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

endframe


beginframeFrame 4

This is slide arabicslideinframe of arabictotalslideinframe

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

endframe

beginframeFrame 5

This is slide arabicslideinframe of arabictotalslideinframe

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

Contents pause More contents pause Extra contents pause

endframe

enddocument








share


























    0















    I am trying to write a code that shows the number of slides in each frame. However, the code seems to write the slides number of slides in the previous frame



    In the MWE, the code reports frame 2 slides as 5 (slides in frame 1), reports number of frame 3 as 7 (slides in frame 2), etc.



    How can I get a frame to show the number of its own slides? The desired result is not the same as the one we have in How can I show the numbering of slides of each frame?. Instead, I want the results to show (current slide in frame) of (total slides in frame). I have already achieved this, but 'total slides in frame' refers to the total slides in the previous frame.



    documentclassbeamer

    makeatletter
    defc@slideinframebeamer@slideinframe
    makeatother

    newcountertotalslideinframe
    AtBeginEnvironmentframe
    setcountertotalslideinframeinsertframeendpage
    addtocountertotalslideinframe-insertframestartpage
    addtocountertotalslideinframe1



    newcommandframeSlideNumberingSlide arabicslideinframe of arabictotalslideinframe



    begindocument

    beginframeFrame 1



    This is slide arabicslideinframe of arabictotalslideinframe pause

    Contents pause More contents pause Extra contents pause

    endframe


    beginframeFrame 2

    This is slide arabicslideinframe of arabictotalslideinframe

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    endframe

    beginframeFrame 3

    This is slide arabicslideinframe of arabictotalslideinframe

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    endframe


    beginframeFrame 4

    This is slide arabicslideinframe of arabictotalslideinframe

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    endframe

    beginframeFrame 5

    This is slide arabicslideinframe of arabictotalslideinframe

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    Contents pause More contents pause Extra contents pause

    endframe

    enddocument








    share
























      0












      0








      0








      I am trying to write a code that shows the number of slides in each frame. However, the code seems to write the slides number of slides in the previous frame



      In the MWE, the code reports frame 2 slides as 5 (slides in frame 1), reports number of frame 3 as 7 (slides in frame 2), etc.



      How can I get a frame to show the number of its own slides? The desired result is not the same as the one we have in How can I show the numbering of slides of each frame?. Instead, I want the results to show (current slide in frame) of (total slides in frame). I have already achieved this, but 'total slides in frame' refers to the total slides in the previous frame.



      documentclassbeamer

      makeatletter
      defc@slideinframebeamer@slideinframe
      makeatother

      newcountertotalslideinframe
      AtBeginEnvironmentframe
      setcountertotalslideinframeinsertframeendpage
      addtocountertotalslideinframe-insertframestartpage
      addtocountertotalslideinframe1



      newcommandframeSlideNumberingSlide arabicslideinframe of arabictotalslideinframe



      begindocument

      beginframeFrame 1



      This is slide arabicslideinframe of arabictotalslideinframe pause

      Contents pause More contents pause Extra contents pause

      endframe


      beginframeFrame 2

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe

      beginframeFrame 3

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe


      beginframeFrame 4

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe

      beginframeFrame 5

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe

      enddocument








      share














      I am trying to write a code that shows the number of slides in each frame. However, the code seems to write the slides number of slides in the previous frame



      In the MWE, the code reports frame 2 slides as 5 (slides in frame 1), reports number of frame 3 as 7 (slides in frame 2), etc.



      How can I get a frame to show the number of its own slides? The desired result is not the same as the one we have in How can I show the numbering of slides of each frame?. Instead, I want the results to show (current slide in frame) of (total slides in frame). I have already achieved this, but 'total slides in frame' refers to the total slides in the previous frame.



      documentclassbeamer

      makeatletter
      defc@slideinframebeamer@slideinframe
      makeatother

      newcountertotalslideinframe
      AtBeginEnvironmentframe
      setcountertotalslideinframeinsertframeendpage
      addtocountertotalslideinframe-insertframestartpage
      addtocountertotalslideinframe1



      newcommandframeSlideNumberingSlide arabicslideinframe of arabictotalslideinframe



      begindocument

      beginframeFrame 1



      This is slide arabicslideinframe of arabictotalslideinframe pause

      Contents pause More contents pause Extra contents pause

      endframe


      beginframeFrame 2

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe

      beginframeFrame 3

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe


      beginframeFrame 4

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe

      beginframeFrame 5

      This is slide arabicslideinframe of arabictotalslideinframe

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      Contents pause More contents pause Extra contents pause

      endframe

      enddocument






      beamer counters





      share












      share










      share



      share










      asked 4 mins ago









      Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh

      1,683413




      1,683413




















          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%2f479867%2fhow-can-i-get-a-frame-to-show-the-number-of-its-own-slides-beamer%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%2f479867%2fhow-can-i-get-a-frame-to-show-the-number-of-its-own-slides-beamer%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

          How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

          inputenc: Unicode character … not set up for use with LaTeX The Next CEO of Stack OverflowEntering Unicode characters in LaTeXHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 characterPackage inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. acroI2C[I²C]package inputenc error unicode char (u + 190) not set up for use with latexPackage inputenc Error: Unicode char u8:′ not set up for use with LaTeX. 3′inputenc Error: Unicode char u8: not set up for use with LaTeX with G-BriefPackage Inputenc Error: Unicode char u8: not set up for use with LaTeXPackage inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. includePackage inputenc Error: Unicode char ̂ (U+302)(inputenc) not set up for use with LaTeX. … $widehatleft (OA,AA' right )$Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc) not set up for use with LaTeX. printbibliography[heading=bibintoc]Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use with LaTeXPackage inputenc Error: Unicode character α (U+3B1) not set up for use with LaTeXPackage inputenc Error: Unicode characterError: ! Package inputenc Error: Unicode char ⊘ (U+2298)(inputenc) not set up for use with LaTeX