Tagged Questions

{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)

5
votes
1answer
43 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
28 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: ...
2
votes
2answers
69 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} ...
2
votes
0answers
42 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
27 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} ...
4
votes
2answers
66 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? ...
6
votes
1answer
66 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} ...
5
votes
1answer
52 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
68 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] ...
2
votes
1answer
50 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} ...
4
votes
3answers
98 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
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
29 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 ...
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}$}; ...
2
votes
1answer
49 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) ...
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
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 ...
1
vote
1answer
55 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
49 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 ...
3
votes
1answer
74 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
24 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 ...
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} ...
0
votes
0answers
30 views

Automatic \clearpage when picture goes on the next page

I have a small problem. I'm writing my PhD thesis (that's not the problem) and I want my images to be where I want them to be. I manage to do that using \begin{figure}[H] \end{figure} but often the ...
2
votes
1answer
65 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 ...
2
votes
1answer
48 views

Background boxes to the edges of the paper

I am trying to produce a LaTeX template for a document format that was originally created in a WYSIWYG publishing program. Part of the template requires some block colour background elements that ...
1
vote
1answer
50 views

does wrapfig package conflicts with OSX 10.9.5?

I used once the wrapfig package on a windows machine. but on the mac it holds whitespaces beneath the wrapped figure and in this case look of the document is completely insufficient anymore! please ...
2
votes
0answers
40 views

How to put something on a page without disturbing the main vertical list?

I'd like to put something on an arbitrary place on a page. I'm using \begin{tikzpicture}[remember picture,overlay] ... \end{tikzpicture} inside \nointerlineskip\vbox to 0pt{\vss ...
3
votes
1answer
81 views

Tikz: Position dodge on the x axis?

For my 2x2 factorial data, I want to create a line plot with confidence intervals in Tikz. The x-axis ticks are supposed to have a small offset so that the confidence intervals of the two plots do not ...
3
votes
2answers
55 views

Add and align photo placeholder with title

I am trying to learn TeX and I need to add a photo placeholder and align it with a title. I have the following code \documentclass[margin,line]{res} \usepackage[utf8]{inputenc} ...
0
votes
0answers
34 views

How to use the outdated \subfigure package to align 3 images

I would like to create a figure that has 3 images, one large long figure on the left, and two small figures on the right, exactly like the image in this link: How to stack two subfigures next to a ...
0
votes
0answers
39 views

Images added with graphicx never stays where I put them

I've tried this in different occasions within the past year and I have always had the same problem. I go to the line of the Latex code where I want to insert my images using \begin{figure}, but the ...
5
votes
1answer
159 views

Remember picture is positioned too high

I want a word in a normal paragraph to be later pointed at by a callout. The MWE below actually achieves this, except, the word is shifted up. What is an elegant way to solve this, so that the word ...
2
votes
1answer
54 views

endfloat leaves space even when marker text off

I am using endfloat to process all my tables at the end of my document. I am also using the option to suppress in-text markers. However, endfloat still seems to insert a space where the marker would ...
2
votes
1answer
77 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
62 views

Minipage not centered in frame

I'm making a presentation, and I have a lot of graphs and text. In one specific frame, I'm using the \only command to separate the graphs and the text. Here's the code: \documentclass{beamer} ...
1
vote
1answer
32 views

Make a float “between” parts

Well say I have a float (figure/table) - how can I make it so this float is always before a certain piece of text (and always after another). If the float would switch to the page the next it should ...
2
votes
1answer
126 views

Node position in decision tree with TikZ

Hi I am trying to make a decision tree in Latex, and for now I have that But my tree will probably be important, so that I want my nodes to be closer to the left, but not in a vertical dimension. ...
1
vote
1answer
30 views

Text automatically goes to the top of a table even if text position immediately after the table [duplicate]

This is the top \begin {table} \caption {Table Title} \begin{center} \begin{tabular}{| l | l | l |} \hline Measurement& Uncertainty & Range \\ \hline \hline \end{tabular} \caption*{What is ...
0
votes
0answers
19 views

\include{} with picture environment takes whole page [duplicate]

Octave gives me the possibility to safe a figure as .tex document, which then basically just includes one big picture-environment that includes the blank figure and adds the labels. It looks like this ...
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 ...
5
votes
2answers
347 views

Tikz coordinate calculation

Consider the followinting tikz picture. I need to place the segment re-D so that its measure will be 8/9ths the measure of the segment ut-C. Now I just placed it at a random distance of 8/9 between ut ...
3
votes
3answers
80 views

Text in Footer of Document

Whenever my class handouts require a second side, I add the indicator Page 2$\rightarrow$ at the bottom (flush right) to spotlight the fact that there is additional content on the flip-side. ...
4
votes
2answers
31 views

Positioning/centering a diagram with picture environment

i just put up some Dynkin diagram (already thanks to you guys :)) but it appears that this is too large fir the page and is thus not centered, as the code shows : \documentclass{article} ...