Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
1answer
45 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
34 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
45 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
42 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
26 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: \...
0
votes
0answers
36 views

Where should I put figures in LaTeX [closed]

I have lots of figures in my paper. Do you know where exactly I should place them within the text? I usually place them at the same place I mentioned them in text. Can I place figures before the ...
2
votes
1answer
19 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
85 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
26 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
77 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 ...
5
votes
1answer
192 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{...
2
votes
2answers
100 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
308 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
46 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
31 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
65 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
42 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 ...
3
votes
2answers
107 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 ...
3
votes
1answer
25 views

pgfplots: How to align legends of multigraph diagram?

Assumed we have the following MWE to display various graphs in one single diagram. Minimum working example (MWE): \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=...
0
votes
0answers
30 views

WrapFigure bottom spacing issue

I'm currently facing an issue where a wrapfigure is making some lines not use the whole line, to make it clearer here's a picture: As you can see there's plenty of space for the line to use, yet ...
4
votes
2answers
47 views

Tikz: place node leftmost of two nodes of different widths

I have the following tikz picture: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \coordinate (origin) at (0,0) ; \...
1
vote
1answer
51 views

How to move the skills, hobbies and languages details in the “Designer's CV” template

I'm using this CV template found on ShareLaTeX/Overleaf site (source: http://www.howtotex.com/): %%% LaTeX Template: Designer's CV %%% %%% Source: http://www.howtotex.com/ %%% Feel free to distribute ...
4
votes
1answer
47 views

Need to tilt this image inside the page so it is a perspective path, with tilted text. Path coming out of the page

\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,decorations,patterns,positioning,automata,shadows,fit,shapes,calc,decorations.markings,backgrounds,scopes} \newcommand{\xyz}{ \begin{...
4
votes
1answer
34 views

How to force some of the code to be at a different place

I'm writing my lessons on a big LaTeX document so, I've each chapter on a dedicated LaTeX file (which are imported by import command) However, for some lessons, I want to set a "cotation table" (or ...
3
votes
2answers
55 views

How do I raise a figure (placed with wrapfig) to be flush with the top of a paragraph?

I am using the wrapfig package to place a figure with text wrapped around it. Here is a minimal example, with a screenshot of the relevant part of the output below: \documentclass{book} \usepackage{...
2
votes
1answer
52 views

How to reference/add tables/figures/graphs, after some point in the text?

Im new to this, I just have a simple question. How to declare a table let's say after I mention it in the text. What I want: Blah blah blah blah blah blah blah blah blah as shown in Table ~\ref{tab:...
1
vote
1answer
61 views

How to add tables in flowchart.?

I need to draw the flow chart as shown in the figure below. Can I add the tables in the LaTeX blow chart as nodes? My code: \tikzstyle{c-rectangle2} = [rectangle, ultra thick, rounded corners, ...
1
vote
1answer
26 views

Petri-Net: Displace a node by x units after using relative positioning in TikZ

After using relative positioning in TikZ, I wish to displace the note by x units on the right to achieve this. I found this answer Move a tikz node somewhat below in relative positioning helpful. But ...
3
votes
1answer
29 views

Table Placement Issue

I am using a template I found and it usually gives me no problems, but I am having an issue with table placement. I am trying to print four tables on the last page of my document, but the fourth one ...
0
votes
0answers
18 views

Horizontal alignment when using the tensor package

When using the \tensor command, the indicies are lowered a bit to much for my taste. Is it possible to align them with the usual position of the indicies. That is, \tensor{T}{_\mu} should look like T_\...
0
votes
1answer
45 views

Positioning and opacity

I'm trying to include an image to my beamer using Tikz. The problem is that I don't find the code to position the image horizontally and vertically as well as being able to change its opacity. \...
2
votes
1answer
46 views

How to align coordinates vertically and horizontally in TikZ

I have points with irrational coordinates, because I'm mixing polar and Cartesian coordinates. I'd like to specify a coordinate as the x-value of one thing and the y-value of another thing. In this ...
0
votes
0answers
36 views

How can I embed an external image within the TikZ environment in the axis positions?

From How can I embed an external image within a tikzpicture environment? I can see that \includegraphics can be used within a TikZ environment using \node. However, my tikzpicture includes an axis ...
1
vote
2answers
36 views

The coordinates for a text node in tikz specifies the centre of the box. Is there a way to get it to specify the left edge of the box?

I would like the two lines of text to the right of the diagonal lines to be left aligned. Is there any way to do this? \begin{tikzpicture} \node[text] at (2,4) {/p/}; \draw (2.5,4) -- (5,5); \draw (...
0
votes
0answers
6 views

Position an image to touch edges of page? [duplicate]

I'm trying to position an image to touch the right and bottom edges of the page. It's for a subtle background image. Any ideas on how to do this?
4
votes
1answer
86 views

Problems with position of tikzpictures in beamer

Consider the following MWE: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage{tikz,alphalph,amsmath} \setbeamertemplate{navigation ...
0
votes
2answers
62 views

How to put the title where I want

I'm trying to better myself at latex, but I also want to make a standard file for doing reviewing. So I'm trying to do something very compact but nice looking. I achieved a pretty good result, but ...
0
votes
0answers
25 views

Why does `endfloat` package reserve a whole page for each float when they are small enough to be put together?

I use endfloat package to stack all floats after the document has ended, but it seems that even if some floats are small enough to be put together in one page, endfloat will still place each one in a ...
0
votes
1answer
63 views

Align authors center

I am new to Latex and Overleaf and I have a problem with the alignment of author section. My code is: \documentclass[10pt,conference]{IEEEtran} \usepackage{subfigure,times,graphics,mathptm,epsfig,...
0
votes
0answers
36 views

positioning of floats

I have placed the following code in the preamble to make sure that images are placed on the top. \makeatletter \setlength{\@fptop}{0pt} \setlength{\@fpbot}{0pt plus 1fil} \makeatother However this ...
1
vote
0answers
44 views

Full page figures using RevTeX?

I am typesetting an article using the revtex4-2 document class (using the twocolumn option), and I was wondering if there is any way I can get a figure to be placed on its own separate page, like it ...
1
vote
2answers
68 views

How to align a variable whose sign is absent with a variable whose sign is present while both are inside `\begin{cases}\end{cases}`?

I can't seem to align variables properly since one of them leaves its sign behind on alignment. \documentclass{standalone} \usepackage{amsmath} \begin{document} % NO ALIGNMENT $\begin{gathered} |x|= ...
0
votes
0answers
60 views

What combination of engine, format and packages can provide for arbitrary single page layout of precise regions of different attributes?

What combination of TeX engine, format and packages can provide for arbitrary single page layout of precise regions of different attributes? Is this reasonably achievable? Secondarily, if more than ...
6
votes
5answers
465 views

How to define multiple functions in the same diagram?

I want to write something like this: So far I tried with tikzcd, but I did not manage to give the arrows the right placement and length.
1
vote
1answer
46 views

Placing a figure with subfigures immediately below paragraph title

I would like to have some paragraphs including a sequence of figures (no text at all). However I am not succeeding in placing the figures right below the paragraph title. What happens is that the ...
2
votes
1answer
131 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}...
0
votes
1answer
30 views

Place an arithmetic symbol between two bar charts in a tikzpicture

I want to visualize a calculation based on two bar charts. For this I want to draw two bar charts side by side and a multiplication sign between both of them. I wanted both axis environments and the ...
2
votes
1answer
23 views

Using conditional for float position

I have a document that I will print in two different page sizes (A5, A4). Some figures are always printed on a separate page, regardless of the page size. This is fine when printing in A5, but when ...