highlighting parts of pgfpie in BeamerLaTeX equivalent of ConTeXt buffersHighlighting specific parts of a...

Can I make popcorn with any corn?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

How do I create uniquely male characters?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

What would happen to a modern skyscraper if it rains micro blackholes?

How does one intimidate enemies without having the capacity for violence?

Risk of getting Chronic Wasting Disease (CWD) in the United States?

Why don't electron-positron collisions release infinite energy?

Why Is Death Allowed In the Matrix?

Theorem, big Paralist and Amsart

Email Account under attack (really) - anything I can do?

"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"

Why doesn't H₄O²⁺ exist?

What's the point of deactivating Num Lock on login screens?

Why does Kotter return in Welcome Back Kotter?

Python: next in for loop

Do I have a twin with permutated remainders?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Writing rule stating superpower from different root cause is bad writing

How old can references or sources in a thesis be?

Did Shadowfax go to Valinor?

Smoothness of finite-dimensional functional calculus



highlighting parts of pgfpie in Beamer


LaTeX equivalent of ConTeXt buffersHighlighting specific parts of a TikZ drawingThumbnails of other frames in beamerNumerical conditional within tikz keys?Beamer: handout/article mode - produce multiple copies of a frame with distinct overlay numbersHighlighting specific parts of a customize graphLaTeX beamer: pagenumbering appendixComplex Highlighting/Graying in BeamerLaTeX Error: environment tikzpicture undefinedZooming in and highlighting parts of a table













2















I was wondering if there was a way to highlight a section of a pgfpie pie graph in a Beamer presentation.



One way I managed to make it work was to copy the entire figure, change the color of the desired section and use only to first show the version with the original color, and then the version with the changed color, but that's quite an impractical way of doing it.



Here is a sample pgfpie graph:



documentclass[14pt]{beamer}

usepackage{pgf-pie}

usepackage{siunitx}
sisetup{
output-decimal-marker={,},
group-separator={,},
}
defScanPercentage#1afternumber{SI{#1}{percent}}

% ---------------------------------------------------------------------------- %

begin{document}
begin{frame}{Pie Chart}
begin{figure}
scriptsize
centering
begin{tikzpicture}
pie[color={blue, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
end{tikzpicture}
end{figure}
end{frame}
end{document}









share|improve this question



























    2















    I was wondering if there was a way to highlight a section of a pgfpie pie graph in a Beamer presentation.



    One way I managed to make it work was to copy the entire figure, change the color of the desired section and use only to first show the version with the original color, and then the version with the changed color, but that's quite an impractical way of doing it.



    Here is a sample pgfpie graph:



    documentclass[14pt]{beamer}

    usepackage{pgf-pie}

    usepackage{siunitx}
    sisetup{
    output-decimal-marker={,},
    group-separator={,},
    }
    defScanPercentage#1afternumber{SI{#1}{percent}}

    % ---------------------------------------------------------------------------- %

    begin{document}
    begin{frame}{Pie Chart}
    begin{figure}
    scriptsize
    centering
    begin{tikzpicture}
    pie[color={blue, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
    end{tikzpicture}
    end{figure}
    end{frame}
    end{document}









    share|improve this question

























      2












      2








      2








      I was wondering if there was a way to highlight a section of a pgfpie pie graph in a Beamer presentation.



      One way I managed to make it work was to copy the entire figure, change the color of the desired section and use only to first show the version with the original color, and then the version with the changed color, but that's quite an impractical way of doing it.



      Here is a sample pgfpie graph:



      documentclass[14pt]{beamer}

      usepackage{pgf-pie}

      usepackage{siunitx}
      sisetup{
      output-decimal-marker={,},
      group-separator={,},
      }
      defScanPercentage#1afternumber{SI{#1}{percent}}

      % ---------------------------------------------------------------------------- %

      begin{document}
      begin{frame}{Pie Chart}
      begin{figure}
      scriptsize
      centering
      begin{tikzpicture}
      pie[color={blue, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
      end{tikzpicture}
      end{figure}
      end{frame}
      end{document}









      share|improve this question














      I was wondering if there was a way to highlight a section of a pgfpie pie graph in a Beamer presentation.



      One way I managed to make it work was to copy the entire figure, change the color of the desired section and use only to first show the version with the original color, and then the version with the changed color, but that's quite an impractical way of doing it.



      Here is a sample pgfpie graph:



      documentclass[14pt]{beamer}

      usepackage{pgf-pie}

      usepackage{siunitx}
      sisetup{
      output-decimal-marker={,},
      group-separator={,},
      }
      defScanPercentage#1afternumber{SI{#1}{percent}}

      % ---------------------------------------------------------------------------- %

      begin{document}
      begin{frame}{Pie Chart}
      begin{figure}
      scriptsize
      centering
      begin{tikzpicture}
      pie[color={blue, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
      end{tikzpicture}
      end{figure}
      end{frame}
      end{document}






      tikz-pgf beamer pgf-pie






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 hours ago









      Tomáš SlámaTomáš Sláma

      1158




      1158






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Here is a solution using the multido package:



          documentclass[14pt]{beamer}

          usepackage{pgf-pie}
          usepackage{multido}

          usepackage{siunitx}
          sisetup{
          output-decimal-marker={,},
          group-separator={,},
          }
          defScanPercentage#1afternumber{SI{#1}{percent}}

          % ---------------------------------------------------------------------------- %

          begin{document}
          begin{frame}{Pie Chart}
          multido{n=1+1}{2}{
          only<n>{
          begin{figure}
          scriptsize
          centering
          begin{tikzpicture}
          pie[color={ifnumn=1 blueelse yellowfi, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
          end{tikzpicture}
          end{figure}
          }
          }
          end{frame}
          end{document}





          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%2f483569%2fhighlighting-parts-of-pgfpie-in-beamer%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









            1














            Here is a solution using the multido package:



            documentclass[14pt]{beamer}

            usepackage{pgf-pie}
            usepackage{multido}

            usepackage{siunitx}
            sisetup{
            output-decimal-marker={,},
            group-separator={,},
            }
            defScanPercentage#1afternumber{SI{#1}{percent}}

            % ---------------------------------------------------------------------------- %

            begin{document}
            begin{frame}{Pie Chart}
            multido{n=1+1}{2}{
            only<n>{
            begin{figure}
            scriptsize
            centering
            begin{tikzpicture}
            pie[color={ifnumn=1 blueelse yellowfi, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
            end{tikzpicture}
            end{figure}
            }
            }
            end{frame}
            end{document}





            share|improve this answer




























              1














              Here is a solution using the multido package:



              documentclass[14pt]{beamer}

              usepackage{pgf-pie}
              usepackage{multido}

              usepackage{siunitx}
              sisetup{
              output-decimal-marker={,},
              group-separator={,},
              }
              defScanPercentage#1afternumber{SI{#1}{percent}}

              % ---------------------------------------------------------------------------- %

              begin{document}
              begin{frame}{Pie Chart}
              multido{n=1+1}{2}{
              only<n>{
              begin{figure}
              scriptsize
              centering
              begin{tikzpicture}
              pie[color={ifnumn=1 blueelse yellowfi, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
              end{tikzpicture}
              end{figure}
              }
              }
              end{frame}
              end{document}





              share|improve this answer


























                1












                1








                1







                Here is a solution using the multido package:



                documentclass[14pt]{beamer}

                usepackage{pgf-pie}
                usepackage{multido}

                usepackage{siunitx}
                sisetup{
                output-decimal-marker={,},
                group-separator={,},
                }
                defScanPercentage#1afternumber{SI{#1}{percent}}

                % ---------------------------------------------------------------------------- %

                begin{document}
                begin{frame}{Pie Chart}
                multido{n=1+1}{2}{
                only<n>{
                begin{figure}
                scriptsize
                centering
                begin{tikzpicture}
                pie[color={ifnumn=1 blueelse yellowfi, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
                end{tikzpicture}
                end{figure}
                }
                }
                end{frame}
                end{document}





                share|improve this answer













                Here is a solution using the multido package:



                documentclass[14pt]{beamer}

                usepackage{pgf-pie}
                usepackage{multido}

                usepackage{siunitx}
                sisetup{
                output-decimal-marker={,},
                group-separator={,},
                }
                defScanPercentage#1afternumber{SI{#1}{percent}}

                % ---------------------------------------------------------------------------- %

                begin{document}
                begin{frame}{Pie Chart}
                multido{n=1+1}{2}{
                only<n>{
                begin{figure}
                scriptsize
                centering
                begin{tikzpicture}
                pie[color={ifnumn=1 blueelse yellowfi, red}, rotate=-35, before number=ScanPercentage, after number ={ }%,]{91.2/Muži, 8.8/Ženy}
                end{tikzpicture}
                end{figure}
                }
                }
                end{frame}
                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 9 hours ago









                Tomáš SlámaTomáš Sláma

                1158




                1158






























                    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%2f483569%2fhighlighting-parts-of-pgfpie-in-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

                    Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

                    Schneeberg (Smreczany) Bibliografia | Menu...

                    Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...