4
votes
1answer
98 views

How to rotate a composition of Tikz nodes correctly, without rotating the text of their labels?

I have seen How to allow labels' anchors in TikZ to be affected by rotations without rotating the text itself?; but that question doesn't seem to answer my problem, so here it goes. With the MWE ...
6
votes
1answer
79 views

How to rotate a TikZ text node depending on its content?

I would like to rotate a TikZ text node by a degree that depends on the content length. So a text node with 20 characters should be rotated e.g. 20*0.1 = 2 degree, a text node with 100 characters for ...
3
votes
2answers
280 views

How can I rotate and mirror a tikz picture in latex

I'm wondering if someone knows how to place one tikz picture cone face to the other in the horizontal position. \documentclass[varwidth,margin=0.5cm]{standalone} \usepackage{tikz} ...
10
votes
3answers
205 views

Special Table with Diagonal lines [duplicate]

Recently, I have to work with some problems that require to draw table like below in LaTeX. I used to think about diagonal line inside a cell, but it's not a good choice for this problem since the ...
3
votes
0answers
51 views

Tikz, rotate, how to specify a point as rotating center? [duplicate]

When I use rotate on a node, it seems to be rotated against its west(As in figure (up) and (middle)), however, what I meant is to rotate it against its center, like (bottom) of figure shows. I didn't ...
5
votes
2answers
136 views

Legend position control within rotated polar axis

How can I shift (control) the position of the legend within rotated polar axis environment? (e.g. shift into the south-east corner?) \documentclass{article} \usepackage{pgfplots} ...
2
votes
2answers
346 views

Rotate curly brace in tikz

I found this question that shows how to draw curly braces in tikz and to mirror them using decorations. But, how can they be rotated an arbitrary angle? .
8
votes
1answer
173 views

Rotate a path around a point

I have a named path (a triangle). How do I rotate it around point A in various angles without recalculating points B & C? Here's my code. I want to create the red and green triangles by simply ...
1
vote
1answer
69 views

Alienation for a manually generated legend

I have generated the graphic below with the following code: \documentclass[11pt]{article} \usepackage{tikz,xifthen} \usetikzlibrary{arrows, decorations.text, decorations.markings, shapes, patterns, ...
4
votes
1answer
158 views

pgf tikz polaraxis: Alignment of labels after rotation [duplicate]

How can labels be nicely positioned in a polaraxis environment ranging from -90...+90 degree and having the data facing south? In ideal case, the yaxis (0...1.0) will be arranged vertically at the ...
4
votes
1answer
135 views

Why the shape is shifted ion rotation?

I would like to draw a similar drawing using tikz So far a created a custom shape \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{wesys}[2013/10/16 Wesys Custom Package] ...
4
votes
1answer
120 views

How can I rotate a custom draw?

I have a custom command \newcommand\windturbine[2][]{ \begin{scope}[shift={(#2)}] \draw[#1] (0,0) ellipse (0.7cm and 0.1cm); \draw[#1] (0.8,0) circle (0.1cm ); \draw[#1] (1.6,0) ellipse ...
15
votes
1answer
493 views

How to rotate a pgfplot?

I'm trying to create a plot like this: So far, I arrived here: With the following (minimalized) code: \documentclass{report} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \begin{document} ...
3
votes
1answer
125 views

rotated text not appearing where expected when using tikz and xelatex

I thought I'd change the font to something none standard from the list of font available on my computer. When I tried to compile the following document, the text that should appear along the spokes ...
7
votes
2answers
158 views

How to extract coordinates in the current scope (before the coordinate transformation matrix is applied)

If I extract coordinates with \pgfgetlastxy{}{}, I get changing results depending on the transformations I've applied to my draw (rotation, scale): \documentclass[margin=0.5cm]{standalone} ...
8
votes
2answers
781 views

TikZ: position text along path

I'm trying to position a piece of text at a certain position along a multi-part path. Here's what I have been trying so far. \documentclass[tikz]{standalone} \usepackage{tikz} ...
6
votes
3answers
252 views

How to allow labels' anchors in TikZ to be affected by rotations without rotating the text itself?

I usually write macros when I need to draw many times a kind of figure. In the final document, I call the macro and then I always apply two transformations : a scale transformation to fit in the space ...
3
votes
1answer
115 views

TikZ: Problem when using shift and rotate

I am having an issue when I use shift and rotate. In one case, the rectangle is being elongated down to the stopping point of the shift and rotate. However, if I issue the same command in another ...
10
votes
2answers
409 views

TikZ: two ellipses in different planes

How can show that two ellipses are in different planes? \documentclass[convert = false, border = 1cm]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} ...
4
votes
1answer
477 views

How to rotate around arbitrary axis in XYZ coordinate system

I am drawing the cartesian coordinate system in XYZ coordinate system and would like to illustrate a point in the 3d space by drawing the projections on each plane. A simple version would be as ...
3
votes
1answer
86 views

Why are the lines off, when tikzpicture is rotated?

OK, I have some rather long code. I tried to reduce it as much as I could, but it's heavily tangled and I'm still not good in the usage of pgfkeys or xparse. The problem: If the tikzpicture is ...
5
votes
1answer
197 views

Tikz: How can I use the power of LaTeX to find the rotation angle of the ellipse?

I need to rotate my second ellipse around some angle. I have made guesses and determined it is around 88.5 degrees. However, I want to identify the exact angle. The code I have so far is: ...
7
votes
1answer
444 views

rotate node shape in tikz

Edit 1 Claudio gave a nice solution to my question. But the image should be included in a beamer presentation. I use for that the option transform canvas={scale=0.5} and this has a side problem ...
7
votes
2answers
2k views

How to rotate a TikZ label

I need to place information below and to the right of a grid. I was not able to rotate the label text of a node. I ended up using \rotatebox, but is there a pure TikZ solution? ...
2
votes
1answer
82 views

What is the nodename.number in the following example?

What is the nodename.number in the following example? For example a.345? Changing number arbitrarily rotates the arrows. How to decide on the numbers so that it remains parallel ? ...
17
votes
2answers
686 views

Creating a triangular table

Is there a way to create something that looks like this? I have looked at the \rotatebox command, but that will not get the same "jagged" edges on the bottom, and looked at How to draw a ...
8
votes
1answer
220 views

arrowhead rotation

I want the arrowhead to look more natural as opposed to goofy (which is the present state) \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.new, decorations.markings, calc, fadings, ...
1
vote
1answer
102 views

adding complexity to a hyperbolic trajectory

Jubobs generated this code from Drawing a hyperbolic trajectory. If we draw a horizontal line that intersects the hyperbola (I really dont want to add this to the picture), we would have some angle. ...
6
votes
1answer
301 views

Typesetting straight baselines in a circular arrangement

I was wondering how one might go about setting the circular arrangement seen here in Figure "(2)"--i.e.,in a series of straight lines radiating from a central point. The most useful thing I've ...
2
votes
2answers
365 views

Rotating around axes with tikz-3dplot

I'm a bit confused by the following code. I would think that the following would produce an animation of rotating 90-degrees around the x-, y-, and z-axes, but the first part of the animation looks ...
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 ...
0
votes
0answers
45 views

why does rotation style work on actual coordinates and not variables in tikz 3d plot? [duplicate]

\documentclass{minimal} \usepackage{tikz,tikz-3dplot} \begin{document} \tdplotsetmaincoords{70}{115} \begin{tikzpicture}[scale=4,tdplot_main_coords] \pgfmathsetmacro{\rvec}{.8} ...
1
vote
1answer
280 views

Assistance on arabic text on TikZ

I attempting to use both arabic and TikZ pictures but, I have four problems: The Arabic words appear in reverse order, the first word appears finally ... The sentence is not in arc as in the English ...
5
votes
1answer
425 views

Why such rotate in tikz doesn't work?

\begin{tikzpicture} \node [draw=black, anchor=south west] (label) at (0,0){\includegraphics[width=300mm]{th.jpg}}; \coordinate (ZX) at (157mm,104mm); \coordinate (YB) at (249mm,39mm); \coordinate ...
20
votes
1answer
666 views

Radial Labels on Mindmap - Part II

This is a continuation from Part I, where a solution was provided to create rotating labels in a radial fashion. Closeup of the output looking like this: I was able to improve the solution, ...
5
votes
0answers
283 views

Problem with rotation of pattern in tikz [closed]

Consider the following example. Why does the pattern not rotate correctly both for the tikz rotate and for the rotatebox approach. How can I fix it? \documentclass{article} \usepackage{tikz} ...
7
votes
1answer
520 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 ...
9
votes
1answer
2k views

How to rotate a node and text independently in Tikz

How can I rotate the text inside a node independent of the node in tikz? Right now I am using the rotatebox. The other option I tried was to have two overlapping nodes. Is there a better way to do ...
3
votes
0answers
59 views

Rotate the fill pattern with the shape in tikz [duplicate]

Possible Duplicate: Moving tiles of the pattern in TikZ I have a rotated rectangle filled with a pattern, and I would like to also rotate the pattern by the same amount. In this MWE, the ...
8
votes
1answer
859 views

TikZ diagonal text

Can you rotate text diagonally in TikZ / latex? I tried \coordinate (P) at (0,0) ; \draw[rotate around={45:(P)}] (P) node {hello} ; But it just draws the text straight (horizontally). I want the ...
5
votes
2answers
1k views

How can I make labels (or other elements) rotate with a node using TikZ?

Is there a way to get label text to rotate with the TikZ node to which it is attached. I can rotate the node and its text; but labels do not rotate along with the node, and instead remain "level": ...
15
votes
1answer
845 views

Rotate individual letters of the text using TikZ

I would like to rotate each character in the text of the TikZ edge label while keeping the edge label's orientation unchanged. The following code: \documentclass{standalone} \usepackage{tikz} % ...
5
votes
1answer
2k views

Rotate a PGF figure, and being able to center it

I have a figure, created in MS Visio, a PDF figure. I have added text to the figure using qtix. The code is pasted below: \begin{tikzpicture}[scale=0.30] ...
8
votes
2answers
9k views

Translate and rotate an object in TikZ (2D)

Is there a way in Tikz to translate and rotate a, lets say, rectangle by an arbitrary distance/angle? As an example Translation: 3 in x-direction, 5 in y-direction Rotation: 45 degree Now my goal ...
11
votes
2answers
4k views

Confused about TikZ \draw[rotate=angle] [duplicate]

I was trying in vain to use a rotated ellipse today and finally got it to work in an extremely hackish way. Trying to follow up, I turned to the manual (pg. 26): You can also append an ellipse to ...
15
votes
1answer
2k views

How do I rotate a tikz rectangle about a specific axis?

I am trying to create a beamer animation using tikz, but I can't even get basic rotating of a tikz image working as desired. I have a rectangle specified by \draw[rounded corners,dotted] (-3.5,0) ...
33
votes
5answers
14k views

Rotate node text and use relative positioning in TikZ?

In TikZ, I sometimes want to rotate the text within a node and then position the node relative to another. However, the approach below doesn't work as expected: \documentclass{standalone} ...
8
votes
2answers
2k views

TikZ: How to rotate and then shift?

I'm trying to rotate a node and then shift it along the X axis. If I do [rotate=90, xshift=-20pt], the node will first shift and then rotate.
23
votes
6answers
1k views

Spirograph, Continuous Rotations in TikZ or PSTricks

Spirograph-like drawings are obtained when one repeatedly draws a closed curve on a continuously rotated canvas. Is there a nice way to make spirograph drawings using TikZ or PSTricks? There is a nice ...
9
votes
3answers
614 views

How to rotate hyperlink with text

How can I rotate the link of a text in a node. Here is my MWE: \documentclass{article} \usepackage{tikz} \usepackage{hyperref} \begin{document} \begin{tikzpicture} \node (rect) [rectangle, ...