How to Use the Latex \bm for Math Symbols in ylabel?
    20 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
Say we want to display x as a bold italics math symbol in ylabel. Is this possible?
0 commentaires
Réponse acceptée
  dpb
      
      
 le 25 Nov 2021
        Can do in regular text as
ylabel('$$\textit{\textbf{X}}$$','Interpreter','latex')
I don't think anybody has ever figured out how to use other packages with the TMW-implemented LaTeX in MATLAB for the math part...
1 commentaire
  dpb
      
      
 le 26 Nov 2021
				Further experimentation shows that
ylabel("$$X(\omega) = \sum_{n=-\infty}^{\infty} x[n] e^{-j\omega n}$$","Interpreter","latex")
is rendered correctly so at least some of the math expressions are available.
But, while it does not error,
ylabel("$$\boldmath{X}$$",'Interpreter','latex')
has no discernible effect on the output
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Labels and Annotations dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

