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

42
votes
2answers
64k views

What does [t] and [ht] mean?

I would appreciate if someone could tell me difference between [t] and [ht] in the following example? I don't see a difference in the output pdf file. \begin{figure}[ht] ... \end{figure} and ...
22
votes
4answers
741 views

Send (and stack) \marginpar to the top or the bottom of the page

I'm looking to define something like \topmarginpar{<text>}, which would essentially create a \marginpar{<text>} and align its top with the top of the current page. I would also like ...
6
votes
3answers
2k views

Caption issue when placing figure side by side

I placed 2 figures side by side using the minipage method from this post, and the figures look perfectly fine. However, the caption of the right figure stick out into the margin, why is that and how ...
11
votes
1answer
989 views

Create a “yearbook-style” multi-page layout of photos

I would like to create a "yearbook-style" layout of photos in LaTeX. Each photo would have a caption and the objective would be to automatically layout the differently sized rectangular photos to ...
14
votes
2answers
689 views

Set a global policy for floats positioning

I have a document with many floats (figures, specifically). I want to be able to change the global floats positioning policy from htbp to just h (or even H with the floats package). For my-own ...
12
votes
4answers
8k views

How to place an image at the right top of a document?

I've been learning LaTeX and this community has been very helpful. Currently, I'm trying to set up corporate letters but as a newbie I'm encountering a variety of challenges, so I'm posting them one ...
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 ...
13
votes
1answer
5k views

How can I position equation numbers always to the left side?

Equations and amsmath environments put equation numbers to the right side by default, the output of \begin{multline} some equation \end{multline} is: equation (number) How can I change it this ...
9
votes
4answers
12k 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 ...
6
votes
3answers
1k views

Four smaller pages in one page

I would like to style my document in such a way that the page is divided into four equal parts and then the text is printed in those pages: it is similar to twocolumn but I also want to have, say two ...
27
votes
3answers
64k views

How to use the placement options [t], [h] with figures? [duplicate]

I want to control the placement of figures. The paper that I am currently writing contains a lot of figures, resulting in some figures ending up in the bibliography section. Therefore I want to ...
15
votes
1answer
5k views

Positioning relative to page in TikZ

Consider the following: Let's say I have a dot. I would like to be able to position this dot anywhere on the page: at the corner, in the middle, anywhere. So far, despite poring over manuals and ...
20
votes
2answers
3k views

Margin Figures/Captions

I have two figure/caption related questions. Firstly, in many textbooks, it is customary to put thin figures (along with their captions) entirely in the outer margin of the page. What is the most ...
25
votes
4answers
3k views

Placing footnotes or endnotes at the end of the current paragraph

This question led to a new package: parnotes How can I get footnote or endnote text to appear right after the paragraph in which it was mentioned? Update: As my question lacks sufficient ...
21
votes
2answers
29k views

How to force table caption on top?

I have a table which works ok...as per example below. But in the thesis, the right column is centered and caption forced to below table. Is there a way I can make it look like? ...
17
votes
2answers
1k views

Package for game/playing cards (not only poker)

Is there a package to design playing cards (NOT ONLY POKER and similar card games, but board games like this and that) in TeX (and friends)? I'm well aware of this one and a half years old topic ...
19
votes
6answers
5k views

Skip to absolute position on line

Is there a way to skip to a fixed position on a line? (a specific tab position) Example: The quick \skiptoposition{1.5cm} brown \skiptoposition{2.5cm}fox which would put "brown" 1.5cm and "fox" ...
12
votes
1answer
913 views

Figures in odd pages, text in even pages; if no figures, then odd=even pages (i.e., no blank pages w/ numbering and headers…)

I'm writing my thesis using \documentclass{book}. I have plenty of figures and I want them to appear always on the right hand of my manuscript (since this is the "attraction" page when reading, and ...
9
votes
1answer
3k views

Undesired Placement of Footnotes in Blocks

Depending on the theme of a beamer-document, footnotes will either be placed inside or outside of a block-environment. It would like to do combine a style, which places the footnotes inside a ...
15
votes
4answers
1k views

Hyperref jumps to the wrong equation if the equation has a \tag and cleveref is used

The problem I'm writing a document where all of my equations are labeled, not by numbers, but by names, which I provide with amsmath's \tag command. I also use cleveref for ease of ...
12
votes
2answers
706 views

How to float until on left (or right) page?

I have two sideways tables that I want on two facing pages so the reader can turn the entire book and read them both in one turn. For the moment I keep moving them around to keep them on facing pages. ...
6
votes
1answer
497 views

Margin floats and hyperlinks

I read Margin Figures/captions and the answers within. I have stripped the definition of the marginfloats from the tufte documentclass into the MWE below. Can the definition of ...
7
votes
3answers
1k views

Macro for figure position?

Why is the following minimal example not working? I.e., what do I need to do, in order to define the float placement specifier of a figure within a macro? (I know that I should use \newcommand, but ...
6
votes
2answers
809 views

Help aligning tables.

I need to align 1 table to the right and two to the left, the layout I want to achieve is something like this: \begin{figure} \centering \subfloat[]{% \begin{tabular}[b]{cc} \hline 0 ...
1
vote
1answer
7k views

Put a figure with a table side by side

I have a table and a figure, I want to align them one next to the other (not one under the other): \documentclass{llncs} \usepackage{capt-of} \usepackage[demo]{graphicx} \begin{document} ...
8
votes
2answers
319 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}, ...
6
votes
2answers
295 views

positioning of a matrix bigger than margins

A document I'm working on has a table that was complicated enough for me to try and make it using a pgf matrix of nodes. However, the resulting matrix ended up being slightly too big for the page. ...
5
votes
1answer
590 views

How to ensure that 2 couples of figures are on 2 facing pages?

I would like to reproduce the following layout with two figures on one page and two others on the facing pages. I would like the first couple to be on an even-numbered page and the second on an ...
3
votes
2answers
97 views

How to set the default float position, e.g., set it to be H? [duplicate]

Is there a way to set the default position option for floats? I want all float to by default to use the option H. Then I only need to set position parameter for those floats that I do not want to use ...
3
votes
1answer
601 views

Even spacing between successive textblocks (or equivalent)

I am writing a poster in LaTeX (\documentclass[a0,portrait]{a0poster}) Each block of the poster is created with textblock, like: %MOTIVATION \begin{textblock}{16.4}(.3,1.8) \begin{tikzpicture} ...
2
votes
1answer
171 views

subfigure placement incorrect with 4 figures

I am having an issue with latex placing my figures incorrectly. I have 4 related plots that I want to appear together as a single figure (with a,b,c,d sub-references). \begin{center} ...
2
votes
1answer
299 views

Minipage content overlaps with text before that if nccmath is used

It seems that if the nccmath package is included, then the text in the following minipage overlaps with the text before that if the minipage contains only display math. The \FixMinipageForNccmath ...
20
votes
2answers
17k views

Reproducing an official letterhead

My university, just like many other institutions, isn't really aware of something called LaTeX. Therefore, the letterhead comes only in MS Word. The following (low quality) image is the best guide I ...
16
votes
4answers
8k 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, ...
22
votes
2answers
6k views

Tikz: Arrowheads in the center

For arrows I have gone through options like ->, ->>, <-, <<- but havent found one for making the arrowhead appear in the center of the line of the curve (something like ->-) How do I do it in ...
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 ...
22
votes
2answers
15k views

How to place a table on a new page with landscape orientation without clearing the current page?

I'd like to place a table on a new page with landscape orientation. To do so, I use \usepackage{pdflscape} ... \pagestyle{empty} \begin{landscape} \begin{table}[htbp] \begin{center} ...
10
votes
2answers
6k 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 ...
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 ...
14
votes
3answers
4k 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
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 ...
9
votes
1answer
10k 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] ...
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 ...
2
votes
1answer
4k views

Alignment and scaling of nested subfigures

Update: Read this first I originally asked this question to find out how I would show a large image with magnified portions of the same image next to it. I was doing this by manually cropping copies ...
15
votes
1answer
14k 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 ...
14
votes
1answer
2k 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 ...
12
votes
1answer
375 views

Drawbacks of the `H` specifier

According to the float package documentation, the H float placement specifier [...]when added to a float, tells LaTeX to “put the float HERE, period”. If there isn’t enough space left on the ...
12
votes
3answers
7k 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 ...
9
votes
1answer
255 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, ...
14
votes
2answers
3k 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 ...