Questions tagged [positioning]

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

2
votes
0answers
84 views

Can't move starting point of rectangle [closed]

I want to draw a rectangle which starts in these coordinates: from northwest(3,0) to southeast(4,-2). Here is the code: \documentclass[11pt,a4paper,oneside]{article} \usepackage{amsmath} \usepackage{...
3
votes
1answer
84 views

how to embed small tikz \textcircled numbers within a line in a centered way

I would like to embed some small tikz textcircled numbers within equation lines. In the following example things starts to not be centered when the natural number exceeds 9. How should I modify my \...
4
votes
1answer
120 views

Tikz: positionning a \begin{scope}…\end{scope} relatively to the left of another block

I have two blocks of the form \begin{scope}...\end{scope}, and I would like to position the second block at a fixed distance from the rightmost border of the first block (for instance 1cm). But if you ...
1
vote
1answer
33 views

Figures in double column format with different sizes but centerized alignment

I intend to insert two figures with different sizes aligned as shown, and they should be inserted in figure* environment. Any insight will be appreciated regards shah
1
vote
0answers
32 views

node above tikz path does not works with “--” but not “to” [duplicate]

I am struggling with the positioning of a node above a tikz path. The path is curved and connects two nodes with "to". Here is a MVE: \documentclass[a4paper,twoside,11pt]{book} \usepackage{tikz} \...
1
vote
1answer
105 views

Two figures next to each other (Tikz)

I have read a couple of questions that are quite close to mine, but I have no idea how to incorporate them in my code. I have two figures and I would like to have them side by side. Could you give me ...
1
vote
1answer
53 views

adaptive alignment

I'm creating .tex file for batch creating visit cards. There is a logo in the top left corner and the baseline for the holder's is above the logo bottom edge. In 90 % of cases, the name and titles ...
4
votes
1answer
447 views

Tikz: Placing node midway right or left relative to path

I'd like to place a node at some position along a path, e.g. \tikz (a)node[pos=0.5,left]{x}{b}; But instead of shifting it 'left', 'right', 'above' or 'below' in absolute coordinates, I would like ...
12
votes
4answers
1k views

Placing node right after end of path in Tikz

I'd like to place a label (most of the times a single letter) right after the end of a line. That is, the node should be moved into the direction of the line from its endpoint, just as far that is ...
2
votes
2answers
733 views

tcolorbox with title on the left side

How can I put the title of a box (with tcolorbox) on the left side (text rotated by 90°), like this? _______________________________ | | | | T | Lorem ipsum ...
3
votes
2answers
207 views

\restoregeometry puts one page number wrong

I am preparing a template, in which I need: (1) a custom title page (generated separately) (2) a custom abstract page with very big footer and no page number (3) the rest of the document with fancy ...
3
votes
1answer
324 views

Problem with legend position

I have been using the tikz package to plot my graphs. When I want to describe each graph in a plot, I use "legend entries" and using "legend pos" I can manage the box describing the graphs. But now I ...
1
vote
0answers
30 views

Possible bug when using tikz to position node using pos command in curves [duplicate]

Runing this simple code: \documentclass{report} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[-latex] (0,0) to[out=40, in= 140] (5,0) node [pos=0.5] {en}; \end{...
0
votes
1answer
101 views

Positioning of Elements

I'm working on a project that repUerj template needs to be used and tables, figures and graphs environments are necessarily followed by their width in parentheses as a characteristic of this template. ...
0
votes
0answers
64 views

LaTeX floats controls don't work [duplicate]

Tables, graphs and images don't show up at the same position it was inserted in the TeX file. I tried to suppress floating by using: \usepackage{float} ... \begin{figure}[H] {15cm} \caption{}% \label{...
0
votes
1answer
66 views

Placement parameters for tables and figures in appendix

I would like to know if it exists a way to include a table (or figure) in a section and display it in the appendix, in the following example: \section{section} stupid text where I speak about a table ...
3
votes
2answers
86 views

One float per float page

I'm writing a Master's thesis, and my supervisor insists that each figure or table should have its own page. Unfortunately I have two tables back-to-back that will fit very nicely on one page, and ...
4
votes
2answers
67 views

Shifted edge labels in tikzpictures in nodes side by side with arrow between

I have two nodes in tikzpicture and in both nodes there is a graph in nested tikzpicture. Now, I would like an arrow to be pointing from one graph to the other - from the center of one graph to the ...
1
vote
1answer
140 views

Shifted edge labels in tikzpictures in nodes side by side

I'm trying to make two graphs and place them side by side and place edge labels over edges in the two graphs (as can be seen in the picture), but I am not successful in the second graph. My approach ...
3
votes
1answer
68 views

How to create an overhanging label for parts of a sentence? (further improvement)

This question is a continuation of How to create an overhanging label for parts of a sentence?. The question has already an accepted answer by jakun. I wish to have a further improvement to his ...
2
votes
1answer
40 views

Adding vertical shift to a decoration (follow up on Q18617)

I am studying the answer of @Caramdir to TikZ: draw only a certain central length of a given path I would like the segment to be shifted orthogonally relative to the path. I am trying to insert raise ...
1
vote
3answers
429 views

positions groups of nodes to each other in tikz

I would like to position nodes in groups a and b in the following way: Group b of tikz nodes is positioned in some symmetric way relative to group a. The following script creates nodes corresponding ...
1
vote
1answer
178 views

Unreliable positioning of Wrapfigure

I am new to Latex and currently I am "probing" Latex for issues that I want an solution to before actually using Latex for work. My current problem is placement of wrapped figures. Wrapfigure{} seems ...
2
votes
2answers
83 views

Float overlaps due to low value of \textfraction?

In some sources a low value of \textfraction=0.07 is recommmended (see https://aty.sdsu.edu/bibliog/latex/floats.html). However, if I apply these values, some of my floats (both images and tables) ...
4
votes
2answers
170 views

Positioning node on tikz path

I have trouble defining a node on a path. If the path is described using points and the in/outgoing angle, the node is always at the beginning. If the path is described with control points, it works ...
1
vote
0answers
49 views

Insert something that starts a page without affecting vertical spacing

This question is similar to the unanswered How to put something on a page without disturbing the main vertical list? but (very slightly) more tightly defined. I want to put a picture in the ...
1
vote
1answer
207 views

how to place tikzpicture from left edge of paper

i'm using tikz to draw a diagram. But i meet the problem: latex place the tikzpicture with a distant to left edge of paper and its too large that goes over right edge. Like the picture below shows, ...
1
vote
1answer
61 views

tikz syntax name dot number

I found a code example http://www.texample.net/tikz/examples/inertial-navigation-system/ where I see that positioning: \node (naveq) [naveqs] {Navigation equations}; \path (naveq.140)+(-\blockdist,0)...
6
votes
5answers
212 views

TikZ: How to position a node relatively to it's edge?

I'm struggling to find a way to position a rectangle A above another one B (e.g., by 2cm) while vertically aligning it's right-end with the center of B. Thanks in advance for your answers. NS
6
votes
1answer
87 views

Place figure at bottom of this page or the top of the next page

If a figure will fit on the bottom of the page, it will also fit at the top of the page and will wind up there (barring certain circumstances). The best I have come up with is to set topnumber to 0 (...
4
votes
2answers
205 views

Using tikz Calc package to add cordinates

I would like to draw the line shown in the right hand side of the attached figure from Node 3 to the line between Node 1 and Node 2. (Note line with should be same width as all other lines.) I ...
1
vote
2answers
137 views

Arrow destination a little above node.east

I'm trying to get an arrow to end up slightly above/below a node.east marker. I tried using the calc tikzlibrary but for some reason, shifting the arrow's destination only works if I both x and y ...
1
vote
1answer
63 views

Reference point of “put” of picture environment

Currently I use the picture environment to arrange graphics and text and I notice that the put command places the lower-left corner of the object at the specified position. Now, I need to specify the ...
2
votes
1answer
79 views

Wrapping (Jumping Over) One Text Block With Another Text Block

Background. This is about formatting a recipe page in a cookbook. The elements on the page are: (1) the recipe name/yield, (2) the recipe "story", and (3) a two-column section that includes both ...
3
votes
1answer
146 views

How to make this letter as similar as possible in TikZ?

I have this MWE: \documentclass[11pt]{article} \usepackage{tikz} \usepackage{vmargin} \usepackage{fancyhdr} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \setpapersize{A4} \setmargins{2....
2
votes
3answers
159 views

Elegant/built-in way of moving whole drawings around relative to each other

Is there any built-in way in the tikz package for moving/positioning a whole set of paths and nodes relative to another set or to the document's page? To illustrate what I mean, here is what I was ...
0
votes
1answer
221 views

Charge positioning and reaction arrows in chemfig

I've just started using chemfig. I am quite new to LaTeX and don't understand a lot of the package's nuances. I am trying to create this diagram: I am having trouble properly placing the charge on ...
1
vote
1answer
66 views

Positioning along optical path with pst-optexp

I am trying to draw an object (per example a lens) with the pst-optexp package. The difficulty arises when I try to have this object drawn at a given distance from another object, but along the ...
1
vote
2answers
39 views

Beamer's ToCs displaying/hidding subsections not at the same vertical position

Beamer's frames with the t option are supposed: to be vertically aligned at the top, hence to display their first lines at the same vertical position. Nevertheless, this is not the case for frames ...
1
vote
1answer
108 views

Footnotes position flush top

I am trying to move my footnotes upwards, so that they are placed directly underneath the text, and not at the bottom of the page (see image). The context is that I am experimenting on typesetting ...
0
votes
2answers
56 views

Positioning nodes is inconsistent with tikzpicture in beamer

Take a look at the following MWE \documentclass[t]{beamer} \usepackage{siunitx,tikz} \usepackage{amsmath} \usepackage{color} \usepackage{flexisym} \usepackage{enumerate} \usetikzlibrary{positioning,...
3
votes
1answer
58 views

How do I push the tag to my custom environment equation to be flush right?

The tag for the custom environment housing an equation is not placing the tag flush right. I may not have the right search terms because I am not finding the solution for this issue. Here is my MWE: \...
1
vote
1answer
66 views

How can I add something on the top right of each slide of Beamer (Warsaw theme)

I have the following code of beamer presentation with warsaw theme, I added a logo in the right top, and i would like to add the institute and the subject in the same area, any help? \documentclass[...
0
votes
3answers
25 views

Custom positioning of elements (relative to other object)

Is there a way to position text objects relative to other objects? My current code: \begin{framed} \begin{verbatim} 10 6.666666666666667 5.9259259259259265 5.83088884457784 \end{...
2
votes
2answers
232 views

Function mapping that includes elements and their images

I'm trying to make a command that will take in a function name, domain, codomain, arbitrary element, and what that element is mapped to, and output a diagram. The first line of the diagram will be the ...
0
votes
1answer
77 views

Is this kind of advanced positioning possible in TikZ?

I am reproducing the following figure in TikZ: The upper right '}' curly brace and its full label is produced by the TikZ code that looks like: \tikzstyle{ssbrace} = [decorate, decoration = {brace, ...
4
votes
1answer
48 views

Align boxes with tikz

I would like to remove the white space between "Box 1" and "Box 3." Using "below=0cm and of box1" works to remove the white space below "Box 1" but "right=0cm and of box1" does not remove the white ...
0
votes
1answer
99 views

Marginpar notes in the bibliography and vertical position with marginfix

I'm attempting to include notes in my bibliography for important items. I'm putting them in the margin with \marginpar. This is where the problem arises. If I have a longer note that happens to be ...
1
vote
1answer
47 views

adjust the table on the next page

i have question for table in the next page i hope my table like this (ms. word) : why when i compile be like this : my code : \begin{table}[H] \centering \caption{Spektrogram digit 0-9} \label{tab:...
0
votes
2answers
153 views

Put a table at the bottom of a conference paper

I meet a problem of putting a table at the bottom of a conference paper. Because I want this table to be very small so I use the following way (I learned here before): \documentclass[letterpaper, 10 ...