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

1
vote
2answers
66 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
73 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: ...
1
vote
2answers
47 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
67 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
65 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 ...
17
votes
4answers
34k 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
25 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
753 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
38 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
72 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 ...
48
votes
7answers
37k 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
60 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
12 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
60k 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
69 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
43 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
128 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
27 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. ...
2
votes
0answers
40 views

Controlling vertical placement of letters

I would like to be able to control the vertical placement of letters in a word without affecting the horizontal spacing or the size of the letters, just their vertical position. I have tried using ...
0
votes
1answer
43 views

Text starts from new page when there is enough space

I am writing a formal letter and found this template. I liked it very much and I am using it with a few changes. My problem is after I include my signature at the very end, my name starts from a new ...
0
votes
1answer
25 views

How to center text not including hyphen?

The title of the book placed on the spine needs to be centered. The title includes hyphen - according to Czech standards, the hyphen should be placed also in front of the second word (f.e. in ...
0
votes
0answers
27 views

Why my table not showing up where it should? [duplicate]

I'm doing something like this some text \input{tables/ratings} some more text However, it's popping up randomly. How can use the \ref{} command in this case? Please suggest some simple solution. ...
2
votes
1answer
34 views

How are conflicting options for figure placement prioritized?

The options in \begin{figure}[!htb] [...] \end{figure} are in conflict (place here, place at the top, place at the bottom). It is said that the order doesn't matter. So, how are those options ...
0
votes
0answers
14 views

All-or-nothing placing of macro-generated text [duplicate]

Given a macro % bold task titles \newcommand{\mypar}[1]{{\bf #1:}} %task decription template \newcommand{\task}[3]{ \mypar{#1} #2 \\ \emph{Solution:} #3\\ } I should like for the text ...
3
votes
1answer
64 views

Problem with node position

Why the last node, named kap2, does not change its position when I replace at (1,0) by at (3,0)? [I want to change the position of the comment "Killing vectors"] My MWE: \documentclass{beamer} ...
2
votes
1answer
47 views

Fraction As Power: Alignment Problem (With Subscript)

I am trying to write an equation with the following code: \begin{align} p_{e,i}(k)=\frac{4}{b_{i}(k)} \left(1-2^-\frac{b_{i}(k)}{2}\right)Q \left( \sqrt{\frac{3\ ...
233
votes
2answers
442k views

Force figure placement in text

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code: \begin{figure}[ht] ...
0
votes
0answers
25 views

How to put properly an angle or a bracket at the front or on the top of a box?

I try to find a simple way to put an angle or a bracket at the front or on the top of a box. I use the math commands \left[ , \left\{ etc because they have the same thickness and look well. I use the ...
3
votes
0answers
124 views

Position of y axis with pgfplots

I am currently trying to create a plot with pgfplots and can't seem to properly position the y axis like I want to. Here's my MWE: \documentclass{standalone} \usepackage{pgfplots} ...
1
vote
0answers
32 views

In-line ∑ with super- and sub-scripts [duplicate]

How can I get an uppercase sigma (∑) with both a subscript and a superscript to appear in a sentence WITH the subscript BELOW the sigma and the superscript ABOVE the ∑ (and neither of the ...
0
votes
1answer
31 views

xtable: extend table to both columns

Using the xtable package, is it possible to give some option to xtable function to generate a tex file which will contain following: ``` \begin{table*} ... \end{table*} ```
4
votes
2answers
78 views

How much flexibility does the `eso-pic` package have?

I want to put a background image in the upper right corner of the text block. The eso-pic package looks about right, but the commands listed in the manual only refer to the left side of the page, as ...
3
votes
0answers
50 views

How to place three pages on one larger page? [duplicate]

I seek advice how to place three pages on one larger page. I would like to place front cover page, spine and back cover page on one page. It is not obvious from the MWE, but the images on front / back ...
1
vote
1answer
89 views

Beamer fix position on frames when unsing only

I would like to introduce the points of an itemize one by one and present an example in an block below the itemize (for some items). Using \only that's not really a problem - but the positions are not ...
1
vote
1answer
46 views

How to place the text top left in a table cell

We can use \renewcommand{\arraystretch}{2} to increase the height of rows. The text, however, is just in the center. How can we simply put it on the top-left, as in second and third columns in the ...
2
votes
1answer
99 views

Shift of equation elements placed in a tikz rectangle

I want to define newcomands to minimize the following code: \documentclass{beamer} \usepackage{mathtools,tikz,lmodern, xparse} \usetikzlibrary{shapes.geometric, arrows, matrix, positioning, ...
1
vote
1answer
46 views

abstract is not located in suitable place!

As you can see, the abstract location (in persian we say چکیده) is not in suitable place. What should I do? \documentclass[11pt, a4paper, notitlepage]{article} ...
3
votes
1answer
108 views

Change text height and pragraph indent in text block

I am trying to create a title page for my thesis. I did this code with the help of friends on this site. Now I have a new problem. In my code I want to change the text height and line spacing in only ...
0
votes
0answers
80 views

How to give caption on ShareLatex

I am trying to give a caption for my figure on ShareLatex. I need the caption below the figure. But using the following code, caption appears above the figure. What is my mistake? Your help would be ...
0
votes
1answer
38 views

Strange problem of text relocating to a new page when I don't want it to [duplicate]

Best way to demonstrate this problem is with a screenshot. I've had to blank out the content for security reasons. As you can see, I have a page with some text which contains 1 complete section and ...
4
votes
1answer
15k views

Wrong display order of figures and text

Why do the figures appear BEFORE instead of AFTER the section title ??? \documentclass[pdftex,12pt,a4paper,english,dutch,leqno]{article} ...
2
votes
0answers
45 views

Table on top or bottom [closed]

I am currently discussing with a colleague whether to put a table on top or bottom in proper documents (e.g., research paper). I once learnt to put figures on top and tables on bottom. I actually ...
2
votes
1answer
53 views

x-y node positioning relative to two different anchor points

I have the following MWE: \documentclass[tikz,convert={size=640}]{standalone} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[ block/.style={draw,rectangle,minimum ...
4
votes
2answers
89 views

How do I draw a straight line parallel to a square side?

I want to draw a straight line leaving the down left tip of my square D. My code is the following \documentclass{report} \usepackage{tikz} \begin{document} \begin{figure} ...
0
votes
1answer
42 views

Can't remove an automated period

\section{Education} \cventry{2011 -- 2015}{Honours Physics, H.BSc}{FSU}{Tallahassee, Florida} \textit{} When this is translated there is a comma space period after florida (eg...Florida, .) I ...
3
votes
2answers
113 views

Plot multiple custom figures (pdf) in LaTeX

I am trying to plot these six different images (in PDF) shown below: But, for some reason I could not plot what I wanted. These green figures are exactly how I would like to see my figures, which ...
5
votes
2answers
203 views

Flowchart with TikZ: overlapped boxes

I am using for the first time TikZ and I am creating a flowchart. I would like to insert some trapezia for LPC, HPC, HPT and LPT, as shown in the image below. The problem is that, if I simply ...
6
votes
2answers
2k views

Image at bottom right Corner of the type area

With the following code I put an image in the bottom left corner of a page (see How to place an image in bottom left hand corner on every page? too). \newcommand{\BackgroundPic} {% \put(0,0){% ...
1
vote
2answers
100 views

Controlling the Position of Floats (Images) in a Document / Images have the Wrong Position

My LaTeX document just doesn't get the format I need. The images are floating all over the document, the /pagebreak and newpage seem to just ignore my order. I don't get what I'm doing wrong. Why it ...