Both, the SI-Brochure nr. 8 (section 1.3, p. 105) and DIN EN ISO 80000-1:2012-10 (chapter 5, p. 19) use upright capital and sans-serif letters for this.
Quantity symbols are always written in an italic font, and symbols for
dimensions in sans-serif roman capitals - SI-Brochure
Therefore you should write dimensions of quantities like this:
% arara: lualatex
\documentclass{article}
\usepackage{mathtools}
\usepackage[%
,math-style=ISO
,bold-style=ISO
,sans-style=italic
]{unicode-math}
\begin{document}
\[\dim Q = \mathsfup{L}^\alpha \mathsfup{M}^\beta \mathsfup{T}^\gamma \mathsfup{I}^\delta \mathup{\Theta}^\varepsilon \mathsfup{N}^\zeta \mathsfup{J}^\eta\]
\end{document}
This yields:

Unfortunately, there is no sans-serif font for medium-weight Greek letters in the range of uni-code characters. But if you normally use italic capital Greeks in your document (math-style=ISO
), it will be distinguishable.
Three other remarks on your OP:
- Your two examples for
$\mathit{LT}$
and $\mathit{L}\mathit{T}$
should (and do) look the same.
- The default math font normally yields the same as
\mathit{...}
.
- Before I edited your question, you wrote: "[F]=MLT^{-2}". Please note that
[Q]
means "the unit of Q". {Q}
would signify "the value of Q" and for your case, it should be dim Q
. $Q = \{Q\}\cdot[Q] \wedge \dim Q = \mathsfup{L}^\alpha \dots$
.

M
,L
andT
are variables, treat them just like you wouldm
anda
; as-is.M
,L
,T
in physics have to be typeset in upright shape. So you'd better use\mathrm
for them.\mathit
is more or less the same font used by default in math mode. See this thread for more details: \mathit spacing with \mathnormal fontsiunitx
package?