3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

TikZで角丸四角形で囲んだノードを書く

Last updated at Posted at 2014-01-05

TikZでnodeを使うときに四角形で囲むときは rectangle オプション(という表現かは知らないが)、
丸で囲むときは circle オプションを使う。

角丸四角形で囲みたいときはどうすればいいのかと検索していたら見つかったのでメモしておく。

サンプルコード:

\documentclass[a4j]{jsarticle}
\usepackage[dvipdfmx]{graphicx}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[draw,rectangle,rounded corners=3pt] {Foo};
\end{tikzpicture}
\end{document}
3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?