答案1
像这样?(通过 的第一个参数调整“特殊上标”项的高度\raisebox
。)
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % that's the default nowadays
\usepackage[english]{babel} % локализация и переносы
\usepackage{mathtools} % for \mathrlap macro
\begin{document}
\[
\frac{4a + 8b\mathrlap{\raisebox{2.2ex}{$\backslash(2-6c)$}}}{2 + 6c}
\hphantom{\backslash(2-6c)}
= \frac{(4a + 8b) \cdot (2-6c)}{(2 + 6c) \cdot (2-6c)}
\]
\end{document}