Creating two special charactersSpecial characters in KileHandling of special LaTeX characters in textSpecial charactersSpecial characters in input fileSpecial characters in graphics filenamesUse ONLY two Chinese charactersIgnoring LATEX special charactersSpecial characters using XeLatex (š,č,ž)Remove special charactersTwo special characters

India just shot down a satellite from the ground. At what altitude range is the resulting debris field?

How did Doctor Strange see the winning outcome in Avengers: Infinity War?

How do I rename a Linux host without needing to reboot for the rename to take effect?

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

How do we know the LHC results are robust?

How does buying out courses with grant money work?

Trouble understanding the speech of overseas colleagues

Can "Reverse Gravity" affect spells?

Why Were Madagascar and New Zealand Discovered So Late?

How to safely derail a train during transit?

Why doesn't table tennis float on the surface? How do we calculate buoyancy here?

What is the best translation for "slot" in the context of multiplayer video games?

What does "I’d sit this one out, Cap," imply or mean in the context?

How to check is there any negative term in a large list?

What does "Allow AS in" do in BGP?

How do I go from 300 unfinished/half written blog posts, to published posts?

Why escape if the_content isnt?

How does Loki do this?

Failed to fetch jessie backports repository

How can I quit an app using Terminal?

Large drywall patch supports

Is there a good way to store credentials outside of a password manager?

Why are there no referendums in the US?

Is oxalic acid dihydrate considered a primary acid standard in analytical chemistry?



Creating two special characters


Special characters in KileHandling of special LaTeX characters in textSpecial charactersSpecial characters in input fileSpecial characters in graphics filenamesUse ONLY two Chinese charactersIgnoring LATEX special charactersSpecial characters using XeLatex (š,č,ž)Remove special charactersTwo special characters













4















In a paper I'm writing, there are words using the alphabet $sf D,R$. It will be very convenient to add ornated versions as in the picture below, but I have no idea how to create something that is scalable and can be used in text (as opposed to being an included image); hence, no included code.



The little circles can be bullets, and are about flush with the top/bottom of their respective letters, and could be larger than shown.
enter image description here










share|improve this question






















  • The command sf has been deprecated for more than 20 years. Use mathsfR.

    – egreg
    Mar 21 at 22:11















4















In a paper I'm writing, there are words using the alphabet $sf D,R$. It will be very convenient to add ornated versions as in the picture below, but I have no idea how to create something that is scalable and can be used in text (as opposed to being an included image); hence, no included code.



The little circles can be bullets, and are about flush with the top/bottom of their respective letters, and could be larger than shown.
enter image description here










share|improve this question






















  • The command sf has been deprecated for more than 20 years. Use mathsfR.

    – egreg
    Mar 21 at 22:11













4












4








4








In a paper I'm writing, there are words using the alphabet $sf D,R$. It will be very convenient to add ornated versions as in the picture below, but I have no idea how to create something that is scalable and can be used in text (as opposed to being an included image); hence, no included code.



The little circles can be bullets, and are about flush with the top/bottom of their respective letters, and could be larger than shown.
enter image description here










share|improve this question














In a paper I'm writing, there are words using the alphabet $sf D,R$. It will be very convenient to add ornated versions as in the picture below, but I have no idea how to create something that is scalable and can be used in text (as opposed to being an included image); hence, no included code.



The little circles can be bullets, and are about flush with the top/bottom of their respective letters, and could be larger than shown.
enter image description here







symbols characters






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 21 at 17:59









yrodroyrodro

243138




243138












  • The command sf has been deprecated for more than 20 years. Use mathsfR.

    – egreg
    Mar 21 at 22:11

















  • The command sf has been deprecated for more than 20 years. Use mathsfR.

    – egreg
    Mar 21 at 22:11
















The command sf has been deprecated for more than 20 years. Use mathsfR.

– egreg
Mar 21 at 22:11





The command sf has been deprecated for more than 20 years. Use mathsfR.

– egreg
Mar 21 at 22:11










4 Answers
4






active

oldest

votes


















5














documentclassarticle
usepackagestackengine
newcommanddotRstackinsetr-.11emb.textsfRkern0.075em
newcommanddotDkern.06emstackinsetl-0.06emt.textsfD
begindocument
dotRdotD LargedotRdotD
enddocument


enter image description here



I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,



documentclassarticle
usepackagestackengine
newcommanddotRstackinsetr-.11emb.textsfR
newcommanddotDstackinsetl-0.06emt.textsfD
begindocument
dotRdotD LargedotRdotD

sffamily RDLarge RD
enddocument


enter image description here






share|improve this answer
































    4














    You can always patch things together.



    documentclassarticle
    newcommandOrnatedDraisebox1.35ex.hspace*-0.22emtextsfD
    newcommandOrnatedRtextsfRhspace*-0.15em.
    begindocument
    OrnatedD~OrnatedR Large OrnatedD~OrnatedR
    enddocument


    enter image description here






    share|improve this answer






























      4














      Here is an option using ooalign.



      enter image description here



      documentclassarticle
      usepackagegraphicx
      newcommandRRooaligntextsfRkern.107emcrhfil.cr
      newcommandDDreflectboxrotatebox[origin=c]180ooalignkern.04emtextsfDcr.hfilcr

      begindocument
      RRDD LargeRRDD HugeRRDD
      enddocument





      share|improve this answer

























      • Not sure what's the point about ooalign. Anyway, you've better add a pair of braces around the code for RR.

        – egreg
        Mar 21 at 21:34












      • Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoid ooalign? Or just no compelling reason to use it in this case?

        – Sandy G
        Mar 21 at 21:42


















      4














      I prefer letting TeX doing the calculations. ;-) Just the kerning needs optical adjustment.



      documentclassarticle
      usepackagegraphicx

      % a general purpose macro
      newcommandxmathpalette[2]mathchoice
      #1displaystyletextfont#2%
      #1textstyletextfont#2%
      #1scriptstylescriptfont#2%
      #1scriptscriptstylescriptscriptfont#2%

      makeatletter
      newcommandRomathsfRmkern-1.7muxmathpaletteR@orelax
      newcommandDomathsfxmathpaletteD@orelaxmkern-2.7mu D

      newcommandR@o[3]%
      scalebox0.3%
      raiseboxdimexprheight-2fontdimen22#22%
      $m@th#1bullet$%
      %
      %

      newcommandD@o[3]%
      raiseboxfontcharht#2fam`D%
      scalebox0.3%
      raisebox-height$m@th#1bullet$%
      %
      %

      makeatother

      begindocument

      $Ro+Do_Ro+Do$

      Large $Ro$ $Do$

      enddocument


      enter image description here






      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%2f480737%2fcreating-two-special-characters%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5














        documentclassarticle
        usepackagestackengine
        newcommanddotRstackinsetr-.11emb.textsfRkern0.075em
        newcommanddotDkern.06emstackinsetl-0.06emt.textsfD
        begindocument
        dotRdotD LargedotRdotD
        enddocument


        enter image description here



        I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,



        documentclassarticle
        usepackagestackengine
        newcommanddotRstackinsetr-.11emb.textsfR
        newcommanddotDstackinsetl-0.06emt.textsfD
        begindocument
        dotRdotD LargedotRdotD

        sffamily RDLarge RD
        enddocument


        enter image description here






        share|improve this answer





























          5














          documentclassarticle
          usepackagestackengine
          newcommanddotRstackinsetr-.11emb.textsfRkern0.075em
          newcommanddotDkern.06emstackinsetl-0.06emt.textsfD
          begindocument
          dotRdotD LargedotRdotD
          enddocument


          enter image description here



          I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,



          documentclassarticle
          usepackagestackengine
          newcommanddotRstackinsetr-.11emb.textsfR
          newcommanddotDstackinsetl-0.06emt.textsfD
          begindocument
          dotRdotD LargedotRdotD

          sffamily RDLarge RD
          enddocument


          enter image description here






          share|improve this answer



























            5












            5








            5







            documentclassarticle
            usepackagestackengine
            newcommanddotRstackinsetr-.11emb.textsfRkern0.075em
            newcommanddotDkern.06emstackinsetl-0.06emt.textsfD
            begindocument
            dotRdotD LargedotRdotD
            enddocument


            enter image description here



            I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,



            documentclassarticle
            usepackagestackengine
            newcommanddotRstackinsetr-.11emb.textsfR
            newcommanddotDstackinsetl-0.06emt.textsfD
            begindocument
            dotRdotD LargedotRdotD

            sffamily RDLarge RD
            enddocument


            enter image description here






            share|improve this answer















            documentclassarticle
            usepackagestackengine
            newcommanddotRstackinsetr-.11emb.textsfRkern0.075em
            newcommanddotDkern.06emstackinsetl-0.06emt.textsfD
            begindocument
            dotRdotD LargedotRdotD
            enddocument


            enter image description here



            I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,



            documentclassarticle
            usepackagestackengine
            newcommanddotRstackinsetr-.11emb.textsfR
            newcommanddotDstackinsetl-0.06emt.textsfD
            begindocument
            dotRdotD LargedotRdotD

            sffamily RDLarge RD
            enddocument


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 21 at 18:57

























            answered Mar 21 at 18:12









            Steven B. SegletesSteven B. Segletes

            159k9204413




            159k9204413





















                4














                You can always patch things together.



                documentclassarticle
                newcommandOrnatedDraisebox1.35ex.hspace*-0.22emtextsfD
                newcommandOrnatedRtextsfRhspace*-0.15em.
                begindocument
                OrnatedD~OrnatedR Large OrnatedD~OrnatedR
                enddocument


                enter image description here






                share|improve this answer



























                  4














                  You can always patch things together.



                  documentclassarticle
                  newcommandOrnatedDraisebox1.35ex.hspace*-0.22emtextsfD
                  newcommandOrnatedRtextsfRhspace*-0.15em.
                  begindocument
                  OrnatedD~OrnatedR Large OrnatedD~OrnatedR
                  enddocument


                  enter image description here






                  share|improve this answer

























                    4












                    4








                    4







                    You can always patch things together.



                    documentclassarticle
                    newcommandOrnatedDraisebox1.35ex.hspace*-0.22emtextsfD
                    newcommandOrnatedRtextsfRhspace*-0.15em.
                    begindocument
                    OrnatedD~OrnatedR Large OrnatedD~OrnatedR
                    enddocument


                    enter image description here






                    share|improve this answer













                    You can always patch things together.



                    documentclassarticle
                    newcommandOrnatedDraisebox1.35ex.hspace*-0.22emtextsfD
                    newcommandOrnatedRtextsfRhspace*-0.15em.
                    begindocument
                    OrnatedD~OrnatedR Large OrnatedD~OrnatedR
                    enddocument


                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 21 at 18:09









                    marmotmarmot

                    112k5143268




                    112k5143268





















                        4














                        Here is an option using ooalign.



                        enter image description here



                        documentclassarticle
                        usepackagegraphicx
                        newcommandRRooaligntextsfRkern.107emcrhfil.cr
                        newcommandDDreflectboxrotatebox[origin=c]180ooalignkern.04emtextsfDcr.hfilcr

                        begindocument
                        RRDD LargeRRDD HugeRRDD
                        enddocument





                        share|improve this answer

























                        • Not sure what's the point about ooalign. Anyway, you've better add a pair of braces around the code for RR.

                          – egreg
                          Mar 21 at 21:34












                        • Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoid ooalign? Or just no compelling reason to use it in this case?

                          – Sandy G
                          Mar 21 at 21:42















                        4














                        Here is an option using ooalign.



                        enter image description here



                        documentclassarticle
                        usepackagegraphicx
                        newcommandRRooaligntextsfRkern.107emcrhfil.cr
                        newcommandDDreflectboxrotatebox[origin=c]180ooalignkern.04emtextsfDcr.hfilcr

                        begindocument
                        RRDD LargeRRDD HugeRRDD
                        enddocument





                        share|improve this answer

























                        • Not sure what's the point about ooalign. Anyway, you've better add a pair of braces around the code for RR.

                          – egreg
                          Mar 21 at 21:34












                        • Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoid ooalign? Or just no compelling reason to use it in this case?

                          – Sandy G
                          Mar 21 at 21:42













                        4












                        4








                        4







                        Here is an option using ooalign.



                        enter image description here



                        documentclassarticle
                        usepackagegraphicx
                        newcommandRRooaligntextsfRkern.107emcrhfil.cr
                        newcommandDDreflectboxrotatebox[origin=c]180ooalignkern.04emtextsfDcr.hfilcr

                        begindocument
                        RRDD LargeRRDD HugeRRDD
                        enddocument





                        share|improve this answer















                        Here is an option using ooalign.



                        enter image description here



                        documentclassarticle
                        usepackagegraphicx
                        newcommandRRooaligntextsfRkern.107emcrhfil.cr
                        newcommandDDreflectboxrotatebox[origin=c]180ooalignkern.04emtextsfDcr.hfilcr

                        begindocument
                        RRDD LargeRRDD HugeRRDD
                        enddocument






                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Mar 21 at 21:35

























                        answered Mar 21 at 19:20









                        Sandy GSandy G

                        4,2751635




                        4,2751635












                        • Not sure what's the point about ooalign. Anyway, you've better add a pair of braces around the code for RR.

                          – egreg
                          Mar 21 at 21:34












                        • Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoid ooalign? Or just no compelling reason to use it in this case?

                          – Sandy G
                          Mar 21 at 21:42

















                        • Not sure what's the point about ooalign. Anyway, you've better add a pair of braces around the code for RR.

                          – egreg
                          Mar 21 at 21:34












                        • Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoid ooalign? Or just no compelling reason to use it in this case?

                          – Sandy G
                          Mar 21 at 21:42
















                        Not sure what's the point about ooalign. Anyway, you've better add a pair of braces around the code for RR.

                        – egreg
                        Mar 21 at 21:34






                        Not sure what's the point about ooalign. Anyway, you've better add a pair of braces around the code for RR.

                        – egreg
                        Mar 21 at 21:34














                        Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoid ooalign? Or just no compelling reason to use it in this case?

                        – Sandy G
                        Mar 21 at 21:42





                        Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoid ooalign? Or just no compelling reason to use it in this case?

                        – Sandy G
                        Mar 21 at 21:42











                        4














                        I prefer letting TeX doing the calculations. ;-) Just the kerning needs optical adjustment.



                        documentclassarticle
                        usepackagegraphicx

                        % a general purpose macro
                        newcommandxmathpalette[2]mathchoice
                        #1displaystyletextfont#2%
                        #1textstyletextfont#2%
                        #1scriptstylescriptfont#2%
                        #1scriptscriptstylescriptscriptfont#2%

                        makeatletter
                        newcommandRomathsfRmkern-1.7muxmathpaletteR@orelax
                        newcommandDomathsfxmathpaletteD@orelaxmkern-2.7mu D

                        newcommandR@o[3]%
                        scalebox0.3%
                        raiseboxdimexprheight-2fontdimen22#22%
                        $m@th#1bullet$%
                        %
                        %

                        newcommandD@o[3]%
                        raiseboxfontcharht#2fam`D%
                        scalebox0.3%
                        raisebox-height$m@th#1bullet$%
                        %
                        %

                        makeatother

                        begindocument

                        $Ro+Do_Ro+Do$

                        Large $Ro$ $Do$

                        enddocument


                        enter image description here






                        share|improve this answer



























                          4














                          I prefer letting TeX doing the calculations. ;-) Just the kerning needs optical adjustment.



                          documentclassarticle
                          usepackagegraphicx

                          % a general purpose macro
                          newcommandxmathpalette[2]mathchoice
                          #1displaystyletextfont#2%
                          #1textstyletextfont#2%
                          #1scriptstylescriptfont#2%
                          #1scriptscriptstylescriptscriptfont#2%

                          makeatletter
                          newcommandRomathsfRmkern-1.7muxmathpaletteR@orelax
                          newcommandDomathsfxmathpaletteD@orelaxmkern-2.7mu D

                          newcommandR@o[3]%
                          scalebox0.3%
                          raiseboxdimexprheight-2fontdimen22#22%
                          $m@th#1bullet$%
                          %
                          %

                          newcommandD@o[3]%
                          raiseboxfontcharht#2fam`D%
                          scalebox0.3%
                          raisebox-height$m@th#1bullet$%
                          %
                          %

                          makeatother

                          begindocument

                          $Ro+Do_Ro+Do$

                          Large $Ro$ $Do$

                          enddocument


                          enter image description here






                          share|improve this answer

























                            4












                            4








                            4







                            I prefer letting TeX doing the calculations. ;-) Just the kerning needs optical adjustment.



                            documentclassarticle
                            usepackagegraphicx

                            % a general purpose macro
                            newcommandxmathpalette[2]mathchoice
                            #1displaystyletextfont#2%
                            #1textstyletextfont#2%
                            #1scriptstylescriptfont#2%
                            #1scriptscriptstylescriptscriptfont#2%

                            makeatletter
                            newcommandRomathsfRmkern-1.7muxmathpaletteR@orelax
                            newcommandDomathsfxmathpaletteD@orelaxmkern-2.7mu D

                            newcommandR@o[3]%
                            scalebox0.3%
                            raiseboxdimexprheight-2fontdimen22#22%
                            $m@th#1bullet$%
                            %
                            %

                            newcommandD@o[3]%
                            raiseboxfontcharht#2fam`D%
                            scalebox0.3%
                            raisebox-height$m@th#1bullet$%
                            %
                            %

                            makeatother

                            begindocument

                            $Ro+Do_Ro+Do$

                            Large $Ro$ $Do$

                            enddocument


                            enter image description here






                            share|improve this answer













                            I prefer letting TeX doing the calculations. ;-) Just the kerning needs optical adjustment.



                            documentclassarticle
                            usepackagegraphicx

                            % a general purpose macro
                            newcommandxmathpalette[2]mathchoice
                            #1displaystyletextfont#2%
                            #1textstyletextfont#2%
                            #1scriptstylescriptfont#2%
                            #1scriptscriptstylescriptscriptfont#2%

                            makeatletter
                            newcommandRomathsfRmkern-1.7muxmathpaletteR@orelax
                            newcommandDomathsfxmathpaletteD@orelaxmkern-2.7mu D

                            newcommandR@o[3]%
                            scalebox0.3%
                            raiseboxdimexprheight-2fontdimen22#22%
                            $m@th#1bullet$%
                            %
                            %

                            newcommandD@o[3]%
                            raiseboxfontcharht#2fam`D%
                            scalebox0.3%
                            raisebox-height$m@th#1bullet$%
                            %
                            %

                            makeatother

                            begindocument

                            $Ro+Do_Ro+Do$

                            Large $Ro$ $Do$

                            enddocument


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Mar 21 at 22:11









                            egregegreg

                            729k8819273240




                            729k8819273240



























                                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%2f480737%2fcreating-two-special-characters%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

                                Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

                                Luettelo Yhdysvaltain laivaston lentotukialuksista Lähteet | Navigointivalikko

                                Gary (muusikko) Sisällysluettelo Historia | Rockin' High | Lähteet | Aiheesta muualla | NavigointivalikkoInfobox OKTuomas "Gary" Keskinen Ancaran kitaristiksiProjekti Rockin' High