-
Notifications
You must be signed in to change notification settings - Fork 34
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
毎回LaTeXの記法を忘れるのでメモ #13
Comments
状態遷移図を書くときは次のように \begin{center}
\begin{tikzpicture}
\node[state] (R) {R};
\node[state] (G) [below right=of R] {G};
\node[state] (B) [below left=of R] {B};
\path
(R)
edge node {0.2} (G)
edge [loop above] node {0.8} (R)
(G)
edge [loop right] node {0.9} (G)
edge node {0.1} (B)
(B)
edge [loop left] node {0.9} (B)
edge node {0.1} (R)
;
\node [right=1cm,text width=7cm] at (G)
{
\begin{itemize}
\item Rの直後には、RとGのどちらかが、それぞれ0.8と0.2の確率で光る。
\item Gの直後には、GとBのどちらかが、それぞれ0.9と0.1の確率で光る。
\item Bの直後には、BとRのどちらかが、それぞれ0.9と0.1の確率で光る。
\end{itemize}
};
\end{tikzpicture}
\end{center} |
tikzでノードが重ならないようにする工夫 \node[node, below right = 3cm and 2cm of s1] (s2) {$s_{2}$};
% \node[設定した任意の設定名, ラベルs1に対して下に3cm,右に2cmの位置] (ラベル) {円の中に書きたい文字列}; |
tableを手書きしなくて済むサイト |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
図形を差し込むとき
The text was updated successfully, but these errors were encountered: