Forgot password?
 Create new account
View 996|Reply 8

不规则阴影怎么加?

[Copy link]

65

Threads

414

Posts

3556

Credits

Credits
3556

Show all posts

Tesla35 Posted at 2020-4-14 12:08:49 |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

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

kuing Posted at 2020-4-14 16:15:42
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

65

Threads

414

Posts

3556

Credits

Credits
3556

Show all posts

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

厉害

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

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

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

kuing Posted at 2023-7-30 14:56:18
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

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

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

701

Threads

110K

Posts

910K

Credits

Credits
94172
QQ

Show all posts

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

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-7-30 19:52:37
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 at 2023-7-30 20:21

手机版Mobile version|Leisure Math Forum

2025-4-20 22:04 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list