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.

3
votes
2answers
118 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 ...
5
votes
2answers
63 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. ...
3
votes
1answer
177 views

Multiple page number positions in one document

I'm working on a document with multiple page number styles. The introduction consists of Roman (I, II, III,...) page numbers, the actual text consists of page numbers in Arabic style (1, 2, 3,...), ...
0
votes
0answers
33 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
27 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
24 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 ...
3
votes
1answer
32 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
15 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 ...
1
vote
1answer
88 views

Image/text positions?

tl;dr I need to shift a line of text down below an image, how do I do that? I have two sets of images and descriptions for them, but they aren't appearing in order; instead, they're showing up in the ...
4
votes
1answer
3k views

Abstract and titlepage

I compile my code and the abstract shows up before the titlepage, but I want it after the title page. \documentclass[12pt, oneside]{report} \usepackage[margin=1in]{geometry} \geometry{letterpaper} \...
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 ...
136
votes
6answers
259k views

How can I have two tables side by side?

Suppose I have two tables that don't have many columns (3, for example). How can I position them side by side?
4
votes
1answer
453 views

TikZ path with rounded corners and decorations.markings not working as expected (pos=0.0 at wrong location)

I want to put small round markings at fixed distances on a six-pointed star. There are two problems though: pos=0.0 is not at the expected location, but slightly shifted possibly due to the rounded ...
0
votes
1answer
29 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
26 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
23 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
60 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 ...
4
votes
1answer
148 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 ...
1
vote
1answer
33 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
84 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
57 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 ...
9
votes
1answer
2k views

How to produce 5-up 3by5 index cards

I want to produce instructional 3by5 index cards. It's easy enough to produce the cards one per page, but I want to print five copies of the same car on a single sheet of 8.5by11 card stock, where it ...
3
votes
1answer
2k views

Align pictures in text

I have some code for a picture that looks like this: ...Text before pic... \begin{figure}[h!] \caption{caption stuff} \centering \includegraphics{somegraph.png} \end{figure} ... Text after ...
1
vote
1answer
39 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
90 views

Setting font and size

I am finishing writing my report. So, what I need is some modification such as: Setting the font to Times New Roman . Setting the size to 12. Setting spacing to 1.5 The numbering and format of the ...
2
votes
1answer
27 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[...
1
vote
1answer
68 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. ...
6
votes
1answer
56 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 ...
427
votes
4answers
1.1m views

Force figure placement in text

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code: \begin{figure}[ht] \...
2
votes
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
16 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
34 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 \...
1
vote
1answer
21 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
0answers
37 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
40 views

Force float to top of page selectively

Consider this example: \documentclass{report} %\usepackage{float} ...
0
votes
1answer
49 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 ...
2
votes
1answer
720 views

How to make footnote goes right after the text, not on the bottom of page

\documentclass{article} \begin{document} Test\footnote{Test} \end{document} Now it like this: And I want this:
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
50 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
50 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 ...
2
votes
1answer
21 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
88 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
37 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 ...
36
votes
3answers
5k views

How to place all proofs automatically in appendix?

Can I place all proofs to theorems in appendix automatically? Usually proofs are written in the LaTeX codes immediately after the theorems. Without physically moving proofs to appendix, how can I ...
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 ...
82
votes
8answers
86k views

How can I crop included PDF documents?

I've got a PDF that is automatically generated from a certain piece of software, that I want to include in the report I'm writing. I'm using pdfpages which gets the job done elegantly, but the problem ...
5
votes
2answers
90 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
199 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{...