Questions tagged [positioning]

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

3
votes
2answers
125 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
27 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
44 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 ...
3
votes
2answers
51 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
65 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 ...
3
votes
1answer
49 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{...
5
votes
1answer
51 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
63 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
61 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
74 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
29 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
31 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
22 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
46 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
62 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
41 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
50 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
145 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
64 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
36 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
107 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
57 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 ...
0
votes
2answers
71 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 ...
5
votes
5answers
479 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
67 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 ...
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}...
0
votes
1answer
34 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
25 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 ...
1
vote
1answer
26 views

Tall image that can be placed within the page margins is moved to the last page! [duplicate]

Latex moves my figure (with [t] specifier) to the last page seemingly because it is tall. Its height is about 70% of the distance between top and bottom margins. Hence, it should be possible to place ...
2
votes
2answers
71 views

tikz incremental relative path connections

An example of the diagram I'm looking to create is: I can get close to the desired output with the following tikz: \documentclass{article} \usepackage{tikz} \usetikzlibrary{intersections,shapes,...
4
votes
2answers
146 views

Perfect positioning of an image on top of text

Out of curiosity, would it be possible to have the following layout in LaTeX? That is image a top of text with the text automatically stopping on the border of the image. The left and right margin ...
2
votes
1answer
69 views

How to align text and icon?

Here is my code: {\hspace{10mm}\textcolor{brown}{2006 - 2010} \hspace{5mm}} {\textbf{\textcolor{blue}{BBA Hons (equivalent MBA)} \hspace{6.5mm} {\faUniversity}\hspace{2mm}Al Khair University}\...
7
votes
2answers
290 views

Call for node distance as a variable in TikZ

Is it possible to use the node distance as a variable while expressing coordinates of new nodes with Calc and Positioning libraries? What I want to have is everything within a single piece of code for ...
5
votes
2answers
481 views

Allowing figures to break paragraphs

As it seems, the placement option [!htb] only allows the figure to be placed between paragraphs. But what if the best placement is "inside" a paragraph? See, for instance: \documentclass{article} \...
0
votes
1answer
439 views

Problems with wrapfigure

Since 28 Jan, 2019 (several days ago), I've been trying to get text to wrap around any figure in my document and I have several. I cannot get the package wrapfigure to work. I've tried following all ...
1
vote
0answers
35 views

Margin notes that can both stack and be used in floats/footnotes

\marginpar notes won’t overlap; if you add two notes close to one another, the second note will start below the first. However, they can’t be used in floats or footnotes &c. \marginnotes can be ...
2
votes
2answers
46 views

Put a vector image on the right of a table and adjust its height to the table height

I have a table \begin{tabularx}{\textwidth}{ X p{70pt} \toprule stuff1&stuff2\\ \midrule stuff3&stuff4\\ \bottomrule \end{tabularx} and i would like to insert on its right a vector image ...
0
votes
0answers
20 views

How to fix PDF figure between text in LaTex (My PDF figure alsways embed on last page {after the references}) [duplicate]

I am using double column format and want to put my PDF figure on whole page. I want to put my PDF figure in between text, but my picture is displaying on last page of file when i generated the latex ...
1
vote
1answer
68 views

LaTeX file getting information from 2 other files

I just downloaded it to automate writing bills. I have absolutely zero knowledge of the terminology. Only a bit knowledge of scripting. Here is the link to the repository: https://github.com/d-...
2
votes
2answers
59 views

Too much space between floats

I have the problem that in two-column mode there is often too much unused space when there are multiple figures or tables in the same column. I would like Latex to automatically shift the figures ...
2
votes
3answers
144 views

How to adjust the page number position in the footer area in ConTeXt?

I would like to elevate a little bit the position of the page number in the footer area of the MWE below in ConTeXt: MWE \setuppapersize [A4] \setuplayout [header=0pt, margin=0pt, ...
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
67 views

Subfloat figure and text overlap in \begin{figure}[H]

\documentclass[sort&compress, 5p,draft]{elsarticle} \usepackage{lineno} \journal{Journal of \LaTeX\ Templates} \usepackage{subfig} \usepackage{pgf,tikz} \usetikzlibrary{shapes.geometric, arrows} \...
1
vote
1answer
64 views

wrap text beside longtable

i have a question about longtables. Is it possible to get a text wrapped around a (right-situated) longtable? I am using the longtable package and this is my code: \begin{longtable}[r]{| r | r | r ...
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} \...
1
vote
1answer
42 views

How do I “unlink” the rows in one column from the rows in another column?

MWE \documentclass{article} \usepackage{multirow} \pagestyle{empty} \usepackage[left=1.25in, top=1in, right=0.85in, bottom=1in]{geometry} \usepackage[thinlines]{easytable} \begin{document} \begin{...
0
votes
1answer
15 views

Ordering/positioning of floats in document with only and many floats

I have a document that only contains of many floats (tables and figures). Is it possible to force floats to be in the same order in the pdf document as they are in the .tex file? It is not important ...