答案1
\documentclass{article}
\usepackage{stackengine}
\newcommand\dotR{\stackinset{r}{-.11em}{b}{}{.}{\textsf{R}}\kern0.075em}
\newcommand\dotD{\kern.06em\stackinset{l}{-0.06em}{t}{}{.}{\textsf{D}}}
\begin{document}
\dotR\dotD {\Large\dotR\dotD}
\end{document}
我添加了字距调整以适应额外的宽度。但是,如果您更喜欢 R 和 D 的原始字距调整,
\documentclass{article}
\usepackage{stackengine}
\newcommand\dotR{\stackinset{r}{-.11em}{b}{}{.}{\textsf{R}}}
\newcommand\dotD{\stackinset{l}{-0.06em}{t}{}{.}{\textsf{D}}}
\begin{document}
\dotR\dotD {\Large\dotR\dotD}
\sffamily RD{\Large RD}
\end{document}
答案2
答案3
我更喜欢让 TeX 进行计算。;-)
只是字距调整需要视觉调整。
\documentclass{article}
\usepackage{graphicx}
% a general purpose macro
\newcommand{\xmathpalette}[2]{\mathchoice
{#1\displaystyle\textfont{#2}}%
{#1\textstyle\textfont{#2}}%
{#1\scriptstyle\scriptfont{#2}}%
{#1\scriptscriptstyle\scriptscriptfont{#2}}%
}
\makeatletter
\newcommand{\Ro}{\mathsf{R}\mkern-1.7mu{\xmathpalette\R@o\relax}}
\newcommand{\Do}{\mathsf{\xmathpalette\D@o\relax\mkern-2.7mu D}}
\newcommand{\R@o}[3]{%
\scalebox{0.3}{%
\raisebox{\dimexpr\height-2\fontdimen22#22}{%
$\m@th#1\bullet$%
}%
}%
}
\newcommand{\D@o}[3]{%
\raisebox{\fontcharht#2\fam`D}{%
\scalebox{0.3}{%
\raisebox{-\height}{$\m@th#1\bullet$}%
}%
}%
}
\makeatother
\begin{document}
$\Ro+\Do_{\Ro+\Do}$
{\Large $\Ro$ $\Do$}
\end{document}