{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)

10
votes
2answers
9k views

Forcing bibliography to the end [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? I'm using the thebibliography environment, in a paper that has three floating figures. ...
10
votes
2answers
1k views

Writing the Existential Quantifier with Lower and Upper Limits

When I write $$\sum_{i=1}^{n} x_{i}$$ I obtain indices which are below and above the symbol. I want to write the existential quantifier with this same formatting, but when I try to do so, it appears ...
10
votes
2answers
1k views

Marginpar appearing on the wrong side (using memoir)

The subject line pretty much says it all: some marginal notes (beginning of the second page) do not appear on the correct side. (The question is: how can I fix this automatically?) Below is a MWE that ...
10
votes
2answers
601 views

How can I insert a paragraph or image into the same spot on every page of a memoir doc?

How can I duplicate one feature of this layout from 'House of Leaves' in a 100ish-page book using LaTeX? (I'm presently using memoir for document formatting/structure.) The specific feature I want ...
10
votes
2answers
3k views

Positioning a tikz scope relative to another tikz scope

In the manual of PGFplots on page 333 the author describes how to position an axis environment relative to another axis environment: \begin{tikzpicture} ...
10
votes
1answer
790 views

How to create roller coaster text?

I want to specify a curved base line (rising and falling like a roller coaster), then to have the text positioned such that it flows along that line. Is there a way to achieve this?
10
votes
1answer
14k views

tables side-by-side using minipage

I'm trying to get three tables side by side using minipage. In spite of my horrific efforts my tables keep stacking on top of each other instead of standing beside what drives me mad. Can anybody spot ...
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
3answers
558 views

How can I make LaTeX ignore height of underbrace?

I have created this matrix: With this LaTeX-Code: \documentclass{article} \usepackage[pdftex,active,tightpage]{preview} \setlength\PreviewBorder{2mm} \usepackage{amsmath,array} ...
10
votes
2answers
972 views

Can TeX/LaTeX draw lines at precise positions?

I need to draw lines at specific distances (in mm). For example: ---- line 0 ---- line 1 at 35.64 mm below line 0 ---- line 2 at 33.64 mm below line 1 The macro I'm using is as follows (I don't ...
10
votes
2answers
427 views

Anchors badly positioned

I am trying to overlay some transparent boxes over a picture using TikZ within a Beamer frame. The code I use is the following: \documentclass{beamer} \usepackage[spanish]{babel} ...
10
votes
1answer
355 views

Can I calculate the difference between two relatively positioned nodes with TikZ using calc?

I have a chart with relatively positioned nodes. How do I calculate the horizontal distance x, between node "sub3" and node "key" and multiply that value by 2 and use it for the positioning of node ...
10
votes
2answers
7k views

Subfig label positioning

Can anyone tell me how to change the horizontal position of subfigure labels? I have: \captionsetup[subfigure]{labelformat=simple,position=top} Is there something like: {position=topleft} to ...
10
votes
1answer
1k views

Tikz tree and position of single leaf in binary tree

I am constructing a binary tree which looks as follows: \begin{tikzpicture} \node {root} child { node {left} } child { node {right} child { node {rightmost} } ...
10
votes
1answer
201 views

How to have the mdframed material flow in the top part of consecutive pages

Suppose you have the following layout: The gray area represents normal text. The orange area consists of one or more text boxes (inserts) of given height. Some textbook layouts present advanced or ...
10
votes
2answers
191 views

Auto-Range for size of figures?

Is it possible to give figures a "range" for their size? For example from .3\textwidth to .5\textwidth or 5cm +- 10% or 5 cm +- 0.1\textwidth. You give a range for all images and TeX chooses the ...
10
votes
1answer
634 views

Label automatically positioned so that it doesn't overlap anything

I produce automatically generated LaTeX-files with nodes and links. Is it possible to put the label of the node outside of the node and it is automatically positioned somewhere, such that there is no ...
10
votes
1answer
4k views

Scaling “node distance” in tikz

Well, here's another TikZ question; this time, I have no idea how to find an answer. I would like to give all my nodes with relative coordinates: \node (A) {A}; \node (B) [right = of A] {B}; using ...
10
votes
1answer
621 views

graphics - dynamic image placement

This is a follow up to my post here: Graphics - Images off the page in multicolumn environment Using C#, XML, SQL, and LaTeX, I've managed to create a system which retrieves database information and ...
10
votes
1answer
1k views

Tikz callout: positioning start of pointer

The pointers of my Tikz callout rectangles always start in the middle of the rectangle. But that kind of pointer sometimes gets in the way of other objects (e.g. the pointer start should be more to ...
10
votes
1answer
262 views

Reproducing a spacious layout of verse annotation

LaTeX footnote and pagination routines by default allow long or multiple footnotes for a given page to spill-over to following page(s) of the text. But the interaction of the pagination and notes ...
10
votes
0answers
171 views

Insert pictures into whitespace in document [closed]

Okay, I'm not sure if this is even possible. We're currently switching the layouting of our "Basics" university intro booklet from Scribus to LaTeX. A difficulty there is minimising white space after ...
9
votes
4answers
4k views

How to get an exponent hat

I would like to use a hat in exponent for a notation, and I have found no satisfactory way of doing this. If I go for $f^{\hat{\null}}$, the hat is far too high, while $f^\wedge$ gives to big and too ...
9
votes
3answers
303 views

Is the following layout possible with the subfigure package?

Is it possible to achieve the following layout with the subfigure package (and any other package/command I don't know about): ############# ############## # # # # # pic1 # # ...
9
votes
4answers
13k views

side-by-side equations, with equation numbers for each

The align command from amsmath allows me to put two equations side-by-side: \begin{align} x = y && a = b \end{align} Unfortunately for my purposes, this shows both equations under one ...
9
votes
3answers
208 views

Accented Character in ornamental drop-caps using Zallman Caps

I'm looking to use an ornamental drop-caps using Zallman Caps and the lettrine package. However Zallman Caps doesn't have all characters I'm interested. In particular, I'm interested in placing ...
9
votes
3answers
3k views

Centered box, text inside it flushed right?

I have some text (like a title), that needs to be centered, and some notes to it (multiline - note 1 \\ note 2), which should be directly underneath it and on the left side of it: Some ...
9
votes
1answer
1k views

Why has no one told me I can use rubber lengths for graphics? Is that bad?

I just had a thought. Quite commonly when I define a figure graphics I write something like: \begin{figure}[btp] \centering \includegraphics[width=0.95\textwidth] ...
9
votes
2answers
4k views

How can I get textpos to respect beamer overlays?

I'm using textpos to position text blocks in a beamer frame. However, the textblock environment does not seem to respect overlay commands. In the following example, I want "some more text" to be ...
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
1answer
2k 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
1k views

Theorem Name/Numbering in Margin

I have seen the previous discussion on this same issue before (see Theorem name and number in margin, note in text), however this did not resolve anything as clearly as I had hoped. Basically, I ...
9
votes
2answers
6k views

Forcing a figure to appear on the next page

I have a figure which takes up an entire page of space. When I use \includegraphics to put it in my document, instead of appearing on the next page, it appears at the end of the section. However, I ...
9
votes
2answers
3k views

How to insert text between two figures?

How to insert text between two figures or images in LaTeX? I have this code \begin{figure}[htbp] \centering \includegraphics[width=0.5\textwidth]{1.jpg} \caption{Resala's Donation Page.} ...
9
votes
1answer
10k views

size and location of cube root symbol [duplicate]

Possible Duplicate: Nice-looking p-th roots On math.stackexchange I wanted the cube root of a fraction in display mode, and used $$\sqrt[3]{\frac ab}$$ to get it. The 3 comes out very ...
9
votes
2answers
216 views

stacking text for cryptography

What is the best way to stack long passages of (fixed-wdith) text on top of each other? I am writing exercises and solutions for a cryptography class and would like to be able to have plaintext above ...
9
votes
3answers
3k views

How to put algorithm and figure(s) side by side?

How can I put an algorithm and figure(s) side by side? Say, XXXXXXXXXXX FIG ONE XXXXXXXXXXX FIG ONE XXXXXXXXXXX FIG ONE XALGORITHMX FIG TWO XXXXXXXXXXX FIG TWO Please, only post working solution ...
9
votes
1answer
679 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 ...
9
votes
1answer
592 views

Lost float in exam class

For some reason, I can't seem to put a figure or a table environment inside a solution environment while using the exam class. It produces a float is lost error. Has anyone found a way to bypass this ...
9
votes
1answer
831 views

How to create a 'fact box' or pull quote that is tied to the margins of your page?

I'd like to accomplish the following: Ut convallis libero in ------------------- urna ultrices accumsan. | | Donec sed odio eros. | "an important | Donec viverra mi quis ...
9
votes
2answers
771 views

How to number atoms using chemfig?

I need to number atoms using chemfig. I thought I could use \chembelow and \chemabove to place numbers above and below but adding these commands changes the look of the drawing and does not simply ...
9
votes
1answer
11k 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] ...
9
votes
2answers
713 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 ...
9
votes
1answer
4k 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. ...
9
votes
2answers
2k 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} ...
9
votes
1answer
429 views

Consistent vertical positioning of superscripts

This is somehow a follow-up question to this one. I've got the following math expression: \nabla_y u_0^{(i)}\nabla_y v^{(i)} However, no matte, whether I enclose the v in curly brackets or not (as ...
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 ...
9
votes
2answers
4k views

Wrapping text around multiple figures

I am a beginner in LaTex, but I have to to do this in a hurry: I need to write a macro to handle 2 cases (or one macro for both). 1st case: i have 1 - 3 pictures on the right side, and the left ...
9
votes
2answers
665 views

footnotes - on the bottom except on last page of chapter

My school requires that dissertations follow a set of sometimes odd formatting requirements. We have a latex class file which does a reasonable job at bringing documents into compliance with their ...
9
votes
1answer
2k views

TikZ chains etc: modify automatic node placement

I’m trying to draw a chain, roughly like: The catch: I want to manually specify the vertical placement of node C, but I still want to use TikZ’s default horizontal placement. Currently, I can only ...