![如何正确使用 \lll](https://linux22.com/image/283492/%E5%A6%82%E4%BD%95%E6%AD%A3%E7%A1%AE%E4%BD%BF%E7%94%A8%20%5Clll.png)
我需要符号<<<
(左旋转)。现在从 TexStudio 帮助中,我发现它是\lll
。但是当我使用它时,我收到错误Undefined control sequence ... \lll
。如何修复它?
答案1
只是为了好玩,一个穷人对\lll
和的解决方案\ggg
:
\documentclass{article}
\usepackage{amssymb}
\makeatletter
\newcommand*{\pmlll}{%
\mathrel{%
\mathpalette\@lllggg<%
}%
}
\newcommand*{\pmggg}{%
\mathrel{%
\mathpalette\@lllggg>%
}%
}
\newcommand*{\@lllggg}[2]{%
% #1: math style
% #2: symbol
\sbox0{$\m@th#1#2$}%
\copy0 %
\kern-.6\wd0 %
\copy0 %
\kern-.6\wd0 %
\copy0 %
}
\makeatother
\begin{document}
\[ a \lll b \ggg c ^{d \lll e \ggg f} \]
\[ a \pmlll b \pmggg c ^{d \pmlll e \pmggg f} \]
\end{document}