Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [positioning]

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

2
votes
1answer
55 views

Framing a colored box with an image

I have a color box (made with tcolorbox) that holds text, and I want to frame it. Unfortunately, I'm copying a style so I can't use a normal border. The border I want is only on the sides of the box ...
0
votes
1answer
52 views

How to make this template for an article? [duplicate]

I want to separate the address of the authors with a box where I will put the abstract according to the graphic template below. Right alignment is important.
0
votes
0answers
19 views

Prevent picture overlap using wrapfig and float packages

In the MWE below, if a figure is floated directly under the paragraph next to a wrapfig AND the wrapped figure extends passed its adjacent paragraph, part of the wrapped figure is obscured and the ...
4
votes
2answers
72 views

Rotate node and use relative positioning when using two lines

I'm trying to do something to do something very similar to this: Rotate node text and use relative positioning in TikZ? Except I would like to rotate multiple nodes, and I end up with one node '...
1
vote
2answers
23 views

Moving CC in scrlttr2 to the top

I would like to add a CC line between the address and the "yourref"-part. Placing the \cc command just after \begin{letter} places the CC-text at the same place as the from-address. Is there any ...
1
vote
1answer
31 views

Prevent placing figures below each other

I have a latex document using the acmart documentclass (2 columns layout). For the figures I have used [ht!]. Unfortunately, now I have at the top of one page two figures directly placed one below the ...
1
vote
2answers
39 views

beamer theme Madrid with biblatex style=authoryear leads to bibliography position offset (first line indentation)

I stumbled upon this, take a look: \documentclass{beamer} \begin{filecontents}{references.bib} @article{myart, author={Author, A.}, title={My Title}, journal={A Journal}, volume={123}, ...
2
votes
1answer
36 views

Make \lim be multi line instead of single line

I am using this to represent a limit: \lim _{b\rightarrow \infty } But the limit expression gets on the side of the lim symbol. I want it to be under lim. I see that in some LaTeX represented ...
1
vote
1answer
35 views

Place object in custom position, but differently for odd and even pages

This is an example page, with a custom footer, containing two different text blocks in the bottom right and bottom left, temporarily using package textpos: \documentclass[12pt,twoside]{article} \...
1
vote
1answer
20 views

Vspace to an absolute page offset

I'm producing a series of flash cards in LaTeX (well, actually XeLaTeX). Each card has a title, a short paragraph of text, and a table, which is the main purpose of the card. Occasionally the ...
2
votes
1answer
27 views

Issues with doclicense, both with fancyhdr and with background

This is an attempt to insert the doclicense output in each page of a document, using fancyhdr: \documentclass[12pt]{article} \usepackage[ type={CC}, modifier={by-sa}, version={3.0}]{...
5
votes
1answer
70 views

How can I achieve this use case diagram using tikzpicture environment

I am using the last example of the Chapter 3 - "Use case diagrams" TikZ-UML manual (pp. 34-35). Please consider this MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{...
2
votes
1answer
109 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 ...
2
votes
1answer
33 views

Positioning tables and figures at the end of the respective caption list

Sir/Madam! My landscape tables are appearing in the body of the text whereas portrait tables are appearing at the end of the file. Please help me to remove the figures and tables from the text of my ...
1
vote
0answers
28 views

Distance rectangle - text chapter using fancy header [closed]

but i'm non able to solve some problems: \documentclass[svgnames,12pt,a4paper,oneside]{book} \usepackage[T1]{fontenc} % lettere accentate \usepackage[utf8]{inputenc} ...
3
votes
3answers
64 views

Tikz with standalone: pinning tikz coordinates to page cm

I've got something like the following: \documentclass[tikz]{standalone}% Does not support leap years. \usepackage{tikz} \usepackage[paperwidth=12cm, paperheight=25cm, margin=0cm]{geometry} \...
0
votes
0answers
42 views

Dividing a page into several horizontal minipages [duplicate]

Suppose there is a LaTeX document with format like \documentclass[a4paper]{article}. Is there a way to divide a page into several horizontal ones, say n=3 or n=5 (a parameter specified for all the ...
3
votes
2answers
44 views

Position nodes relative to regular polygon anchors

I have a regular polygon, and I'd like to position nodes for instance above the first corner, or next to the nth side. This is my sample: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{...
2
votes
3answers
42 views

Positioning groups of tikz nodes relative to their centre

I'm trying to draw a tikzpicture in which the centre of a group of nodes is at a given position relative to the centre of another group of nodes. I've tried to use fit, pic, and I've looked at other ...
2
votes
1answer
46 views

Use (remember picture, overlay) TikZ picture to design parts, chapters, ToC, Bibliography, Index

What I have I am designing the format of the parts and chapters in my document using TikZ picture, with remember picture, overlay option, like this: \documentclass{book} \usepackage{tikz} \...
1
vote
1answer
25 views

How can I make these \parbox margins wider in LaTeX

I have the below command, followed by the text that I want displayed. I've attached a display of the output. I would like the top middle text to have wider margins. I've tried tweaking the \parbox ...
2
votes
0answers
18 views

how to place a non-floating figure using x,y page coordinates? [duplicate]

I wish to know if is it possible to place a non-floating figure using x,y page coordinates? Also above other figure or text For example. The yellow rectangle is the area where I wish to place my ...
0
votes
0answers
27 views

Problem to place a Figure in a top of page before Chapter Title

I am trying to place a figure in a top of the first page (red cross position) before Chapter 1 When I try to use the folowing code \makeatletter \setlength{\@fptop}{0pt} \makeatother \documentclass[...
0
votes
0answers
31 views

KOMA Report: how to set the distance between page border and page number on top of page

Using KOMA Report, I want have the page number in the top center, 1.25 cm away from the top page border, and maintain a top margin of 2.5 cm. I am using \usepackage[top=2.5cm]{geometry} with \...
3
votes
0answers
41 views

LaTeX Flow Text Around Background Image

I would like to have text flow around the positive space of the background image in my PDF, kind of like the image on the left (from the DnD 5e player's handbook): I'm not really tied to a particular ...
0
votes
2answers
21 views

How to make text fields for signatures at the bottom of each page?

I need to make text fields for signatures at the bottom of each page. Like this (i drew it in Adobe Illustrator): How can i do this? Paper format: A4.
2
votes
1answer
27 views

Placement of rectangles next to each other

I want to have some rectangle nodes horizontally adjacent to each other. My attempt at this is ok, but unfortunately it places the outer part of the edges adjacent to each other, so the border ...
4
votes
1answer
88 views

How do I use mark indices with position in tikz?

I am trying to decorate a curve with some arrowheads, there is a way which you could specify the percentage position with steps % !TEX TS-program = xelatex \documentclass[UTF8]{article} \usepackage{...
0
votes
0answers
53 views

How to align affiliations after the author names while using IEEEtran.cls?

The IEEEtran.cls aligns the author names in the following format. There are only two authors in the paper I'm writing but one of them has multiple affiliations. I want to keep the author names and ...
1
vote
1answer
44 views

How does using \makebox allow arbitrary placement of things on a page?

What is it about using \makebox that makes it disregard text body borders / margins, where other boxes respect the margins / text width and friends? Allowing images outside of margin Letting graphics ...
0
votes
0answers
28 views

Text overlapping of glossary

I have the following piece of latex I am having trouble with. \documentclass[a4paper]{article} \usepackage{glossaries} \usepackage{acro} \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em ...
0
votes
0answers
27 views

text wrapover in a tabular in cv template (Michael Decorte's)

In the following, the text wraps over inside a 'body', but not in an 'employer'. Yet, I want to have the text wrap over in 'employer' as well. Any suggestions? The style I am using is res_yy.sty from ...
2
votes
3answers
81 views

Adding width of text to node coordinate?

I am currently trying to position some text in the center of a square drawn in a tikzpicture, like so: However, I am having a bit of trouble. Take the following example: \documentclass{article} \...
1
vote
2answers
37 views

How do I get tikzpictures to overlap on the same page?

I have two complex TikZ drawings that need to overlap (appear on the same page). I can't put them into one tikzpicture, because different scale parameters need to be applied to them. Minimal example: ...
3
votes
1answer
58 views

How to move tikzpicture with named nodes?

I am trying to position an image with rounded corners to a specific position on screen. However, according to the following post, yshift and xshift do not affect nodes that are named and I am still a ...
3
votes
1answer
33 views

How to connect to the north anchors of triangular (leaf) nodes in tikz-qtree?

How to make the edges from x (resp. y) to connect to the north anchors of the triangular leaf nodes A and B (resp. C)? Note that this should not change the edge style between x and y. Therefore, the ...
1
vote
1answer
49 views

node positioning involving shape

This script \documentclass\[tikz,border=5pt\]{standalone} \usepackage{tikz} \usetikzlibrary{shapes.misc} \begin{document} \begin{tikzpicture} \node\[draw, align = center, minimum height = ...
1
vote
2answers
39 views

group tikz shapes

Consider this example: \documentclass[tikz,border=5pt]{standalone} \usetikzlibrary{calc} \usepackage{tikz} \begin{document} \begin{tikzpicture} % RED ...
1
vote
1answer
30 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. ...
2
votes
3answers
68 views

Arranging multiple subfigures beside and above each other

I would like the subfigures of my figure to be arranged like so: ,---, ,---, | | '---' | | (b) | | ,---, '---' '---' (a) (c) I would like the bottom two images to be aligned ...
1
vote
1answer
24 views

Inserting a figure after a numbered element

The following code produces a figure at the top of the page, and a heading 'Example 1.1.2.' just below the figure. How can it be done to place the heading above the figure? Have also tried with \...
0
votes
1answer
46 views

Draw a graph using graphdrawing and sublayouts, wherein nodes are properly aligned among each other

I have the following code producing a graph with the graphdrawing algorithms of tikz and sublayouts to properly set my nodes. \RequirePackage{luatex85} \documentclass{standalone} \usepackage{tikz} \...
0
votes
1answer
23 views

How change the position of background and rotate it?

I used 1 to set an image as background. But it is at the bottom of the page. My question is how can I change the position of the image and rotate it about 45 degrees? I want to put it at the center ...
3
votes
2answers
63 views

tikz: positioning of ellipse

please consider the following mwe: \documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{positioning, shapes} \begin{document} \begin{tikzpicture}[ node distance = 3mm ...
1
vote
1answer
18 views

Change the position of text in pgf-umlcd aggregation

I need to change the position of text written on top of aggregation relation in pgf-umlcd. Here is what I've written so far: \begin{figure}[h] \centering \begin{tikzpicture}[show background ...
0
votes
1answer
29 views

Positioning side and top bars with TikZ

I am quite confused about positioning with TikZ. I am trying to create a template that has a top bar in gray as a header only on the first page and a left bar with a width equal to the left margin on ...
3
votes
1answer
57 views

Make tikz nodes touch bottom to top edge

I have two tikz nodes like this: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows,positioning} \usepackage{amsmath,bm,times} \newcommand{\mx}[1]{\mathbf{\bm{#1}}} % Matrix ...
1
vote
1answer
97 views

Three box side by side - tcolorbox

i want to create 3 box side by side like attachment image. Please help My code: %\documentclass[a4paper]{article} \documentclass[a4paper]{book} \usepackage{amsmath,amssymb}% pour les maths \...
0
votes
1answer
30 views

Why and how are t and b options of figure treated differently?

I try not use [h] much for figures (nor for floats in general). On the contrary I try to use [b] and [t], but I've often noticed that the two behave differently. I'm pretty sure it is intended and ...
3
votes
1answer
37 views

The node positions in chain changed unexpectedly

As shown below, the node positions have been changed when using chain. How to fix it? \documentclass[tikz]{standalone} \usetikzlibrary{positioning, chains} \begin{document} \begin{tikzpicture}[...