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

6
votes
1answer
1k views

How to move chapter number in classicthesis class

I am using classicthesis for my thesis. In each chapter LaTeX puts its number, but I need to move it. Here you have an screenshot example, in this image I wish to move "4" number to the left.
4
votes
2answers
114 views

Figure from Mathematica is printed on separate page

I am trying to include a Mathematica code in LaTeX. To do that, I just exported the code as PDF. The thing is that when I am trying to include the PDF figure in my TeX code, the figure is printed on ...
1
vote
1answer
88 views

How to produce annotated text, where an original text is contrasted with my comments?

Assume someone sends me a (plain text or LaTeX source) text document. I'm in the position to comment on the text and suggest improvements. I'd like to produce a LaTeX document featuring the original ...
0
votes
0answers
49 views

Image appearing in the middle of itemize [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they’re associated with? Basically I have something like this: \section{first section} [sometext] \begin{figure} ...
3
votes
1answer
2k views

Float positioning [ht] not working for algorithm

I am using the package algorithm2e. I have a document with several algorithms. I use the float position option [ht], but all my algorithms are positioned at the end of the chapter; none at the ...
1
vote
1answer
415 views

Can not use float placement options with algorithm2e

I am using algorihtm2e and I am formatting a new command to align comments in the algorithms like in the answer of Align comments in algorithm with package algorithm2e. Now when I try to use ...
3
votes
1answer
198 views

Circling/framing and referring to a bunch of nodes

The end goal: drawing paths between nodes like in the example there but the difference is the nodes are inside a picture here and in particular, the other node is a bunch of nodes in the same picture. ...
10
votes
1answer
998 views

Tikz tree and position of single leaf in binary tree

I am constructing a binary tree which looks as follows: \begin{tikzpicture} \node {root} child { node {left} } child { node {right} child { node {rightmost} } ...
6
votes
1answer
264 views

putting the caption of a table on its right

I have a table environment, which has a tabular environment inside, and I would like to put the caption on its right (the table is narrow enough for that), and not below it. How would that be ...
4
votes
2answers
491 views

How to put text at an arbitrary position around an image?

I want to get sth like: I have produced the vector images in Adobe Illustrator. I could do the labels (X_3, X_2,..) in there too, but after importing them in latex they wouldn't be consistent with ...
2
votes
1answer
3k views

Move everything a little bit left in beamer

I am putting an image in each column on a slide, everything is perfect except that because the first image starts too far right and it pushes a small part of the second image off the slide. How can I ...
1
vote
0answers
52 views

Prevent figures from breaking lists, paragraphs and stay in current section [duplicate]

Possible Duplicate: How to protect text from being split by a float? I have quite some images in my report and I insert them with this command I made: \newcommand{\image}[3]{\begin{figure} ...
10
votes
1answer
331 views

Can I calculate the difference between two relatively positioned nodes with TikZ using calc?

I have a chart with relatively positioned nodes. How do I calculate the horizontal distance x, between node "sub3" and node "key" and multiply that value by 2 and use it for the positioning of node ...
6
votes
1answer
388 views

How to stack two subfigures next to a third subfigure?

I'm using the subfigure environment to show 3 graphics in one figure environment. However, I'd like to arrange them in the following order (subfig1 is larger than the other two): | SUBFIG1 | SUBFIG2 ...
6
votes
1answer
1k views

angled fraction like superscript

I would like to draw a fraction like symbol that looks similar to \frac{a}{b} BUT is angled so that the a is higher than the b and the slash is angled. Sort of like a % sign but not as drastic. Not ...
11
votes
1answer
2k views

Two column layout with text and knitr chunk

When making presentations (with latex beamer class), I often go for a frame layout with text and equations on the left and a corresponding figure on the right. My standard solution has been to wrap ...
1
vote
1answer
363 views

Place framed text at top of page

I have chapters (using the standard "report" class), and I would like to place a frame of text - which gives succinct meta-details on the chapter - at the top of the first page of the chapter. What I ...
8
votes
2answers
177 views

Offset a symbol without changing layout

I'm using a certain symbol that I would like to shift down without effecting it's layout(change the surrounding markup's positions): a test case is: $\begin{array}{ccc} a & b & c\\ a ...
2
votes
1answer
1k views

Cleaning up figure placement in Beamer/minipage

I've placed three figures on the same page through the minipage option. However, it looks quite ugly right now. My latex (beamer) code for this page looks like: \frame{ \frametitle{Various initial ...
2
votes
1answer
341 views

Picture breaking listing

When putting long code using lstlisting on a page it breaks, which is fine. When placing a picture in a floating figure environment, it gets between the two parts of the listing, which obviously is ...
2
votes
1answer
273 views

How to prevent figures from floating 'into' listings [closed]

I have a problem with floats and listings. Sometimes it happens that a listing is split over two pages and when a figure is near the listing it happens that the listing starts on the first page, on ...
5
votes
1answer
3k views

How to position a beamer box in a slide?

How can I position a beamercolorbox in arbitrary position in a slide? I want to be able to give coordinates, and that is where the box will be positioned.
0
votes
0answers
38 views

Image is not in the right position [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned Why does the image is not at the point where I included it in the code, but at the end of the part? ...
6
votes
1answer
676 views

\answerline to the right of a question

using exam class. I want the answerline on the same line as the question, to be used in mid-sentence actually. I have this: \documentclass[a4paper]{exam} \begin{document} \begin{questions} ...
13
votes
3answers
2k views

positioning a child node between two parents

\begin{tikzpicture}[node distance=1.5cm] \node[state] (A) {A}; \node[state] (C) [right of=A] {C}; \node[state] (B) [below in the middle of=A and C] {B} \end{tikzpicture} Something like this: A ...
2
votes
1answer
124 views

Odd behaviour when setting bottom margin [duplicate]

Possible Duplicate: Tables below footnotes, is this a good output routine algorithm or a bug? I use \documentclass[liststotocnumbered,bibtotocnumbered,12pt,a4paper,Arial]{scrbook} ...
5
votes
0answers
138 views

How to draw a split arrow [duplicate]

Possible Duplicate: How to draw a Sankey Diagram using TikZ I want to have an arrow which splits up and one end is pointing then downwards. When you compile the code below you should see my ...
4
votes
1answer
1k views

In beamer, problem positioning images (logo and background) and text in a robust way when creating my own template (title frame and following frames)

I have now been struggling for a few days on what I thought should be fairly easy. I am trying to create a template resembling my university's powerpoint template. Title page: I am trying to import ...
8
votes
2answers
3k views

How can I get textpos to respect beamer overlays?

I'm using textpos to position text blocks in a beamer frame. However, the textblock environment does not seem to respect overlay commands. In the following example, I want "some more text" to be ...
4
votes
2answers
299 views

Sourcecode on the left, Nassi–Shneiderman on the right (float?)

I’d like to place a Nassi-Schneiderman diagram into my LaTeX document but also to have the source code for the shown algorithm beside it. Drawing the diagram worked just fine using the ...
1
vote
1answer
340 views

ctable position in classicthesis with lyx

I'm using the classicthesis package with ctable. Normally it works just fine, but I have one file (chapter file) where I placed the following table with ctable: \ctable[ cap = {Übersicht der ...
5
votes
1answer
65 views

How to avoid defined para from appearing at bottom of page?

I defined a poem-environment for two lined poems with the macro below. And could get both lines unbroken with samepage environment. But how do I make them to not end on last line of a page. ...
5
votes
2answers
342 views

Positioning of image within an equation

I have the following problem: I would like to have images of Feynman diagrams as part of equations. Using \newcommand{\imineq}[2]{ \includegraphics[height=#2ex]{#1}} I had success in as far as ...
1
vote
0answers
110 views

Safeguard against image alignments [closed]

Images in dictionary appear under the headword. I would like to control the behaviour of the placing with few rules. Controling of the placement should prevent undesired alignment that causes for ...
12
votes
1answer
3k views

tikz: positioning above of point a, left of point b

I want to create a blockdiagram using tikz. I would like to use "above of, below of, etc." to position my nodes in order to keep it as flexible as possible. I would no like to position a node D on ...
9
votes
1answer
2k views

Zooming images out to specific locations in beamer

I want to: Show an image full width On click, make a small sized image placed at a particular location starting from top left and show another image full width Repeat the process till all four ...
3
votes
1answer
520 views

Longtable puts caption and/or header on the next page

How to prevent LaTeX to put the table caption on the next page? Here is a demonstration, bottom of a page: Top of the next page: As you can see, "táblázat 8: Sorirányok összesítése" - that is ...
8
votes
1answer
444 views

Wrong vertical text position with Tikz

This is driving me nuts. The "Job5" and "Job6" text is slightly verticaly higher than the rest of text. I'm suspecting the "inner sep", but I need that for the fit. How can I re-adjust the text? ...
5
votes
1answer
353 views

Inserting a picture in an equation [duplicate]

Possible Duplicate: Can I insert an image into an equation? Is there any method to insert a picture in an equation? I am trying to write an equation where one of the elements of the ...
11
votes
2answers
708 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} ...
6
votes
2answers
1k views

Placing two figures (each having subfigures) next two each other

I would like to place two figures, where each figure has subfigures next to each other. I tried with minipage, but tex does not like the \subfigure as Not in outer par mode. Is there any way to place ...
6
votes
1answer
1k views

How to change the position of the initial text in TikZ automata?

It seems PGF manual for v1.18 doesn't cover the case on how to change the position of the initial text relative to the initial transition. Accoring to the PGF manual section 19.3 the parameters of ...
4
votes
2answers
16k views

How do I remove white space before or after the figures and tables?

Whenever my figure or table has to move to the next page it is placed exactly at the center of the page, and thus occupies the whole page by itself. I tried all the combination in: ...
10
votes
2answers
737 views

Defining a width that fills remaining horizontal space for text fields in hyperref forms environment

This code \documentclass[10pt,a4paper]{article} \usepackage[showframe,headheight=2in,headsep=0.1in,left=0.8in,right=0.8in,bottom=0.5in]{geometry} \usepackage{xcolor} \usepackage{hyperref} ...
7
votes
2answers
1k views

How does the 'on grid' node positioning in TikZ actually work?

I thought I knew how the on grid option of TikZ (cf. version 2.10 manual section 16.5.3 pages 186-187) worked, but the results I get are different from what I expected. I have a minimal example: ...
3
votes
1answer
86 views

Placing a float at the end of page number (x)

So sometimes I'd kinda like to position my floats (tables, figures) in specific places in a document (bottom of second column on the first page, top of the third page, etc) and have the text fill up ...
3
votes
0answers
247 views

ytick pos=right doesn't work [closed]

This is my code: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.3} \begin{document} \begin{tikzpicture} \begin{axis}[xticklabel pos=right, ...
0
votes
1answer
83 views

figure environment and contiguous images [duplicate]

Possible Duplicate: How do I ensure that figures appear in the section they're associated with? I have a set of images and I want them all to appear in the same \section of my document, ...
1
vote
1answer
219 views

Misplaced supertabular at the bottom of a page

I want to write a table which is too long to fit in the middle of a page. So I thought of using supertabular. My code is \documentclass[11pt]{article} \usepackage{supertabular} \begin{document} ...
1
vote
1answer
141 views

table numbers are wrong for double column table

My: \begin{table*}[t] \begin{minipage}{\textwidth} \begin{tabular} \end{tabular} \CaptionType{table} \caption{...} \label{tab:res2} \end{minipage} \\ ...