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

190
votes
9answers
159k views

Keeping tables/figures close to where they are mentioned

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?
0
votes
1answer
105 views

How can I move the second block of a column of three down?

My question is related to Tikzposter and blocks within columns. Begin situation: The code is describing three colums with each a block within Tikzposter. The second column block has no text. ...
1
vote
1answer
41 views

The [H] doesnt change figure* placement, printed on page instead

I'm trying to modify my figure placements, but the [H] (and [!ht], etc) isn't working. It has no effect on the figure placement, and I get the text "[H]" added just before the image. MCWE: \...
1
vote
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 ...
1
vote
1answer
75 views

problem with four images in twocolumn article with same note

I have a problem with the images in the picture below.I can't place them right in my twocolumn article.And also the note below them can't be placed at center. Any idea?[![enter image description here][...
2
votes
1answer
123 views

I have 3 data series and 2 different y-axis. How can I add, outside the graph, the legend for each of three series?

Does someone know how can i change the position of my legend to right-side of my graph? I try many things but i can't. Please give me some help! Here is my code! \resizebox{\textwidth}{!}{ \begin{...
3
votes
3answers
161 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 ...
2
votes
1answer
31 views

Make figure placement consider the opposite column as a close location

In my article draft, I have a table, followed by a piece of text, followed by a figure with [t] placement. This is a two-column paper. As things stand, the figure gets placed at the top-left of the ...
2
votes
1answer
66 views

Placement of the scale tick label in pgfplots

My question on the placement of the scale tick label is related to Placement of scale tick labels in pgfplots. In contrast, I do not want to have the label placed behind the x-axis, but behind the ...
5
votes
3answers
125 views

New environment to vertically center text

Consider the following code: \documentclass{article} \usepackage[ papersize = 50mm, margin = 2mm ]{geometry} \begin{document} \topskip0pt \vspace*{\fill} test \vfill \end{document} What is ...
2
votes
1answer
103 views

What caused different output with wrapfigure?

I'm currently writing a Beginner's Guide to LaTeX and I tried this code: \documentclass{scrreprt} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{wrapfig} \...
3
votes
2answers
48 views

pdfsavepos and scalebox

For aligning the notes in a beamer presentation (using PGFPages to put the notes page directly next to the presentation slides) at the same vertical position where the text was outputted, I use ...
2
votes
0answers
28 views

Including a Float on a Separate Page

I am having difficulty positioning a float (table) in latex. I have two paragraphs of text, and I want the float to be inbetween these two sections of text, but I also want the table to be on a new ...
6
votes
1answer
12k views

IEEEtran: Placing a two-column figure on desired page

Using the IEEEtran class, I have problems positioning a two-column figure on the desired page: The figure is always plotted on the next page. Here my minimal code: \documentclass[conference]{...
1
vote
0answers
37 views

Inconsitent footer position with multicols

A footer created with fancyhdr in combination with multicols is placed at different vertical positions depending on - as far as I have been able to isolate the issue - wether the page is full or not: ...
2
votes
1answer
178 views

Different positions of headers and footers in different pages

I could not figured out why I'm getting different positions of headers and footers in different pages (please see MWE below). Any help in this regard will be highly appreciated. Thanks \documentclass[...
1
vote
0answers
25 views

How can I place includegraphics in the margin such that it lines up with text?

I want to place small things, mostly images (hence \includegraphics) in the outer margin of a page in a way that I can line it up with a piece of text (e.g. heading) or another \includegraphics in the ...
5
votes
2answers
243 views

How do you place texts “side by side”

I want to create something like this: The left hand side has the definition and right hand side we have examples. The left hand side and the right hand side could be simply separated by a "\qquad"....
0
votes
0answers
24 views

Page content formatting

So have found some issues with page content placing. It never happen to me before. So I have 3 pages of text and one table (which is 1 page length). These all pages are two sections. First section is ...
3
votes
1answer
119 views

How to insert multiple images side by side in both columns of a two column document?

I have four images and i want to put them on top of the page side by side. I am writing on a two column document format. I drew the following picture to show how i want the pictures to look. I tried ...
0
votes
1answer
47 views

Centering tikz picture in geometry layout

This question regards centering of tikz picture in geometry layout. The question combines two answers that were answered here in tex.stackexchange. The first answer explains how to position the tikz ...
3
votes
1answer
59 views

Control exact position of page number

I have page number for some first few pages in roman style (\pagenumbering{roman}) and the rest arabic (\pagenumber{arabic}). Now it need to position them such that: page number should be 3/4 of an ...
2
votes
1answer
112 views

align node bottom edges vertically

I would like to draw a diagram with boxes of different heights such that the bottom of each box is on the same height. Additionally, I would like to connect the nodes by horizontal arrows. My approach ...
1
vote
0answers
20 views

place graphics inside tikzpicture and minipage

I have made this structure to create title of my poster, with logo \newcommand{\displaytitle}[3]{% \begin{tikzpicture} \node [mybox] (box){% \begin{minipage}{0.98\textwidth} \...
7
votes
1answer
681 views

Positioning Even or Odd x axis tick labels in PGFPlots

I am wondering if it is possible in PGFPlots to position separately only the Odd x-tick labels (or Even). The reason is that, my x-axis labels look congested. In Tikz datavisualization, I have noticed ...
1
vote
0answers
23 views

Placement of float page in document

I'm trying to get a float page right after the page where the figures are referenced. When I use the [!p] modifier, the floats page goes to the end of the current chapter. Combining [!h!p] does the ...
2
votes
2answers
64 views

Writting text over a \line

I have an worksheet that my students had to answer. In that worksheet I placed a field that they could write their name on with the \line command. Now I am preparing the answer sheet, so they can see ...
0
votes
0answers
82 views

Tikz Poster Absolute Position of a box [duplicate]

Is it possible to set an absolute position for a box environment? If not, which package do you recommend for absolute positioning?
4
votes
2answers
647 views

Floats for order of figure in case of double column figure?

I have the following code: \subsection{sub1} \begin{figure*} \centering \includegraphics[scale=0.62]{fig1.png} \caption{ this is fig1. \label{fig:fig1} } \end{figure*} ...
1
vote
2answers
50 views

Table doesn't position in point of text indicate by code

I'm new in Latex. I'm writing my thesis and i have this situation: texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext**:*...
2
votes
1answer
43 views

how to set and position legend in a plot with pgfplots?

I want to put a legend in this two plot: i have this code: \begin{figure}[!ht] \resizebox{\textwidth}{!}{ \begin{tikzpicture} \begin{axis}[xmin=0, xmax=90,axis y line*=left,ymin=8.62,ymax=8.69, ...
1
vote
2answers
86 views

how to place multiple figures/tables in one table cell

How can i place my figures and tables the way the picture shows in a two-column text environment (IEEEtran)? I tried the table* into tabular but it did not work out... Here is the code i came up ...
3
votes
1answer
79 views

distribute nodes evenly

I am trying to built a graph by manually placing the nodes using relative placement. But I face some issues with the way the nodes are placed. I tried to include it in a MWE: \documentclass[tikz]{...
1
vote
2answers
48 views

pgfplots: tikzpicture within tikzpicture

I like to use tikz nodes to position plots next to each other. However in the following MWE the axis seem to be shifted to the left. \documentclass{book} \usepackage{pgfplots} \begin{document} \...
1
vote
1answer
70 views

Beamer - unable to move image + caption downwards

%!TEX program = xelatex \documentclass[10pt, aspectratio=1610]{beamer} \usetheme[titleformat=allcaps, progressbar=frametitle]{metropolis} \usepackage{booktabs} \usepackage[scale=2]{ccicons} \...
3
votes
1answer
66 views

Add content to end of page

is there a simple way to add some content at the end of pages similarly to \AtEndDocument (for example something like \AtThisPageEnd) ? I looked at everyhook and everypage, but it doesn't look that ...
19
votes
4answers
36k 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} \...
0
votes
2answers
27 views

Center the middle part of a three part equation in align environment

I have an inequality in a align environment: \documentclass[xcolor={dvipsnames}]{beamer} \usetheme{Warsaw} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage[T1]{fontenc} \...
4
votes
1answer
763 views

Barcode with text wrapping and on every page

I am trying to get a dynamic \psbarcode barcode (it changes based on the page) to display in the top right corner of every single page and I would also like the text of the page to wrap around this. I ...
3
votes
1answer
46 views

\overset and superscripts

Consider this MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\overset{0}{\mathcal{D}^{\alpha\beta}}\\ &\overset{0}{\mathcal{D}}^{\alpha\beta} \end{align} \...
3
votes
2answers
90 views

Pgfplots and ClassicThesis: two plots side-by-side

I always loved the small text width imposed in ClassicThesis, but it is a problem when we have a lot of images/graphs. I would like to have two plots side-by-side in order to gain space (they are not ...
50
votes
7answers
38k views

How can I crop included PDF documents?

I've got a PDF that is automatically generated from a certain piece of software, that I want to include in the report I'm writing. I'm using pdfpages which gets the job done elegantly, but the problem ...
1
vote
1answer
64 views

Mini TOC next to chaper

I would like to place a mini table of context directly next to the chapter like in the following. For compatibility reasons the toc should be created using titletoc as suggested in this answer. The ...
0
votes
1answer
15 views

How can I force the position of a float that I created the environment for using newfloat?

I have a stubborn float that won't appear in the right page (even though there is really no reason for that -- it takes a whole page, and for some reason it appears after the end of the chapter, ...
43
votes
7answers
62k views

Caption on the side of a figure

Can anyone tell me how to get my caption on side of my figure, and at the same time aligned with the top of my figure?
1
vote
1answer
80 views

Adjust the position of node label in graph

Question is the position of node (16, 20) is mixing with line. How to get rid from this? That is i want to plot this node in right side so there is no chance of collision with line. This is what i ...
1
vote
0answers
18 views

Why is this table floating up above the section header? [duplicate]

\section{Main section} \subsection{Some subsection} \begin{table}[] \centering \caption{My caption} \label{my-label} \begin{tabular}{lllll} x & y & z & a & \\ 0 & 0 & 0 &...
1
vote
1answer
45 views

How to center the first half of AMS equation-line on the left side of the screen while its second half is centered on the right side of the screen?

For the sake of example, how can I construct (line by line) two Pascal triangles that are next to each other? Here is an example of how I need to position parts of AMS equation (either multiline or ...
3
votes
2answers
141 views

create node of own macro with tikz

i would like to draw a network of multiple queues. To build one node i would like to make a node out of this macro (DrawStation) and give it a name. \usepackage{tikz} \usetikzlibrary{positioning} % ...
0
votes
1answer
28 views

What is the proper way to center a math condition in its own line?

I have a condition of the form $E1$ and $E2$, where E1 and E2 are long expressions. The condition is important and I've put it into its own line with the align environment. See the snippet below. \...