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

learn more… | top users | synonyms (1)

2
votes
2answers
56 views

Vertically center tikzpicture in table

I'm tryin to vertically center a tikzpicture in a table. Here's a not-very-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - danske bogstaver og andet godt fra havet ...
0
votes
0answers
25 views

Bad height positioning when superscript and \dot appear together

I try to type \dot x^i to represent the time derivative of the coordinate x^i. But in \dot x^i the superscript i will be to high, while in {\dot x}^i the dot will be too high. My attempt \dot ...
5
votes
1answer
93 views

How to make a graph inset

I have a graph where I want to place another graph as an inset. I now have the following code which creates an inset graph on the bottom left corner. How can I move the inset to the upper right or ...
5
votes
2answers
1k views

Wrapfig places picture at end of document

I'm trying to use a wrap fig to place an image next to some text. But when it compiles the image gets placed at the very end of the document several pages away from where it is supposed to be. The ...
4
votes
3answers
86 views

Positioning a node with respect to a group of nodes

I have a set of nodes that is generated by a macro, and I would like to position a node with respect to the north, west, south of this set of nodes. In my example I would for instance like to position ...
1
vote
1answer
54 views

how to put a same costum text at the end of every page

I have set the bottom margin to zero: \usepackage[margin=1cm,marginparwidth=1.5cm, top=0cm,bottom=0cm,left=0.1cm,right=0.1cm,showframe ]{geometry} and I want to put the same text at the bottom ...
3
votes
1answer
67 views

How do I draw arrow in my figure, such that the arrow points to a particular node?

I have a figure of a graph with 8 nodes. I want to draw arrows, s.t. they will point to some of the nodes (for example I want to draw arrows pointing to 4 of the nodes). Also, next to each arrow I ...
32
votes
4answers
26k views

How can I get the figures not to be pushed to the end of the document?

For some reason, my figures get pushed to the end of the document. I tried begin{figure}[t], [h] and other options, but none helped. Any ideas how to get the figures to appear much earlier in the ...
2
votes
1answer
96 views

Positioning tikz nodes to the top

I have four circles in a beamer frame, \begin{tikzpicture}[% common options for the circles: ball/.style = {circle, draw, align=center, anchor=north, inner sep=0}] \node<1>[ball,text ...
5
votes
3answers
796 views

A letter under word

How can I write a letter under a word. Eg: Assume that I have to write $\textbf{P}$ centered under the word "maximize". When I tried with "_", the output is \begin{equation} maximize_{\textbf{P}} ...
1
vote
1answer
62 views

How to position a TikZ picture?

I have a problem with positioning a TikZ picture. I want to position a half circle, but I don't know how I should do it. \begin{tikzpicture} \draw [domain=0:180] plot ({cos(\x)}, {sin(\x)}); ...
3
votes
1answer
68 views

Scheduling a float to appear on a specific, later page?

Consider the following MWE - let's say it's called test.tex: \batchmode % \ifx\article\undefined % \documentclass[12pt,journal,onecolumn,twoside,draftcls,letterpaper]{IEEEtran} % \else % ...
8
votes
2answers
5k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
5
votes
1answer
247 views

Beamer ToC: vertical spacing compressed when making ToC in columns environment

I am trying to adapt the Beamer table of content to my needs. I use the columns environment to change the lay-out of frames with a lot of white space. This works fine in most cases, but when I use it ...
3
votes
1answer
122 views

How to add thumbnail photo to frametitles in beamer

Is there a beamer theme that allows one to add small thumbnails of authors to the right end of the frame title line? Ideally I'd like something that can easily work on successive pages throughout a ...
1
vote
1answer
473 views

How to position wide figures in two column documents

I want to an image at the bottom of a page in a two column document. Using figure* causes the image to jump to the bottom of the document. Is there a way to avoid this? Here is an example: ...
5
votes
2answers
137 views

Nodes on arrows not aligned nicely

I've written the LaTeX for an automaton that looks like this: As you can see, the 'b' on the arrow from q1 to q3 is positioned lower than the 'a, b, c' on the arrow from q3 to q2. Also, the 'b' ...
0
votes
1answer
74 views

CV image latex code

I want to add a CV picture to add the right side in this section (see image). The picture must almost fit in the data section. I tried many things, but none of them is working. Does anybody how I can ...
2
votes
2answers
96 views

Why I can not place my figure where I want?

I have some text and after that I want to insert a figure. The text almost finishes on the second page, so I want to place the figure on the top of the third page (right after the text), but I cant. ...
1
vote
0answers
19 views

Image and coauthor (sbtitle) in the very first page [BOOK class]

I'm sorry if you can find my questions very stupid, but I need some help. I'm actually writing my thesis and I've encountered a couple of problems. First of all, I notice, I'm using the class book ...
30
votes
2answers
35k views

Table and figure side-by-side with independent captions

Looking to put a table and a figure side by side so that the table and figure have their own captions. A crude sketch ------------ ----------------- TABLE | a | b | ...
0
votes
1answer
36 views

includegraphics, space after picture in multicol environment

I try to place pictures within the columns of a mulicol environment. The look should be register-true (even if there is no support for that in latex), i.e. all lines should be at same height across ...
2
votes
1answer
45 views

How to place a different background image on each part of a book

Do you know if it is possible to place a background image on each \part of a book? Ideally, for each part I would like to be able to put a different background image. Currently, I am using the ...
4
votes
3answers
65 views

Positioning of tcolorbox in list enviroment

For emphasis some key features in my texts I use tcolorbox, which is pushed to the outside border. in normal text this work fine but in itemize environment it is pushed more outside then I desire. ...
3
votes
2answers
66 views

LaTeX chord making

I'm making a ukulele songbook and i used this code to make chords rise above the text. but it makes a small space before the word (when you put chords above). Do you know how to fix it? ...
3
votes
1answer
90 views

Keep float out of a environment (for example definitions)

I knew that floats float around and sometimes are placed far away from where one wants them to be. With the times I learned to work with it, and there are already many posts about it. I have a kind ...
5
votes
3answers
809 views

Alignment of colorbar with colorbar to name

I am trying to make a group of plots with groupplots sharing the same colorbar and the same y axis. An example: \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{groupplots} ...
11
votes
2answers
689 views

Fractions in superscripts are placed too low

I have noticed that "tall" superscripts seem to be placed awkwardly low in math mode; their baseline is so close to the main baseline that confusion has happened. \documentclass{article} ...
2
votes
1answer
108 views

How to print a table and figure side-by-side in knitr

I see a lot of posts on putting figures side by side with tables without knitr, and posts about putting tables next to tables and figures next to figures in knitr, but nothing on how to put a figure ...
1
vote
1answer
30 views

How align many figures in a single figure?

I am trying to build a single image with multiple subimages but the problem is I want the image in this below given format and I don't know how:
3
votes
1answer
99 views

LyX linguistics module - table within example

Using LyX with the linguistics module. I want to have a table as a Numbered Example. When I insert a table float after the example, the number appears after the table on the PDF, rather than before ...
2
votes
2answers
31 views

Align text in equation

\begin{align*} \text{min } \mu \ \\ \text{s.t. } P^t(X) &\le y_t,\ (\forall t \in T)\\ \sum_{t \in M_k} y_t &\le \mu , \ 0 \leq k \leq k_{max}\ & \\ ...
50
votes
4answers
58k 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?
5
votes
3answers
121 views

In tikz, is it possible to define a node and set its position later?

I'm trying to draw a diagram and my code is getting too cluttered and difficult to read. For code style purposes, is it possible to define a node in one place and mess with its positioning later? ...
35
votes
4answers
66k views

Force LaTeX image to appear in the section in which it's declared [duplicate]

Possible Duplicates: How do I ensure that figures appear in the section they're associated with? Keeping tables/figures close to where they are mentioned How can I force an image in a ...
5
votes
1answer
71 views

How to display code formatted with lstlisting in a bussproofs proof tree?

I wish to include Java-code formatted with lstlisting as a conclusion in a bussproofs proof tree. The code has to be in boxes so two peaces of code can be displayed next to each other in the same ...
2
votes
3answers
36 views

Place sidewaystable together with text

My sidewaystable is always placed on a separate page! How do I make it appear exactly where it is defined? Is that possible? text sidewaystable page break text I've done something like this: ...
6
votes
1answer
101 views

Include figure on the same page above \chapter

In a book, with the book documentclass, I'm typesetting I want to include a figure above the \chapter title. This however has turned out to be hard. With the following code: \chapter{Uppväxt} ...
2
votes
2answers
77 views

How can I resolve this figure margin issue caused by geometry margin options?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage{tikz} \usepackage[english]{babel} \usepackage{blindtext} ...
1
vote
1answer
66 views

How do I keep one figure in its place and move the rest to the end?

I am working on my thesis with many chapters. In one of it, I use a lot of figure and table. I have been able to use endfloat to send all of the figure and table. However, other chapter has only one ...
4
votes
1answer
267 views

mdframed box spanning over page break: prevent images in between

I've run into a problem in a bigger documents where pictures get in between the breaks of mdframed boxes. So the scenario is that the mdframed box should break at pageend if it's to large and not ...
2
votes
0answers
49 views

Lower the exponent in $\hat{h}^2$ [closed]

In Mathjax, h^2 \hat{h}^2 (\hat{h})^2 results in I want the middle block, but with 2 lower.
3
votes
1answer
61 views

Curriculum vitae with publication image

I would like to insert small image for my publication list, similar to this one:
4
votes
1answer
32 views

Write the caption of table in left

I want write the caption of table like this: \documentclass{article} \usepackage{caption} \begin{document} \begin{table} \caption{Caption} \label{tab:1} ...
9
votes
1answer
2k views

Undesired Placement of Footnotes in Blocks

Depending on the theme of a beamer-document, footnotes will either be placed inside or outside of a block-environment. It would like to do combine a style, which places the footnotes inside a ...
8
votes
3answers
1k views

TikZ: Bottom right align text in rectangle

I am making some graphical models with tikz, and I have added a rectangle (plate./style) around three nodes. As you can see in the picture the text "N" is vertically/horizontally center aligned. I ...
5
votes
1answer
64 views

\marginpar inside figure environment fails

I am working with marginpar to put some comments in the margin of my document. In one case I would like to put a comment on a caption of a figure, a MWE of which looks like this: \begin{document} ...
4
votes
2answers
90 views

beamer, \vfill and itemize

I would like to place, in some frames, a texte, on the bottom right of a beamer slide. I have made a command which place this text by \vfill\hfill. In a normal class (as article), it works perfectly. ...
9
votes
1answer
1k views

Why has no one told me I can use rubber lengths for graphics? Is that bad?

I just had a thought. Quite commonly when I define a figure graphics I write something like: \begin{figure}[btp] \centering \includegraphics[width=0.95\textwidth] ...
4
votes
3answers
115 views

The caption of the table moved to the left

I am trying to add a table to my Latex document but the caption of the table shrunk in the left corner and does not extend to the whole width of the table. This is my table: \usepackage{graphicx} % ...