File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 164164\usepackage {listings }
165165% 复制代码时不复制行号
166166\usepackage {accsupp }
167- \newcommand {\emptyaccsupp }[1]{\BeginAccSupp {ActualText={}}#1\EndAccSupp {}}
167+ \newcommand {\emptyaccsupp }[1]{\BeginAccSupp {ActualText={}}#1\EndAccSupp {}}
168168\usepackage {tcolorbox }
169169 \tcbuselibrary {listings,skins,breakable,xparse}
170170
280280 listing options={style=latexcn}
281281}
282282
283- \NewTCBListing {codeshow}{ O{listing side text} }{
283+ \NewTCBListing {codeshow}{ ! O{listing side text} }{
284284 skin=bicolor,colback=gray!30!white,
285285 colbacklower=pink!50!yellow,colframe=cyan!75!black,
286- halign lower=center, valign lower=center,
286+ valign lower=center,
287287 left=6mm,righthand width=0.4\linewidth ,fontupper=\small ,
288288 % listing style
289289 listing options={style=latexcn},#1,
You can’t perform that action at this time.
0 commit comments