{rotating} is for general questions about rotating document elements as well as for questions about the `rotating` package and its `sidewaysfigure` and `sidewaystable` (floating) environments. For general {rotating} questions add other tags specifying what should be rotated.

learn more… | top users | synonyms (3)

40
votes
5answers
19k 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} ...
38
votes
5answers
49k views

How to rotate a table?

I have a table and I want to rotate it. The table has 3 rows and 4 columns, and I want to rotate the text inside this table as well. How can I do this?
27
votes
2answers
4k views

How to rotate a box in-place

The following LaTeX code illustrates my question. Is it possible to get what I want without doing the negative \hskip, as I want a simple generic solution which will rotate the box to any angle ...
25
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 ...
24
votes
3answers
1k views

How to have upside down text in body?

I have environments Question (described in To clearly separate block inside a chapter) and Answer blocks. I want the Answer block be the same as as Question block but the text upside down in it. ...
21
votes
4answers
5k views

Rotated column titles in tabular

I'd like to create a chart where the column titles are rotated, as per this toy example: I used the rotating package to generate the above. It has certain shortcomings: the rotate command doesn't ...
20
votes
1answer
763 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, ...
19
votes
3answers
8k views

How to make table with rotated table headers in LaTeX

I saw a table created in PowerPoint and wanted to know how to do it in LaTeX. The table is shown below. The aspects of the table that I'm most interested in are the rotated table headers as well as ...
19
votes
1answer
18k views

How to rotate text in multirow table?

I have a big table with a problem, when I want to rotate the text in a \multirow cell, the text is placed outside and is bigger than the dimensions of the cell, I took some advice from here, ...
18
votes
4answers
10k views

Rotate picture with caption

How can I rotate both a picture and its title in TeX? Parameter in \includegraphics allows to rotate only a picture.
18
votes
3answers
405 views

Rotate every letter/character by 90 deg, keeping left-to-right letterflow intact

I'd lik to rotate every letter/character of a paragraph 90 degrees counterclockwise, yet keeping the left-to-right flow intact. Everything I have found so far only rotates one letter at a time and ...
17
votes
2answers
832 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 ...
17
votes
1answer
13k views

How to rotate text inline?

I used the rotating package to rotate the symbol 90 positive degrees and that worked well. But I also want to rotate it 270 positive degrees and then it ends up hanging down on the line below. How can ...
17
votes
1answer
3k 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) ...
17
votes
3answers
3k views

Is there something like “sidewayslongtable”?

Unfortunately my table is too wide to use longtable. In sideways it fits on width. Unfortunately it's too long to fit on one page. Is there something like sidewayslongtable, a way to combine ...
17
votes
1answer
251 views

Rotation transformation of a parametrized plot

I'm working on this plot with pgfplots: The image is from our sister-site Mathematica.SE and there's also a nice explanation how to do it with Mathematica. I follow these steps: Parametrize the ...
16
votes
2answers
1k views

Rotated $\ltimes$ symbol

I'd like to use a rotated version of $\ltimes$ where the vertical line is at the top, and another where the vertical line is at the bottom. I tried using \rotatebox with graphicx, but it puts the ...
16
votes
1answer
813 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} ...
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 ...
16
votes
3answers
4k views

Rotate single PDF page when viewing

I got a Latex document which renders fine, some content is rotated using the turn environment from the rotate package. Everything works like it should. Except: It know that it is possible to display ...
16
votes
3answers
14k views

How to rotate landscape table page in PDF?

Currently I am using \usepackage{rotating} \begin{sidewaystable} \begin{tabular}...\end{tabular} \end{sidewaystable} to typeset landscape tables, which works great. But I want to rotate that page ...
15
votes
3answers
4k views

Rotating a letter

I'd like to rotate a letter such as, say B, to show its reflection or inversion symmetry, or even at an arbitrary angle clockwise or counter-clockwise. Is this possible using commands without drawing ...
15
votes
1answer
943 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} % ...
14
votes
3answers
334 views

Rotate image according to pagenumber

For writing my master thesis I have an image in landscape that needs to be oriented correctly when it is eventually printed in a book. If the page with the image is on the left side (even page ...
13
votes
5answers
1k views

“Foldable” “Booklet” like Toodledo's one (pocketmod)

How to achieve in pdfLaTeX foldable booklets similar to those provided by Toodledo ? (to make question usable to others LuaTex, ConTeX and other systems answers are highly welcome) Note: look, how ...
13
votes
2answers
6k 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 ...
13
votes
2answers
5k views

How to translate and rotate the heading of landscaped pages?

Objective How to change the heading of landscaped pages from to ? Minimal Code \documentclass{book} \usepackage[a5paper,hmargin=3cm,vmargin=5cm]{geometry} \usepackage{lscape,lipsum} ...
12
votes
2answers
164 views

Rotation by a non-integer amount

I have to apply a very slightly rotation to an image, a rotation of less than 1º. But it looks like all the rotation commands I've found can handle only integer angles: all the non-integer measures ...
12
votes
2answers
12k 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 ...
12
votes
1answer
2k views

rotating vs lscape vs pdflscape

I'm asking this looking for the ultimate answer. What are the main differences between the three of them? When should I use anyone in particular? I know there is this question: Should I prefer ...
11
votes
4answers
452 views

sideways for equation (a big matrix)

I hope to use sideways for my big matrix, like this and this. It looks straight forward. But it's not working for me. \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{rotating} ...
11
votes
5answers
2k views

What is the proper way to create a horizontal table?

I want to have a horizontal table, like this: However, when using the usual method of creating a table, it quickly becomes a pain having to pre-define the number of columns (especially since I ...
11
votes
4answers
588 views

How to write inclusion symbols diagonally?

I have two sequences of inclusions, say $A \subset B \subset C$ and $A \subset D \subset C$, and I want to combine these into one sequence. I don't know how to explain this very well, but the combined ...
11
votes
5answers
2k views

Rotated, running text in right margin?

I want to place some (large) text, rotated -90 degrees and running the right-hand margin. After reviewing Chapter Title in rotated vertical box at the margin and the somewhat related (albeit for ...
11
votes
3answers
678 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, ...
11
votes
2answers
637 views

How to float until on left (or right) page?

I have two sideways tables that I want on two facing pages so the reader can turn the entire book and read them both in one turn. For the moment I keep moving them around to keep them on facing pages. ...
11
votes
0answers
103 views

Text collage (word cloud) in LaTeX? [duplicate]

There are some automatic method (package, class, macro) in LaTeX to do a text collage similar to that showed in the image? If not, is would be possible without too much manual work?. The ...
10
votes
2answers
524 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} ...
10
votes
3answers
482 views

How can I rotate \in by 90 degrees?

I am currently trying to show the domain of variables in a simple equation: \[\begin{matrix} x & \cdot & W_{1,2} & = & o\\ \in & & \in & & \in\\ ...
10
votes
3answers
294 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 ...
10
votes
2answers
398 views

Sideways text with rule as table label

I've been trying to achieve the following vertical sidebar effect in LaTeX for my resume, but turns out it's far more difficult than I thought (created easily in InDesign): I've tried everything ...
10
votes
1answer
3k 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 ...
10
votes
1answer
676 views

How to wrap the 90 degrees rotated text in a table cell

in Microsoft word I have a table which has the following structure. Now, I need to make a similar table in LaTex to submit a publication, I tried with the following code, ...
9
votes
3answers
334 views

Sloped Tikz node with rotation and scale

There should be an easy way to place a sloped node along a path. Using sloped works great (as in the black text). However, if there is a rotate= applied then the text is no longer along the path (as ...
9
votes
2answers
3k 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.
9
votes
2answers
4k 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? ...
9
votes
3answers
4k views

How to achieve a multi-column layout for footnotes?

How can you achieve a multi-column layout for footnotes? I have one page filled only with a rotated table (landscape layout, the sidewaystable environment). The table is annotated by a lot of ...
9
votes
1answer
1k 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 ...
9
votes
2answers
337 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, ...
9
votes
2answers
6k views

Landscape caption for a rotated figure in a portrait page

I've managed to rotate an image 90 degrees to be as if in landscape mode, but I still need to change location and rotation of the caption to match the image's orientation, while keeping the page in ...