How to capitalise every letter in odd position as in memes?How to test if argument is a single space?How to make a command for a composed symbol to work with all font sizes?Font and Style considerations for business reportingAdjusting the position of dotFirst letter in gothic fontHow do you format a Dates Contraction in LaTex?How to change the font size of a particular letterTraditional German e sans-serif letterHow to selectively substitute a letter with another symbol representing the same letterEquivalent of fontenc in LuaLaTexLetter combination 'fi' won't display using mathgifg.sty

What did the 'turbo' button actually do?

What is Orcus doing with Mind Flayers in the art on the last page of Volo's Guide to Monsters?

Cisco 3750X Power Cable

Testing using real data of the customer

Possibility of faking someone's public key

Why does the hash of infinity have the digits of π?

How do you earn the reader's trust?

What is the purpose of the yellow wired panels on the IBM 360 Model 20?

Adding location of start and end points to the attribute table

How does Dreadhorde Arcanist interact with split cards?

To exponential digit growth and beyond!

Why isn't Tyrion mentioned in 'A song of Ice and Fire'?

Is there an idiom that means that you are in a very strong negotiation position in a negotiation?

Ribbon Cable Cross Talk - Is there a fix after the fact?

How to deceive the MC

Unary Enumeration

Are there historical examples of audiences drawn to a work that was "so bad it's good"?

One word for 'the thing that attracts me'?

Is keeping the forking link on a true fork necessary (Github/GPL)?

Can a multiclassed Kensei monk/Swashbuckler rogue use an offhand finesse weapon to trigger Sneak Attack, without using a bonus action?

Are cells guaranteed to get at least one mitochondrion when they divide?

Why does Bran want to find Drogon?

Using too much dialogue?

Papers on ArXiv as main references



How to capitalise every letter in odd position as in memes?


How to test if argument is a single space?How to make a command for a composed symbol to work with all font sizes?Font and Style considerations for business reportingAdjusting the position of dotFirst letter in gothic fontHow do you format a Dates Contraction in LaTex?How to change the font size of a particular letterTraditional German e sans-serif letterHow to selectively substitute a letter with another symbol representing the same letterEquivalent of fontenc in LuaLaTexLetter combination 'fi' won't display using mathgifg.sty













2















For example, SoMeThInGlIkEtHiS



How might one achieve this? I am writing a meme paper this is important. . .










share|improve this question









New contributor



Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    2















    For example, SoMeThInGlIkEtHiS



    How might one achieve this? I am writing a meme paper this is important. . .










    share|improve this question









    New contributor



    Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      2












      2








      2








      For example, SoMeThInGlIkEtHiS



      How might one achieve this? I am writing a meme paper this is important. . .










      share|improve this question









      New contributor



      Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      For example, SoMeThInGlIkEtHiS



      How might one achieve this? I am writing a meme paper this is important. . .







      fonts






      share|improve this question









      New contributor



      Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 1 hour ago









      JouleV

      18.6k23072




      18.6k23072






      New contributor



      Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 2 hours ago









      Evan PuEvan Pu

      1112




      1112




      New contributor



      Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Evan Pu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          2














          A LaTeX3 version, adapted from egreg's answer here:



          documentclassarticle
          usepackagexparse
          usepackageexpl3

          ExplSyntaxOn
          NewDocumentCommandmarklettersm

          int_zero:N l_tmpa_int
          tl_set:Nn l_tmpa_tl #1
          % replace spaces with something different
          tl_replace_all:Nnn l_tmpa_tl ~ c_space_tl
          tl_map_inline:Nn l_tmpa_tl

          tl_if_blank:eTF ##1
          ~ % don't advance the counter and issue a space

          int_if_odd:nTF l_tmpa_int tex_lowercase:D tex_uppercase:D ##1
          int_incr:N l_tmpa_int



          prg_generate_conditional_variant:Nnn tl_if_blank:n e T,F,TF,p
          ExplSyntaxOff

          begindocument

          markletterssomething like this

          enddocument


          enter image description here






          share|improve this answer
































            2














            Here's a slightly different LaTeX3 implementation using regular expressions. A space character is treated as a letter so that the two lines



            CaPiTaLiSeSomething like this
            CaPiTaLiSeSomethinglikethis


            produce slightly different capitalisations:



            enter image description here



            Here is the code:



            documentclassarticle

            usepackagexparse
            ExplSyntaxOn
            seq_new:N l_evan_letters_seq
            cs_new_protected_nopar:Nn evan_make_upper:n
            str_upper_case:n #1
            letevan_capitalise:n evan_make_lower:n

            cs_new_protected_nopar:Nn evan_make_lower:n
            str_lower_case:n #1
            letevan_capitalise:n evan_make_upper:n

            NewDocumentCommandCaPiTaLiSem
            regex_split:nnN #1 l_evan_letters_seq
            letevan_capitalise:n evan_make_upper:n
            seq_map_inline:Nn l_evan_letters_seq evan_capitalise:n ##1

            ExplSyntaxOff
            begindocument

            CaPiTaLiSeSomething like this

            CaPiTaLiSeSomethinglikethis

            enddocument


            Rather than incrementing a counter I have a dummy macro evan_capitalise:n that swaps between choosing upper and lower case.






            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
              );



              );






              Evan Pu is a new contributor. Be nice, and check out our Code of Conduct.









              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f491858%2fhow-to-capitalise-every-letter-in-odd-position-as-in-memes%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














              A LaTeX3 version, adapted from egreg's answer here:



              documentclassarticle
              usepackagexparse
              usepackageexpl3

              ExplSyntaxOn
              NewDocumentCommandmarklettersm

              int_zero:N l_tmpa_int
              tl_set:Nn l_tmpa_tl #1
              % replace spaces with something different
              tl_replace_all:Nnn l_tmpa_tl ~ c_space_tl
              tl_map_inline:Nn l_tmpa_tl

              tl_if_blank:eTF ##1
              ~ % don't advance the counter and issue a space

              int_if_odd:nTF l_tmpa_int tex_lowercase:D tex_uppercase:D ##1
              int_incr:N l_tmpa_int



              prg_generate_conditional_variant:Nnn tl_if_blank:n e T,F,TF,p
              ExplSyntaxOff

              begindocument

              markletterssomething like this

              enddocument


              enter image description here






              share|improve this answer





























                2














                A LaTeX3 version, adapted from egreg's answer here:



                documentclassarticle
                usepackagexparse
                usepackageexpl3

                ExplSyntaxOn
                NewDocumentCommandmarklettersm

                int_zero:N l_tmpa_int
                tl_set:Nn l_tmpa_tl #1
                % replace spaces with something different
                tl_replace_all:Nnn l_tmpa_tl ~ c_space_tl
                tl_map_inline:Nn l_tmpa_tl

                tl_if_blank:eTF ##1
                ~ % don't advance the counter and issue a space

                int_if_odd:nTF l_tmpa_int tex_lowercase:D tex_uppercase:D ##1
                int_incr:N l_tmpa_int



                prg_generate_conditional_variant:Nnn tl_if_blank:n e T,F,TF,p
                ExplSyntaxOff

                begindocument

                markletterssomething like this

                enddocument


                enter image description here






                share|improve this answer



























                  2












                  2








                  2







                  A LaTeX3 version, adapted from egreg's answer here:



                  documentclassarticle
                  usepackagexparse
                  usepackageexpl3

                  ExplSyntaxOn
                  NewDocumentCommandmarklettersm

                  int_zero:N l_tmpa_int
                  tl_set:Nn l_tmpa_tl #1
                  % replace spaces with something different
                  tl_replace_all:Nnn l_tmpa_tl ~ c_space_tl
                  tl_map_inline:Nn l_tmpa_tl

                  tl_if_blank:eTF ##1
                  ~ % don't advance the counter and issue a space

                  int_if_odd:nTF l_tmpa_int tex_lowercase:D tex_uppercase:D ##1
                  int_incr:N l_tmpa_int



                  prg_generate_conditional_variant:Nnn tl_if_blank:n e T,F,TF,p
                  ExplSyntaxOff

                  begindocument

                  markletterssomething like this

                  enddocument


                  enter image description here






                  share|improve this answer















                  A LaTeX3 version, adapted from egreg's answer here:



                  documentclassarticle
                  usepackagexparse
                  usepackageexpl3

                  ExplSyntaxOn
                  NewDocumentCommandmarklettersm

                  int_zero:N l_tmpa_int
                  tl_set:Nn l_tmpa_tl #1
                  % replace spaces with something different
                  tl_replace_all:Nnn l_tmpa_tl ~ c_space_tl
                  tl_map_inline:Nn l_tmpa_tl

                  tl_if_blank:eTF ##1
                  ~ % don't advance the counter and issue a space

                  int_if_odd:nTF l_tmpa_int tex_lowercase:D tex_uppercase:D ##1
                  int_incr:N l_tmpa_int



                  prg_generate_conditional_variant:Nnn tl_if_blank:n e T,F,TF,p
                  ExplSyntaxOff

                  begindocument

                  markletterssomething like this

                  enddocument


                  enter image description here







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 1 hour ago

























                  answered 1 hour ago









                  siracusasiracusa

                  5,60711730




                  5,60711730





















                      2














                      Here's a slightly different LaTeX3 implementation using regular expressions. A space character is treated as a letter so that the two lines



                      CaPiTaLiSeSomething like this
                      CaPiTaLiSeSomethinglikethis


                      produce slightly different capitalisations:



                      enter image description here



                      Here is the code:



                      documentclassarticle

                      usepackagexparse
                      ExplSyntaxOn
                      seq_new:N l_evan_letters_seq
                      cs_new_protected_nopar:Nn evan_make_upper:n
                      str_upper_case:n #1
                      letevan_capitalise:n evan_make_lower:n

                      cs_new_protected_nopar:Nn evan_make_lower:n
                      str_lower_case:n #1
                      letevan_capitalise:n evan_make_upper:n

                      NewDocumentCommandCaPiTaLiSem
                      regex_split:nnN #1 l_evan_letters_seq
                      letevan_capitalise:n evan_make_upper:n
                      seq_map_inline:Nn l_evan_letters_seq evan_capitalise:n ##1

                      ExplSyntaxOff
                      begindocument

                      CaPiTaLiSeSomething like this

                      CaPiTaLiSeSomethinglikethis

                      enddocument


                      Rather than incrementing a counter I have a dummy macro evan_capitalise:n that swaps between choosing upper and lower case.






                      share|improve this answer



























                        2














                        Here's a slightly different LaTeX3 implementation using regular expressions. A space character is treated as a letter so that the two lines



                        CaPiTaLiSeSomething like this
                        CaPiTaLiSeSomethinglikethis


                        produce slightly different capitalisations:



                        enter image description here



                        Here is the code:



                        documentclassarticle

                        usepackagexparse
                        ExplSyntaxOn
                        seq_new:N l_evan_letters_seq
                        cs_new_protected_nopar:Nn evan_make_upper:n
                        str_upper_case:n #1
                        letevan_capitalise:n evan_make_lower:n

                        cs_new_protected_nopar:Nn evan_make_lower:n
                        str_lower_case:n #1
                        letevan_capitalise:n evan_make_upper:n

                        NewDocumentCommandCaPiTaLiSem
                        regex_split:nnN #1 l_evan_letters_seq
                        letevan_capitalise:n evan_make_upper:n
                        seq_map_inline:Nn l_evan_letters_seq evan_capitalise:n ##1

                        ExplSyntaxOff
                        begindocument

                        CaPiTaLiSeSomething like this

                        CaPiTaLiSeSomethinglikethis

                        enddocument


                        Rather than incrementing a counter I have a dummy macro evan_capitalise:n that swaps between choosing upper and lower case.






                        share|improve this answer

























                          2












                          2








                          2







                          Here's a slightly different LaTeX3 implementation using regular expressions. A space character is treated as a letter so that the two lines



                          CaPiTaLiSeSomething like this
                          CaPiTaLiSeSomethinglikethis


                          produce slightly different capitalisations:



                          enter image description here



                          Here is the code:



                          documentclassarticle

                          usepackagexparse
                          ExplSyntaxOn
                          seq_new:N l_evan_letters_seq
                          cs_new_protected_nopar:Nn evan_make_upper:n
                          str_upper_case:n #1
                          letevan_capitalise:n evan_make_lower:n

                          cs_new_protected_nopar:Nn evan_make_lower:n
                          str_lower_case:n #1
                          letevan_capitalise:n evan_make_upper:n

                          NewDocumentCommandCaPiTaLiSem
                          regex_split:nnN #1 l_evan_letters_seq
                          letevan_capitalise:n evan_make_upper:n
                          seq_map_inline:Nn l_evan_letters_seq evan_capitalise:n ##1

                          ExplSyntaxOff
                          begindocument

                          CaPiTaLiSeSomething like this

                          CaPiTaLiSeSomethinglikethis

                          enddocument


                          Rather than incrementing a counter I have a dummy macro evan_capitalise:n that swaps between choosing upper and lower case.






                          share|improve this answer













                          Here's a slightly different LaTeX3 implementation using regular expressions. A space character is treated as a letter so that the two lines



                          CaPiTaLiSeSomething like this
                          CaPiTaLiSeSomethinglikethis


                          produce slightly different capitalisations:



                          enter image description here



                          Here is the code:



                          documentclassarticle

                          usepackagexparse
                          ExplSyntaxOn
                          seq_new:N l_evan_letters_seq
                          cs_new_protected_nopar:Nn evan_make_upper:n
                          str_upper_case:n #1
                          letevan_capitalise:n evan_make_lower:n

                          cs_new_protected_nopar:Nn evan_make_lower:n
                          str_lower_case:n #1
                          letevan_capitalise:n evan_make_upper:n

                          NewDocumentCommandCaPiTaLiSem
                          regex_split:nnN #1 l_evan_letters_seq
                          letevan_capitalise:n evan_make_upper:n
                          seq_map_inline:Nn l_evan_letters_seq evan_capitalise:n ##1

                          ExplSyntaxOff
                          begindocument

                          CaPiTaLiSeSomething like this

                          CaPiTaLiSeSomethinglikethis

                          enddocument


                          Rather than incrementing a counter I have a dummy macro evan_capitalise:n that swaps between choosing upper and lower case.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 1 hour ago









                          AndrewAndrew

                          33.2k34786




                          33.2k34786




















                              Evan Pu is a new contributor. Be nice, and check out our Code of Conduct.









                              draft saved

                              draft discarded


















                              Evan Pu is a new contributor. Be nice, and check out our Code of Conduct.












                              Evan Pu is a new contributor. Be nice, and check out our Code of Conduct.











                              Evan Pu is a new contributor. Be nice, and check out our Code of Conduct.














                              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%2f491858%2fhow-to-capitalise-every-letter-in-odd-position-as-in-memes%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

                              Log på Navigationsmenu

                              Creating second map without labels using QGIS?How to lock map labels for inset map in Print Composer?How to Force the Showing of Labels of a Vector File in QGISQGIS Valmiera, Labels only show for part of polygonsRemoving duplicate point labels in QGISLabeling every feature using QGIS?Show labels for point features outside map canvasAbbreviate Road Labels in QGIS only when requiredExporting map from composer in QGIS - text labels have moved in output?How to make sure labels in qgis turn up in layout map?Writing label expression with ArcMap and If then Statement?

                              Detroit Tigers Spis treści Historia | Skład zespołu | Sukcesy | Członkowie Baseball Hall of Fame | Zastrzeżone numery | Przypisy | Menu nawigacyjneEncyclopedia of Detroit - Detroit TigersTigers Stadium, Detroit, MITigers Timeline 1900sDetroit Tigers Team History & EncyclopediaTigers Timeline 1910s1935 World Series1945 World Series1945 World Series1984 World SeriesComerica Park, Detroit, MI2006 World Series2012 World SeriesDetroit Tigers 40-Man RosterDetroit Tigers Coaching StaffTigers Hall of FamersTigers Retired Numberse