{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
1answer
529 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
564 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
252 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
161 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
3k 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
201 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
3answers
14k views

How to align two images side by side and to scale them automatically to use whole slide?

I have two images. How do I align them side by side and scale them so that both of them together occupy the whole horizontal space in a beamer presentation? \begin{frame} \frametitle{Inconsistency} ...
9
votes
3answers
2k 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
4answers
8k 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
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
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
182 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
482 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} ...
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
10k 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 ...
9
votes
1answer
219 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
672 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
646 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
12k views

How to control the position of floating images? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned I want to make it like this: text image text image But even if I put [h!] to the position the figures, the ...
9
votes
1answer
3k views

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

my problem ist 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 ...
9
votes
1answer
269 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
1k 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
3k 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
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 ...
9
votes
2answers
1k views

Extra page at beginning of appendix containing big figures

I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures. ...
9
votes
2answers
4k 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 ...
9
votes
2answers
103 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 ...
9
votes
1answer
914 views

Remove Marginpar from Classicthesis 4.1

I am searching for a safe method to remove the \marginpar feature in classicthesis. My corrector would rather have the text use the whole page. I am not that firm in LaTeX, so I tried to simply remove ...
9
votes
1answer
287 views

Label a lstlisting listing in the lower right corner

I want to put a label in the lower right corner of my listings, in this case to indicate the kind of code listed there. I have a bad hack that works somewhat and illustrates what I want: ...
9
votes
3answers
3k views

How to prevent two column text to overlay with minipage of entire pagewidth?

I have a two column latex document and at the beginning of each chapter, I want to manually insert a minipage which spans the two columns. Unfortunately, the text in the right column will always ...
9
votes
1answer
3k 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 ...
9
votes
1answer
573 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 ...
8
votes
4answers
193 views

TikZ chain adjust positions of on-the-arrow node

\documentclass{article} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture}[start chain=circle placed {at=(\tikzchaincount*30:1.5)},regular/.style={draw,circle,inner ...
8
votes
3answers
357 views

Poster text positioning: Get width of \hfill

How can 0123456789 be aligned as shown in red: Same baseline as abcdefghij, aligned left with ABCDEFGHIJKL? \vlines are just for illustration. I am designing a poster where exact text positioning ...
8
votes
2answers
532 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 ...
8
votes
4answers
349 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 ...
8
votes
2answers
475 views

Alignment base on two reference nodes

I am new to tikz. If I have two nodes [A] and [B] as: [A] [B] How do I align [C] so that it is vertically below [A] and horizontally left of [B] such that: [A] [C] [B] without ...
8
votes
2answers
2k views

Printing interlinear translation: how to mix automatically two paragraphs, printing lines alternately

I am writing a document on a foreigh language, say French, and want to put some paragraphs in French with their translation in English. But I would like to print one line in French, the corresponding ...
8
votes
2answers
431 views

Giving a `matrix` node an `alias`

This TeX.sx question asks if is it possible to use a TikZ matrix along a chain. The error that occurs when one tries to do so is Package pgf Error: No shape named chain-3 is known., and a way to ...
8
votes
2answers
2k 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 ...
8
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 ...
8
votes
3answers
169 views

figure next to a barplot

Okay, I tried a lot of things and can't really find it anywhere. Is there a simple example code for how to put a picture next to a graph? I tried to play around with hspace and vspace as well as an ...
8
votes
2answers
253 views

TikZ: using the pos = x in a node

Why doesn't the pos = x option work when the node is used in the plot command? \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw plot[domain = 0:2, samples = 100] ({\x}, ...
8
votes
2answers
161 views

Offset a symbol without changing layout

I'm using a certain symbol that I would like to shift down without effecting it's layout(change the surrounding markup's positions): a test case is: $\begin{array}{ccc} a & b & c\\ a ...
8
votes
2answers
3k 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} ...
8
votes
2answers
2k 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.} ...
8
votes
2answers
2k views

Include floated figure in two column environment

I'm using a two column layout and I'm trying to get a figure to appear on the bottom of the page it's currently on. Floats don't work natively in a multicol environment. Right now I'm getting around ...
8
votes
1answer
7k 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] ...
8
votes
2answers
852 views

Hyperlink's bad navigation of sub-figures on click

I am using hyperref package to have hyperlinks automatically generated for figures, equations, table of contents, etc... My problem is if I have a big figure consisting of sub-figures and then have a ...
8
votes
4answers
893 views

Override tendency to avoid filling entire page with floats

I'm working on a two column document, and on one of the pages, I want to fill an entire column with three different floats. But when I use, for instance, h!, ht!, b, b!, t!, etc., on all three of ...