Add the following code at the beginning of the article \newsavebox\CBox \def\textBF#1{\sbox\CBox{#1}\resizebox{\wd\CBox}{\ht\CBox}{\textbf{#1}}} Then : \textBF{foobarbaz} Example: \documentclass{article} \usepackage{graphicx} \newsavebox\CBox \def\te
/* Accessing the Text Attributes text property font property textColor property textAlignment property lineBreakMode property enabled property Sizing the Label’s Text adjustsFontSizeToFitWidth property baselineAdjustment property minimumFontS