Questions tagged [circles]

about the production of circles and circle-like shapes in LaTeX graphic processors.

Filter by
Sorted by
Tagged with
234
votes
14answers
166k views

Good way to make \textcircled numbers?

This question led to a new package: circledsteps I'm trying to make some good-looking numbers in a circle, using the simple command: \textcircled{1} However, the circle is misaligned vertically ...
102
votes
9answers
92k views

How to draw Venn diagrams (especially: complements) in LaTeX

What I am up to is to write some exercises dealing with logical formulas for my students, like: And the students should draw these formulas on Venn diagrams. At the end of the lesson, I really would ...
67
votes
2answers
6k views

Two-column text with circular insert

How does one write on the outside of a circle? I am looking for sample files/packages which imitate a magazine lay-out. Specifically a page with two columns having a circular picture between the two ...
45
votes
4answers
6k views

tikz: Distribute evenly and randomly circles

I want to fill a part of a picture with more or less evenly and randomly distributed circles which should not overlap. It would be okay if circles are only partly inside the shape. The density should ...
24
votes
3answers
2k views

How to generate n points on a circumference and connect all of them while having constraints on the image size?

I have to generate a circle that has n points on the circumference that have to be connected with all possible cords. I drew the required picture using Geogebra and tried exporting it as a normal png. ...
28
votes
3answers
3k views

Draw a progress circle around text

I would like to draw a circle with a border containing two colors. One color should be the base color and the second color should fill up the border up to a certain percentage. For now I am only ...
28
votes
2answers
15k views

Drawing a circle on a non xy-plane with TikZ

Say I'm drawing a 3D picture. Now I would like to draw a circle, perspectively correct, on the yz-plane, but TikZ does not seem to be capable of this. All one can do is drawing circles on the xy-plane....
15
votes
2answers
8k views

How do I place nodes around a circle in Tikz?

I'd like to place 17 evenly-spaced nodes around a circle. I am very new to Tikz and am following the Petri nets example in the manual. I would like to do something similar — essentially just ...
48
votes
4answers
6k views

How to create a Caesar's encryption disk using LaTeX

How can I create a Caesar's encryption disk with LaTeX? I guess, the ultimate solution would take a arbitrary list of letters and calculate the spaces and angles for each letter automatically. So if ...
52
votes
4answers
93k views

How to draw a solid colored circle?

I am working on some book writing. For that I need to draw circle filled with red color. I tried \circle but it generate black circle only. How can I fill it with color?
23
votes
3answers
12k views

TikZ - multi-color double circle node

How do I draw a node with a double circle shape where one circle has a different color than the other circle? A single \node[whatever] {content} would be nice!
20
votes
3answers
5k views

How to fine tune rotation of text along circular path?

After searching the web and finally coming from here (recreating a logo), I couldn't find an answer to what I am looking for. I want to rotate a text inside a circle and have a full control/fine ...
11
votes
2answers
1k views

How to generate n points over a circumference and choose label and color

I would like to place n points over a circumference like Figure 3 of this file. I'd choose the label to be assigned to each vertex and color and I'd like to have the code in TikZ-pgf.
7
votes
1answer
2k views

Circled inline numbers and letters

Based on Good way to make \textcircled numbers?, is there a simple way to make the circles look exactly the same for numbers and all letters (i.e. size and placement)? When one inserts an a in the ...
5
votes
1answer
1k views

Add colored circle around specific points in pgfplots

I wanted to add some transparent circles around specific points in my pgfplot like this: here is what I have so far: \documentclass{article} \usepackage{tikz,pgfplots} \pgfplotsset{compat=newest} \...
4
votes
1answer
695 views

Five percent circle with fuzzy edge using tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{lipsum} \...
12
votes
1answer
8k views

How do I draw a circle around a term in an align* equation?

Here's what my equation looks like; it's in an align* environment: I want to put a circle around $\varepsilon \frac{dL}{d\varepsilon}$ and everything else unchanged. Q: How do I draw a circle ...
18
votes
1answer
24k views

indexed letters inside circles

I'm currently using this code \raisebox{.5pt}{\textcircled{\raisebox{-.9pt} {f}}} to get I'm trying to index the function f inside the box, with say $f_{n}$ but \textcircled doesn't seem to like ...
10
votes
5answers
2k views

How to draw tangent to two touching circles and marking the points

This question may seem repetitive to many, but as I am very new to Latex, even after reading many posts, could not get to draw what I wanted, so asking. I want to draw as the following. I have ...
5
votes
1answer
562 views

how to make this circles?

I would like to make in LaTeX these circles. How can we add the words in them? The color for the big one?
7
votes
2answers
5k views

Draw 3D rectangle

I've been searching this for hours, but didn't find a reason for this behaviour: Here is my example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{3d} \begin{document} \begin{...
6
votes
1answer
4k views

Beamer: increase radius of circle in TOC and include subsection bullet

I am trying to increase the radius of the circle in the TOC of a beamer presentation and include a subsection bullet. The beamer manual states gives an example of \setbeamertemplate{some beamer ...
5
votes
2answers
181 views

How to circle together certain entries of a matrix?

I am looking for a way to circle together the red entries of the following matrix: $$ \begin{matrix} \textcolor{blue}{[0,1]} & \times & \textcolor{blue}{[0,1]} & \times & \...
3
votes
3answers
3k views

Venn diagram with customized colors in overlapping regions [duplicate]

I actually want to reproduce the following Venn diagram: For this, it is important that the central overlapping zone is yellow; it would be nice to reproduce the other overlapping colors too... This ...
6
votes
3answers
311 views

Drawing a circle with text

Hi I cannot figure out how to draw the following figure in LaTeX: Does anybody have any ideas? I managed to draw only this "sun grid": \documentclass[a4paper]{book} \usepackage{tikz} \begin{...
1
vote
5answers
309 views

Angle between two circles

I am trying to recreate this image in LaTeX: So far, I have the following: \documentclass[a4paper,12pt]{article} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture} \...
0
votes
2answers
427 views

Define a coordinate on a circle

I have the following piece of tikz code: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[>=latex] \draw (2,2) circle [radius=2pt]; \draw (3,3) circle [radius=2pt];...
11
votes
3answers
2k views

Hexagon with exscribed triangle

I am learning tikz now, it is painfully slow, but I am slowly learning. I am trying to reproduce the image below. Here is my code so far. This is basically a rip of from the pgf manual. \...
18
votes
3answers
2k views

How to improve the glowing effect in this figure using TikZ?

I want to improve the glowing effect in the MWE below. As shown in the output there is like a sharp transition between the white circle in the center and the surrounding halo, which does not give the ...
16
votes
3answers
2k views

Progressively filled circles

I'd like to implement icons like those in the figure below to denote, for instance, the level of satisfaction of a certain requirement. I didn't find such icons in any icon pack. I also tried \...
9
votes
1answer
6k views

How can I annotate a figure with lines and circled numbers

I want to replace static image annotations with annotations in LaTeX to have them be all the same size. I always use figures and sometimes subfigures. How would I get the same lines as in the image ...
11
votes
5answers
1k views

Trying to draw a circle with nodes

I am trying to draw the following image in Tikz But all I got is I am not able to make it into a perfect circle. The code is \documentclass[tikz,border=2mm]{standalone} \begin{document} \...
10
votes
2answers
4k views

Want to Draw circle with sector and segment

I am able to draw a simple circle. \documentclass{minimal} \usepackage{tikz} \usepgflibrary{shapes} \begin{document} \begin{tikzpicture} \draw (10,0) circle (3cm); \end{tikzpicture} \end{document} ...
7
votes
5answers
3k views

Tangents to a circle from a point outside of it (tikz)

I'm trying to plot in TikZ the two tangents to a fixed circle passing through a given point. In some details, given an arbitrary circle centered at C with with radius r, and a point P outside of the ...
5
votes
5answers
10k views

How to plot a simple circle in LaTeX

I want to plot one simple circle, but this code is giving me the most grief. Here is what I have written: \begin{figure} \centering \begin{tikzpicture} \pgfplotsset{ticks=none} \begin{axis}[ ...
3
votes
2answers
1k views

Circle two terms in an equation linking them by an arrow

I'd like to know if it's possible to do something like that in an equation using beamer
10
votes
1answer
1k views

How to make a command for a circled letter to work with all font sizes?

I introduced the following macros \newcommand{\malcev}{\mathop{\text{\textcircled{\scriptsize M}}}\nolimits} \newcommand{\imalcev}{\mathop{\text{\textcircled{\tiny M}}}\nolimits} The code \[ \...
9
votes
1answer
984 views

Circular sequence diagram (tikz?)

Apologies in advance for the slightly-crappy camera phone picture: I'd like to include some figures like this in something I'm working on. I've just started learning tikz, which seems like it could ...
8
votes
4answers
7k views

Circle Font Awesome Icons

I need to circle font awesome icons. Currently, this is how it looks. The code for this is: \usepackage{fontawesome} \begin{document} \faDesktop shubhamrathi.in \faEnvelope hello@shubhamrathi.in \...
7
votes
2answers
1k views

How to encircle a character inside a Latex formula?

I would like to encircle one character inside a LaTeX formula. An example is $f_1 = ...$ or $f_k = ...$, where I want to encircle the characters 1 and k. I've found some questions (question 1, ...
5
votes
1answer
3k views

TikZ: How to encapsulate shade in node?

I have this shaded circle: \shade [ball color=black!80!white] (0,0) circle (1); Is it possible to encapsulate it with node style and fixing the circle radius?
4
votes
2answers
2k views

position arc relative to circle [duplicate]

Possible Duplicate: Draw arc in tikz when center of circle is specified an very trivial question but I can't do it! Sorry but I find coordinates confusing. I would like to draw an arc around a ...
2
votes
2answers
2k views

How to draw points on a circle (chords) and connect them Like the following picture?

I want to draw circles like the above picture and I also want to draw mroe than two dots and more than two chords. Can someone provide me with one simple example for the circle with two dots and one ...
2
votes
1answer
6k views

Drawing a circle around text within itemize and enumerate on a beamer slide

I have the following code that defines a single frame of a beamer presentation: \begin{frame}{Focus on Merkel Cells} \begin{itemize} \item \textbf{1875}: Merkel cells discovered by Friedrich ...
9
votes
4answers
1k views

Color specific sections of three concentric circles

I'm trying to recreate the following image with TikZ: (Please ignore the sections in black, I just messed it up. Some are correct, others not. I'm looking for an generic answer for any case.) I've ...
7
votes
2answers
353 views

Remove intersect line for one circle using venndiagram2sets

Problem: I wish to remove the intersecting line for circle A (left). Minimal Working Example (MWE): \documentclass{article} \usepackage{tikz} \usetikzlibrary{backgrounds,positioning} \usepackage{...
7
votes
2answers
1k views

Split circle in tikz unevenly

How can split circle (tikz shape circle) in two parts. However, I would like the split to be uneven i.e. the top part occupy lets say 30% of the area and lower part the rest 70%. Thanks
4
votes
1answer
2k views

How to circle multiple cells? (special case)

I need to circle multiple cells, on different rows/columns. This is a problem which has been solved. However, I have a more particular case of the problem. I need to draw a circle that needs to ...
4
votes
1answer
184 views

How to encircle letters (a-z) with different circle and text colours without tikz?

I need to encircle letters. I am aware of \textcircled{$x$}. However I want to be able to fill the circle with a colour, and also change the colour of text. Specifically, I am looking for something ...
2
votes
2answers
1k views

How should I put a command in \circled?

I want to write a command, for example \pi or \rightarrow, inside a circle. I tried \circled{\pi} but this doesn't work. How do I do it?