Questions tagged [positioning]

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

1
vote
1answer
161 views

\captionof options: bold name for figure

I am using the capt-of package for my figures to avoid floating. I fix the figures in the position I want by using: \begin{center} \includegraphics[width=0.8\textwidth]{figure1.png} \captionof{...
2
votes
2answers
48 views

How can I format 8 subfigures to have a single legend to the right of the page?

My code produces a figure which looks like this: How can I make it look like this: (which I have produced using paint.) The code \usepackage{graphicx} \usepackage{subcaption} \begin{document} \...
1
vote
1answer
125 views

How to change the highness of index in tensor package?

I'm having a problem with the index position in the \tensor command. When I write, for example, \tensor{A}{_\ mu}, I get a tensor with the subscript "mu" in a very low position. Is there any way I can ...
3
votes
2answers
132 views

Is it possible to set the absolute position of paragraph numbering?

I'm trying to use the following example from this question to number the paragraphs in my document (slightly modified to remove \thesection. from the paragraph number). The example: \documentclass{...
3
votes
2answers
94 views

Finetuning a pentagon network

I have created a primary version of a pentagon network with the following code: \documentclass{book} \usepackage{tikz} \usetikzlibrary{positioning} \usetikzlibrary{shapes.geometric} \begin{document} ...
0
votes
1answer
37 views

How to align figure in .tex file side by side?

I have used \subfigure to align figure side by side. The figure is a graph and is in .tex file form. Thus instead of using \includegraphics, i have used \input. The problem is the graph is in ...
3
votes
1answer
45 views

Problems with style definition for nodes

I created some node styles which are inspired by the presentation of Malte Schmitz. As you can see in the MWE, many things are hard coded – especially the node positioning of the tex,pdf etc. nodes. ...
3
votes
2answers
235 views

Horizontal line in LATEX

I want to draw a horizontal line in a LATEX file. The starting point is at the middle of the page and the length is the half of the paperwidth. How can this be done? Thanks for your help.
0
votes
1answer
130 views

Cell placement in a Tikz matrix

I have a single column Tikz matrix, each cell containing one or more lines of text. I would like the first cell to have its text centered while all the other cells have their text left aligned. In ...
1
vote
1answer
44 views

Prevent footnotes from sticking together, moving to next page

I hit a situation where it appears like latex has a passion for putting footnotes together, which causes it even to move a footnote away from the page on which it is referenced. [EDIT: As Ulrike ...
3
votes
1answer
86 views

TikZ: centering nodes and paths relative to each other

I'm trying to draw a textbox over an image like this: Here's what I have so far: \documentclass{article} \usepackage[paperwidth=50cm,paperheight=70cm,margin=1.3cm]{geometry} \usepackage{xcolor} \...
0
votes
0answers
26 views

How to control the postion of a table [duplicate]

I have a table like this: \newcommand{\dd}{{\rm d}} \newcommand{\ee}{{\rm e}} \newcommand{\ii}{{\rm i}} \newcommand{\rr}{{\rm r}} \newcommand{\pp}{{\rm p}} \newcommand{\AAA}{{\rm A}} \newcommand{\rev}...
1
vote
1answer
65 views

Positioning table to the bottom left of a node

I am having trouble with the positioning of a table. I have a node just below the center of the page and would like to place a table on the bottom left of such node, but when compiling it places the ...
0
votes
1answer
85 views

Drawing a line (A) and then draw another line starting in the middle of line A

Im confused at a very basic problem. My aim is to draw a brace, however make the brace look rectangular I draw a path/line from start A to end B with some lines at the beginning and end to form the ...
1
vote
2answers
215 views

wrapfigure misplaced

I have this code: \chapter{Experimenteller Teil} \begin{wrapfigure}{l}{0.2\linewidth} %\centering \includegraphics{image.pdf} \end{wrapfigure} \blindtext and I get this: as you can see, the ...
8
votes
2answers
194 views

TikZ: Make nodes have linewidth

I want to create the following picture with tikz I got an MWE working but I have the following problems I want the two boxes to span the current \linewidth I want the "internal" nodes to be ...
2
votes
1answer
65 views

Smartdiagram - Change Position in twocolumn Layout

I am new to StackExchange and I am a beginner with LaTeX, so bare with me :) Anyways, I have a problem regarding the placement of a smartdiagram Diagram in my document. The sequence digram reaches ...
1
vote
1answer
71 views

Align the bottom nodes of mindmap

As you can see in the following figure, the bottom of the three nodes "Jupiter", "PA2AM", and "VPC" are not aligned. How to align them well? \documentclass[tikz]{standalone} \usetikzlibrary{mindmap, ...
2
votes
2answers
111 views

Have a picture on the right of a section title in ConTeXt

I am trying to set a picture to the right of a section title. Like this (bad ASCII-Art rendering): 1.2 Section Title +---------+ | Picture | Lorem Ipsum ...
1
vote
1answer
76 views

How to “plot” a figure with two columns?

This is a nice figure from a database-related paper: How does one go about "plotting" this figure environment? Essentially, one the left I want to put some SQL query, and on the right I potentially ...
0
votes
1answer
49 views

Positioning tikz drawings under text

I am pretty new to latex and tikz, so this might be a simple question, however I am not really able to position my tikz drawing how I want it. So I defined my own section command, and what I want i ...
4
votes
0answers
69 views

Listings caption alignment in list environments

I'm having trouble with the alignment of captions of lstlisting inside environments like description or enumerate. I'm using the listings and caption packages. As soon as I try setting the caption ...
0
votes
1answer
97 views

fancyhdr - first page position offset with different font sizes

fancyhdr provides an easy way to customize headers and footers and hence is used by many people. An issue I just found is that it doesn't handle font sizes other than 10pt well on the first page. From ...
1
vote
0answers
54 views

How to add an image in a scientific paper that spans columns and is situated after the text? [closed]

I want to add an image in a two-column paper in the following manner. I have tried using \begin{figure*} \centering ... \end{figure*} but there's an error: Output loop---100 consecutive dead ...
1
vote
1answer
84 views

Layout of three Young diagram

I am trying to let these three diagrams more neat. Like, (1,1,1),(2,1),(3) are lying on the same line, and the arrows all point the middle of Young diagram. Anyone could help me? My code is: Example:...
1
vote
1answer
61 views

How to avoid two floats on the same page?

I have a document with a few figures and tables. The figures are all specified as [t] and the tables as [b]. Right now, the compiler sometimes places two floats on the same page, leaving little space ...
1
vote
0answers
80 views

SCfigure placed on own page, while figure isn't

I have a PDF image with a relatively large height. When I place the image into the figure environment, the figure & its caption is displayed at the top of the page such that still some main text ...
3
votes
1answer
92 views

How to put text at rightmost position of an underline?

\documentclass{article} \usepackage{booktabs} \usepackage[a4paper,left=0cm,top=0.2cm,bottom=0cm,right=0cm]{geometry} \usepackage{polyglossia} \setmainlanguage[numerals=Devanagari]{bengali} \...
0
votes
2answers
46 views

Optional parameters in titlepage

I have a small problem with a .sty file i'm creating. I want to have the option to add a logo in the title, which was not problem. But if I now have a situation where I don't add a logo (either by ...
0
votes
1answer
311 views

How adjust hat r from Griffiths David's book

I have a difficult to center the hat bold accent as in the Griffiths David's book as the picture below extract from the book: My output using \usepackage{baskervald} \usepackage[baskervaldx]{...
1
vote
1answer
27 views

Input length sensitive optional argument macro

I wrote the following macro, that prints C_0^*. But I wanted to push the position of * little high, hence used strut. I also wanted optional argument i.e. C^* and C_0^* can be handled by same macro. ...
0
votes
2answers
116 views

TIKZ: Layering Text over Text

I'd like to create a box in tikz that contains regular text, and underneath that text, another layer of text. I can create the first layer of regular text, but I'm stumped on how to put the lower ...
1
vote
1answer
46 views

How can I typeset vertical addition (or multiplication) on things other than plain numbers, such as polynomials?

tl;dr My problem is finely positioning the operation sign. In the examples given elsewhere (here and here, for instance), two ways of typesetting vertical arithmetic operations are given: Macros ...
0
votes
0answers
223 views

Centering the figure caption when switching page orientation

I'm a newcomer to Latex but I've already found it very useful. I have a document that requires me to switch the orientation from portrait to landscape midway through the document so I can properly fit ...
0
votes
0answers
29 views

How to position the referencial below the Table?

Using LaTeX, there always remains a part of the text below the table, where this text should be below all tables. \begin{table}[!htb] \centering \caption{My caption} \label{my-label} \begin{tabular}{|...
2
votes
1answer
102 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 ...
3
votes
2answers
71 views

Move “chapter” and chapter number leftwards

I'm using the memoir class with the madsen style to write my thesis and I need help to move leftward the text "chapter" and the chapter number, in such a way that the right end of the number would ...
0
votes
1answer
61 views

Beamer - Floating Frame Title

Beamer frame title is placed on the top of the slide by default. Is there any way to place it just above the content in each slide ? Minimal working example: \documentclass{beamer} \begin{document} \...
1
vote
1answer
139 views

How can I center a wide table?

how can I center my wide table? I already tried everything I could find in different posts. I would be grateful for every tip! My code is attached. Thanks, Julia \documentclass{article} \usepackage[...
1
vote
1answer
210 views

Epigraph before \chapter and \section

I have read the epigraph documentation, but sadly I do not understand how to put my quote before the \chapter and \section entry (same page). Could someone give me a hint, please? \documentclass[...
4
votes
3answers
516 views

Vertical positioning of superscripts and subscripts in math mode

The question can be found around but with no satisfactory answer. I want to position the subscript more down and superscript more up. The code to test it on is simple: $1.23_{-22.22}^{-1.23221}$ ...
2
votes
1answer
115 views

Wrapping about of a tikzpicture placed between two theorem-environments

How to place tikzpicture inside theorem environments with wrapping? I found many decisions with cutwin package. But the decisions concern to the wrapping inside own theorem environment (besides, they ...
2
votes
1answer
46 views

Customizing utilization of only-float pages

I believe that option p of figure environment is necessary (if you don't want that big floats filling up almost an entire page are placed at the end of document, followed by smaller floats which could ...
3
votes
2answers
61 views

How to create a big image on the left side and multiplie small images on the right?

\begin{figure} \begin{subfigure}{.3\textwidth} \includegraphics[width=2\linewidth]{images/Baxter.pdf} \caption{External Camera Setup} \label{fig:baxter} \end{subfigure} \begin{...
1
vote
0answers
26 views

Ensure a table or figure is in the right (sub)section [duplicate]

First of all, related: How to fix table position Here it is said how to fix a position to the exact place you position it in the latex document. I was wondering if it is also possible to float it ...
1
vote
1answer
226 views

“! TeX capacity exceeded, sorry [input stack size=5000]” when trying to compile file with two tikzpictures

This works fine if I only use the first tikzpicture, not sure what goes wrong. Here's the M(N)WE: \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \usepackage{tikz} \usetikzlibrary{...
1
vote
0answers
294 views

Page number position on a single landscape page

I tried the solution mentioned in the thread by John Kormylo: single landscape page with page number at the bottom? While successfully placing a page number at the bottom of the landscape page, the ...
0
votes
1answer
80 views

Tikz picture object changes size on each beamer frame and causes picture and text positions to shift?

I am creating a beamer presentation with several slides that features a tikz picture above an item list. Because one of the objects changes size in the text picture on each slide, the text and the ...
4
votes
2answers
282 views

Tikz graphdrawing trees layout: center second child

I have created following tree/graph: %! TEX program = lualatex \documentclass[]{scrartcl} \usepackage{tikz} \usetikzlibrary{ graphs, graphdrawing, quotes, } \usegdlibrary{trees} \begin{...
0
votes
2answers
48 views

Don't separate images from its subsection

I have a problem. I have a subsubsection with 2 images and a text. This piece of content is being repeated over 10 times. The problem is that when the last subsubsection ends with a text, then the ...