<div dir="ltr">Hi<br><br>Suppose you create a macro similar to \mytextbf, is there a way that you can check if the text inside \mytextbf will stay on one line or more than one (if the text inside \textbf statys on just one line do something , but if stays on more than one line do something else). I guess this is a bit tricky because:<br>
<br>1) you could have shorter or longer lines<br><br>2) you might start using \textbf at the middle or realy end of a specific line<br><br>So is this checking doable?<br><br>Thanks<br></div>