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

3
votes
1answer
6k views

Add an equation at the bottom of a two-column article

How can I place a two-column equation (a large equation that does not fit in one column) at the bottom of a page?
10
votes
3answers
4k 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 ...
8
votes
2answers
6k views

Position an exampleblock in front of content

I need to position an example block: \begin{exampleblock}{} Proposed and implemented \end{exampleblock} Without disturbing other frame content. Something like: -------------------- ...
7
votes
2answers
11k views

How to locate figures with x,y specified location in a presentation

I want to fix my figure in slide (latex frame) as per my wish with x,y position specification. Kindly someone help me to do it.
6
votes
3answers
4k views

Align text and image on the same line?

According to the two-column example document below, how can you put text and image on the same line? I'm interested in how to insert text at Some text here and more text here with the image right ...
5
votes
1answer
321 views

An overview of node positioning?

I've been making tikz pictures for a while now, and there seem to be a number of different ways to position nodes within a diagram. Absolute coordinates, east/west, left/right, the $ $ things, minimum ...
5
votes
1answer
775 views

Placing listing and figure side by side in memoir

I am writing a document using the memoir class where I want to place listings (with the listings package) and figures side by side. My first approach was to save the listing in a box and use subbottom ...
5
votes
1answer
3k views

put two algorithm side by side

I want to put two algorithm side by side to gain place in the document, but when I use \documentclass{llncs} instead of \documentclass{article}, the following code does not work (errors): ...
4
votes
2answers
477 views

How can I add size of Tikz drawing into size of equation?

This is slightly modified code from Frédéric's answer to How can I add clips above matrix? \documentclass{mwrep} \usepackage{amsmath} \usepackage{tikz} ...
2
votes
4answers
957 views

How to place a program and a text side by side?

My first question is how you write a program in LaTeX, with and without a line number for each line. The second question is, because often my program is not too large, I want to save some space for ...
15
votes
1answer
223 views

Why positioning “above” is at a different height than “above right”?

Trying to answer to How to improve this picture? Or have a better idea?, I had a behavior I do not understand. Please consider the following MWE: \documentclass{standalone} \usepackage{tikz} ...
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
3answers
2k views

Placing text and footnotes on separate pages

How can I place the main text of a document on only verso (left) pages and the footnotes on recto (right) pages (or vice versa)? Update: The expected appearance is not unlike moving the whole ...
13
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 ...
12
votes
2answers
4k 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. ...
11
votes
2answers
1k views

How can I put the empty subfloat subcaptions to the right?

I'm putting two figures above each other with \subfloat from the subfig package. Their captions are empty as I just want to describe the figures with the main caption, but I still want the (a) and (b) ...
10
votes
2answers
3k views

How to position nodes around another node in TiKZ?

I'd like to position some nodes in TiKZ around a given node. I could do that manually, by setting each node position, but why not looking for an easier way that looks better? I thought about using a ...
8
votes
2answers
270 views

Extending figures into the margin on even vs. odd pages

I am using KOMA script for my document. Occasionally, I have a float that is wider than text width, and I want the float to be pushed into the outer margin. This is why I defined \widefloat command, ...
8
votes
1answer
711 views

How to add text into a QR-Code?

I want to add a text to the QR-Code. I want a small numbers in one of the four black squares. \documentclass[a4paper, 12pt, parskip]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{pst-barcode} ...
7
votes
2answers
3k views

Force position of full page sized figure

I'd like to have text that is placed after a figure which occupies a whole page also to be placed after that page in the produces PDF file. Imagine this (pseudo latex, not necessarily a working ...
7
votes
1answer
10k views

How do I put an image on the left of right-aligned text

I'm trying to add an image to the top left corner of a page (inside the margins) in LaTeX. Across from the image I want a set of right-aligned text. I tried using two columns but the image is smaller ...
6
votes
2answers
1k views

Tikz-Connecting nodes with multiple lines

I am trying to reproduce the following image I made in "Power point". Although, there is no difficulty in designing the boxes, I find it rather hard to properly position the red and black lines. ...
6
votes
1answer
991 views

Difference between [h] and [H] in float position

I'm trying to choose the positions of my tables but I can't figure out the difference between [H] and [h]. I've seen both advised over my search. If I use [h] the row spacing is different than [H] ...
6
votes
2answers
3k views

Textpos not showing anything

I'm trying to create a business card in LaTeX. Accordingly, I want to use textpos to absolutely position the various elements. For some reason, textpos is just not showing anything. What I want is ...
5
votes
2answers
2k views

Horizontal lines touching the multicol column separator rule

Is there a possibility to put a horizontal line above and below a multicolumn output (using the multicol package) such that the horizontal lines touch the multicol column separator exactly at its ...
4
votes
4answers
1k views

tabular side-by-side

I am trying to get two tabular constructs side-by-side with a tikz figure in between and can't seem to get what I want using the minipage construct. Here is the code I have ...
3
votes
3answers
135 views

amsmath aligned environment: correct positioning of equation number on the last line with tbtags

tl;dr How to place the equation number on the last line of an {aligned}[t] environment? (Similar questions have been asked in Equation number in aligned environment after last line and How can I ...
3
votes
2answers
137 views

How to print addresses

I have a list of addresses. How can I print those such that I can print those and glue to envelopes? I mean, I would like that every page has three addresses in every row and eight addresses in every ...
3
votes
2answers
234 views

Placing a table next to figure (align table vertically centre)

I would like to place a table and figure side by side in my document. I have achieved this with the following code \documentclass[a4paper,10pt]{article} \usepackage{floatrow} \usepackage{color} ...
3
votes
1answer
6k views

Insert image in latex [duplicate]

Possible Duplicate: Force figure placement in text Hi! I'm trying to insert an image in latex with some text around: Here is our image: \begin{figure}[h!] \centering ...
2
votes
1answer
670 views

Positioning the address in a Letter

I need to place the right-side address differently in my .tex file but I can not figure out how to do. What I would like is to have the last line from the right-placed address at the same line as the ...
1
vote
0answers
668 views

Include an image in title page using powerdot [closed]

I want to include an image at the center of the title page of my powerdot presentation. Incidentally, I want the same image to appear as a logo on all the other slides (positioned bottom centre), ...
16
votes
2answers
13k views

Two minipages with 0.5\textwidth each get placed one below another

This happens in the beamer class only. Does anyone know the reason behind this? I fix it by just setting both widths to 0.49\textwidth and this works but I'm still curious why this happens and if I ...
8
votes
1answer
416 views

Include figure on the same page above \chapter

In a book, with the book documentclass, I'm typesetting I want to include a figure above the \chapter title. This however has turned out to be hard. With the following code: \chapter{Uppväxt} ...
7
votes
1answer
144 views

Understanding tikz inheritance with the positioning library

I have trouble understanding the tikz inheritance model while using the positioning library. Consider the following example: \documentclass[]{scrbook} \usepackage{tikz} \usetikzlibrary{positioning} ...
7
votes
1answer
303 views

Why is my prime symbol too low? And: Why are my subscripts not scaled accordingly when I use \scriptsize?

I have two (maybe simple) questions concerning the following LaTeX document \documentclass{scrartcl} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} ...
7
votes
2answers
3k views

angled fraction like superscript [duplicate]

I would like to draw a fraction like symbol that looks similar to \frac{a}{b} BUT is angled so that the a is higher than the b and the slash is angled. Sort of like a % sign but not as drastic. Not ...
7
votes
1answer
9k views

How do I get the margin note to appear on the left?

I'm trying to make a left-sided margin note. As per the LaTeX wiki, I tried using \reversemarginpar but that didn't solve anything--it didn't make a margin note at all. I also tried \marginpar[left ...
6
votes
1answer
1k views

How can I add offsets to coordinates in tikz?

I’m trying to add offsets to two coordinates with tikz like this: \draw[line width=4] (coorda) ++(0.3pt,0) -- (coordb) ++(-0.3pt,0); The first ++ instruction works just fine, but the second one has ...
6
votes
2answers
2k views

How can I inhibit LaTeX to float a table across a section boundary? [duplicate]

Possible Duplicates: How to avoid splitting tables between sections. How do I ensure that figures appear in the section they're associated with? I have a couple of tables that ...
5
votes
2answers
164 views

Figure placed on a separate page is centered and not on top

I have multiple figures placed in my document (all of which are using [htbp], [ht] etc. and are placed correctly). The last figure receives a separate page (which is alright) but it's centered on this ...
5
votes
1answer
150 views

How can I get a Royal Mail \psbarcode below addresses in letter?

Here is what I'm working with: \documentclass{letter} \newcommand*{\BottomLeftX}{1.0in+\hoffset+\oddsidemargin}% ...
5
votes
2answers
2k views

Position of superscript when superscriptd item has \hat over it

I am trying to typeset he following inline math for a camera-ready document: $\hat{\boldsymbol \Sigma}_{P}^{-1} \hat{\boldsymbol \Sigma}_{G}$ It appears that the superscript -1 is aligned ...
4
votes
3answers
462 views

move \footnoterule to right

I would like to move a \footnoterule to right by 3 cm to be aligned with a footgroup moved to right by 3 cm. I know that footnote rule uses a \hrule To move the rule, I should put it in a \vbox, and ...
4
votes
1answer
230 views

{Tikz}{Tree} How to reduce leaves placement

Hello (and sorry for bad English...) I am working on a Tex document to produce algorithmic diagrams : it is quite good for me except that I would like to be able to reduce space used by leaves (it ...
4
votes
1answer
411 views

How to prevent figures from floating 'into' listings [closed]

I have a problem with floats and listings. Sometimes it happens that a listing is split over two pages and when a figure is near the listing it happens that the listing starts on the first page, on ...
4
votes
3answers
370 views

Make TikZ compute the x-coordinate of the margin

The command \hrulefill prints a line that fills all empty horizontal space with a line. I would like to do something similar with TikZ. What I would like to know is can I do something similar like ...
4
votes
2answers
2k views

Make tikz picture floating

I'm inserting a tikz picture in my section headings with \titleformat (see this question) and I would like it to not affect the spaces in the headings. Right now, what I do is that I compensate the ...
3
votes
1answer
150 views

How to move amsmath equation label into LHS margin?

I am using amsmath and I would like to move the equation label into the left hand side margin aligned with the top of the equation. I have looked through the documentation but I can't find anything on ...
3
votes
1answer
154 views

Not wanted space before marginpar

At the moment I'm working on a little report. Therefore I had to redefine the \marginpar{} command new because I wanted it in a smaller font-size compared to the 'normal text'. The code I've written ...