How can I put a period right after the algorithm's number in the algorithm's title?How to put a custom tag to...

Coworker asking me to not bring cakes due to self control issue. What should I do?

Is the UK legally prevented from having another referendum on Brexit?

What's the reason that we have different quantities of days each month?

Is it possible to detect 100% of SQLi with a simple regex?

Running away from a conflict

How can guns be countered by melee combat without raw-ability or exceptional explanations?

Why don't you get burned by the wood benches in a sauna?

Renting a 2CV in France

What if I miss a connection and don't have money to book next flight?

How to regain lost focus?

Are all power cords made equal?

Crack the bank account's password!

Is practicing on a digital piano harmful to an experienced piano player?

How do I avoid the "chosen hero" feeling?

How can I put a period right after the algorithm's number in the algorithm's title?

In the Lost in Space intro why was Dr. Smith actor listed as a special guest star?

show notifications of new e-mails without displaying the content

Performance and power usage for Raspberry Pi in the Stratosphere

How can I differentiate duration vs starting time

How can I prevent an oracle who can see into the past from knowing everything that has happened?

Including proofs of known theorems in master's thesis

Is layered encryption more secure than long passwords?

In a post-apocalypse world, with no power and few survivors, would Satnav still work?

Is "accuse people to be racist" grammatical?



How can I put a period right after the algorithm's number in the algorithm's title?


How to put a custom tag to the algorithm environment?How to put a line number every line of algorithmicHow to put algorithm block in a minipage so that footnote displayed immediate after the blockAlgorithm as figure and without italic and bold formatting?Reduce vertical space after list of algorithms' titleHow to put a custom tag to the algorithm environment?How to put a line number with levels in algorithm?How can i write the pseudo code Algorithm in Latex?How to number the algorithms (some algorithms are put in a group)?IEEE Algorithms in figure environment caption should read AlgorithmAdd colon after algorithm caption/number in IEEE transactions













3















enter image description here



I wish it said "Algorithm 1.", with a period after the number, and not just "Algorithm 1". It's how I see most people using it, so I must be using an unconventional package? Would you say I should stick to the default? It's not ugly.



documentclass{article}

usepackage{algorithm}
usepackage{algpseudocode}

begin{document}
begin{algorithm}
caption{Some random algorithm}
begin{algorithmic}[0]
Procedure{random}{}:
EndProcedure
end{algorithmic}
end{algorithm}
end{document}









share|improve this question



























    3















    enter image description here



    I wish it said "Algorithm 1.", with a period after the number, and not just "Algorithm 1". It's how I see most people using it, so I must be using an unconventional package? Would you say I should stick to the default? It's not ugly.



    documentclass{article}

    usepackage{algorithm}
    usepackage{algpseudocode}

    begin{document}
    begin{algorithm}
    caption{Some random algorithm}
    begin{algorithmic}[0]
    Procedure{random}{}:
    EndProcedure
    end{algorithmic}
    end{algorithm}
    end{document}









    share|improve this question

























      3












      3








      3








      enter image description here



      I wish it said "Algorithm 1.", with a period after the number, and not just "Algorithm 1". It's how I see most people using it, so I must be using an unconventional package? Would you say I should stick to the default? It's not ugly.



      documentclass{article}

      usepackage{algorithm}
      usepackage{algpseudocode}

      begin{document}
      begin{algorithm}
      caption{Some random algorithm}
      begin{algorithmic}[0]
      Procedure{random}{}:
      EndProcedure
      end{algorithmic}
      end{algorithm}
      end{document}









      share|improve this question














      enter image description here



      I wish it said "Algorithm 1.", with a period after the number, and not just "Algorithm 1". It's how I see most people using it, so I must be using an unconventional package? Would you say I should stick to the default? It's not ugly.



      documentclass{article}

      usepackage{algorithm}
      usepackage{algpseudocode}

      begin{document}
      begin{algorithm}
      caption{Some random algorithm}
      begin{algorithmic}[0]
      Procedure{random}{}:
      EndProcedure
      end{algorithmic}
      end{algorithm}
      end{document}






      algorithms






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 4 hours ago









      Joep AwinitaJoep Awinita

      1426




      1426






















          2 Answers
          2






          active

          oldest

          votes


















          2














          The usual way seems to work. (See here for further examples.)



          documentclass{article}

          usepackage{algorithm}
          usepackage{algpseudocode}

          begin{document}
          renewcommandthealgorithm{arabic{algorithm}.}
          begin{algorithm}
          caption{Some random algorithm}
          begin{algorithmic}[0]
          Procedure{random}{}:
          EndProcedure
          end{algorithmic}
          end{algorithm}
          end{document}


          enter image description here






          share|improve this answer
























          • While this works in terms of the presentation you'll see an issue when you use label-ref. The period will carry to ref.

            – Werner
            2 hours ago











          • @Werner It depends on what the OP wants. And it is no problem to remove the period, as you probably know. And if you really think it is a reason for concern, make the comment under this answer.

            – marmot
            2 hours ago





















          1














          Use caption to change the labelsep method to period. Since the original caption sets the algorithm label in bold, we also change labelfont to bf.



          enter image description here



          documentclass{article}

          usepackage{algorithm,caption}
          usepackage{algpseudocode}

          captionsetup[algorithm]{
          labelfont = bf,
          labelsep = period
          }

          begin{document}

          begin{algorithm}
          caption{Some random algorithm}
          begin{algorithmic}[0]
          Procedure{random}{}
          EndProcedure
          end{algorithmic}
          end{algorithm}

          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%2f476410%2fhow-can-i-put-a-period-right-after-the-algorithms-number-in-the-algorithms-tit%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            The usual way seems to work. (See here for further examples.)



            documentclass{article}

            usepackage{algorithm}
            usepackage{algpseudocode}

            begin{document}
            renewcommandthealgorithm{arabic{algorithm}.}
            begin{algorithm}
            caption{Some random algorithm}
            begin{algorithmic}[0]
            Procedure{random}{}:
            EndProcedure
            end{algorithmic}
            end{algorithm}
            end{document}


            enter image description here






            share|improve this answer
























            • While this works in terms of the presentation you'll see an issue when you use label-ref. The period will carry to ref.

              – Werner
              2 hours ago











            • @Werner It depends on what the OP wants. And it is no problem to remove the period, as you probably know. And if you really think it is a reason for concern, make the comment under this answer.

              – marmot
              2 hours ago


















            2














            The usual way seems to work. (See here for further examples.)



            documentclass{article}

            usepackage{algorithm}
            usepackage{algpseudocode}

            begin{document}
            renewcommandthealgorithm{arabic{algorithm}.}
            begin{algorithm}
            caption{Some random algorithm}
            begin{algorithmic}[0]
            Procedure{random}{}:
            EndProcedure
            end{algorithmic}
            end{algorithm}
            end{document}


            enter image description here






            share|improve this answer
























            • While this works in terms of the presentation you'll see an issue when you use label-ref. The period will carry to ref.

              – Werner
              2 hours ago











            • @Werner It depends on what the OP wants. And it is no problem to remove the period, as you probably know. And if you really think it is a reason for concern, make the comment under this answer.

              – marmot
              2 hours ago
















            2












            2








            2







            The usual way seems to work. (See here for further examples.)



            documentclass{article}

            usepackage{algorithm}
            usepackage{algpseudocode}

            begin{document}
            renewcommandthealgorithm{arabic{algorithm}.}
            begin{algorithm}
            caption{Some random algorithm}
            begin{algorithmic}[0]
            Procedure{random}{}:
            EndProcedure
            end{algorithmic}
            end{algorithm}
            end{document}


            enter image description here






            share|improve this answer













            The usual way seems to work. (See here for further examples.)



            documentclass{article}

            usepackage{algorithm}
            usepackage{algpseudocode}

            begin{document}
            renewcommandthealgorithm{arabic{algorithm}.}
            begin{algorithm}
            caption{Some random algorithm}
            begin{algorithmic}[0]
            Procedure{random}{}:
            EndProcedure
            end{algorithmic}
            end{algorithm}
            end{document}


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 4 hours ago









            marmotmarmot

            103k4121233




            103k4121233













            • While this works in terms of the presentation you'll see an issue when you use label-ref. The period will carry to ref.

              – Werner
              2 hours ago











            • @Werner It depends on what the OP wants. And it is no problem to remove the period, as you probably know. And if you really think it is a reason for concern, make the comment under this answer.

              – marmot
              2 hours ago





















            • While this works in terms of the presentation you'll see an issue when you use label-ref. The period will carry to ref.

              – Werner
              2 hours ago











            • @Werner It depends on what the OP wants. And it is no problem to remove the period, as you probably know. And if you really think it is a reason for concern, make the comment under this answer.

              – marmot
              2 hours ago



















            While this works in terms of the presentation you'll see an issue when you use label-ref. The period will carry to ref.

            – Werner
            2 hours ago





            While this works in terms of the presentation you'll see an issue when you use label-ref. The period will carry to ref.

            – Werner
            2 hours ago













            @Werner It depends on what the OP wants. And it is no problem to remove the period, as you probably know. And if you really think it is a reason for concern, make the comment under this answer.

            – marmot
            2 hours ago







            @Werner It depends on what the OP wants. And it is no problem to remove the period, as you probably know. And if you really think it is a reason for concern, make the comment under this answer.

            – marmot
            2 hours ago













            1














            Use caption to change the labelsep method to period. Since the original caption sets the algorithm label in bold, we also change labelfont to bf.



            enter image description here



            documentclass{article}

            usepackage{algorithm,caption}
            usepackage{algpseudocode}

            captionsetup[algorithm]{
            labelfont = bf,
            labelsep = period
            }

            begin{document}

            begin{algorithm}
            caption{Some random algorithm}
            begin{algorithmic}[0]
            Procedure{random}{}
            EndProcedure
            end{algorithmic}
            end{algorithm}

            end{document}





            share|improve this answer




























              1














              Use caption to change the labelsep method to period. Since the original caption sets the algorithm label in bold, we also change labelfont to bf.



              enter image description here



              documentclass{article}

              usepackage{algorithm,caption}
              usepackage{algpseudocode}

              captionsetup[algorithm]{
              labelfont = bf,
              labelsep = period
              }

              begin{document}

              begin{algorithm}
              caption{Some random algorithm}
              begin{algorithmic}[0]
              Procedure{random}{}
              EndProcedure
              end{algorithmic}
              end{algorithm}

              end{document}





              share|improve this answer


























                1












                1








                1







                Use caption to change the labelsep method to period. Since the original caption sets the algorithm label in bold, we also change labelfont to bf.



                enter image description here



                documentclass{article}

                usepackage{algorithm,caption}
                usepackage{algpseudocode}

                captionsetup[algorithm]{
                labelfont = bf,
                labelsep = period
                }

                begin{document}

                begin{algorithm}
                caption{Some random algorithm}
                begin{algorithmic}[0]
                Procedure{random}{}
                EndProcedure
                end{algorithmic}
                end{algorithm}

                end{document}





                share|improve this answer













                Use caption to change the labelsep method to period. Since the original caption sets the algorithm label in bold, we also change labelfont to bf.



                enter image description here



                documentclass{article}

                usepackage{algorithm,caption}
                usepackage{algpseudocode}

                captionsetup[algorithm]{
                labelfont = bf,
                labelsep = period
                }

                begin{document}

                begin{algorithm}
                caption{Some random algorithm}
                begin{algorithmic}[0]
                Procedure{random}{}
                EndProcedure
                end{algorithmic}
                end{algorithm}

                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 hours ago









                WernerWerner

                445k699801685




                445k699801685






























                    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%2f476410%2fhow-can-i-put-a-period-right-after-the-algorithms-number-in-the-algorithms-tit%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

                    Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

                    Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

                    How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...