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

11
votes
1answer
10k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
2
votes
0answers
50 views

LaTeX, Image placed below ToC

I am trying to insert a picture (pdf) below a ToC, but when I do it through \includepdf it just appears on the next page. I have tried some absolute positioning, but haven't gotten any of them to ...
2
votes
1answer
51 views

Relative positioning: how to avoid the discentering of external images?

Stuck with the following problem while making "Who we are" section for a business plan. The code \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
2
votes
1answer
68 views

pgfplots: change vertical position of node label in addplot

In the MWE below, how can I change the vertical position of the label associated with the curve? For example, if I wanted to put it below the curve? \documentclass{standalone} \usepackage{tikz} ...
1
vote
1answer
262 views

How to prevent a pdf-figure to overlay text?

I have a pdf-figure which I want to include in my tex-file. I wrote the following line of code to insert the figure in my file: \includegraphics[width=.8\textwidth, bb=0cm 12.5cm 26cm ...
4
votes
1answer
78 views

LaTeX places table outside of page margin

I'm using the KOMA class scrbook with the font Tex Gyre Pagella (11pt) and onehalf-spacing. I am placing a table float with the position options "htb", but both pdflatex and lualatex place the table ...
1
vote
0answers
12 views

Unable to push a figure to the top of an empty page [duplicate]

I am writing a thesis and I have a figure which appears near the end of a chapter. It happens that there is no sufficient space for it at the last page so it is floated to the next new empty page. And ...
2
votes
0answers
49 views

How to align figure with subsection?

I have placed numerous figures beneath subsections, but there is a one page gap between the subsection title and the actual figure. Does anyone know how to resolve this placement issue? An MWE of ...
0
votes
0answers
63 views

pgfplots axis label positions change unexpectedly

I want the axis labels to appear at the ends of the axes -- the arrows should "point" to them. They are correct in this MWE: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} ...
2
votes
2answers
192 views

Tikz: Node positioning relative to external image height or node height

I have an external picture and I want to put some labels on it. The code below works fine, but I want to automate the calculation of the vertical label positions in case of resizing the imported ...
3
votes
1answer
79 views

TikZ: Problems with relative position

I have a problem using relative positioning in TikZ. As shown in the MWE below, my "vertex circles" are not placed correctly when putting two figures side by side using \node[right = of ...] syntax. ...
2
votes
1answer
38 views

My figures are not at their place

\documentclass{article} % Specifies the document class \usepackage[pdftex]{graphicx} % To use graphics and insert images \usepackage[utf8]{inputenc} % handle french é,è etc. ...
1
vote
1answer
48 views

Plot a horizontal bar which doesn't start from the y axis

As stated in the title. I want to plot a bar which doesn't start from the y-axis(i.e., where x = 0). I try to use the bchart package but I fail to achieve this. For example, my latex code is like ...
0
votes
0answers
26 views

ACM template: add pictures in a single row on both columns

I wanted to ask how to position pictures in ACM template in a row covering both columns. For example, when I add pic1, pic2, pic3 and pic4, they go below each other. I need two of them to stay in the ...
2
votes
1answer
69 views

How can I achieve a fixed vertical position for titlegraphic on custom title page?

How can I achieve a fixed vertical position of the blue "logo", even if author or institute or subtitle contain more than 1 line? Right now, if I add a second line to any of the content elements, ...
0
votes
3answers
50 views

How to defining additional float environment like figures and tables?

I have found this tread on how to construct a box around content and liked the idea quite a lot. I have used it on a few places but ran into a little problem now. I have a box that is about 3/4 of a ...
8
votes
3answers
308 views

Tikz: Placing a node relative to the (rectangular) coordinates of another

How do I place one node relative to the coordinates of another? In theory: \begin{tikzpicture} \node (source) {X}; \node (destn) {Y} at source.coordinates +(2,1); \end{tikzpicture} would ...
2
votes
1answer
29 views

Positioning of toc, chapters, bibliography in book class

In \documentclass{mwbk or book} chapters, table of contents, bibliography default are located at some distance from the top of the page/header. Does anyone have an idea how to move their location on ...
0
votes
1answer
40 views

Insert a figure in the first page of a one-page document [duplicate]

I am trying to insert a figure in a one-page document in LaTeX, I am not sure about how to do it, though. All my attempts have created a new page, and what I am pursuing is to place the figure at the ...
0
votes
1answer
43 views

Tikz picture appears at the wrong location inside the document [duplicate]

I haven't found any question on this but I'm having problems when placing a Tikz picture in a document. It's enclosed in a Figure environment, and it uses \centerfloat to center it, with some code in ...
11
votes
1answer
16k views

tables side-by-side using minipage

I'm trying to get three tables side by side using minipage. In spite of my horrific efforts my tables keep stacking on top of each other instead of standing beside what drives me mad. Can anybody spot ...
0
votes
0answers
20 views

\part title does not result centered

The first \part title (\part{introduction}) does not result in the center of the page, but it ends at its top, with an horizontal line above. On the contrary, all the other \part titles are correctly ...
5
votes
1answer
139 views

TikZ Spacing Between Arrow and Node

I'm attempting to draw a simple diagram comprised of three nodes arrange in a triangle. I'm having a difficulty with getting the arrows to "connect" to one of the nodes, there's a small space between ...
9
votes
1answer
4k views

How to draw an arrow in the middle of the line of a circle and how to position the arrow?

My problem is related to TikZ: How to draw an arrow in the middle of the line?: My Example: I like to have two circles - I want to position the arrow of circle no. 1 at south.south west of circle no. ...
1
vote
0answers
78 views

Page Number Position scrartcl [closed]

is there any possibility to move the page numbering from the bottom middle to the bottom right in the scrartcl package? Thanks in advance
2
votes
1answer
49 views

Positioning second wallpaper on same page

I am trying to make a letterhead using two different logos on a page using latex. I am using the following codes. \ThisCenterWallPaper{0.3}{logo.png} \setlength{\wpXoffset}{-6.1cm} ...
4
votes
1answer
44 views

figure and figure* with inconsistent orders

How to have figures of both types \figure{} and \figure*{} ordered correctly among one another? I have elements of both types \figure{} and \figure*{} in a document (its class is ...
3
votes
1answer
86 views

hatching table cells fails when using positioning

I'm trying to hatch some table cells by following the code here. It seems to work fine, but then when I change the positioning to \begin{table}[!h] the hatching stops showing up. The correct result ...
17
votes
2answers
3k views

How to place a float at the top of a floats-only page?

I just got a short algorithm on my page, and it keeps getting aligned at the center of the page. But I want to have it aligned at the top, what do I have to do?
3
votes
2answers
159 views

text with double arrow

Please help me with the anti-circulant square matrix notation. It looks like the vector notation but has a double line arrow. \xRightarrow from mathtools wouldn't work because the arrow is in the ...
5
votes
3answers
168 views

Setting west, east, north, south to position with tikzmark

I'm using the library tikzmark with usetikzlibrary(tikzmark). The following code \newcommand{\DrawCircle}[1]{% \begin{tikzpicture}[overlay,remember picture] \draw[color=red] (pic cs:#1) circle ...
10
votes
3answers
249 views

Accented Character in ornamental drop-caps using Zallman Caps

I'm looking to use an ornamental drop-caps using Zallman Caps and the lettrine package. However Zallman Caps doesn't have all characters I'm interested. In particular, I'm interested in placing ...
90
votes
3answers
24k views

How do I ensure that figures appear in the section they're associated with?

Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any ...
2
votes
1answer
148 views

Moderncv: picture below name and line in casual style

I found a screenshot of a cv that is obviously an adaption of the moderncv class with casualsettings: The two differences to the normal casualsetting are that the photo is below the name and title, ...
3
votes
1answer
99 views

Including a centered icon into a QR code

Some people like having a icon in the centre of their QR code... I want to use the QRCode library to produce such a QR code. For now, I'm using \documentclass[landscape,8pt]{minimal} ...
2
votes
1answer
171 views

Strange layout with multicol

I'm using multicol to lay out a series of equations in columns, here's the code: \begin{multicols}{3} \[ e^{f(x)} \rightarrow f'(x)e^{f(x)} \] \[ ln(f(x)) \rightarrow \frac{f'(x)}{f(x)} \] \[ ...
1
vote
1answer
46 views

Image/text positions?

tl;dr I need to shift a line of text down below an image, how do I do that? I have two sets of images and descriptions for them, but they aren't appearing in order; instead, they're showing up in the ...
0
votes
0answers
30 views

Wrong page number position with fancyhdr

The following commands produce page numbers that are correctly on the left on the even pages, but on the center of the odd pages. I can't understand where is the error, please can you help me? Silvia ...
2
votes
1answer
68 views

Horizontal alignment of plots (pgfplots)

I have 4 plots generated by pgfplots that I would like vertically and horizontally aligned. They are all included in my main file via \input. Due to memory constraints two of them live in one file ...
28
votes
2answers
226 views

Overlapping figures on underfull page

The following example gives me overlapping figures (figures overlapping themselves and figures overlapping the text) as can be seen in the image below. I can work around this if I change the ...
1
vote
1answer
55 views

Wrong table placement

I have following MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[color=red,opacity=0.1,contents={}]{background} \usepackage{hyperref} \usepackage{indentfirst} ...
1
vote
1answer
32 views

Problem with text position after inserted figure

I have following MWE: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[color=red,opacity=0.1,contents={}]{background} \usepackage{hyperref} \usepackage{indentfirst} ...
1
vote
1answer
31 views

image position using figure

I have this document and I want that both images be located in same page or at least that every image be located at the top of the page. Is there anyway to put bigger? I tried to modify the scale but ...
5
votes
2answers
350 views

beamer, \vfill and itemize

I would like to place, in some frames, a text, on the bottom right of a beamer slide. I created a command which places this text by \vfill\hfill. In a normal class (as article), it works perfectly. ...
1
vote
1answer
45 views

Subfigures appearing offset

I have a figure made up of two subfigures but there is a slight vertical offset between the two. Here's the code: \begin{figure}[h!] \centering \begin{subfigure}{0.49\textwidth} ...
2
votes
1answer
68 views

circuitikz wrongly displays european voltages

The voltages arrows are misplaced with respect to the components, in this case a resistor. \begin{figure}[!h] \centering \ctikzset { bipoles/length=1cm} \begin{circuitikz} [european ...
0
votes
0answers
52 views

Margin content in Tufte's book class

Sorry, no MWE on this one, it's a general question about the Tufte book class. I noticed that margin content is top-aligned with the point in the main text that declares it: I know I can adjust the ...
0
votes
1answer
163 views

Image behind text in a tikz poster block

I'm trying to get an image to sit behind some text but my conditions are pretty unique so I've been struggling to find a solution anywhere. I'm using the tikzposter class and I want to put the image ...
28
votes
7answers
39k 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} ...
8
votes
2answers
143 views

Problem with subcaption spacing

When using the subcaption package to place tables1 side-by-side, the spacing between a table and its subtable caption is too small if the table caption is placed above the tables and the subtable ...