盒子幻影:\phantom{参数}
代码示例:
% !TEX program = xelatex
\documentclass{article}
\begin{document}
参数的大小决定了幻影的大小\phantom{参数}参数的大小决定了幻影的大小\\
八八八八八八八八八八八八八八八八八八八八八八八八八八八八\\
\end{document}
编译结果:
同理还有
水平幻影:\hphantom{参数}
垂直幻影:\vphantom{参数}
盒子幻影:\phantom{参数}
代码示例:
% !TEX program = xelatex
\documentclass{article}
\begin{document}
参数的大小决定了幻影的大小\phantom{参数}参数的大小决定了幻影的大小\\
八八八八八八八八八八八八八八八八八八八八八八八八八八八八\\
\end{document}
编译结果:
同理还有
水平幻影:\hphantom{参数}
垂直幻影:\vphantom{参数}