# Tag Info

47

You can use pdfpages: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages={-},angle=30]{main} \end{document}

43

2016 Christmas Edition I experimented here with trying to produce a geometric figure near the firework core, by using simple glyphs like + and -. When duplicated with rotation and shift, I think the effect is very nice way to highlight the event. 2015 CHRISTMAS EDITION Here I introduce my first triple-burst firework, with "For unto us" as the inner burst,...

37

A circle is drawn by four Bézier curves. The control points of the Bézier curves are taken into account to compute the bounding box: \documentclass[tikz]{standalone} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture}[>=stealth, every node/.style={midway, sloped, font=\tiny}, decoration={show path construction, moveto ...

33

To make the table fit your landscape, put this in your preamble: \usepackage{geometry} \usepackage{pdflscape} And for your landscape page, do this: \newgeometry{margin=1cm} % modify this if you need even more space \begin{landscape} %put your table here \end{landscape} \restoregeometry If you are working in a document that makes use of fancyhdr, you ...

33

It is perfectly possible to use label in this situation. You just need to rearrange a bit the options and to fiddle around with the placement of the label: \documentclass{scrartcl} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[step=1cm] (1,1) grid (4,4); \node[label={[label distance=0.5cm,text depth=-1ex,rotate=-90]right:a long text}] at (...

30

You can position and rotate the axes precisely by setting anchor=origin, rotate around={<angle>:(current axis.origin)}: \documentclass{report} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \begin{document} \begin{tikzpicture}[ /pgfplots/y=2cm, /pgfplots/x=0.1mm % To make sure all the plots use the same scale ] \begin{axis}[ anchor=...

26

The rotating package and sidewaysfigure environment can rotate the figure and caption as you ask. The figure will be placed on a separate page. The method is described here. A minimum working example is \documentclass{article} \usepackage{rotating} \usepackage{graphicx} \begin{document} \begin{sidewaysfigure} \includegraphics[width=\columnwidth]{file}%...

25

One idea is to define a new environment which places the answer contents inside a TikZ \node and rotates it: \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \usepackage{environ} \usepackage{lipsum} \newtheorem{question}{Question} \mdfdefinestyle{que}{ linecolor=cyan, backgroundcolor=cyan!20, } \surroundwithmdframed[style=que]{question} ...

24

\usepackage{lscape} - no rotation of the page \usepackage{pdflscape} - automatic rotation of the page

24

You can do this with or without multirow. Use graphicx for the rotation via \rotatebox[<opts>]{<deg>}{<stuff>}: \documentclass{article} \usepackage{graphicx,multirow} \begin{document} \begin{tabular}{ |c|c|c| } \hline \multirow{8}{*}{\rotatebox[origin=c]{90}{Text}} & row 1 & row 1 \\ & row 2 & row 2 \\ & row 3 ...

23

The result is really ugly: \documentclass{article} \usepackage{graphicx,amssymb} \newcommand{\vin}{\rotatebox[origin=c]{-90}{$\in$}} \begin{document} \[ \begin{array}{@{}c@{\;}c@{\;}c@{\;}c@{\;}c@{}} x & \cdot & W_{1,2} & = & o \\ \vin && \vin && \vin \\ \mathbb{R}^{1\times n} && \mathbb{R}^{n\times m} && \...

23

You can use the rotate key, but you also need transform shape or nodes are not rotated: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \begin{document} %\pagestyle{empty} \tikzstyle{decision} = [diamond, draw, fill=blue!20, text width=4.5em, text badly ...

22

22

It looks like the mn2e document class experiences some conflicts with the rotating package (which provides the sidewaystable environment), or possibly with the graphicx package, which is loaded by the rotating package. A workround -- not a complete fix, for sure -- consists of inserting the instruction \RequirePackage{rotating} before the \documentclass ...

21

You are overwriting the nodes so it's a little trickier but essentially you can scope the path and use rotate around transformation. \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \providecommand* \angle {30} \coordinate[label=above left:A](A) at (2,3); \coordinate[label=below:B](B) at (0,0); \coordinate[label=below:C]...

21

Don't use sidewaysfigure within landscape - it will turn your figure twice. A regular figure should suffice: \documentclass{article} \usepackage{pdflscape} \begin{document} \begin{landscape} \begin{figure} \centering \includegraphics{image} \caption{caption} \label{fig:label} \end{figure} \end{landscape} \end{document}

21

When I saw your first picture, it immediately made me think of a torus; of course, it's a bit of a twisted torus, but it does have quite a lot in common. As detailed in How to draw a torus (for example), a torus can be parametrized as a surface using (for example) x(t,s) = (2+cos(t))*cos(s+pi/2) y(t,s) = (2+cos(t))*sin(s+pi/2) z(t,s) = sin(t) where t and ...

20

A variant that doesn't require manual adjustment of width and automatically centers the rotated cell horizontally: \documentclass{article} \usepackage{array,multirow,graphicx} \begin{document} \newcommand{\STAB}[1]{\begin{tabular}{@{}c@{}}#1\end{tabular}} \begin{table}[!h] \centering \begin{tabular}{|c|l|r|r|r|r|} \hline & \multicolumn{...

20

You might prefer to use text nodes instead of labels. If you set anchor=west, the nodes will be 'left-aligned', and you can rotate the nodes as per usual. Code \documentclass{scrartcl} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[step=1cm] (1,1) grid (4,4); \tikzset{anchor=west} \node at (4,1.5) {a long text}; \node at (4,2.5) {a ...

20

You can superimpose an attenuated sine function over the linear growth function to get something similar. To place the nodes, you can add node [pos=<fraction>, sloped] {<text>} at the end of the \addplot command: \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ domain=0:6*pi, ...

19

The sidewaystable environment does not let you split its contents across multiple pages. Since you're using a longtable environment, which has its own \caption commands, etc., there's no real need to embed it in a sidewaystable environment anyway. Instead, consider loading the pdflscape package and using that package's landscape environment to rotate the ...

16

rotating package's sideways environment is really just for compatibility with the LaTex2.09 version, it is just a thin wrapper around \rotatebox giving the old syntax. But box commands take you out of math mode so you need \$ to get back in: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{graphicx} \begin{document} ...

16

I would much more prefer to fit the matrix in (with my Copy Editor hat on). A lot of data is repeated, which gives some space for manipulation: \documentclass[a4paper,12pt]{article} \usepackage{mathtools} \usepackage{lipsum} \begin{document} \lipsum[4] \begin{bmatrix} \phi_1^{-1} & \phi_1^{-1} & \...

16

Fireworks, in any flavor of TeX, but only text? Then the old package happy4th meets the requirements. Really is only an little obfuscated TeX file: % Author: Brian Blackmore <blb8@po.cwru.edu> % Date: July 4, 2007 % Version: 20120102 % Original source: efnet #TeX % License: Public Domain % Requirements: Plain TeX % \nopagenumbers \centerline{...

15

Assuming you want to rotate the table because it doesn't fit the width of a portrait page. Based on @Shep's comment to this question: use the pdflscape package (CTAN, dtx, pdf) by Heiko Oberdiek. Package pdflscape adds PDF support to the environment landscape of package lscape by setting the PDF page attribute /Rotate I use Lyx, and it's in the FAQ: ...

15

The accepted answer did not work for me, since it rotated all pages in the PDF instead of a single one. I managed to get it to work using the pdflscape package instead, as suggested in this answer: \usepackage{pdflscape} ... \begin{landscape} ... \end{landscape} I needed this to display figures. Note that, when inside the landscape environment, you must ...

15

Make sure you have loaded the graphicx package not graphics then \includegraphics[width=6.0in,angle=90]{file} should work. Note if it is an EPS file then you need latex (and it may not show rotated in a dvi previewer) if you are using pdflatex you should convert the EPS to pdf first (or if I read your question correctly, just use the original pdf not the ...

Only top voted, non community-wiki answers of a minimum length are eligible