{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
27 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}\ & \\ ...
49
votes
4answers
55k 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
112 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? ...
34
votes
4answers
64k 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
52 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
1answer
59 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 % ...
2
votes
3answers
31 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
89 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
72 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
54 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
231 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
43 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.
2
votes
1answer
56 views

Curriculum vitae with publication image

I would like to insert small image for my publication list, similar to this one:
4
votes
1answer
28 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
980 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
56 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
72 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
103 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} % ...
2
votes
1answer
52 views

How do you center a statement and italicise it without making it a theorem?

I want to have a statement in my proof with an implication sign in it, I want it centred and italicised and I want it numbered. (1) How do you do this? \documentclass[a4paper,10pt]{article} ...
2
votes
1answer
32 views

Gluing text to longtable

I am an occasional LaTex user. My question relates to the use of longtable. If I understand the standard table constructs, then "tabular" defines the layout of the actual table grid with contents, and ...
0
votes
2answers
36 views

Enforce figures to be placed in the same section [duplicate]

I'm having some sections in a report with more images (figures) than text. I include the images in the following way: \begin{figure}[h] \centering ...
2
votes
1answer
32 views

Two-columns figure at current page (below other figure)

I'm wondering if it is possible to show a two column figure in a page where another figure has already been displayed. In other words, I didn't want to spawn the two column figure to a new page. I ...
3
votes
2answers
88 views

How to print addresses

I have a list of addresses. How can I print those such that I can print those and glue to envelopes? I mean, I would like that every page has three addresses in every row and eight addresses in every ...
5
votes
2answers
457 views

Certain hyperlinks (memoir+hyperref) placed too low

I tend to use the memoir class together with the hyperref package, in order to have my table of contents, the lists of tables and figures, and the bibliography be hyperlinked. While all links to ...
2
votes
1answer
55 views

Tikz node command changes (0,0) position?

I am trying to preapare a poster with a0poster. I wrote: \noindent\begin{tikzpicture} \fill[DarkOrange,rounded corners=20pt] (0,0.5) rectangle (\linewidth,5); % \node (myfirstpic) at (0,0) ...
2
votes
1answer
47 views

How can I put the angle more right than I put here? And how can I make a subtitle also?

Is it possible to adjust the angle more than I did: [ABOVE RIGHT] \draw [black, thick] (0.7,0) arc [start angle=0, end angle=110, radius=0.7cm] node [above right] {$\theta=\phi-\ang{90}$}; ...
3
votes
1answer
84 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 ...
4
votes
2answers
53 views

placing of floats referenced with varioref

In my text I use \vref{<label>} from the varioref package for referencing figures and tables. In most circumstances this works satisfactory. Exceptions are cases, when in a text line \vref ...
2
votes
1answer
80 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
37 views

How to prevent longtable to put header alone in one page

How to prevent longtable to put header alone in one page like in image below. I used endhead to prevent this but this will print the header on each page. Sorry I don't give MWE because I haven't ...
6
votes
2answers
137 views

How can I float some text to the right of the first line of a paragraph?

I'd like to put some right-aligned text on the first line of my paragraph, and have the rest of the text wrap around it, like this: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed ...
2
votes
2answers
46 views

Center float vertically in space at the end of a page

I have half a page of text, followed by a short table under it, followed a large table on the next page. The short table is placed at the bottom of the page under the half page of text which is ...
3
votes
1answer
71 views

Positioning of \hrule and \vrule

I try to construct a symbol from 4 rules, one horizontal and three vertical ones. \showoutput gives me the correct dimensions for all of them (see below). However, the horizontal one somehow ...
2
votes
1answer
89 views

Fixing the photo position in ModernCV

I used an offset of 2.5cm for the title and now I want to move the photo 2.5cm more to the left. How can I get that done? My MWE: \documentclass[11pt,a4paper]{moderncv} ...
1
vote
1answer
58 views

Text with overlay is vertically displaced in beamer

Consider the following MWE: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Displacement of text} \only<1-2>{This text will be displaced.} \only<2>{Did you see it?} ...
3
votes
1answer
51 views

How can I add offsets to coordinates in tikz?

I’m trying to add offsets to two coordinates with tikz like this: \draw[line width=4] (coorda) ++(0.3pt,0) -- (coordb) ++(-0.3pt,0); The first ++ instruction works just fine, but the second one has ...
1
vote
0answers
17 views

Cannot determine the size of graphic [duplicate]

I know this question asked here before, and I've seen all your answer but it didn't work with me just \includegraphics[width=0.8\textwidth,natwidth=610,natheight=642]{first.png}work, but if I do ...
1
vote
1answer
171 views

Framed float box, spanning two columns in paracol [duplicate]

I'm looking for a simple, framed, float box-environment that has (or can have by construction) a star equivalent (like figure* or table*) so that it may span both columns in the paracol environment. ...
9
votes
2answers
134 views

Auto-Range for size of figures?

Is it possible to give figures a "range" for their size? For example from .3\textwidth to .5\textwidth or 5cm +- 10% or 5 cm +- 0.1\textwidth. You give a range for all images and TeX chooses the ...
1
vote
1answer
94 views

references to floats without ever using figure numbers (possbily using lua or python)

Stephen Wolfram's 'A New Kind of Science' states in its colophon that it has 973 illustrations spread out over 1280 pages. Remarkably, he accomplishes this without ever using figure numbers. No figure ...
5
votes
2answers
834 views

Large table is placed on extra page

I am using LaTeX, and I have a large table in my report, the height of table is a little more than half of the paper. all the text after the table will go to the next page, and in this page just the ...
7
votes
1answer
170 views

Why is my prime symbol too low? And: Why are my subscripts not scaled accordingly when I use \scriptsize?

I have two (maybe simple) questions concerning the following LaTeX document \documentclass{scrartcl} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} ...
3
votes
1answer
5k views

Problem with positioning a figure environment inside \resizebox

I'm writing a document including figures exported from Inkscape (in pdf+latex format). These figures use a figure environment containing all the text labels and a \includegraphics macro that imports ...
3
votes
1answer
82 views

Overlapping labels in tikz barplot

I have a problem with the placement and size of nodes in my barplot. I changed the size in the code from \small to \tiny: every node near coord/.append style={font=\tiny} but, the numbers are still ...
1
vote
1answer
25 views

How to force caption above a custom text float?

I am trying to make a supplementary information text, which I would input to my main document. I want to have the caption above the text and use caption package for formatting of the caption (required ...
4
votes
1answer
111 views

Absolute positioning of an image without overlaying the text

The following will position an image at the specified page coordinates. \documentclass{article} \usepackage{lipsum} \usepackage[demo]{graphicx} \usepackage[absolute,overlay]{textpos} ...
0
votes
0answers
43 views

Position of included svg image

how can I include an .svg image and center it relative to a specific point? There is a specific point in the image that should be equidistant from both the left and the right of the page.
0
votes
0answers
53 views

(Warsaw Theme) How can I put the logo on the top right of each slide?

Hi I wish that my logo could be on the top right of each slide and also to position it wherever I want on the title page. \documentclass[11pt]{beamer} \usetheme{Warsaw} \usepackage[utf8]{inputenc} ...