Add the following code at the beginning of the article
@H_502_10@ \newsaveBox\CBox\def\textBF#1{\sBox\CBox{#1}\resizeBox{\wd\CBox}{\ht\CBox}{\textbf{#1}}}
Then :
@H_502_10@\textBF{foobarbaz}
Example:
@H_502_10@\documentclass{article}\usepackage{graphicx}\newsaveBox\CBox\def\textBF#1{\sBox\CBox{#1}\resizeBox{\wd\CBox}{\ht\CBox}{\textbf{#1}}}\parindent=0pt\begin{document}foobarbaz y\textbf{foobarbaz} y\textBF{foobarbaz} y\end{document}
参考:
https://tex.stackexchange.com/questions/23678/textbftext-without-increasing-the-length-of-the-text
https://tex.stackexchange.com/questions/399859/fake-semibold-bold-without-increasing-the-length-of-the-text
总结以上是内存溢出为你收集整理的Latex 数字加粗后变宽 Latex bold without increasing the length of the text全部内容,希望文章能够帮你解决Latex 数字加粗后变宽 Latex bold without increasing the length of the text所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)