Creating two special charactersSpecial characters in KileHandling of special LaTeX characters in textSpecial...
Does grappling negate Mirror Image?
A variation to the phrase "hanging over my shoulders"
Why is the Sun approximated as a black body at ~ 5800 K?
How much theory knowledge is actually used while playing?
Change the color of a single dot in `ddot` symbol
What do you call a word that can be spelled forward or backward forming two different words
Does Doodling or Improvising on the Piano Have Any Benefits?
What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?
The Digit Triangles
How to draw a matrix with arrows in limited space
What fields between the rationals and the reals allow a good notion of 2D distance?
Creating two special characters
C++ copy constructor called at return
Which was the first story featuring espers?
Unable to get dependencies from jcenter with a new project
Mimic lecturing on blackboard, facing audience
How can I write humor as character trait?
How can ping know if my host is down
Quoting Keynes in a lecture
In a multiple cat home, how many litter boxes should you have?
Stack Interview Code methods made from class Node and Smart Pointers
How to preserve electronics (computers, iPads and phones) for hundreds of years
15% tax on $7.5k earnings. Is that right?
What (the heck) is a Super Worm Equinox Moon?
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
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.

symbols characters
add a comment |
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.

symbols characters
add a comment |
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.

symbols characters
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.

symbols characters
symbols characters
asked 4 hours ago
yrodroyrodro
238138
238138
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}kern0.075em}
newcommanddotD{kern.06emstackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
end{document}

I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}}
newcommanddotD{stackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
sffamily RD{Large RD}
end{document}

add a comment |
You can always patch things together.
documentclass{article}
newcommand{OrnatedD}{raisebox{1.35ex}{.}hspace*{-0.22em}textsf{D}}
newcommand{OrnatedR}{textsf{R}hspace*{-0.15em}.}
begin{document}
OrnatedD~OrnatedR {Large OrnatedD~OrnatedR}
end{document}

add a comment |
Here is an option using ooalign.

documentclass{article}
usepackage{graphicx}
newcommandRR{{ooalign{textsf{R}kern.107emcrhfil.cr}}}
newcommandDD{reflectbox{rotatebox[origin=c]{180}{ooalign{kern.04emtextsf{D}cr.hfilcr}}}}
begin{document}
RRDD {LargeRRDD} {HugeRRDD}
end{document}
Not sure what's the point aboutooalign. Anyway, you've better add a pair of braces around the code forRR.
– egreg
27 mins ago
Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoidooalign? Or just no compelling reason to use it in this case?
– Sandy G
19 mins ago
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}kern0.075em}
newcommanddotD{kern.06emstackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
end{document}

I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}}
newcommanddotD{stackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
sffamily RD{Large RD}
end{document}

add a comment |
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}kern0.075em}
newcommanddotD{kern.06emstackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
end{document}

I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}}
newcommanddotD{stackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
sffamily RD{Large RD}
end{document}

add a comment |
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}kern0.075em}
newcommanddotD{kern.06emstackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
end{document}

I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}}
newcommanddotD{stackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
sffamily RD{Large RD}
end{document}

documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}kern0.075em}
newcommanddotD{kern.06emstackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
end{document}

I added kerning to account for the extra width. However, if you prefer the original kerning of R and D,
documentclass{article}
usepackage{stackengine}
newcommanddotR{stackinset{r}{-.11em}{b}{}{.}{textsf{R}}}
newcommanddotD{stackinset{l}{-0.06em}{t}{}{.}{textsf{D}}}
begin{document}
dotRdotD {LargedotRdotD}
sffamily RD{Large RD}
end{document}

edited 3 hours ago
answered 3 hours ago
Steven B. SegletesSteven B. Segletes
159k9204411
159k9204411
add a comment |
add a comment |
You can always patch things together.
documentclass{article}
newcommand{OrnatedD}{raisebox{1.35ex}{.}hspace*{-0.22em}textsf{D}}
newcommand{OrnatedR}{textsf{R}hspace*{-0.15em}.}
begin{document}
OrnatedD~OrnatedR {Large OrnatedD~OrnatedR}
end{document}

add a comment |
You can always patch things together.
documentclass{article}
newcommand{OrnatedD}{raisebox{1.35ex}{.}hspace*{-0.22em}textsf{D}}
newcommand{OrnatedR}{textsf{R}hspace*{-0.15em}.}
begin{document}
OrnatedD~OrnatedR {Large OrnatedD~OrnatedR}
end{document}

add a comment |
You can always patch things together.
documentclass{article}
newcommand{OrnatedD}{raisebox{1.35ex}{.}hspace*{-0.22em}textsf{D}}
newcommand{OrnatedR}{textsf{R}hspace*{-0.15em}.}
begin{document}
OrnatedD~OrnatedR {Large OrnatedD~OrnatedR}
end{document}

You can always patch things together.
documentclass{article}
newcommand{OrnatedD}{raisebox{1.35ex}{.}hspace*{-0.22em}textsf{D}}
newcommand{OrnatedR}{textsf{R}hspace*{-0.15em}.}
begin{document}
OrnatedD~OrnatedR {Large OrnatedD~OrnatedR}
end{document}

answered 3 hours ago
marmotmarmot
110k5137256
110k5137256
add a comment |
add a comment |
Here is an option using ooalign.

documentclass{article}
usepackage{graphicx}
newcommandRR{{ooalign{textsf{R}kern.107emcrhfil.cr}}}
newcommandDD{reflectbox{rotatebox[origin=c]{180}{ooalign{kern.04emtextsf{D}cr.hfilcr}}}}
begin{document}
RRDD {LargeRRDD} {HugeRRDD}
end{document}
Not sure what's the point aboutooalign. Anyway, you've better add a pair of braces around the code forRR.
– egreg
27 mins ago
Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoidooalign? Or just no compelling reason to use it in this case?
– Sandy G
19 mins ago
add a comment |
Here is an option using ooalign.

documentclass{article}
usepackage{graphicx}
newcommandRR{{ooalign{textsf{R}kern.107emcrhfil.cr}}}
newcommandDD{reflectbox{rotatebox[origin=c]{180}{ooalign{kern.04emtextsf{D}cr.hfilcr}}}}
begin{document}
RRDD {LargeRRDD} {HugeRRDD}
end{document}
Not sure what's the point aboutooalign. Anyway, you've better add a pair of braces around the code forRR.
– egreg
27 mins ago
Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoidooalign? Or just no compelling reason to use it in this case?
– Sandy G
19 mins ago
add a comment |
Here is an option using ooalign.

documentclass{article}
usepackage{graphicx}
newcommandRR{{ooalign{textsf{R}kern.107emcrhfil.cr}}}
newcommandDD{reflectbox{rotatebox[origin=c]{180}{ooalign{kern.04emtextsf{D}cr.hfilcr}}}}
begin{document}
RRDD {LargeRRDD} {HugeRRDD}
end{document}
Here is an option using ooalign.

documentclass{article}
usepackage{graphicx}
newcommandRR{{ooalign{textsf{R}kern.107emcrhfil.cr}}}
newcommandDD{reflectbox{rotatebox[origin=c]{180}{ooalign{kern.04emtextsf{D}cr.hfilcr}}}}
begin{document}
RRDD {LargeRRDD} {HugeRRDD}
end{document}
edited 25 mins ago
answered 2 hours ago
Sandy GSandy G
3,7171428
3,7171428
Not sure what's the point aboutooalign. Anyway, you've better add a pair of braces around the code forRR.
– egreg
27 mins ago
Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoidooalign? Or just no compelling reason to use it in this case?
– Sandy G
19 mins ago
add a comment |
Not sure what's the point aboutooalign. Anyway, you've better add a pair of braces around the code forRR.
– egreg
27 mins ago
Thanks for the reminder @egreg. Just putting another option out there. @Steven already did it a more intuitive way. Is there a reason to avoidooalign? Or just no compelling reason to use it in this case?
– Sandy G
19 mins ago
Not sure what's the point about
ooalign. Anyway, you've better add a pair of braces around the code for RR.– egreg
27 mins ago
Not sure what's the point about
ooalign. Anyway, you've better add a pair of braces around the code for RR.– egreg
27 mins ago
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
19 mins ago
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
19 mins ago
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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