리노와 함께 mathools
Sep 28 2020
다음 MWE
\documentclass{article}
\usepackage{lineno,lipsum}
\usepackage{mathtools} % commenting this resolves the issue
\linenumbers
\begin{document}
\lipsum[1]
\lipsum[2] \[A=B\]
\lipsum[3]
\end{document}
첫 번째와 세 번째 단락에는 줄 번호가 있지만 두 번째 단락에는 없습니다. 범인은 commad에 대한 mathtools의견을 usepackage말하면 문제가 해결 되기 때문인 것 같습니다 . 하지만 어떻게 lineno작업 할 수 mathtools있습니까?
PS : TeX Live 2020 사용
답변
1 daleif Sep 28 2020 at 20:51
실제로에 realyed되지 않은 문제가 mathtools전혀하지만 사실 mathtools로드 amsmath.
(또는 ) 이후lineno 에로드 되었는지 확인한 다음 작업이 다시 작동하는 것 같습니다. amsmathmathtools
참고 : Ulrike가 주석에서 언급했듯이 lineno마지막으로 로드 하면 특정 구성이 더 이상 견고하지 않도록 재정의됩니다. 이것이 문제인지 여부는 알기 어렵습니다.