Questions tagged [positioning]

{positioning} is about positioning document elements. Use this tag in addition to other tags specifying what should be positioned.

0
votes
0answers
34 views

Positioning doesnt work even when using float

I want to position two figures on the top of a page and then text in two columns below in the same page just like this: You can see above the "[!h] is not recognized for positioning the image. I've ...
0
votes
0answers
39 views

How to graph boxes and texts within an image

I'm trying to do the following but it has not occurred to me what package to use, over there I heard Tiks:
1
vote
1answer
148 views

Placing the little orange square at the end of the Exercise environment from Legrand Book Orange template

I wrote the notes of one of my courses using the very nice Legrand book template, but I have a little problem with those little orange squares at the end of the exercises. When I write \begin{exercise}...
1
vote
3answers
91 views

Placing three figures side by side, each with its own caption

I'm trying to place three images side by side each with its own caption. The code written below works great with the placement of the images, but the captions don't. When compiling it only shows the ...
17
votes
1answer
50k 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
1answer
136 views

Table of Contents Spacing/Indentation

I need help formatting my Table of Contents. All my sections have a roman numeral numbering system that I would like to keep but it does not space it right in the Table of Contents. I also prefer the ...
1
vote
1answer
45 views

How to align section heading after wrapping text around figure

\documentclass[letterpaper,11pt]{texMemo} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[dvipsnames]{xcolor} \usepackage{indentfirst} \usepackage{wrapfig} \...
110
votes
5answers
167k views

Reduce space between enumerated items

Background All book figures are set to "here definitely" (as they must come after the text that introduces them). Problem The list types (enumerated and bullet) have too much space between them. ...
0
votes
0answers
19 views

Table positioning forces weird spacing between paragraphs [duplicate]

I have quite a long table that almost fits one page. The table needs to be placed at the end of the section. The next section begins with a short paragraph so Latex always place the table next to that ...
0
votes
1answer
294 views

How to prevent pgf/tikz from drawing a circle as an ellipse when using relative coordinates?

I am trying to draw a simple tikz-picture including a pgf-plot and some simple tikz-graphics. I want to place a circle so that it touches a parabola at point (0,0). That works well when I use values ...
2
votes
1answer
83 views

How to place a same image on the very top of every page of a section

I would like to place a same image on the very top of every page belonging to the same section of the document. Is that possible? See the example below, where the figure is a PNG one: \documentclass[...
54
votes
1answer
92k views

Customize legend position in PGFplots axis environment

I am trying to customize the position of the legend in the axis environment of PGFplots. A simple way to do this is by using something like legend pos=south west|south east|north west|north east in ...
3
votes
2answers
121 views

Side by side histograms

I am trying to put these two histograms side by side but I cannot do it. Could you give me a hand? mwe: \documentclass[11pt]{book} \usepackage[T1]{fontenc} \usepackage{pgfplots} \usepackage{...
0
votes
1answer
31 views

TextField not showing where it should be

I want to create a flyer using Latex. So I intend to have a foldable piece of paper with DinA5 pages. But I also intend to use a slightly modified version as a fillable online version. The plan is to ...
3
votes
2answers
124 views

Computing letter coordinates (Typesetters Steganography)

Is there a way to find out about the coordinates of letters in a formatted piece of text? Suppose the compiled text has three columns, and the letters are equally spaced. Then what I'm looking for is ...
4
votes
2answers
75 views

Moving a point along a “multi-node path”

I would like to create a gif (as explained in this answer) of a point moving along a crooked "multi-node path". I would like this path to be specified as below: a sequence of nodes connected by edges. ...
3
votes
1answer
184 views

Multiple page number positions in one document

I'm working on a document with multiple page number styles. The introduction consists of Roman (I, II, III,...) page numbers, the actual text consists of page numbers in Arabic style (1, 2, 3,...), ...
0
votes
0answers
45 views

How to position multiple pgfplots tikzpicture in a single figure

I'm newer to latex and pgfplots, and have a question on how I can position multiple tikzpicture in a single figure. In my example, there are 15 tikzpicture in the figure - 3 rows and 5 columns. How ...
1
vote
1answer
32 views

Local, relative, inner, intensive coordinate of one node

If often find myself writing: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \node (refNode) {\includegraphics[width=5em]{example-...
1
vote
1answer
42 views

Text Aligned in Friggeri CV Template Sections

I'm having trouble with text alignment in the Contact section of the Friggeri CV Template. I'd like the long e-mail addresses or websites names to be aligned properly to the right as everything else ...
2
votes
1answer
35 views

Beamer: Absolute Positioning of Picture | Unexpected Padding

I want to place/position images/pictures/elements in beamer absolutely. I use the well known remember picture and \node at (current page.xx) appraoch. In my MWE I want to position the picture in the ...
1
vote
1answer
16 views

Lines and positioning of tables

I need to create this table This is what I have done so far \begin{table}[h!] \begin{center} \begin{tabular}{|l|c|r|} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with ...
1
vote
1answer
88 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 ...
4
votes
1answer
3k views

Abstract and titlepage

I compile my code and the abstract shows up before the titlepage, but I want it after the title page. \documentclass[12pt, oneside]{report} \usepackage[margin=1in]{geometry} \geometry{letterpaper} \...
0
votes
1answer
27 views

How to decide figure placement specifier for the entire document

For figures there is posible to add placement spesifer like the following: \begin{figure}[H] \includegraphics{/path/to/figure} \caption{} \label{} \end{figure} Where [H] is the placement ...
138
votes
6answers
264k views

How can I have two tables side by side?

Suppose I have two tables that don't have many columns (3, for example). How can I position them side by side?
4
votes
1answer
472 views

TikZ path with rounded corners and decorations.markings not working as expected (pos=0.0 at wrong location)

I want to put small round markings at fixed distances on a six-pointed star. There are two problems though: pos=0.0 is not at the expected location, but slightly shifted possibly due to the rounded ...
0
votes
1answer
31 views

Error with Table position: [H] goes in label

I am trying to set up a document in Overleaf with \documentclass[12pt]{comjnl} where i need to have a table in the middle of some text. The table does not react when i use the position parameter ...
1
vote
1answer
27 views

How to align two lines in Tikzcd

I am trying to align two lines either at the head or at the center and I am finding it impossible. For example, this code generates the following frame \documentclass{beamer} \usepackage[english]{...
0
votes
0answers
26 views

Why when using the multicol package will tikz figures/ normal figures be pushed to the centre of the next page?

I'm trying to insert a simple tikz diagram into a two-column document and it keeps pushing it to the bottom of the next page. Is there a reason for this? I've tried moving it further up in the text ...
1
vote
1answer
67 views

Forest package: eliminate vertical space between parent and child

I would like to zero the vertical distance between a node and some of their children. (I would be satisfied if I could do this for a node with a single child.) The desired effect is similar to a ...
4
votes
1answer
154 views

Position image with 6 smaller images on the side

I am having troubles positioning 7 images: I need to have a big one on the left side, and 6 smaller on the right, each one of them with a different caption, and a big caption below all of them. It ...
1
vote
1answer
40 views

Latex figure 2 side

I am trying to get what's on the picture: This is what I've tried so far: \begin{figure}[H] \centering \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=.9\linewidth]{...
4
votes
2answers
96 views

Jumping frame contents with beamer and pgfplots

I'd like to show a function using different values for it's domain, like "zooming out" over a series of frames. Using the following code, both the text before the plot and the plot's axes/frame jump ...
3
votes
1answer
60 views

How to fix the position of align environment

Here is a quick question regarding the position of align environment. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} %%% lots of text here. \begin{align*} & \mathcal{A}(...
1
vote
2answers
46 views

Distributing tikz elements evenly using positioning library and length precalculation leads to wrong result

I am trying to distribute a number of tikz elements/groups consisting of one \pic (= an icon) and one text \node (= label) each evenly across the length of the text area. I went about it by using a ...
9
votes
1answer
2k views

How to produce 5-up 3by5 index cards

I want to produce instructional 3by5 index cards. It's easy enough to produce the cards one per page, but I want to print five copies of the same car on a single sheet of 8.5by11 card stock, where it ...
3
votes
1answer
2k views

Align pictures in text

I have some code for a picture that looks like this: ...Text before pic... \begin{figure}[h!] \caption{caption stuff} \centering \includegraphics{somegraph.png} \end{figure} ... Text after ...
1
vote
1answer
40 views

Processing input file character wise

I want to process a non-English mixed file. For example, please see the following illustrative code: \documentclass{article} \begin{document} {\it It is a statement in English.} \par {\bf This non-...
2
votes
1answer
31 views

Reading an input word in an array and then processing character by character

For some application, I need to read input tex file word by word (not necessarily as arguments of any command), and then to print each word after changing the positions of some characters within the ...
2
votes
1answer
103 views

Setting font and size

I am finishing writing my report. So, what I need is some modification such as: Setting the font to Times New Roman . Setting the size to 12. Setting spacing to 1.5 The numbering and format of the ...
2
votes
1answer
28 views

Place node in the middle on an arc during a foreach statement

This question is akin to this one, The difference being that I want to place my nodes during a foreach loop. MWE: \documentclass[border=5pt,tikz]{standalone} \usepackage[utf8]{inputenc} \usepackage[...
1
vote
1answer
79 views

Vertically centering figures that appear alone on pages

I am writing an article using the aa document class. I include two column figures using the figure* macro. Sometimes, this results in one or two figures being placed on a page with no other text. ...
5
votes
1answer
57 views

Odd minus style when drawing american voltage

Looking closely at the image produced by circuitikz, I find that the minus sign of an american voltage looks rather odd. The alignment seems off and the sign seems much too wide. Is there a way to ...
430
votes
4answers
1.1m 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] \...
1
vote
1answer
25 views

Position of figures and text are not proper

Question: Actually i am working with an example in which figures dragged above the question text i cant understand, what is the problem. Any help.. MWE: \documentclass[12pt, a4paper]{article} \...
1
vote
2answers
19 views

Shifting or stretching a float

I have got a float, that is minimal too high for a page. Is it possible to either shift it up a bit, so that it fits between the head- and footsepline or to stretch it with, say 0.9? My float ...
2
votes
2answers
36 views

Economise space with floats

Consider this example: \documentclass{report} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum[1-4] \lipsum[5]{1-14} \lipsum[6][1] \begin{figure}[htbp] \centering \...
0
votes
1answer
23 views

Issue with positioning the footer text and footer rule

Consider this MWE, why is the footer rule position different on page 1 compared to the rest of the pages? Also related to the footer, how can I move the footer text down without affecting the position ...
0
votes
0answers
44 views

Beamer: passage to 16:9 aspect ratio

I have a few questions regarding the passage from the default 4:3 ratio to 16:9 one. 1) Is it necessary to use 16:9 aspect ratio for presentations? 2) What is the difference between: \...