Questions tagged [positioning]

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

Filter by
Sorted by
Tagged with
3
votes
3answers
4k views

Page numbering with figures and tables

I'm having a bit of trouble with my LaTeX document. I've been writing quite a bit, and have a few images and a table that I'm referring to. My first problem is, that I have some text, then image, ...
81
votes
3answers
52k views

How can I position an image in an arbitrary position in beamer?

I am making a presentation using beamer, and I want to be able to position a certain image the way I want in a frame. I am not sure how to do that. Is there some way you can specify coordinates in the ...
41
votes
2answers
216k 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} \caption{...
21
votes
2answers
7k views

Two column align environment with one line spanning both columns

Is there a good/correct way of making an align environment with one line spanning multiple columns? At the moment I'm using a hack like the following, but I feel that it's probably not the best way. ...
4
votes
2answers
3k 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
2k views

Calculating position in tikz

I'm trying to do calculation to be used in tikz. Here is my current code: \def\monthtabpos#1% {\ifthenelse{#1<7} {\dimexpr \numexpr -3*#1 \relax cm} {\dimexpr \numexpr -3*(#1-6) \relax ...
21
votes
2answers
7k views

Force floats to be typeset after their occurrence in the source text?

AFAIK a figure or table should always be placed after the first reference to it in the text. So I always place the code for my figures and tables after the paragraph which contains the first ...
15
votes
1answer
13k views

Relative positioning of nodes in TikZ

Consider this simple example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=1.5] % Draw axes \draw [<->,thick] (0,2.2) node (yaxis) [above] {$t$} ...
5
votes
1answer
838 views

caption of subfloat not fitting on page

In my thesis I have 13 figures I want on a single page. Since the last figure sits at the left side there is some space at the right side I would like to use for the caption. Somehow the caption goes ...
4
votes
1answer
5k views

Tables and sections get misplaced

These are my tables: \section{The status of respondents} \begin{center} \begin{table} \begin{tabular}{|l|l|l|l|} \hline \textbf{Sl.No.} & \textbf{...
6
votes
1answer
820 views

How to set up a quartered layout in beamer

Back in Powerpoint days, I encountered a typical quartered layout, which was just tiling the body of the slide horizontally and vertically into equally sized pieces with arbitrary content: -----------...
3
votes
1answer
878 views

Position tikz graph at the bottom of twocolumn page in memoir

According to section 10.4 of memoir manual double column floats may only be placed at the top of a page. However, I need a tikz graph at the bottom of the page. So I have tried using minipage(floating ...
19
votes
2answers
23k views

Placing figure captions at the bottom

How do I get the captions for my figures to be placed at the bottom of the picture, just like the captions for tables?
3
votes
1answer
3k views

Align pictures in text

I have some code for a picture that looks like this: ...Text before pic... \begin{figure}[h!] \caption{caption stuff} \centering \includegraphics{somegraph.png} \end{figure} ... Text after ...
2
votes
1answer
7k views

How to place image on same page as text

I am new to LaTeX. I am trying to include and graph in .eps format in my LaTeX document. I shrink the image to half its size, but for some reason, LaTeX still putting it on its own page, with a ...
9
votes
2answers
7k views

Put variable text at a fixed location on every beamer slide.

Is there an option that I can use within \begin{frame}... \end{frame} so that the enclosed text always appears at same location on different beamer slides? Ideally, I want something like this: \...
21
votes
1answer
63k views

tables side-by-side using minipage

I'm trying to get three tables side by side using minipage. In spite of my horrific efforts my tables keep stacking on top of each other instead of standing beside what drives me mad. Can anybody spot ...
15
votes
1answer
17k views

How do I get margin notes 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 ...
4
votes
1answer
4k views

Complex Table Layout

I'm trying to display a fairly complex table using Latex. Here is what I want it to look like (formatting, alignment, borders, columnspan, and rowspan). I would also like the columns to be fixed width ...
2
votes
1answer
724 views

Caption alignment

For my master degree thesis I'm using a quite complicated latex template. The relevant part of the template is here: http://pastie.org/1728702 Probably this wasn't a good idea since I cannot ...
4
votes
1answer
587 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 ...
2
votes
1answer
593 views

Varying images at varying positions in Book and Memoir class chapter styles

I'm working on a chapter style: link (pdf) I want to use a different image at different positions in each chapter, sometimes even hanging into the title line (after the text), but the title line ...
4
votes
1answer
7k 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 \...
8
votes
1answer
29k views

Insert image in LaTeX

I'm trying to insert an image in LaTeX with some text around: Here is our image: \begin{figure}[h!] \centering \includegraphics[width=0.5\textwidth]{idefA0.jpg} \caption{IDEF0} \end{...
4
votes
2answers
523 views

Position line in a resume

I am new to LaTeX, and I want to create a command that will display my previous positions formatted appropriately in a resume. The format I am looking for is this: 02.07.2009 - 02.07.2010 ...
3
votes
1answer
199 views

How can I flush text left in the cases environment?

I have the following code: \documentclass{article} \usepackage{amsmath, amssymb, amsthm, graphicx, textcomp} \begin{document} d^2(A,B)=\begin{cases} (a_1-b_1)^2(1+m^2) &&\text{if $AB$ has ...
6
votes
2answers
3k 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 ...
1
vote
2answers
228 views

how to ensure formatting in tex doc remains same once it's compiled

Using \clearpage or \newpage will work sometimes or will ensure that the figure stays in the same section, but I cannot always get the heading of a subsection and the introduction to it to appear ...
14
votes
1answer
39k views

How to force caption below figure

I find captions appearing above figures in the PDF output of a latex thesis file using the code below: \includegraphics{chapter2/fig5.pdf} \begin{figure} \label{Fig. 5} \caption{Time responses ...
2
votes
1answer
174 views

Complex alignments of blocks

How could the kind of layout below be achieved in LaTeX, without using a letter document class? At first, I thought of tables, but it would be impossible to align the first line of the second block ...
8
votes
3answers
5k views

Four smaller pages in one page

I would like to style my document in such a way that the page is divided into four equal parts and then the text is printed in those pages: it is similar to twocolumn but I also want to have, say two ...
9
votes
1answer
3k views

TikZ chains etc: modify automatic node placement

I’m trying to draw a chain, roughly like: The catch: I want to manually specify the vertical placement of node C, but I still want to use TikZ’s default horizontal placement. Currently, I can only ...
3
votes
1answer
5k views

Grid to facilitate positioning of objects with \put in beamer

In presentations with the beamerpackage I use \put a lot to place graphic objects like this: \newcommand{\putat}[3]{\begin{picture}(0,0)(0,0)\put(#1,#2){#3}\end{picture}} % just a shorthand \putat{...
20
votes
1answer
3k views

Automatic newspaper creation in LaTeX

This is a very general question about LaTeX, asked by a 100% newbie! I'm trying to figure out if it's feasible to build an automatic newspaper creation engine, and if LaTeX can help in this field. ...
6
votes
2answers
2k views

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

Possible Duplicates: Keeping tables/figures close to where they are mentioned How to avoid splitting tables between sections. How do I ensure that figures appear in the section they're associated with?...
17
votes
2answers
9k views

How can I place a double-wide figure float (ie, figure*) on the bottom on the first page of a two-column document

In what I would like to be a two-page, two-column document with two wide (figure*) figures, I need one to be on the bottom of the first page, and one to be on the top or bottom of the second. ...
138
votes
7answers
158k 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 ...
11
votes
3answers
3k views

Macro for figure position?

Why is the following minimal example not working? I.e., what do I need to do, in order to define the float placement specifier of a figure within a macro? (I know that I should use \newcommand, but ...
7
votes
2answers
3k views

Create layout avoiding overlapping floating wrapfigures

I'm writing companion notes for some beamer presentations. For each slide in a presentation, the document has a small picture of the slide, along with a text explaining the slide. For some slides, the ...
4
votes
2answers
1k views

Positioning footnotes before the bibliography

I don't want a separate page for my bibliography, so the references simply follow after the end of the actual document. However, there happens to be a footnote on the last page which is then displayed ...
6
votes
1answer
10k views

Latex : algorithm not display under correct section

I'm using the algorithm2e package to put algorithm in my Latex documents. In my document, I have something like this : \section My algorithms \subsection Algo 1 code for first algorithm ... \...
8
votes
3answers
3k views

Display certain objects in a document side by side

What is the standard way in latex to display certain objects (e.g. pictures, tables, etc.) side by side, instead of one below the other? I thought about using the tabular environment for this, but I'm ...
10
votes
2answers
3k views

Fill the left 1/3 of the title page with color?

This is my first time to try and write documentation by using LaTeX. The generated PDF is quite impressive, but there is one thing I have no idea of how to do it: I would like to have the left 1/3 of ...
12
votes
3answers
2k views

Determining the position of a box (e.g.) on a page

Suppose I have some .tex code like this ... bla bla \framebox{Hello World} bla bla ... I want to read out the position (left and top or bottom, in pts) of the framebox on the page, and store in, say,...
7
votes
2answers
1k views

Help aligning tables

I need to align 1 table to the right and two to the left, the layout I want to achieve is something like this: \begin{figure} \centering \subfloat[]{% \begin{tabular}[b]{cc} \hline 0 & ...
4
votes
3answers
3k 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 : \documentclass[8pt,[...],a4paper,...
97
votes
2answers
419k views

How to fix table position

Table does not show up at the same position it was inserted in the TeX file. I got the understanding through bit of reading on this forum that they are floats and they pick the best place on the ...
123
votes
1answer
31k views

Difference between “right of=” and “right=of” in PGF/TikZ

In the PGF/TikZ manual, sometimes I see the option right of=somenode instead of right=of somenode. They look very similar, but the effects are different. The distance between nodes positioned with ...
6
votes
2answers
5k views

How to put 4 tikzfigures, in a 2x2 layout?

I have 4 things drawn with tikz. It's working fine but now I want to layout them in a grid 2x2, each one with its own caption. EDIT: I have rewritten my question since It was not clear. Below code ...
12
votes
2answers
15k views

How to place subfigure caption on the side?

Is there some way to tell subfig package to place subfigure captions to the left or to the right of subfigures? There is sidecap package which does it for the main captions, but it does not affect ...