{positioning} is about positioning document elements. Use this tag in addition to other tags specifying what should be positioned.

learn more… | top users | synonyms (1)

17
votes
4answers
10k views

How to make a grid of images?

Is it possible to place 4 images in an 2x2 grid? I don't want to float them, I don't want any captions. Each image should have the same width. Edit: Thanks for all the answers. After trying it out, ...
21
votes
2answers
3k views

Align an equation and a tikz picture with anchor and baseline

I'm trying to get the math part the equation to be centered with the tikz picture: \begin{equation} \mathcal{G} = \begin{tikzpicture}[] \tikzstyle{vertex}=[anchor=base,baseline, ...
17
votes
2answers
6k views

How to build and combine sophisticated layouts in figures

How can I get a layout like the one below in my document?                 With this question, I am looking for: An ...
15
votes
1answer
2k views

Placing figure on an even/odd page [duplicate]

I'm writing a two sided document (it will be printed as a book) and I've got two figures which takes up a whole page each. These two figures are related so I want them to be side by side in the ...
9
votes
1answer
2k views

Zooming images out to specific locations in beamer

I want to: Show an image full width On click, make a small sized image placed at a particular location starting from top left and show another image full width Repeat the process till all four ...
17
votes
3answers
1k views

Handwriting drill sheets

I am looking to create some handwriting drill sheets. Similar to what can be found here http://www.handwritingworksheets.com/flash/cursive/paragraph/index.html I also found this question: Writing ...
10
votes
2answers
840 views

Page numbers vertically centered in the outer page margin

Even though it seems to be a non-standard position, I'd like to place my document's page numbers vertically centered in the outer page margin – i.e. where you usually have your thumb when you skim ...
18
votes
1answer
1k views

LaTeX3 and pauper's coffins

Frank Mittelbach in this answer said: "I would be interested who would attempt to do that in the plain TeX box model approach. In the MWE below is my approach which I will from now onwards call it for ...
18
votes
1answer
20k views

Floats - how to restrict floating to subsection only in one section of the document?

I have concluded that the package float allows figures to float within the section they belong to. However for one particular section I need to restrict the floating to the subsection (without forcing ...
17
votes
3answers
6k views

Special arrangement of subfigures

I need an image with five subfigures arranged this way. I have tried to use subfig and floatrow, but I haven't been able to place the figures as I need them
9
votes
1answer
15k views

Putting two images next to each other that are 0.5\textwidth wide

I need to put 4 images in one group and put it on the page. All images have the same length and width, however I have problem with placing them by two in a row. I used this code \begin{figure}[h] ...
22
votes
3answers
1k views

TikZ Nodes not exactly centered

In my solution to draw a plot with point, it was pointed out that the nodes containing \textbullet and $\circ$ were not placed exactly centered at the specified point. I found this hard to believe ...
14
votes
3answers
11k views

How can I add text in the top right corner of a page _without_ using fancyhdr

I want to put a block of text into the top right corner of my document (which uses the article class). The specifications of the document's formatting are very detailed, and it has taken me about 2 ...
11
votes
2answers
7k views

How do I write something at the end of the slide in beamer? [duplicate]

I have an image, I want to write its source in a very small font size on the last possible line of the slide, ignoring the available space after image \section{SCS} \subsection{SCS} \begin{frame} ...
6
votes
2answers
2k views

Placing two figures (each having subfigures) next two each other

I would like to place two figures, where each figure has subfigures next to each other. I tried with minipage, but tex does not like the \subfigure as Not in outer par mode. Is there any way to place ...
18
votes
2answers
5k views

How to control the space allotted for a signature in letter documents?

I want to type my name in block capitals and in italics in the space highlighted in the blackbox, but I can't seem to be able to. Everything else is fine with the cover letter, I just need to type my ...
17
votes
2answers
4k views

Two column align environment with one line spanning both columns

Is there a good/correct way of making an align environment with one line spanning multiple columns? At the moment I'm using a hack like the following, but I feel that it's probably not the best way. ...
14
votes
2answers
5k views

Why is my footnote “glued” to the text?

This is the document: \documentclass[12pt]{article} \usepackage[top=3in, bottom=3in, left=3in, right=3in]{geometry} \usepackage{lipsum} \interlinepenalty=10000 \begin{document} This is first short ...
11
votes
1answer
766 views

How to compute xslant and yslant

There must be an easy way to compute the required values of xslant and yslant to obtain the text in the "correct plane". Below I have guessed at then, but that is a very tedious process. The desired ...
10
votes
1answer
4k views

Edge nodes, auto and node distance

Consider the following MWE \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0)--(1,1) node[auto,midway] {$A$} -- (2,0) node[auto,midway] {$B$}; ...
9
votes
1answer
363 views

Beginner needing help to create simple documentclass for traditional printed Tibetan manuscripts (Pecha)

I am delighted to see how well XeLaTeX can handle Tibetan script and want to use it for the typesetting engine for my software. The first thing I want to do is to create a simple documentclass, ...
6
votes
1answer
1k views

\answerline to the right of a question

using exam class. I want the answerline on the same line as the question, to be used in mid-sentence actually. I have this: \documentclass[a4paper]{exam} \begin{document} \begin{questions} ...
14
votes
2answers
4k views

Image next to Equation

I am trying to make my first LaTeX file and have been reading syntax for a bit and have not been able to figure one thing out yet and don't seem to find anything about it online so I thought I might ...
14
votes
2answers
4k views

Absolute positioning of wrapfig

In Microsoft Word, it is common to create a floating text box, separate from the normal body text, that can be placed anywhere on the page. The body text will then wrap around this text box so ...
12
votes
1answer
1k views

What are the default placement options for a floating figure in Latex?

The document Using Imported Graphics in L A TEX and pdfL A TEX talks about the different ways to affect where a floating figure is placed [htbp]. But these arguments are optional ... So how is the ...
6
votes
2answers
984 views

Hyperref link placement: alignment to left page border and top of page

(a) Is is possible to have certain hyperref-hyperlinks (such as those to sections and also (when using memoir) to the table of contents, lists of figures and tables, and bibliography) point to the ...
6
votes
2answers
2k views

Multicolumn listing for comparison in LaTeX

I have some C code that I want to insert in a LaTeX document using a listing. I also want to display its translation to assembly code. I don't know how to display those two kind of codes in a ...
0
votes
2answers
197 views

Text on background-image footer and header

I'm trying to create a template for my article, which has an image on the header, and on on the footer. I also want to put text on these images. The result would look like this : (Blue and green ...
10
votes
2answers
478 views

How can I align captions with each level of a tree drawn with tikz-qtree?

I have drawn a binary tree using the TikZ-qtree package. 1) I now would like to align captions on the right of tree with each of its level---and I would like the placement to be automatic (ideally I ...
7
votes
1answer
199 views

Anchoring complex tikz pic

In my illustration I need a sketch of clock. For it I use pic capability of TikZ. It works fine with quit annoying exception: positioning of clocks in picture. If I put a clock at some absolute ...
5
votes
2answers
612 views

Certain hyperlinks (memoir+hyperref) placed too low

I tend to use the memoir class together with the hyperref package, in order to have my table of contents, the lists of tables and figures, and the bibliography be hyperlinked. While all links to ...
3
votes
3answers
457 views

How can I maintain the current page nodes for portrait when temporarily entering landscape mode in TikZ?

Question How can I keep the current page nodes aligned with the same physical corners of the page in a document where the main layout is portrait, but some pages with longtable are in the landscape ...
3
votes
1answer
3k views

Positioning of equations

How would I shift my whole set of equations/calculations at the left, to be aligned with "Example"? \documentclass[11pt,a4paper]{report} ...
2
votes
1answer
476 views

Vertical spacing for two consecutive figure environments

I think I'm not going to solve my problem with the Floats and positioning of figures. I have 4 diagramms and I need to place them on two pages and at the end of the second page the caption for all 4 ...
2
votes
1answer
196 views

Force impagination sequence

I want to force my document to be in this order: text tabular image This group is repeated some times; as you can imagine the compiler mix the elements (e.g. text1, tab1, text2, tab2, img1, img2). ...
1
vote
1answer
472 views

Forcing a table or image on a specified page

I would like to enforce a table on a page. I tried \startpostponing[2] but it doesn't seem to work and gives me an error: Undefined control sequence \startpostponing Is there any other way by ...
18
votes
2answers
61k views

Image from \includegraphics showing up in wrong location?

I have the following situation: \subsection{Some subsection} Some text here... \\ \begin{figure} \caption{Raw} \includegraphics[scale=0.25]{raw.png} \end{figure} \begin{figure} ...
61
votes
5answers
36k 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} ...
15
votes
4answers
8k views

LaTeX letter with address field in the right place for a “C5 envelope with window”

Does anybody know of a good way to write simple paper letters in LaTeX, so that the formatting shows the receivers address on the right place so I will show in the window of those C5 envelops with a ...
17
votes
3answers
2k views

How to wrap text around a figure? (revised)

This question has been asked before (and in fact I stole the diagram below from that question) but the answers are not sufficient for my needs (at least near as I can tell). What I want is the ...
6
votes
3answers
3k views

Table with arrows between cells

I want to create a table with arrows between some cells, for which I've used tabularx and TkiZ. I have the following problems: Text in cells aligned vertically to the center and at the same heigh ...
19
votes
1answer
33k views

Customize legend position in PGFplots axis environment

I am trying to customize the position of the legend in the axis environment of PGFplots. A simple way to do this is by using something like legend pos=south west|south east|north west|north east ...
14
votes
1answer
4k views

Easy absolute positioning in beamer

For my presentaton slides I'd like to have list uncovered and highlighted by time and each item supported by appropriate image/graph/table. Thinking about it in wider application, I'd like to ...
14
votes
2answers
20k views

How to put two figures side by side in a two-column document

How to put two figures side by side in a two-column document. figure* is not working.
17
votes
4answers
30k views

Forcing a figure strictly on a separate page

How can a figure be forced to appear alone on a separate page? \begin{figure}[p!] forces it to a separate page, but it does not guarantee that some other small figures (which I'd like to be included ...
15
votes
1answer
13k views

Table captions are always placed below

I have a problem with table captions in LaTeX. They appear always below the tables instead of above as required by my editor. I've read lots of documentation and everybody says that if you place the ...
13
votes
2answers
5k views

How does TiKZ calculate positioning of picture on page?

I'm trying to use \beginpgfgraphicnamed to externalise some complex figures in a large document, using the latest released version of TiKZ (2.00). This produces standalone PDF images but for me the ...
10
votes
4answers
2k views

Tikz labels are shifted dependent on the letters size

General description of the intrinsic behavior The labels in a tikz picture are shifted (e.g. by above) exactly to the extreme of the letters in the labels, i.e. it takes the descender (see ...
10
votes
3answers
1k views

Determining the position of a box (e.g.) on a page

Suppose I have some .tex code like this ... bla bla \framebox{Hello World} bla bla ... I want to read out the position (left and top or bottom, in pts) of the framebox on the page, and store in, ...
10
votes
1answer
6k views

How to draw an arrow in the middle of the line of a circle and how to position the arrow?

My problem is related to TikZ: How to draw an arrow in the middle of the line?: My Example: I like to have two circles - I want to position the arrow of circle no. 1 at south.south west of circle no. ...