This is LaTeX code:

[latex]
tr[(\alpha*A+\beta*B)*X]
[/latex]