{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
3k views

put two algorithm side by side

I want to put two algorithm side by side to gain place in the document, but when I use \documentclass{llncs} instead of \documentclass{article}, the following code does not work (errors): ...
4
votes
2answers
470 views

How can I add size of Tikz drawing into size of equation?

This is slightly modified code from Frédéric's answer to How can I add clips above matrix? \documentclass{mwrep} \usepackage{amsmath} \usepackage{tikz} ...
2
votes
4answers
912 views

How to place a program and a text side by side?

My first question is how you write a program in LaTeX, with and without a line number for each line. The second question is, because often my program is not too large, I want to save some space for ...
14
votes
3answers
1k views

Placing text and footnotes on separate pages

How can I place the main text of a document on only verso (left) pages and the footnotes on recto (right) pages (or vice versa)? Update: The expected appearance is not unlike moving the whole ...
13
votes
1answer
4k views

Scaling “node distance” in tikz

Well, here's another TikZ question; this time, I have no idea how to find an answer. I would like to give all my nodes with relative coordinates: \node (A) {A}; \node (B) [right = of A] {B}; using ...
11
votes
2answers
4k views

Extra page at beginning of appendix containing big figures

I have an appendix that contains two full-page figures. The first page of the appendix is always blank except for the title -- I suspect this is a common problem with appendices of full page figures. ...
11
votes
2answers
1k views

How can I put the empty subfloat subcaptions to the right?

I'm putting two figures above each other with \subfloat from the subfig package. Their captions are empty as I just want to describe the figures with the main caption, but I still want the (a) and (b) ...
8
votes
2answers
258 views

Extending figures into the margin on even vs. odd pages

I am using KOMA script for my document. Occasionally, I have a float that is wider than text width, and I want the float to be pushed into the outer margin. This is why I defined \widefloat command, ...
7
votes
2answers
3k views

Force position of full page sized figure

I'd like to have text that is placed after a figure which occupies a whole page also to be placed after that page in the produces PDF file. Imagine this (pseudo latex, not necessarily a working ...
7
votes
1answer
8k views

How do I put an image on the left of right-aligned text

I'm trying to add an image to the top left corner of a page (inside the margins) in LaTeX. Across from the image I want a set of right-aligned text. I tried using two columns but the image is smaller ...
6
votes
1answer
820 views

Difference between [h] and [H] in float position

I'm trying to choose the positions of my tables but I can't figure out the difference between [H] and [h]. I've seen both advised over my search. If I use [h] the row spacing is different than [H] ...
6
votes
2answers
3k views

Textpos not showing anything

I'm trying to create a business card in LaTeX. Accordingly, I want to use textpos to absolutely position the various elements. For some reason, textpos is just not showing anything. What I want is ...
5
votes
2answers
2k views

Horizontal lines touching the multicol column separator rule

Is there a possibility to put a horizontal line above and below a multicolumn output (using the multicol package) such that the horizontal lines touch the multicol column separator exactly at its ...
4
votes
4answers
1k views

tabular side-by-side

I am trying to get two tabular constructs side-by-side with a tikz figure in between and can't seem to get what I want using the minipage construct. Here is the code I have ...
3
votes
2answers
136 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 ...
3
votes
2answers
199 views

Placing a table next to figure (align table vertically centre)

I would like to place a table and figure side by side in my document. I have achieved this with the following code \documentclass[a4paper,10pt]{article} \usepackage{floatrow} \usepackage{color} ...
3
votes
1answer
6k views

Insert image in latex [duplicate]

Possible Duplicate: Force figure placement in text Hi! I'm trying to insert an image in latex with some text around: Here is our image: \begin{figure}[h!] \centering ...
2
votes
1answer
552 views

Positioning the address in a Letter

I need to place the right-side address differently in my .tex file but I can not figure out how to do. What I would like is to have the last line from the right-placed address at the same line as the ...
1
vote
0answers
637 views

Include an image in title page using powerdot [closed]

I want to include an image at the center of the title page of my powerdot presentation. Incidentally, I want the same image to appear as a logo on all the other slides (positioned bottom centre), ...
15
votes
2answers
12k views

Two minipages with 0.5\textwidth each get placed one below another

This happens in the beamer class only. Does anyone know the reason behind this? I fix it by just setting both widths to 0.49\textwidth and this works but I'm still curious why this happens and if I ...
7
votes
1answer
277 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} ...
7
votes
2answers
2k views

angled fraction like superscript [duplicate]

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 ...
7
votes
1answer
8k views

How do I get the margin note to appear on the left?

I'm trying to make a left-sided margin note. As per the LaTeX wiki, I tried using \reversemarginpar but that didn't solve anything--it didn't make a margin note at all. I also tried \marginpar[left ...
6
votes
1answer
126 views

Understanding tikz inheritance with the positioning library

I have trouble understanding the tikz inheritance model while using the positioning library. Consider the following example: \documentclass[]{scrbook} \usepackage{tikz} \usetikzlibrary{positioning} ...
6
votes
2answers
1k views

How can I inhibit LaTeX to float a table across a section boundary? [duplicate]

Possible Duplicates: How to avoid splitting tables between sections. How do I ensure that figures appear in the section they're associated with? I have a couple of tables that ...
5
votes
2answers
154 views

Figure placed on a separate page is centered and not on top

I have multiple figures placed in my document (all of which are using [htbp], [ht] etc. and are placed correctly). The last figure receives a separate page (which is alright) but it's centered on this ...
5
votes
1answer
145 views

How can I get a Royal Mail \psbarcode below addresses in letter?

Here is what I'm working with: \documentclass{letter} \newcommand*{\BottomLeftX}{1.0in+\hoffset+\oddsidemargin}% ...
5
votes
2answers
2k views

Position of superscript when superscriptd item has \hat over it

I am trying to typeset he following inline math for a camera-ready document: $\hat{\boldsymbol \Sigma}_{P}^{-1} \hat{\boldsymbol \Sigma}_{G}$ It appears that the superscript -1 is aligned ...
4
votes
3answers
386 views

move \footnoterule to right

I would like to move a \footnoterule to right by 3 cm to be aligned with a footgroup moved to right by 3 cm. I know that footnote rule uses a \hrule To move the rule, I should put it in a \vbox, and ...
4
votes
1answer
206 views

{Tikz}{Tree} How to reduce leaves placement

Hello (and sorry for bad English...) I am working on a Tex document to produce algorithmic diagrams : it is quite good for me except that I would like to be able to reduce space used by leaves (it ...
4
votes
1answer
376 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 ...
4
votes
3answers
356 views

Make TikZ compute the x-coordinate of the margin

The command \hrulefill prints a line that fills all empty horizontal space with a line. I would like to do something similar with TikZ. What I would like to know is can I do something similar like ...
4
votes
2answers
1k views

Make tikz picture floating

I'm inserting a tikz picture in my section headings with \titleformat (see this question) and I would like it to not affect the spaces in the headings. Right now, what I do is that I compensate the ...
3
votes
1answer
911 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 ...
3
votes
1answer
137 views

Not wanted space before marginpar

At the moment I'm working on a little report. Therefore I had to redefine the \marginpar{} command new because I wanted it in a smaller font-size compared to the 'normal text'. The code I've written ...
3
votes
0answers
2k views

Two-columns wide figure at the bottom of a page with Revtex

The problem is simple: how to place a two-columns wide figure at the bottom of a page with the revtex document class? For those unfamiliar with revtex, it is a two-column style guide used by a number ...
3
votes
1answer
636 views

Right align \komavar entries inside a column defined by \setplength

I am scratching a custom invoice template based on scrlttr2 from the KOMA-Script and example code provided by Markus Kohm (specifically, the files asymTypB.lco and briefwbk.tex to be found under ...
3
votes
1answer
90 views

Avoid footnotes from appearing before mark

I have these \footnotetext and \footnotemark as illustrated in the figure below. I used these tags to enforce my own numbering (and because using only \footnote was not working the way I expected). ...
3
votes
2answers
9k views

Text on the left, figure on the right

I have one technical text with the small figures, which must be placed on the right side of text. I tried manny solutions /wrapfig package, table, 2 columns package, etc./ but I can't get this to ...
3
votes
1answer
16k views

Table in LaTeX appearing in middle of next page

I've inserted a table in my LaTeX document and have used \center to horizontally align it to the centre of the page. However, it's appearing a page after where it should, is both horizontally and ...
3
votes
3answers
1k views

Changing side of line numbering in two columns documents

I'm trying to type some report and I have a small problem with the twocolums document class and the line numbering in listings. The document is on two columns : ...
2
votes
2answers
100 views

imported table positioning

I am importing a data table into a document and want the table to be within the text. When I import with \input{bodyrate}[htpb], the table is placed at the end of the document and [htpb] is printed ...
2
votes
2answers
589 views

How to position qtrees

Suppose, I have 2 qtrees, that I want to put below each other: \documentclass{article} \usepackage{tikz} \usepackage{tikz-qtree,tikz-qtree-compat} \usetikzlibrary{positioning} \begin{document} ...
2
votes
1answer
252 views

Text (preferably centered with the first line in bold) to the side of included graphics in LaTeX

I have a document with a main heading followed by a picture with some contact information to the right of it. After that the other subheadings continue. I want to do the same in LaTeX. Which I am ...
1
vote
1answer
763 views

How to prevent a pdf-figure to overlay text?

I have a pdf-figure which I want to include in my tex-file. I wrote the following line of code to insert the figure in my file: \includegraphics[width=.8\textwidth, bb=0cm 12.5cm 26cm ...
1
vote
2answers
218 views

Why don't these figures align horizontally?

I am trying to use the subcaption package for horizontally aligning up some figures, and I did as the documentation instructs me to do, yet the result is these are vertically aligned. It really ...
1
vote
0answers
336 views

Modify the contents in a single slide in beamer class [closed]

I have an outline frame with a sidebar (which is a background canvas). Only for this slide I want to move the contents to right side. For example the current Outline page is as follows: - Section ...
49
votes
1answer
2k views

Toward a Stamper Package

Imagine that you want to simulate a hand stamp on every page in some large documents. It must be an imperfect print, with random page-to-page variations in ink intensity, fading, rotation and blur. ...
17
votes
2answers
52k views

Image from \includegraphics showing up in wrong location?

I have the following situation: \subsection{Some subsection} Some text here... \\ \begin{figure} \caption{Raw} \includegraphics[scale=0.25]{raw.png} \end{figure} \begin{figure} ...
20
votes
2answers
3k views

Align an equation and a tikz picture with anchor and baseline

I'm trying to get the math part the equation to be centered with the tikz picture: \begin{equation} \mathcal{G} = \begin{tikzpicture}[] \tikzstyle{vertex}=[anchor=base,baseline, ...