How to insert page number in Beamer navigation symbols?












66















I created a presentation with Beamer, and I used Darmstadt theme.



But, this theme doesn't have the page number.



I know that I can insert the page number in Footline with:



setbeamertemplate{footline}[frame number]


But, how can I insert the page number in "Navigation symbols", like this picture?



enter image description here










share|improve this question





























    66















    I created a presentation with Beamer, and I used Darmstadt theme.



    But, this theme doesn't have the page number.



    I know that I can insert the page number in Footline with:



    setbeamertemplate{footline}[frame number]


    But, how can I insert the page number in "Navigation symbols", like this picture?



    enter image description here










    share|improve this question



























      66












      66








      66


      23






      I created a presentation with Beamer, and I used Darmstadt theme.



      But, this theme doesn't have the page number.



      I know that I can insert the page number in Footline with:



      setbeamertemplate{footline}[frame number]


      But, how can I insert the page number in "Navigation symbols", like this picture?



      enter image description here










      share|improve this question
















      I created a presentation with Beamer, and I used Darmstadt theme.



      But, this theme doesn't have the page number.



      I know that I can insert the page number in Footline with:



      setbeamertemplate{footline}[frame number]


      But, how can I insert the page number in "Navigation symbols", like this picture?



      enter image description here







      beamer header-footer page-numbering






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 23 '18 at 5:11









      tparker

      274113




      274113










      asked Oct 8 '13 at 19:36









      AndersonAnderson

      7782918




      7782918






















          6 Answers
          6






          active

          oldest

          votes


















          82














          You can use something like



          addtobeamertemplate{navigation symbols}{}{%
          usebeamerfont{footline}%
          usebeamercolor[fg]{footline}%
          hspace{1em}%
          insertframenumber/inserttotalframenumber
          }


          and use spaces, font and boxes to adjust the alignment of the numbers with the navigation symbols.



          You can change the font/color just by altering the font/color for footline as in



          setbeamercolor{footline}{fg=blue}
          setbeamerfont{footline}{series=bfseries}





          share|improve this answer





















          • 5





            Ok. But, this disable all icons in navigation bar. I modified your code to: setbeamertemplate{navigation symbols}{% insertslidenavigationsymbol insertframenavigationsymbol insertsubsectionnavigationsymbol insertsectionnavigationsymbol insertdocnavigationsymbol insertbackfindforwardnavigationsymbol hspace{1em}% usebeamerfont{footline} insertframenumber/inserttotalframenumber% }

            – Anderson
            Oct 8 '13 at 20:43













          • I will see how to modify text color to black.

            – Anderson
            Oct 8 '13 at 21:03






          • 2





            @Anderson see the updated code: if you use addtobeamertemplate instead of setbeamertemplate you keep the symbols

            – Bordaigorl
            Oct 8 '13 at 21:49






          • 1





            I also just edited to suggest how to customise color and font (in a beamer idiomatic way)

            – Bordaigorl
            Oct 8 '13 at 21:54






          • 1





            To fix the vertical alignment of the page number, I used: raisebox{1.2pt}[0pt][0pt]{insertframenumber/inserttotalframenumber}.

            – Steve
            Oct 11 '17 at 18:46



















          14














          You can add the following code before begin{document}:



          expandafterdefexpandafterinsertshorttitleexpandafter{%
          insertshorttitlehfill%
          insertframenumber,/,inserttotalframenumber}





          share|improve this answer


























          • So happy I found this comment. This does exactly what I needed, independent of the theme I use. My macro vocab however is small, and I'm stuck trying to merge it with another answer. My goal is to remove hyperref's linkcolor on insertshorttitle in the footline in general, using something like lethyperlink@secondoftwo. Is this an easy fix?

            – David de L.
            Apr 24 '18 at 19:13













          • Consider my comment above solved!

            – David de L.
            Apr 24 '18 at 19:47













          • Thanks for the answer, it worked! May I also ask you how can I flush it all the way right of the line? Thanks!

            – zyy
            Mar 4 at 23:45



















          7














          Before begin{document} you need to include:



          setbeamertemplate{sidebar right}{}
          setbeamertemplate{footline}{%
          hfillusebeamertemplate***{navigation symbols}
          hspace{1cm}insertframenumber{}/inserttotalframenumber}


          This should work to put the frame number beside the navigation bar, not sure how to put it inside of the navigation bar.






          share|improve this answer
























          • Ok. This works fine. But, I use "logo" and "setbeamertemplate{sidebar right}{}" disable the logo.

            – Anderson
            Oct 8 '13 at 20:42











          • so if you add something like logo{includegraphics[scale=0.2]{imageName.jpg} } after the above code then you get no logo?

            – codeAndStuff
            Oct 8 '13 at 20:51











          • Yes. My tex file has a logo{includegraphics[scale=.4]{logo-ic}} after your code, but don't show the logo.

            – Anderson
            Oct 8 '13 at 21:01



















          6














          Actually, I want to supplenment MaxGraves's answer! (but I don't have enough reputation, sorry about that!)



          My result will put the "page/total page" rightside and inside the navigation bar, instead of outside.



          Note: addtobeamertemplate{⟨element name⟩}{⟨pre-text⟩}{⟨post-text⟩}, hence you have to notice which bracket you put "page/total page" in. In my case, using Frankfurt theme, which have default navigation bar, put the followings before begin{document} will show my results as the bottom.



          addtobeamertemplate{navigation symbols}{}{ hspace{1em}    usebeamerfont{footline}%
          insertframenumber / inserttotalframenumber }


          The reason I use hspace{1em} usebeamerfont{footline} is for good-looking, the front makes "page/total page" not too close to navigation bar, and the latter is just make it as big as I hope, more clearly, I think....



          the result






          share|improve this answer


























          • This looks like a subset of the accept one. Would like to explain more? For example why you keep usebeamerfont but not usebeamercolor. And why are there so many useless spaces?

            – Symbol 1
            Jan 10 '15 at 7:08





















          1














           setbeamertemplate{navigation symbols}
          { insertslidenavigationsymbol
          insertframenavigationsymbol
          insertsubsectionnavigationsymbol
          insertsectionnavigationsymbol
          insertdocnavigationsymbol
          insertbackfindforwardnavigationsymbol
          hspace{1em}
          usebeamerfont{footline}
          insertframenumber/inserttotalframenumber }
          setcounter{page}{1}
          pagenumbering{arabic}
          %add this code before begin doc
          begin{document}





          share|improve this answer



















          • 2





            Welcome to TeX - LaTeX! This seems to be a duplicate (with a missing `` typo) of code in Anderson's comment to Bordaigorl's answer. That comment resulted in an a cleaner updated answer. In any case, code only answers are best combined with some text explanation.

            – Andrew Swann
            Sep 29 '15 at 6:46





















          1














          setbeamertemplate{page number in head/foot}[totalframenumber]
          beamertemplatenavigationsymbolsempty

          setbeamerfont{page number in head/foot}{size=footnotesize}





          share|improve this answer





















          • 2





            Welcome to TeX.SE! Could you please extend your code snippet to a compilable and complete code?

            – JouleV
            Mar 11 at 11:47






          • 2





            Because the Darmstadt theme does not show any footline by default, you'll also have to set the footline template to make this work.

            – samcarter
            Mar 11 at 11:56











          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%2f137022%2fhow-to-insert-page-number-in-beamer-navigation-symbols%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          6 Answers
          6






          active

          oldest

          votes








          6 Answers
          6






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          82














          You can use something like



          addtobeamertemplate{navigation symbols}{}{%
          usebeamerfont{footline}%
          usebeamercolor[fg]{footline}%
          hspace{1em}%
          insertframenumber/inserttotalframenumber
          }


          and use spaces, font and boxes to adjust the alignment of the numbers with the navigation symbols.



          You can change the font/color just by altering the font/color for footline as in



          setbeamercolor{footline}{fg=blue}
          setbeamerfont{footline}{series=bfseries}





          share|improve this answer





















          • 5





            Ok. But, this disable all icons in navigation bar. I modified your code to: setbeamertemplate{navigation symbols}{% insertslidenavigationsymbol insertframenavigationsymbol insertsubsectionnavigationsymbol insertsectionnavigationsymbol insertdocnavigationsymbol insertbackfindforwardnavigationsymbol hspace{1em}% usebeamerfont{footline} insertframenumber/inserttotalframenumber% }

            – Anderson
            Oct 8 '13 at 20:43













          • I will see how to modify text color to black.

            – Anderson
            Oct 8 '13 at 21:03






          • 2





            @Anderson see the updated code: if you use addtobeamertemplate instead of setbeamertemplate you keep the symbols

            – Bordaigorl
            Oct 8 '13 at 21:49






          • 1





            I also just edited to suggest how to customise color and font (in a beamer idiomatic way)

            – Bordaigorl
            Oct 8 '13 at 21:54






          • 1





            To fix the vertical alignment of the page number, I used: raisebox{1.2pt}[0pt][0pt]{insertframenumber/inserttotalframenumber}.

            – Steve
            Oct 11 '17 at 18:46
















          82














          You can use something like



          addtobeamertemplate{navigation symbols}{}{%
          usebeamerfont{footline}%
          usebeamercolor[fg]{footline}%
          hspace{1em}%
          insertframenumber/inserttotalframenumber
          }


          and use spaces, font and boxes to adjust the alignment of the numbers with the navigation symbols.



          You can change the font/color just by altering the font/color for footline as in



          setbeamercolor{footline}{fg=blue}
          setbeamerfont{footline}{series=bfseries}





          share|improve this answer





















          • 5





            Ok. But, this disable all icons in navigation bar. I modified your code to: setbeamertemplate{navigation symbols}{% insertslidenavigationsymbol insertframenavigationsymbol insertsubsectionnavigationsymbol insertsectionnavigationsymbol insertdocnavigationsymbol insertbackfindforwardnavigationsymbol hspace{1em}% usebeamerfont{footline} insertframenumber/inserttotalframenumber% }

            – Anderson
            Oct 8 '13 at 20:43













          • I will see how to modify text color to black.

            – Anderson
            Oct 8 '13 at 21:03






          • 2





            @Anderson see the updated code: if you use addtobeamertemplate instead of setbeamertemplate you keep the symbols

            – Bordaigorl
            Oct 8 '13 at 21:49






          • 1





            I also just edited to suggest how to customise color and font (in a beamer idiomatic way)

            – Bordaigorl
            Oct 8 '13 at 21:54






          • 1





            To fix the vertical alignment of the page number, I used: raisebox{1.2pt}[0pt][0pt]{insertframenumber/inserttotalframenumber}.

            – Steve
            Oct 11 '17 at 18:46














          82












          82








          82







          You can use something like



          addtobeamertemplate{navigation symbols}{}{%
          usebeamerfont{footline}%
          usebeamercolor[fg]{footline}%
          hspace{1em}%
          insertframenumber/inserttotalframenumber
          }


          and use spaces, font and boxes to adjust the alignment of the numbers with the navigation symbols.



          You can change the font/color just by altering the font/color for footline as in



          setbeamercolor{footline}{fg=blue}
          setbeamerfont{footline}{series=bfseries}





          share|improve this answer















          You can use something like



          addtobeamertemplate{navigation symbols}{}{%
          usebeamerfont{footline}%
          usebeamercolor[fg]{footline}%
          hspace{1em}%
          insertframenumber/inserttotalframenumber
          }


          and use spaces, font and boxes to adjust the alignment of the numbers with the navigation symbols.



          You can change the font/color just by altering the font/color for footline as in



          setbeamercolor{footline}{fg=blue}
          setbeamerfont{footline}{series=bfseries}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 8 '13 at 21:53

























          answered Oct 8 '13 at 19:59









          BordaigorlBordaigorl

          12k2556




          12k2556








          • 5





            Ok. But, this disable all icons in navigation bar. I modified your code to: setbeamertemplate{navigation symbols}{% insertslidenavigationsymbol insertframenavigationsymbol insertsubsectionnavigationsymbol insertsectionnavigationsymbol insertdocnavigationsymbol insertbackfindforwardnavigationsymbol hspace{1em}% usebeamerfont{footline} insertframenumber/inserttotalframenumber% }

            – Anderson
            Oct 8 '13 at 20:43













          • I will see how to modify text color to black.

            – Anderson
            Oct 8 '13 at 21:03






          • 2





            @Anderson see the updated code: if you use addtobeamertemplate instead of setbeamertemplate you keep the symbols

            – Bordaigorl
            Oct 8 '13 at 21:49






          • 1





            I also just edited to suggest how to customise color and font (in a beamer idiomatic way)

            – Bordaigorl
            Oct 8 '13 at 21:54






          • 1





            To fix the vertical alignment of the page number, I used: raisebox{1.2pt}[0pt][0pt]{insertframenumber/inserttotalframenumber}.

            – Steve
            Oct 11 '17 at 18:46














          • 5





            Ok. But, this disable all icons in navigation bar. I modified your code to: setbeamertemplate{navigation symbols}{% insertslidenavigationsymbol insertframenavigationsymbol insertsubsectionnavigationsymbol insertsectionnavigationsymbol insertdocnavigationsymbol insertbackfindforwardnavigationsymbol hspace{1em}% usebeamerfont{footline} insertframenumber/inserttotalframenumber% }

            – Anderson
            Oct 8 '13 at 20:43













          • I will see how to modify text color to black.

            – Anderson
            Oct 8 '13 at 21:03






          • 2





            @Anderson see the updated code: if you use addtobeamertemplate instead of setbeamertemplate you keep the symbols

            – Bordaigorl
            Oct 8 '13 at 21:49






          • 1





            I also just edited to suggest how to customise color and font (in a beamer idiomatic way)

            – Bordaigorl
            Oct 8 '13 at 21:54






          • 1





            To fix the vertical alignment of the page number, I used: raisebox{1.2pt}[0pt][0pt]{insertframenumber/inserttotalframenumber}.

            – Steve
            Oct 11 '17 at 18:46








          5




          5





          Ok. But, this disable all icons in navigation bar. I modified your code to: setbeamertemplate{navigation symbols}{% insertslidenavigationsymbol insertframenavigationsymbol insertsubsectionnavigationsymbol insertsectionnavigationsymbol insertdocnavigationsymbol insertbackfindforwardnavigationsymbol hspace{1em}% usebeamerfont{footline} insertframenumber/inserttotalframenumber% }

          – Anderson
          Oct 8 '13 at 20:43







          Ok. But, this disable all icons in navigation bar. I modified your code to: setbeamertemplate{navigation symbols}{% insertslidenavigationsymbol insertframenavigationsymbol insertsubsectionnavigationsymbol insertsectionnavigationsymbol insertdocnavigationsymbol insertbackfindforwardnavigationsymbol hspace{1em}% usebeamerfont{footline} insertframenumber/inserttotalframenumber% }

          – Anderson
          Oct 8 '13 at 20:43















          I will see how to modify text color to black.

          – Anderson
          Oct 8 '13 at 21:03





          I will see how to modify text color to black.

          – Anderson
          Oct 8 '13 at 21:03




          2




          2





          @Anderson see the updated code: if you use addtobeamertemplate instead of setbeamertemplate you keep the symbols

          – Bordaigorl
          Oct 8 '13 at 21:49





          @Anderson see the updated code: if you use addtobeamertemplate instead of setbeamertemplate you keep the symbols

          – Bordaigorl
          Oct 8 '13 at 21:49




          1




          1





          I also just edited to suggest how to customise color and font (in a beamer idiomatic way)

          – Bordaigorl
          Oct 8 '13 at 21:54





          I also just edited to suggest how to customise color and font (in a beamer idiomatic way)

          – Bordaigorl
          Oct 8 '13 at 21:54




          1




          1





          To fix the vertical alignment of the page number, I used: raisebox{1.2pt}[0pt][0pt]{insertframenumber/inserttotalframenumber}.

          – Steve
          Oct 11 '17 at 18:46





          To fix the vertical alignment of the page number, I used: raisebox{1.2pt}[0pt][0pt]{insertframenumber/inserttotalframenumber}.

          – Steve
          Oct 11 '17 at 18:46











          14














          You can add the following code before begin{document}:



          expandafterdefexpandafterinsertshorttitleexpandafter{%
          insertshorttitlehfill%
          insertframenumber,/,inserttotalframenumber}





          share|improve this answer


























          • So happy I found this comment. This does exactly what I needed, independent of the theme I use. My macro vocab however is small, and I'm stuck trying to merge it with another answer. My goal is to remove hyperref's linkcolor on insertshorttitle in the footline in general, using something like lethyperlink@secondoftwo. Is this an easy fix?

            – David de L.
            Apr 24 '18 at 19:13













          • Consider my comment above solved!

            – David de L.
            Apr 24 '18 at 19:47













          • Thanks for the answer, it worked! May I also ask you how can I flush it all the way right of the line? Thanks!

            – zyy
            Mar 4 at 23:45
















          14














          You can add the following code before begin{document}:



          expandafterdefexpandafterinsertshorttitleexpandafter{%
          insertshorttitlehfill%
          insertframenumber,/,inserttotalframenumber}





          share|improve this answer


























          • So happy I found this comment. This does exactly what I needed, independent of the theme I use. My macro vocab however is small, and I'm stuck trying to merge it with another answer. My goal is to remove hyperref's linkcolor on insertshorttitle in the footline in general, using something like lethyperlink@secondoftwo. Is this an easy fix?

            – David de L.
            Apr 24 '18 at 19:13













          • Consider my comment above solved!

            – David de L.
            Apr 24 '18 at 19:47













          • Thanks for the answer, it worked! May I also ask you how can I flush it all the way right of the line? Thanks!

            – zyy
            Mar 4 at 23:45














          14












          14








          14







          You can add the following code before begin{document}:



          expandafterdefexpandafterinsertshorttitleexpandafter{%
          insertshorttitlehfill%
          insertframenumber,/,inserttotalframenumber}





          share|improve this answer















          You can add the following code before begin{document}:



          expandafterdefexpandafterinsertshorttitleexpandafter{%
          insertshorttitlehfill%
          insertframenumber,/,inserttotalframenumber}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 16 '14 at 8:49









          egreg

          727k8819233233




          727k8819233233










          answered Dec 16 '14 at 8:38









          VallVall

          14114




          14114













          • So happy I found this comment. This does exactly what I needed, independent of the theme I use. My macro vocab however is small, and I'm stuck trying to merge it with another answer. My goal is to remove hyperref's linkcolor on insertshorttitle in the footline in general, using something like lethyperlink@secondoftwo. Is this an easy fix?

            – David de L.
            Apr 24 '18 at 19:13













          • Consider my comment above solved!

            – David de L.
            Apr 24 '18 at 19:47













          • Thanks for the answer, it worked! May I also ask you how can I flush it all the way right of the line? Thanks!

            – zyy
            Mar 4 at 23:45



















          • So happy I found this comment. This does exactly what I needed, independent of the theme I use. My macro vocab however is small, and I'm stuck trying to merge it with another answer. My goal is to remove hyperref's linkcolor on insertshorttitle in the footline in general, using something like lethyperlink@secondoftwo. Is this an easy fix?

            – David de L.
            Apr 24 '18 at 19:13













          • Consider my comment above solved!

            – David de L.
            Apr 24 '18 at 19:47













          • Thanks for the answer, it worked! May I also ask you how can I flush it all the way right of the line? Thanks!

            – zyy
            Mar 4 at 23:45

















          So happy I found this comment. This does exactly what I needed, independent of the theme I use. My macro vocab however is small, and I'm stuck trying to merge it with another answer. My goal is to remove hyperref's linkcolor on insertshorttitle in the footline in general, using something like lethyperlink@secondoftwo. Is this an easy fix?

          – David de L.
          Apr 24 '18 at 19:13







          So happy I found this comment. This does exactly what I needed, independent of the theme I use. My macro vocab however is small, and I'm stuck trying to merge it with another answer. My goal is to remove hyperref's linkcolor on insertshorttitle in the footline in general, using something like lethyperlink@secondoftwo. Is this an easy fix?

          – David de L.
          Apr 24 '18 at 19:13















          Consider my comment above solved!

          – David de L.
          Apr 24 '18 at 19:47







          Consider my comment above solved!

          – David de L.
          Apr 24 '18 at 19:47















          Thanks for the answer, it worked! May I also ask you how can I flush it all the way right of the line? Thanks!

          – zyy
          Mar 4 at 23:45





          Thanks for the answer, it worked! May I also ask you how can I flush it all the way right of the line? Thanks!

          – zyy
          Mar 4 at 23:45











          7














          Before begin{document} you need to include:



          setbeamertemplate{sidebar right}{}
          setbeamertemplate{footline}{%
          hfillusebeamertemplate***{navigation symbols}
          hspace{1cm}insertframenumber{}/inserttotalframenumber}


          This should work to put the frame number beside the navigation bar, not sure how to put it inside of the navigation bar.






          share|improve this answer
























          • Ok. This works fine. But, I use "logo" and "setbeamertemplate{sidebar right}{}" disable the logo.

            – Anderson
            Oct 8 '13 at 20:42











          • so if you add something like logo{includegraphics[scale=0.2]{imageName.jpg} } after the above code then you get no logo?

            – codeAndStuff
            Oct 8 '13 at 20:51











          • Yes. My tex file has a logo{includegraphics[scale=.4]{logo-ic}} after your code, but don't show the logo.

            – Anderson
            Oct 8 '13 at 21:01
















          7














          Before begin{document} you need to include:



          setbeamertemplate{sidebar right}{}
          setbeamertemplate{footline}{%
          hfillusebeamertemplate***{navigation symbols}
          hspace{1cm}insertframenumber{}/inserttotalframenumber}


          This should work to put the frame number beside the navigation bar, not sure how to put it inside of the navigation bar.






          share|improve this answer
























          • Ok. This works fine. But, I use "logo" and "setbeamertemplate{sidebar right}{}" disable the logo.

            – Anderson
            Oct 8 '13 at 20:42











          • so if you add something like logo{includegraphics[scale=0.2]{imageName.jpg} } after the above code then you get no logo?

            – codeAndStuff
            Oct 8 '13 at 20:51











          • Yes. My tex file has a logo{includegraphics[scale=.4]{logo-ic}} after your code, but don't show the logo.

            – Anderson
            Oct 8 '13 at 21:01














          7












          7








          7







          Before begin{document} you need to include:



          setbeamertemplate{sidebar right}{}
          setbeamertemplate{footline}{%
          hfillusebeamertemplate***{navigation symbols}
          hspace{1cm}insertframenumber{}/inserttotalframenumber}


          This should work to put the frame number beside the navigation bar, not sure how to put it inside of the navigation bar.






          share|improve this answer













          Before begin{document} you need to include:



          setbeamertemplate{sidebar right}{}
          setbeamertemplate{footline}{%
          hfillusebeamertemplate***{navigation symbols}
          hspace{1cm}insertframenumber{}/inserttotalframenumber}


          This should work to put the frame number beside the navigation bar, not sure how to put it inside of the navigation bar.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 8 '13 at 19:54









          codeAndStuffcodeAndStuff

          38827




          38827













          • Ok. This works fine. But, I use "logo" and "setbeamertemplate{sidebar right}{}" disable the logo.

            – Anderson
            Oct 8 '13 at 20:42











          • so if you add something like logo{includegraphics[scale=0.2]{imageName.jpg} } after the above code then you get no logo?

            – codeAndStuff
            Oct 8 '13 at 20:51











          • Yes. My tex file has a logo{includegraphics[scale=.4]{logo-ic}} after your code, but don't show the logo.

            – Anderson
            Oct 8 '13 at 21:01



















          • Ok. This works fine. But, I use "logo" and "setbeamertemplate{sidebar right}{}" disable the logo.

            – Anderson
            Oct 8 '13 at 20:42











          • so if you add something like logo{includegraphics[scale=0.2]{imageName.jpg} } after the above code then you get no logo?

            – codeAndStuff
            Oct 8 '13 at 20:51











          • Yes. My tex file has a logo{includegraphics[scale=.4]{logo-ic}} after your code, but don't show the logo.

            – Anderson
            Oct 8 '13 at 21:01

















          Ok. This works fine. But, I use "logo" and "setbeamertemplate{sidebar right}{}" disable the logo.

          – Anderson
          Oct 8 '13 at 20:42





          Ok. This works fine. But, I use "logo" and "setbeamertemplate{sidebar right}{}" disable the logo.

          – Anderson
          Oct 8 '13 at 20:42













          so if you add something like logo{includegraphics[scale=0.2]{imageName.jpg} } after the above code then you get no logo?

          – codeAndStuff
          Oct 8 '13 at 20:51





          so if you add something like logo{includegraphics[scale=0.2]{imageName.jpg} } after the above code then you get no logo?

          – codeAndStuff
          Oct 8 '13 at 20:51













          Yes. My tex file has a logo{includegraphics[scale=.4]{logo-ic}} after your code, but don't show the logo.

          – Anderson
          Oct 8 '13 at 21:01





          Yes. My tex file has a logo{includegraphics[scale=.4]{logo-ic}} after your code, but don't show the logo.

          – Anderson
          Oct 8 '13 at 21:01











          6














          Actually, I want to supplenment MaxGraves's answer! (but I don't have enough reputation, sorry about that!)



          My result will put the "page/total page" rightside and inside the navigation bar, instead of outside.



          Note: addtobeamertemplate{⟨element name⟩}{⟨pre-text⟩}{⟨post-text⟩}, hence you have to notice which bracket you put "page/total page" in. In my case, using Frankfurt theme, which have default navigation bar, put the followings before begin{document} will show my results as the bottom.



          addtobeamertemplate{navigation symbols}{}{ hspace{1em}    usebeamerfont{footline}%
          insertframenumber / inserttotalframenumber }


          The reason I use hspace{1em} usebeamerfont{footline} is for good-looking, the front makes "page/total page" not too close to navigation bar, and the latter is just make it as big as I hope, more clearly, I think....



          the result






          share|improve this answer


























          • This looks like a subset of the accept one. Would like to explain more? For example why you keep usebeamerfont but not usebeamercolor. And why are there so many useless spaces?

            – Symbol 1
            Jan 10 '15 at 7:08


















          6














          Actually, I want to supplenment MaxGraves's answer! (but I don't have enough reputation, sorry about that!)



          My result will put the "page/total page" rightside and inside the navigation bar, instead of outside.



          Note: addtobeamertemplate{⟨element name⟩}{⟨pre-text⟩}{⟨post-text⟩}, hence you have to notice which bracket you put "page/total page" in. In my case, using Frankfurt theme, which have default navigation bar, put the followings before begin{document} will show my results as the bottom.



          addtobeamertemplate{navigation symbols}{}{ hspace{1em}    usebeamerfont{footline}%
          insertframenumber / inserttotalframenumber }


          The reason I use hspace{1em} usebeamerfont{footline} is for good-looking, the front makes "page/total page" not too close to navigation bar, and the latter is just make it as big as I hope, more clearly, I think....



          the result






          share|improve this answer


























          • This looks like a subset of the accept one. Would like to explain more? For example why you keep usebeamerfont but not usebeamercolor. And why are there so many useless spaces?

            – Symbol 1
            Jan 10 '15 at 7:08
















          6












          6








          6







          Actually, I want to supplenment MaxGraves's answer! (but I don't have enough reputation, sorry about that!)



          My result will put the "page/total page" rightside and inside the navigation bar, instead of outside.



          Note: addtobeamertemplate{⟨element name⟩}{⟨pre-text⟩}{⟨post-text⟩}, hence you have to notice which bracket you put "page/total page" in. In my case, using Frankfurt theme, which have default navigation bar, put the followings before begin{document} will show my results as the bottom.



          addtobeamertemplate{navigation symbols}{}{ hspace{1em}    usebeamerfont{footline}%
          insertframenumber / inserttotalframenumber }


          The reason I use hspace{1em} usebeamerfont{footline} is for good-looking, the front makes "page/total page" not too close to navigation bar, and the latter is just make it as big as I hope, more clearly, I think....



          the result






          share|improve this answer















          Actually, I want to supplenment MaxGraves's answer! (but I don't have enough reputation, sorry about that!)



          My result will put the "page/total page" rightside and inside the navigation bar, instead of outside.



          Note: addtobeamertemplate{⟨element name⟩}{⟨pre-text⟩}{⟨post-text⟩}, hence you have to notice which bracket you put "page/total page" in. In my case, using Frankfurt theme, which have default navigation bar, put the followings before begin{document} will show my results as the bottom.



          addtobeamertemplate{navigation symbols}{}{ hspace{1em}    usebeamerfont{footline}%
          insertframenumber / inserttotalframenumber }


          The reason I use hspace{1em} usebeamerfont{footline} is for good-looking, the front makes "page/total page" not too close to navigation bar, and the latter is just make it as big as I hope, more clearly, I think....



          the result







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 14 '15 at 15:05

























          answered Jan 10 '15 at 6:33









          linlin

          6114




          6114













          • This looks like a subset of the accept one. Would like to explain more? For example why you keep usebeamerfont but not usebeamercolor. And why are there so many useless spaces?

            – Symbol 1
            Jan 10 '15 at 7:08





















          • This looks like a subset of the accept one. Would like to explain more? For example why you keep usebeamerfont but not usebeamercolor. And why are there so many useless spaces?

            – Symbol 1
            Jan 10 '15 at 7:08



















          This looks like a subset of the accept one. Would like to explain more? For example why you keep usebeamerfont but not usebeamercolor. And why are there so many useless spaces?

          – Symbol 1
          Jan 10 '15 at 7:08







          This looks like a subset of the accept one. Would like to explain more? For example why you keep usebeamerfont but not usebeamercolor. And why are there so many useless spaces?

          – Symbol 1
          Jan 10 '15 at 7:08













          1














           setbeamertemplate{navigation symbols}
          { insertslidenavigationsymbol
          insertframenavigationsymbol
          insertsubsectionnavigationsymbol
          insertsectionnavigationsymbol
          insertdocnavigationsymbol
          insertbackfindforwardnavigationsymbol
          hspace{1em}
          usebeamerfont{footline}
          insertframenumber/inserttotalframenumber }
          setcounter{page}{1}
          pagenumbering{arabic}
          %add this code before begin doc
          begin{document}





          share|improve this answer



















          • 2





            Welcome to TeX - LaTeX! This seems to be a duplicate (with a missing `` typo) of code in Anderson's comment to Bordaigorl's answer. That comment resulted in an a cleaner updated answer. In any case, code only answers are best combined with some text explanation.

            – Andrew Swann
            Sep 29 '15 at 6:46


















          1














           setbeamertemplate{navigation symbols}
          { insertslidenavigationsymbol
          insertframenavigationsymbol
          insertsubsectionnavigationsymbol
          insertsectionnavigationsymbol
          insertdocnavigationsymbol
          insertbackfindforwardnavigationsymbol
          hspace{1em}
          usebeamerfont{footline}
          insertframenumber/inserttotalframenumber }
          setcounter{page}{1}
          pagenumbering{arabic}
          %add this code before begin doc
          begin{document}





          share|improve this answer



















          • 2





            Welcome to TeX - LaTeX! This seems to be a duplicate (with a missing `` typo) of code in Anderson's comment to Bordaigorl's answer. That comment resulted in an a cleaner updated answer. In any case, code only answers are best combined with some text explanation.

            – Andrew Swann
            Sep 29 '15 at 6:46
















          1












          1








          1







           setbeamertemplate{navigation symbols}
          { insertslidenavigationsymbol
          insertframenavigationsymbol
          insertsubsectionnavigationsymbol
          insertsectionnavigationsymbol
          insertdocnavigationsymbol
          insertbackfindforwardnavigationsymbol
          hspace{1em}
          usebeamerfont{footline}
          insertframenumber/inserttotalframenumber }
          setcounter{page}{1}
          pagenumbering{arabic}
          %add this code before begin doc
          begin{document}





          share|improve this answer













           setbeamertemplate{navigation symbols}
          { insertslidenavigationsymbol
          insertframenavigationsymbol
          insertsubsectionnavigationsymbol
          insertsectionnavigationsymbol
          insertdocnavigationsymbol
          insertbackfindforwardnavigationsymbol
          hspace{1em}
          usebeamerfont{footline}
          insertframenumber/inserttotalframenumber }
          setcounter{page}{1}
          pagenumbering{arabic}
          %add this code before begin doc
          begin{document}






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 29 '15 at 6:33









          Dayana BennyDayana Benny

          111




          111








          • 2





            Welcome to TeX - LaTeX! This seems to be a duplicate (with a missing `` typo) of code in Anderson's comment to Bordaigorl's answer. That comment resulted in an a cleaner updated answer. In any case, code only answers are best combined with some text explanation.

            – Andrew Swann
            Sep 29 '15 at 6:46
















          • 2





            Welcome to TeX - LaTeX! This seems to be a duplicate (with a missing `` typo) of code in Anderson's comment to Bordaigorl's answer. That comment resulted in an a cleaner updated answer. In any case, code only answers are best combined with some text explanation.

            – Andrew Swann
            Sep 29 '15 at 6:46










          2




          2





          Welcome to TeX - LaTeX! This seems to be a duplicate (with a missing `` typo) of code in Anderson's comment to Bordaigorl's answer. That comment resulted in an a cleaner updated answer. In any case, code only answers are best combined with some text explanation.

          – Andrew Swann
          Sep 29 '15 at 6:46







          Welcome to TeX - LaTeX! This seems to be a duplicate (with a missing `` typo) of code in Anderson's comment to Bordaigorl's answer. That comment resulted in an a cleaner updated answer. In any case, code only answers are best combined with some text explanation.

          – Andrew Swann
          Sep 29 '15 at 6:46













          1














          setbeamertemplate{page number in head/foot}[totalframenumber]
          beamertemplatenavigationsymbolsempty

          setbeamerfont{page number in head/foot}{size=footnotesize}





          share|improve this answer





















          • 2





            Welcome to TeX.SE! Could you please extend your code snippet to a compilable and complete code?

            – JouleV
            Mar 11 at 11:47






          • 2





            Because the Darmstadt theme does not show any footline by default, you'll also have to set the footline template to make this work.

            – samcarter
            Mar 11 at 11:56
















          1














          setbeamertemplate{page number in head/foot}[totalframenumber]
          beamertemplatenavigationsymbolsempty

          setbeamerfont{page number in head/foot}{size=footnotesize}





          share|improve this answer





















          • 2





            Welcome to TeX.SE! Could you please extend your code snippet to a compilable and complete code?

            – JouleV
            Mar 11 at 11:47






          • 2





            Because the Darmstadt theme does not show any footline by default, you'll also have to set the footline template to make this work.

            – samcarter
            Mar 11 at 11:56














          1












          1








          1







          setbeamertemplate{page number in head/foot}[totalframenumber]
          beamertemplatenavigationsymbolsempty

          setbeamerfont{page number in head/foot}{size=footnotesize}





          share|improve this answer















          setbeamertemplate{page number in head/foot}[totalframenumber]
          beamertemplatenavigationsymbolsempty

          setbeamerfont{page number in head/foot}{size=footnotesize}






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 11 at 11:47









          JouleV

          6,68521951




          6,68521951










          answered Mar 11 at 11:45









          Aniruddha KanheAniruddha Kanhe

          111




          111








          • 2





            Welcome to TeX.SE! Could you please extend your code snippet to a compilable and complete code?

            – JouleV
            Mar 11 at 11:47






          • 2





            Because the Darmstadt theme does not show any footline by default, you'll also have to set the footline template to make this work.

            – samcarter
            Mar 11 at 11:56














          • 2





            Welcome to TeX.SE! Could you please extend your code snippet to a compilable and complete code?

            – JouleV
            Mar 11 at 11:47






          • 2





            Because the Darmstadt theme does not show any footline by default, you'll also have to set the footline template to make this work.

            – samcarter
            Mar 11 at 11:56








          2




          2





          Welcome to TeX.SE! Could you please extend your code snippet to a compilable and complete code?

          – JouleV
          Mar 11 at 11:47





          Welcome to TeX.SE! Could you please extend your code snippet to a compilable and complete code?

          – JouleV
          Mar 11 at 11:47




          2




          2





          Because the Darmstadt theme does not show any footline by default, you'll also have to set the footline template to make this work.

          – samcarter
          Mar 11 at 11:56





          Because the Darmstadt theme does not show any footline by default, you'll also have to set the footline template to make this work.

          – samcarter
          Mar 11 at 11:56


















          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%2f137022%2fhow-to-insert-page-number-in-beamer-navigation-symbols%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 to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?