Questions tagged [circles]
about the production of circles and circle-like shapes in LaTeX graphic processors.
302
questions
7
votes
3
answers
812
views
Draw a circle with all possible squares within it
How to draw a circle with radius r where you insert all possible squares of width s in it? Each square is allowed to cross the periphery at the corner/corners of the square if possible. The squares ...
2
votes
1
answer
74
views
How can I make circuitz around a circle
I wanted to reproduce this image
But I am having trouble doing the resistor in the circle configuration, here is what I have done so far:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{...
2
votes
2
answers
159
views
How do I make the top arc of this circle dashed?
I want to draw a circle in Latex and I have drawn what it should look like, except really I want the top half to be dashed. How can I do this?
\begin{adjustwidth*}{}{}
\begin{tikzpicture}[scale=5.3,...
2
votes
2
answers
215
views
How do I draw multiple circles without making them touch in forest?
How could I draw two circles in the following tree without making them touch?
I need one circle from State to AspP, and the other only around Mood and the lowest MoodP.
Here is the code for the ...
3
votes
2
answers
272
views
drawing a cut in a circle in latex
I want to draw the following diagram involving a cut in a circle. I don't know how to do it. I want to draw the following diagram.
MWE:
\documentclass{article}
\usepackage{tikz}
\begin{...
0
votes
1
answer
47
views
Uneven shape of circle
How I can draw this Venn diagram of circles:
For your information i have tried it so far:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}
...
1
vote
0
answers
44
views
Does anyone know how to write this symbol in latex [duplicate]
I can't figure out how to type this in latex. It's a I with a little circle on the middle.
2
votes
2
answers
52
views
Fill area of circle delimited by a segment
I want to fill the area delimited by the horizontal line and the bottom part of the circle blue. I followed the answers given in this post shade the segment of a circle but somehow my code fills ...
2
votes
2
answers
202
views
Fill in quarter-circle inside square using tikz
I have drawn a square below, and I have a quarter circle inside the square, how do I fill in the quarter circle?
\documentclass[margin=1cm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{...
0
votes
1
answer
119
views
Drawing a Partitioned a Set Tikz
This question has me stumped, and I was wondering if anyone has an elegant solution. How can I draw a partitioned set in LaTex using Tikz so that it looks similar to the following diagram? Thanks in ...
4
votes
3
answers
222
views
Given the diameter, draw in pgfplots the circle and its intersection with x-axis
Given two points, A and B, I want to draw the circle of diameter AB together with its intersection with the X axis.
Intended result is the figure
I got this with the code
\documentclass{standalone}
\...
3
votes
2
answers
263
views
How to make a striped, colored circle in Tikz?
I want to make something like this
How can I do it?
0
votes
1
answer
46
views
How to Restrict the Circular Span of a Radial Fading Tikzpicture
Consider the code
\documentclass{book}
% Code can be compiled with Pdflatex or Xelatex
\usepackage{tikz}
\usetikzlibrary{fadings}
\definecolor{darkamber}{RGB}{213,54,0}
\definecolor{sunriseyellow}{...
0
votes
2
answers
895
views
Draw a circle with radius
I want to draw a circle between the x and y-axis. I also want to write a word over the radius. The arrow in the radius is not showing, how to improve it?
\documentclass{article}
\usepackage{tikz}
\...
1
vote
1
answer
56
views
How to Produce a Circular Display of Images
I have an image (in this case, a colorized predefined one) that I would like to display in a circular fashion about a fixed point and specified radius.
Consider the minimal (nonworking) example which ...
2
votes
1
answer
85
views
Draw a circle in a syntactic tree (tikzpicture)
How could I draw a circle that contains both phi and T?
\begin{tikzpicture}[scale=0.6]
\tikzset{sibling distance=5em}
\node (top) {}
child[blue] {node {$\phi$}}
child [blue] {node {}
child [blue]{...
3
votes
2
answers
729
views
Draw trigonometric circle with tikz package
I want to draw below trigonometric circle
I found the websites https://texample.net/tikz/examples/unit-circle/
containing the code.
Please help modify the code to get this image.
Thank you in advance!...
1
vote
2
answers
45
views
put the circle next to the sphere
I was trying put the circle side by side with the sphere this is my attempt
\documentclass{article}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{caption}
\begin{document}
\begin{figure}[h]
...
1
vote
3
answers
2k
views
How to draw a Circle with a center and a radius
How can I draw these pictures in LaTeX. I only know draw a circle but I need the point P in the center and a radius
0
votes
2
answers
138
views
How to draw a punctured circle?
Here is the figure I want to draw:
]1
I want it to be a circle not as the bottom cut in the picture, I want its color to be sierra blue please?
Could someone help me in doing so? I know how to draw a ...
0
votes
0
answers
34
views
pgfplots circle [duplicate]
I'm trying to draw a circle in pgfplots. This is the MWE
\documentclass{article}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\begin{document}
\begin{figure}
\...
5
votes
3
answers
591
views
How to draw Thales circle with marked angles?
I want to draw this picture:
This is what I have so far:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\begin{document}
\begin{center}
\begin{tikzpicture}
\coordinate ...
-1
votes
2
answers
135
views
Drawing a part of a cylinder
Here is the drawing I want to draw:
I want to draw this part of the cylinder and a square with internal shading (I do not want the dotted line inside the square, it was a typo)
Can someone help me in ...
0
votes
1
answer
83
views
Change the style of the endnote to numbers with a circle [closed]
I've read This and I want to add circles to these arabic numbers for endnotes.
By the way, I would like to keep the Arabic numbers for the footnotes.
\renewcommand\theendnote{\textcircled{\@arabic\c@...
0
votes
1
answer
71
views
cyclic text in latex with arrows and number on them [closed]
how can i write my cyclic text like this:
0
votes
0
answers
26
views
Circling letter in \item[] in the \itemize environment [duplicate]
When I want to circle number 1-10, I use
\documentclass{article}
\usepackage{xcolor}
\usepackage{pifont}
\begin{document}
\begin{itemize}
\item[\ding{192}] text
\item[\textcolor{red}{\ding{183}}] \tt ...
1
vote
1
answer
54
views
When using NewTX, let picture's \circle produce “o” instead of “a” in the text layer of PDF
Running pdflatex on
\documentclass{article}
\usepackage{newtxtext}
\usepackage[slantedGreek,subscriptcorrection]{newtxmath}
\pagestyle{empty}
\newcommand{\opencolon}{%
{\setlength{\unitlength}{.1ex}%...
0
votes
1
answer
1k
views
How to circle numbers in a set in LaTeX?
Looking to circle some numbers in a set in LaTeX (Overleaf). Here's what I have so far:
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{...
2
votes
2
answers
155
views
Placing text and arrows on a TikZ circle
I have the figure below from the following MWE:
\documentclass{article}
\usepackage{tikz}
\usepackage{etoolbox}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{bending}
\usetikzlibrary{decorations.text}
...
2
votes
1
answer
184
views
\circ with unicode-math
I'm using unicode-math like so in my preamble:
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}
Compiling with XeLaTeX, for $g \circ f$, I get this:
But this is different as what I get just ...
7
votes
3
answers
858
views
Circle and arrow on a single term of a math equation
I want to create an equation with this circle and arrow on a single term by a single command. I want to obtain an equation similar to this:
I need a new command \mathcircled with 2 parameters \...
0
votes
1
answer
98
views
Circle and arrow on a single term of equation
I want to create an equation with this circle and arrow on a single term by a single command. I want to obtain an equation similar to this:
I wrote this until now:
\documentclass{article}
\usepackage{...
2
votes
4
answers
284
views
How do the following matrix product
I am interesting about drafting the following in LaTeX. I am not so much expert in this, i am going to attach the code to generate the vector and matrix, and after that I am going to attach my desired ...
1
vote
1
answer
128
views
Reproduce a questionnaire preference table in LaTeX
I'd like to reproduce this table in a LaTeX document:
but I have no idea of how to do it. I've tried to create a table but it becames too large and I don't know how to reproduce the circles.
Here is ...
0
votes
0
answers
25
views
How can I put some of the entries of a matrix inside of a red circle like in the image below? [duplicate]
I have a bmatrix like this:
and I want to change it to something similar to the picture below. How can I do it?
Edit 1: Code of my matrix is below:
\[
\begin{bmatrix}
1 & 1 & 1 & 1 &...
5
votes
2
answers
374
views
How do I draw an ellipse around a term in an equation?
I have seen how to draw a circle around a term in an equation (here).
With the following code:
\makeatletter
\newcommand\mathcircled[1]{%
\mathpalette\@mathcircled{#1}%
}
\newcommand\@mathcircled[2]{...
2
votes
3
answers
197
views
How to use 'controls' with closed curves like 'circle' or 'ellipse' to produce irregular closed curves
Preparing a lecture note for Topology requires a lot of blob-like (irregular) closed loop diagrams. Unfortunately, I do not know an easy way to do that frequently. I happened to have this idea about ...
2
votes
1
answer
296
views
Undefined control sequences errors when compiling a PDF with TikZ in Latex
Thanks to Good way to make \textcircled numbers?, I found a way to circle numbers in the legend of a figure. Here is the command code :
\newcommand{\circled}[1]{\tikz[baseline=(char.base)]{\node[...
1
vote
2
answers
145
views
How to easiley specify the radius of semicircle(half circle) using tikz?
I've written the below code and got the below image.
\documentclass[border=1cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
\draw(...
0
votes
0
answers
44
views
Directed circle [duplicate]
How I can draw a directed circle?
For example
\begin{tikzpicture}
draw (0,0) circle (1cm);
\end{tikzpicture}
Is a circle, but it is not a directed circle.
4
votes
4
answers
611
views
Making a circular/orbit diagram?
How can I make something like this?
3
votes
2
answers
151
views
Good way to get good looking bold circle with a letter over it
MWE:
\documentclass{article}
\usepackage{tikz}
\newcommand\encircle[1]{%
\tikz[baseline=(X.base)]
\node (X) [draw, shape=circle, inner sep=10] {\strut #1};}
\begin{document}
$ \encircle{1}^...
0
votes
0
answers
49
views
Circle in bi-matrix (game theory)
How can I draw a circle around the payoffs in the matrix? An is there a way to align the payoffs within the matrix?
\documentclass[12pt]{article}
\begin{document}
\begin{table}[!htbp]
\centering
\...
3
votes
0
answers
39
views
Improving TikZ curved arrow with decorated path text
I have two questions working with this example: Circular Arrows and Text on Path 1. Is it possible to position the \arcarrow relative to some node? 2. Is it possible to have the text in the arrows 0, ...
2
votes
3
answers
321
views
Creating circular sectors of different radius at different angles
Tikz newbie here. How can I draw something like below in tikz. The angles/radius of each sector are fixed but the locations may change. Text/grid are not needed.
Here is what I have so far
\...
4
votes
2
answers
824
views
Enumerate with options in items
I want an enumerated list where each number must be white circled on a coloured background. The background color must be passed as an option to each item in the list, without excluding color ...
1
vote
1
answer
61
views
What is the analogue of 'circle through' for a disk?
An example of circle through is shown on p. 65 of the manual. I haven't been able to reproduce it for a disc.
This is more than a MWE but being new at tikz that's on purpose so people can point out ...
0
votes
2
answers
95
views
Illustrating partition of a set on a circle
I am writing an essay about partitions of a set. I would like to illustrate partitions on a circle. In order to do that i would like to draw a circle, mark points on it and connect some of them with a ...
1
vote
1
answer
303
views
LaTeX CircuiTikZ I do not know the key '/tikz/tr circle'
I am learning LaTeX, and i was trying to follow some examples, and i came across this one from CircuiTikZ
\begin{circuitikz}[]
\draw (0,2) node[npn, tr circle](Q1){};
\ctikzset{transistor circle/...
1
vote
1
answer
208
views
Is there any way to increase the line thickness of the circles when using the 'circledsteps' package?
Is there any way to increase the line thickness of the circles when using the circledsteps package?
@leandriis Thank you for your response using \thicklines and \linethickness{}.
Apologies for not ...