Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\background 结合 \put 无效 #53

Closed
xkwxdyy opened this issue Apr 24, 2024 · 2 comments
Closed

\background 结合 \put 无效 #53

xkwxdyy opened this issue Apr 24, 2024 · 2 comments

Comments

@xkwxdyy
Copy link
Contributor

xkwxdyy commented Apr 24, 2024

\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}
\usepackage{graphicx}

\begin{document}

\background+()[./logo]{
  \put(5cm, 5cm){\includegraphics[width = 5cm]{example-image.png}}
}

test

\newpage

test

\end{document}

发现没有显示图片。我看手册上是

还可以置为空,此时 ⟨content⟩ 中可以使用 \put 命令指定文字的位置,纸张左上角为原点;

请问我哪里使用有问题吗?

@Sophanatprime
Copy link
Owner

纸张左上角为原点,但 x 轴仍然向右为正方向,y 轴向上为正方向。(5cm,5cm) 在纸张外面。

@xkwxdyy
Copy link
Contributor Author

xkwxdyy commented Apr 24, 2024

了解了,感谢,我以为是 y 轴向下是正方向。

@xkwxdyy xkwxdyy closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants