Generalcolor oval

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tresfresh
Posts: 11
Joined: Wed Oct 08, 2008 2:37 pm

color oval

Post by tresfresh »

Hi all,
does anyone know how to create colored ovals like color boxes (color box)? I need an oval filled with black color.
Thanks, Chris

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

color oval

Post by gmedina »

Hi tresfresh,

the PGF/TikZ package could be an option. Refer to the pgfmanual for further information.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

color oval

Post by Stefan Kottwitz »

Hi Chris,

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}
Stefan
LaTeX.org admin
tresfresh
Posts: 11
Joined: Wed Oct 08, 2008 2:37 pm

Re: color oval

Post by tresfresh »

Great!
Thanks, guys
Post Reply