Forgot password?
 Create new account
View 90|Reply 2

i.upmath.me 页面裁剪

[Copy link]

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

hbghlyj Posted at 2022-9-4 19:27:29 |Read mode
  1. \documentclass{standalone}
  2. \usepackage{tikz}
  3. \begin{document}
  4. \begin{tikzpicture}
  5. \path(0,2)--(2,2);
  6. \draw(0,0)circle(1);
  7. \end{tikzpicture}
  8. \end{document}
Copy the Code
上述代码在TeX中,边框是(-1,-1)(2,2).
TeXLive.net
但是在i.upmath.me , 边框是 (-1,-1)(1,1)

i.upmath.me使用了外部程序处理pdf或svg的裁剪, 没有使用TeX指定的边框.

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

kuing Posted at 2022-9-4 21:04:52
\path 改成 \fill 好像可以

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2022-9-5 15:07:19
kuing 发表于 2022-9-4 14:04
\path 改成 \fill 好像可以
由此推断, 使用 \path 构建的路径不会输出到 pdf 中, 而 \fill 构建的路径会输出到 pdf 中. 而 i.upmath.me 使用了外部程序处理 pdf 的裁剪, 没有使用TeX指定的边框.

手机版Mobile version|Leisure Math Forum

2025-4-20 22:28 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list