Re: [問題] 如何劃斜的箭號
對 TikZ 還沒有很熟,硬做了一個醜醜的(指語法)如下。
看起來的效果像是 http://www.scribd.com/doc/28688635/Test-3
不知道是不是要這個。
\documentclass{article}
\usepackage{tikz}
% Optional PGF libraries
\usepackage{pgflibraryarrows}
\usepackage{pgflibrarysnakes}
\begin{document}
\begin{tikzpicture}
\draw (0,3) node{$\displaystyle\frac{1}{1}$};
\draw (0,2) node{$\displaystyle\frac{1}{2}$};
\draw (0,1) node{$\displaystyle\frac{1}{3}$};
\draw (0,0) node{$\vdots$};
\draw (1,3) node{$\displaystyle\frac{1}{2}$};
\draw (1,2) node{$\displaystyle\frac{1}{3}$};
\draw (1,1) node{$\displaystyle\frac{1}{4}$};
\draw (1,0) node{$\vdots$};
\draw (2,3) node{$\displaystyle\frac{1}{3}$};
\draw (2,2) node{$\displaystyle\frac{1}{4}$};
\draw (2,1) node{$\displaystyle\frac{1}{5}$};
\draw (2,0) node{$\vdots$};
\draw (3,3) node{$\cdots$};
\draw (3,2) node{$\cdots$};
\draw (3,1) node{$\cdots$};
\draw (3,0) node{$\ddots$};
\draw[->, very thick] (0,3)+(-0.5,-0.5) -- ++(0.5,0.5);
\draw[->, very thick] (0,2)+(-0.5,-0.5) -- ++(1.5,1.5);
\draw[->, very thick] (0,1)+(-0.5,-0.5) -- ++(2.5,2.5);
\draw[->, very thick] (0,0)+(-0.5,-0.5) -- ++(3.5,3.5);
\end{tikzpicture}
\end{document}
※ 引述《rogerli (我不想當好人,但...)》之銘言:
: ※ 引述《bwolf1086 (藍狼)》之銘言:
: : 想打一個像
: : ↗ ↗ ↗ ↗
: : 1 1/2 1/3 ...
: : / / /
: : 1/2 1/3 1/4 ...
: : / / /
: : 1/3 1/4 1/5 ...
: : / /
: : .
: : .
: : .
: : 數條個從左下往右上通過每相同大小數字的箭號要怎麼畫?
: : 謝謝
: \documentclass{report}
: \usepackage{amssymb}
: \begin{document}
: \begin{tabular}{ccccccccc}
: & $\nearrow$ & &$\nearrow$ & &$\nearrow$&&$\nearrow$&$\nearrow$ \\
: 1 & & 1/2 & & 1/3 & &1/4& & $\cdots$ \\
: &$\diagup$ & &$\diagup$ & &$\diagup$& &$\diagup$& \\
: \end{tabular}
: \end{document}
: 表格大小等等自己再去調整吧。
: 去搜尋symbols-a4.pdf 這個檔案,特殊符號的問題大概都可以解決了。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 116.118.154.100
※ 編輯: weiye 來自: 116.118.154.100 (03/21 08:01)
※ 編輯: weiye 來自: 116.118.154.100 (03/21 08:03)
→
03/21 08:13, , 1F
03/21 08:13, 1F
推
03/21 23:18, , 2F
03/21 23:18, 2F
討論串 (同標題文章)