General ⇒ color oval
color oval
does anyone know how to create colored ovals like color boxes (color box)? I need an oval filled with black color.
Thanks, Chris
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
color oval
one small example creating an filled oval box with TikZ:
Code: Select all
\documentclass[a4paper,10pt]{book}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\path[draw,rounded corners=15pt,fill=black] rectangle (8cm,30pt);
\end{tikzpicture}
\end{document}