Closed XiangyunHuang closed 3 years ago
https://github.com/anoopkcn/lazylatex/blob/master/lazylatex.sty
% Admonitions \newtcolorbox{note}[1][\textbf{!} Note]{ boxrule=0pt, width=\textwidth, colback=colNoticeBody, colbacktitle=colNoticeHead, outer arc=0pt, arc=0pt, left=10pt, right=10pt, top=10pt, bottom=10pt, toptitle=3pt, bottomtitle=3pt, fonttitle=\sffamily\large, title={#1}, } \newtcolorbox{warning}[1][\textbf{!} Warning]{ boxrule=0pt, width=\textwidth, colback=colWarningBody, colbacktitle=colWarningHead, outer arc=0pt, arc=0pt, left=10pt, right=10pt, top=10pt, bottom=10pt, toptitle=3pt, bottomtitle=3pt, fonttitle=\sffamily\large, title={#1} } \newtcolorbox{error}[1][\textbf{!} Error]{ boxrule=0pt, width=\textwidth, colback=colErrorBody, colbacktitle=colErrorHead, outer arc=0pt, arc=0pt, left=10pt, right=10pt, top=10pt, bottom=10pt, toptitle=3pt, bottomtitle=3pt, fonttitle=\sffamily\large, title={#1} }
参考
https://github.com/XiangyunHuang/ElegantBookdown/blob/master/preamble.tex
crop宏包的用法
激光排照,打印输出
https://subaochen.github.io/ 宿宝臣的博客
https://github.com/anoopkcn/lazylatex/blob/master/lazylatex.sty
参考
https://github.com/XiangyunHuang/ElegantBookdown/blob/master/preamble.tex