Graphics, Figures & TablesImages in a circle - TikZ

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jhapk
Posts: 81
Joined: Tue Apr 20, 2010 9:33 pm

Images in a circle - TikZ

Post by jhapk »

I have 8 rectangular photos. I want to arrange them in a circle facing radially outwards like in this photo
Image

replacing the hand prints with my photographs. Any smart codes to do that?

Recommended reading 2024:

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

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

mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

Images in a circle - TikZ

Post by mas »

You can use TikZ to get the job done easily using polar coordinates.

Code: Select all

\documentclass{standalone}
%
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
  
  \foreach \x in {0,60,...,300}
     \node at (\x:2.5) {%
        \includegraphics[scale=.2,angle=\x]{example-image-a}} ;
\end{tikzpicture}

\end{document}
The above code assumes that you want identical photos. If not, remove the foreach construct and use the nodes separately for each photo.
Attachments
test.png
test.png (11.72 KiB) Viewed 3782 times

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
Post Reply