The tag has no wiki summary.

learn more… | top users | synonyms

73
votes
10answers
35k views

Good way to make \textcircled numbers?

I'm trying to make some good-looking numbers in a circle, using the simple command: \textcircled{1} However, the circle is misaligned vertically with the number, and look a bit sloppy: Any ...
50
votes
2answers
2k 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 ...
42
votes
4answers
1k 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 ...
22
votes
3answers
903 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. ...
19
votes
3answers
6k 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!
19
votes
2answers
4k 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 ...
18
votes
2answers
871 views

How to Draw a Partitioned Circle in TikZ?

I want to draw something like this: I know everything apart from that circle. This is my code: \documentclass{article} \usepackage{tikz} ...
16
votes
3answers
1k 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 ...
14
votes
3answers
479 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 ...
11
votes
3answers
1k 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. ...
10
votes
3answers
624 views

How can I make circle plots?

I have not idea how to call these things, but I just saw a paper with the following figure and I was wondering how one would go about doing it in LaTeX. The closest thing I saw on TeXample.net was ...
9
votes
5answers
704 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 ...
9
votes
1answer
606 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
2answers
460 views

How to draw a circle with a triangle in TikZ?

Be sorry that I cannot provide the coordinates of all points, or I can draw the picture. How can I make this figure? Thanks for any help!
8
votes
1answer
164 views

Circled equal with same size as \oplus/\otimes with pdflatex

My question I am trying to make an equal circled of the same size as \oplus or \otimes, etc. I tried to use the solution provided here : How do I put a circle around an operator? However, the ...
7
votes
5answers
1k 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 ...
7
votes
1answer
697 views

Draw arrow not to node center but to edge of circle on this node?

This example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}% \draw[help lines] (0,0) grid (1,1); \node [draw, circle] at (0,0) {}; \node [draw, ...
7
votes
1answer
2k 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 ...
7
votes
1answer
714 views

assistance on good handling of text on TikZ paths

I am putting together an ornate logo using TikZ. The logo as it is currently is as follows: I request assistance on handling the lowermost outer text (which reads "UNIVERSITY OF GLASGOW"). For the ...
7
votes
1answer
169 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 \[ ...
6
votes
2answers
988 views

Drawing a rectangle along the border of a circle

I would like to draw a rectangle along the border of a circle. The \draw with the \angle operation might do it, but it is rather cumbersome. I was wondering if there is another more elegant/shorter ...
6
votes
2answers
434 views

How to draw checkmark inside a colored circle in latex?

Referring to this question, how can I draw a checkmark inside a solid circle as shown as a picture? Regards
6
votes
1answer
207 views

Circle with labelled rotated radians

I'm wondering how I can reproduce the following diagrams using TeX: I realize this question is similar to this other question, however I'm not nearly experienced enough to be able to translate ...
6
votes
1answer
1k 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} ...
6
votes
1answer
156 views

The intersection of a sphere with planes through an axis tangent to the north pole

I am trying to draw a picture of a very simple sphere - i.e. one big black circle with additionally, an equator indicated with solid line in front, dotted in back. on this sphere I want to draw a ...
5
votes
3answers
195 views

Drawing a segmented circle

I'm trying to draw another larger circle that is also centered at (0,0). In words I'd like to "walk out along the top horizontal arm to its halfway point, then draw a circle all the way around to the ...
5
votes
4answers
2k views

How can I draw oval circle around a string?

How can I draw oval circle around a string? For example, when I have "1,3,4,6", how can I put them in a circle?
5
votes
2answers
232 views

TikZ, node with multiple lines around

I want to draw a circle node using tikz that has more than two lines around. I found this question: TikZ - multi-color double circle node with its very good accepted answer. Unfortunately, I have no ...
5
votes
2answers
360 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
5
votes
1answer
2k 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
1answer
94 views

How can I add open and closed circles on either side of a jump discontinuity?

How to indicate "including" and "excluding" dots on the graph? \documentclass[paper=a4, fontsize=11pt]{scrartcl} \usepackage{pgfplots, pgfplotstable} \usepackage{tikz} \begin{document} ...
5
votes
1answer
347 views

How to make addition symbol inside in a circle? [duplicate]

I need to make + and a dot representing multiplication in a circle. How to do it?
5
votes
2answers
522 views

Putting nodes tightly next to each other in tikz

I would like to have a shape in my diagram looking like this: My main problem is to arrange the nodes as tightly as possible. My current approach is \documentclass{standalone} \usepackage{tikz} ...
5
votes
1answer
2k 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? Including fixing circle radius?
5
votes
1answer
117 views

circle vs arch with shorten — normal or bug?

When I draw arches using arc in pgf, the arch path precisely fits on the path of the corresponding (ie having the same radius) circle (red on black in the attached figure). When I apply shorten to the ...
5
votes
1answer
189 views

PSTricks: Partitioning and filling a circle in pst-pdgr

I am using the pst-pdgr package which uses PSTricks to generate medical pedigrees. I find this package to be very useful, however I ran into a problem with a certain situation I am having. I need a ...
4
votes
3answers
8k 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?
4
votes
3answers
155 views

Tikz-Place a rectangle in specific angle

I am trying to place a rectangle on top of an imaginary circle of certain radius, whose center lies in the middle of another rectangle. What I've tried so far is the following \documentclass{article} ...
4
votes
2answers
635 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 ...
4
votes
2answers
189 views

Making an unfilled circle including a number in a table

I wonder is it possible to highlight a number enclosing with an unfilled circle next to a line in a listing or table like the image below? \documentclass[english,a4paper,12pt]{report} ...
4
votes
1answer
313 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?
4
votes
2answers
238 views

TikZ diagram: concentric circles and 'freehand' curves

I have the following diagram which (or a nicer looking version of which) I'd like to recreate using TikZ. Can anybody point me into the right direction? How do I do the concentric circles? How the ...
4
votes
0answers
23 views

How to divide circle multipart nodes in tikz [duplicate]

I would like to get multi part node with vertical line between lower nodepart. Something like this: My code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} ...
3
votes
2answers
62 views

A circular version of \underbrace or \widehat

I'm new to LaTeX and am searching for a function that acts like \underbrace or \widehat but is circular (I don't want the pointed middle part). Does such a function exist? I tried using Detexify but I ...
3
votes
1answer
215 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 ...
3
votes
2answers
646 views

Direction arrows on a circle [duplicate]

I would like to plot circle (or another curve) with positive direction (and show it wit arrows). This plots the circle \documentclass{article} \usepackage{tikz} \RequirePackage{pgfplots} ...
3
votes
1answer
1k views

Getting numbers to appear in circles

I have a linked question that I previously found on here, but I cannot make any comment yet to post. The link being: Good way to make \textcircled numbers? My question was how could we use this ...
3
votes
1answer
91 views

Multipart graph with linear and circular node patterns

I'm trying to draw a graph (PDF output of code below attached) that's a linear process, with a potentially circular element in it. As you may see in the upper picture, the the B,C,D elements aren't ...
3
votes
1answer
205 views

circle items in an array

So I would like to circle two of the elements in my array at the same time. Even though they are in different rows and or columns. Here is what I have so far. \documentclass{article} ...
3
votes
1answer
244 views

drawing diagram from the circle

I am trying to wrap the following diagram in a circle and I am facing some problems. I am using the some codes from, Wrapping a Feynman diagram in an ellipse or a circle? , but I cannot make the lower ...