我需要符号<<<
(左旋转)。现在从 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}