Questions tagged [positioning]

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

0
votes
1answer
17 views

Equation number in first line of nested align

I have the following nested align structure, where I would like to have an equation number appear on the first line only. As far as I understand, the position of the equation number is controlled with ...
1
vote
1answer
18 views

centre text exactly on an exactly specified point on path

I would like to place text exactly centred over an exactly specified point on a highly complex path as shown in this Figure: I have developed my example by specifying the point at 0.1 from the ...
1
vote
1answer
12 views

place mark on a specified point along path

I would like to place a mark on a highly complex path: The mark should be at exactly 0.1 from beginning: I try: \documentclass[border=1cm]{standalone} \usepackage{tikz} \usetikzlibrary{decorations....
1
vote
0answers
32 views

center text along tikz path after a shift [duplicate]

I elaborated upon Decorate tikz path with cyrillic text to develop an example: \documentclass[margin=1cm]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.text} \begin{document} \begin{...
0
votes
0answers
40 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:
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 ...
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[...
3
votes
2answers
122 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
32 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 ...
4
votes
2answers
76 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. ...
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 ...
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 ...
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
28 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 ...
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
61 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 ...
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
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[...
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 ...
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
1answer
51 views

Let LaTeX decide where to place figures

There are too many posts that complains LaTeX is not doing a good enough job in placing floats such as figures, and ways to work around them ([!htbp], \usepackage{float}, etc.). Upon curiosity I ...
1
vote
1answer
46 views

Force float to top of page selectively

Consider this example: \documentclass{report} %\usepackage{float} ...
0
votes
0answers
10 views

Force a lonely float to top of page [duplicate]

I am not fond of solitary floats "floating" in the middle page. Consider this example: \documentclass{report} %\usepackage{float} \usepackage{lipsum} \usepackage{graphicx} \begin{document} \lipsum[1-...
0
votes
0answers
61 views

Force figure placement in text doesn't work in 'gji' document class

I have a problem with placing the figure. It is placed differently than in the code. In the article document class I use [h] specifier from the float package, but in the gji class it doesn't work. (...
1
vote
1answer
54 views

Encouraging LaTeX to more evenly distribute figures/floats across all pages?

I frequently run into a situation where several pages will be nothing but blocks of text, and later there will be several pages with multiple images. Is there a way to loosen how closely the figure ...
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: \...
1
vote
1answer
25 views

How to place part titles to top of paper

How to place part titles like chapter titles in book class? MWE: \documentclass{book} \usepackage{lipsum} \usepackage{titlesec} \titleclass{\part}{top} \titleformat{\part}[display]{} {\huge\bfseries ...
2
votes
2answers
91 views

How to define a unique height of subscript and superscript indices?

Is there any package that fixes the height of tensor indices? For example, I'd like to horizontally align indices in the following expression representing antisymmetrization of a and b, \...
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 ...
1
vote
1answer
10 views

Changing the position of scaling

when i run this code, I get a 10^4 on the bottom right, which seem strictly false. I would like to get rid of this one. And on the top left I have the scaling for the y-axis. I would either like it to ...
5
votes
2answers
101 views

TikZ: Advantage of position values attached with a unit?

Regarding TikZ-images: When should I type positioning values attached with a unit (e.g. \draw (0cm, 0cm)...) and when should I type them without a unit (e.g. simply \draw (0, 0)...)? Minimum Working ...
4
votes
1answer
203 views

Trying to insert a background image via TikZ results in extra white-space around the corners

I am trying to insert a background image in my beamer template as follows: \documentclass[10pt,c,aspectratio=169,a4paper]{beamer} \usepackage{tikz} \setbeamertemplate{background}{ \begin{...
1
vote
2answers
108 views

How to place nodes around a circle from some initial angle?

The code below generates 6 nodes placed around a circle at angles 60, 120, 180, ..., 360 with labels 1, 2, 3, ..., 6, respectively. However, I would like to place these 6 nodes in the way (where the ...
10
votes
2answers
324 views

Extending anchors in TikZ

The following are the standard anchors available in TikZ (to the best of my knowledge): \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{dot/.style = { shape = ...
1
vote
1answer
50 views

Changing the position of the searchable word when using package accsupp

I used the answer of my question when using package accsupp so that the text can be found in Zathura pdf viewer when leaning over the "circle connection bar". And also I tried to save code using the ...
1
vote
0answers
45 views

Memoir : text on recto, figures on verso : Pages numbering and figures positioning almost done

If you have the slightest idea... What I have already done in the formatting of my report : Text on recto pages only Figures and tables on verso pages only Numbering only recto pages continuously (1,...
2
votes
1answer
70 views

Design an algorithm capable of predicting collisions to choose alternative path using `tikzpicture` environment

This is and addendum of a previous question: How to connect pics through a set of colorful arrows using tikzpicture environment. I would like to be able to draw arrows that do not overlap with nodes ...
1
vote
1answer
53 views

pgfplots: How to control and align legend items precisely above each other?

The user marmot has posted a really nice approach of adding legend items into one single box below a multigraph diagram by placing them inside a \node. Based on this initial situation I have tried to ...