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

16
votes
3answers
2k views

How to draw text-anchored tikz line below text instead of above?

I wish to mark several pairs of from/to anchor locations in text, and use tikz to draw lines between these. The anchors are not in absolute page locations; the text determines where the endpoints of ...
21
votes
2answers
5k views

How to align a series of TikZ pictures at the baseline

I am trying to align a series of pictures made up of letters, using TikZ. Having tried almost all combinations of the baseline key it is obvious I am missing something. Here is a MWE (currently ...
13
votes
1answer
262 views

Formatting floats differently based on placement

I'm interested in changing how floats are formatted depending on whether they are placed at the top, bottom, or middle of a page, or on a float page. One package I am aware of that does something like ...
11
votes
1answer
2k 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 ...
25
votes
1answer
21k views

Placing equation numbers on the right

I am new to TeX and am using scribtex to write a maths paper. When I put the followng code, the equation number is automatically displayed on the left, instead of in the right as is usually done. What ...
5
votes
2answers
9k views

Table and Figure side-by-side with Table caption above, Figure caption below

A continuation of this question. I'm fighting a page-limit in a single-column layout and I need to put a Figure and a Table side-by-side and provide them with independent captions. However, the style ...
2
votes
2answers
7k views

Subfigures placed horizontally

I want to place two or more figures on top of the two-column page next to each other (horizontally). However, for some reason I can't do this. This is the code that I use, it puts the second figure in ...
62
votes
2answers
106k 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 \...
30
votes
3answers
5k views

Tables below footnotes, is this a good output routine algorithm or a bug?

Consider the minimal code below, which produces two different layouts depending on the table position marks. The first layout uses \begin{table} which results in the table ending below the ...
14
votes
1answer
1k 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 ...
15
votes
2answers
926 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 ...
10
votes
3answers
564 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 # # ...
12
votes
4answers
14k 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 ...
11
votes
1answer
793 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
4answers
22k 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 ...
5
votes
2answers
7k views

\phantomsection - how to jump to the chapter title instead of the center of the page (only)

I use \phantomsection in my document, because I have nonnumbered chapters in Table of Contents: \chapter*{Chapter title} \phantomsection \addcontentsline{toc}{chapter}{Chapter title} Command \...
1
vote
1answer
10k 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} \begin{...
6
votes
3answers
2k 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 ...
52
votes
4answers
133k views

Force LaTeX image to appear in the section in which it's declared [duplicate]

Possible Duplicates: How do I ensure that figures appear in the section they're associated with? Keeping tables/figures close to where they are mentioned How can I force an image in a ...
27
votes
2answers
9k 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 ...
28
votes
2answers
49k 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? \documentclass[12pt]{...
7
votes
3answers
3k 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 ...
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 detail, ...
19
votes
6answers
8k 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" 2....
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 cross-referencing....
9
votes
3answers
4k 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 -...
11
votes
1answer
4k 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 block-...
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 ...
16
votes
2answers
5k views

How can I place a double-wide figure float (ie, figure*) on the bottom on the first page of a two-column document

In what I would like to be a two-page, two-column document with two wide (figure*) figures, I need one to be on the bottom of the first page, and one to be on the top or bottom of the second. ...
14
votes
2answers
816 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 ...
6
votes
1answer
592 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 \@tufte@margin@...
5
votes
1answer
823 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 ...
6
votes
1answer
4k views

How to move the whole block of {align*} to the left?

I use {align*} a lot, it seems that the block of {align*} are automatically centered. How could I move the block to the left margin?
6
votes
2answers
902 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 &...
8
votes
2answers
640 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}, {(...
7
votes
1answer
882 views

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

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 odd-...
6
votes
2answers
436 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. I'...
3
votes
1answer
1k views

Centering full-page Tikz image on page without margins with xelatex?

I'm trying to export some full-page SVG images via inkscape2tikz, and then trying to include these tikz-code images in a Latex document; but there seems to be a slight problem with xelatex. After ...
2
votes
1answer
2k 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} \begin{figure}[...
2
votes
1answer
354 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 ...
1
vote
1answer
5k views

How to put subcaptions below subtables, and increase gap between subtables with 'subfigure'?

Using 'subfigure', how can I create subtables within a table, such that a) subcaptions are underneath each subtable, and b) there's a reasonable horizontal gap between the subtables? So far I've only ...
42
votes
7answers
59k views

Inserting a small vertical space in a table

Is there a way that I can insert a small space in a table? When I use a superscript, the number touches the \hline. \documentclass[9pt,letterpaper]{article} \usepackage{helvet} \renewcommand{\...
24
votes
2answers
25k 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 ...
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, circle,...
18
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 ...
19
votes
2answers
2k 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 ...
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
853 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 ...