如何垂直居中 \textbf{.}?

如何垂直居中 \textbf{.}?

這個 MWE 很接近但不準確:

\documentclass{article}
\begin{document}
$\cdot$\raisebox{2pt}{\textbf{.}}$\cdot$
\end{document}

答案1

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\cdot\vcenter{\hbox{\textbf{.}}}\cdot$ but what is that good for, or why is it
better than \verb|\boldsymbol|: $\cdot\boldsymbol{\cdot}\cdot$
\end{document}

在此輸入影像描述

答案2

只是一個拼湊,但這有效

\documentclass{article}
\begin{document}
 \phantom{x}
 \vfill
$\cdot$\raisebox{2pt}{\textbf{.}}$\cdot$
\vfill
 \phantom{x}
\end{document}

若要獲得準確的頁面中心副文字空間,您必須調整邊距、頁尾和頁首大小。

相關內容