Forgot password?
 Register account
View 1170|Reply 8

不规则阴影怎么加?

[Copy link]

67

Threads

407

Posts

3537

Credits

Credits
3537

Show all posts

Tesla35 Posted 2020-4-14 12:08 |Read mode
阴影.png
阴影2.png
  1. \begin{figure}[!ht]
  2.         \flushright
  3.         \begin{tikzpicture}[scale=0.8,>=latex']
  4.         \tikzstyle{every node}=[font=\small]
  5.        
  6.         \coordinate (A) at (0,4);
  7.         \coordinate (B) at (3,0);
  8.         \coordinate (C) at (0,0);
  9.         \coordinate (D) at (0,1);
  10.         \coordinate (E) at (1,0);
  11.         \coordinate (O) at (1,1);
  12.         \coordinate (P) at (0.8,2.4);
  13.        
  14.         \node[left]at(A){$A$};
  15.         \node[right]at(B){$B$};
  16.         \node[below left]at(C){$C$};
  17.         \node[left]at(D){$D$};
  18.         \node[below]at(E){$E$};
  19.         \node[left]at(P){$P$};
  20.         \draw(A)--(B)--(C)--(A);
  21.         \draw[->] (C)--(P);
  22.         \draw (O)circle (1);
  23.         \end{tikzpicture}
  24. \end{figure}
Copy the Code

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2020-4-14 16:15
easy执
  1. \begin{tikzpicture}[scale=0.8,>=latex']
  2.         \tikzstyle{every node}=[font=\small]
  3.        
  4.         \coordinate (A) at (0,4);
  5.         \coordinate (B) at (3,0);
  6.         \coordinate (C) at (0,0);
  7.         \coordinate (D) at (0,1);
  8.         \coordinate (E) at (1,0);
  9.         \coordinate (O) at (1,1);
  10.         \coordinate (P) at (0.8,2.4);
  11.         \filldraw[fill=gray!50,even odd rule]
  12.         (A)--(B)--(C)--cycle
  13.         (O)circle (1);
  14.         \draw[->] (C)--(P);
  15.         \node[left]at(A){$A$};
  16.         \node[right]at(B){$B$};
  17.         \node[below left]at(C){$C$};
  18.         \node[left]at(D){$D$};
  19.         \node[below]at(E){$E$};
  20.         \node[left]at(P){$P$};
  21. \end{tikzpicture}
Copy the Code

67

Threads

407

Posts

3537

Credits

Credits
3537

Show all posts

 Author| Tesla35 Posted 2020-4-22 14:33
回复 2# kuing

厉害

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-7-30 13:18
kuing 发表于 2020-4-14 16:15
easy执
\begin{tikzpicture}[scale=0.8,>=latex']
>=latex是默认箭头样式,但>=latex'是什么呢?

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2023-7-30 14:56
hbghlyj 发表于 2023-7-30 13:18
是默认箭头样式,但是什么呢?
查了一下,箭头样式 latex' 是旧版 tikz / pgf V2.10 时期的 arrows library 给出的。
后来虽然已经不推荐使用,但仍然兼容。

-latex 与 -latex' 的区别:


参见:tug.org/svn/texlive/trunk/Master/texmf-dist/d … on=20236&view=co(第 256 页)
(顺便问一下,是不是可以在链接后面加个 #XXX 使得点进去自动跳到相应页面?)

tikz / pgf 历史版本:
tug.org/svn/texlive/trunk/Master/texmf-dist/d … fmanual.pdf?view=log

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-7-30 15:59
kuing 发表于 2023-7-30 14:56
(顺便问一下,是不是可以在链接后面加个 #XXX 使得点进去自动跳到相应页面?)
可以加#subsection.23.2
tug.org/svn/texlive/trunk/Master/texmf-dist/d … w=co#subsection.23.2

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2023-7-30 16:14
hbghlyj 发表于 2023-7-30 15:59
可以加#subsection.23.2
https://tug.org/svn/texlive/trunk/Master/texmf-dist/doc/generic/pg ...
怎么知道可以加这个,从哪里可以查到?

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-7-30 19:52
kuing 发表于 2023-7-30 16:14
怎么知道可以加这个,从哪里可以查到?
没有找到好办法我是靠运气在Inspect PDF file翻到的subsection
Screenshot 2023-07-30 at 19-50-46 Inspect PDF file - Free online tool.png
同理可以猜到#page.256是到达第256页的
tug.org/svn/texlive/trunk/Master/texmf-dist/d … amp;view=co#page.256

Comment

圆奶乳齿  Posted 2023-7-30 20:21

Mobile version|Discuz Math Forum

2025-6-5 01:06 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit