Sophanatprime / cus

CusTeX
8 stars 4 forks source link

`\backgroundpicture` 的使用报错 #51

Closed xkwxdyy closed 1 week ago

xkwxdyy commented 1 week ago

MWE

\documentclass{ctexart}
\makeatletter
\@ifundefined{input@path}{\let\input@path\@empty}{}
\g@addto@macro\input@path{{./module}{./library}{./lt3ekeys}{./cus-doc}{./cus-doc-aux}}
\makeatother
\usepackage{cus}

\begin{document}

\backgroundpicture+*(cm)[./logo]{example-image.png}

test

\end{document}

xelatex 编译后报错:

Package keyval: ./logo undefined.

我看了一下手册

image

我的这个写法应该是符合手册的写法的。

xkwxdyy commented 1 week ago

只能加一个空选项才行 \backgroundpicture+*[](cm)[./logo]{example-image.png}

Sophanatprime commented 1 week ago

手册有误。

xkwxdyy commented 1 week ago

好的,了解了