{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
38 views

Embed small image within a line of text

I am having trouble perfectly getting an image to embed within a line of text. Ideally, the image is to be scaled to the correct size so that it fits within the line of text. This is as far as I've ...
3
votes
1answer
64 views

Fit large tikz image on page without white space

I am working on an agenda in knitr (using XeLaTeX). I use tikz for rounded edges around a tabular environment in the monthly overview. This is the first of several pages of the overview: As you ...
4
votes
1answer
46 views

Positioning and spacing of matrices

I have the following matrix as part of the text. \usepackage{mathtools} \begin{document} $ B = \begin{bmatrix*}[r] -35833 & -31743 & -25098 & -15178 & 0 & 26332 & 83775 ...
2
votes
2answers
33 views

Create fancyhdr footer with something like: \lfoot{\centering{Centered to the left}}

How can I create a footer like this one? It appears to be text centered in the left half of the page, and in the right half of the page. I tried, eg., using fancyhdr with: \lfoot{\centering{some ...
1
vote
1answer
23 views

Positioning two independent figures [duplicate]

I have two figures, 1 and 2. Figure 1 should be placed on top, so a \begin{figure}[t] is the way to go. In the syntax, figure 2 is loaded just after the first one with a \begin{figure}[h] command, so ...
2
votes
1answer
13k 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 ...
2
votes
1answer
35 views

Placing pgfplot graphs side-by-side in two column format

I am trying to put three graphs side by side in two column format. The figures is shown below. My LaTeX code is as following: \begin{figure*} \centering ...
1
vote
1answer
25 views

How to force oversized figure off of the bottom of the page and up to the top

I have a figure that is bigger than the margins. In the long run, the size won't matter. But for now, Latex is putting it on its own page (which is fine) and placing it at the very bottom of the ...
8
votes
2answers
2k views

How to get caption above listing with minted?

I'm using the minted package. How can I get the caption to show before the code in the document? \documentclass[a4paper]{scrartcl} \usepackage{minted} \begin{document} \begin{listing}[H] ...
2
votes
0answers
23 views

eps images position in IEEEtrans class

I have a document with some problems in the positions of the last images. I copied the code here and after that, I copy the warnings that I get: \documentclass[journal]{IEEEtran} ...
4
votes
1answer
69 views

Positioning TikZ pictures in Beamer frames

I am trying to position my images as follows. the problem is that the moment I delete the black point positioned at the origin, the positioning of my images are messed up. My second question is that ...
10
votes
2answers
341 views

Access loop variable outside loop

Here's what I have created, but how could I access the loop variable \n outside the foreach loop so that I could write sth like this: \n = \n + 1 % this is definitely not right, and it seems I ...
2
votes
2answers
68 views

Substructure in figure positioning

I have seven figures:one large (rectangle) and six small (squares). The sum of the sizes of the six small squares is equal to the size of the large rectangle.I want to put them such that it looks like ...
4
votes
1answer
86 views

pgfplot legend on top of grid but below graphs in axis as well as groupplot

Is there a way to specify the order of layers of elements in a pgfplots-axis? In my certain case I'd like to have the legend on top of the grid, but below the actual graphs: I know for this ...
3
votes
2answers
74 views

How to store an mdframe in a savebox?

The title question is the last piece of information I would need, to solve my problem my way. Putting a \sbox or lrbox-environment around a mdenvironment yields a ! Missing \endgroup inserted. ...
3
votes
1answer
45 views

tikzmark package no longer working?

It would seem that the tikzmark package is no longer working. When referring to marked points the point will be placed where it is called instead of the point that is marked. Eg. the basic example ...
2
votes
2answers
58 views

Draw rectangular nodes defined by opposing corner coordinates with vertically centered text

I've got some coordinates in a tikz-picture and I'd like to draw some rectangles defined by two opposing corner coordinates. The seemingly easiest way to do that I found with this answer: Placing a ...
4
votes
2answers
787 views

Left Justifying the Date with Scrlttr2

I would like to left justify the date in the KOMA-Script scrlttr2 class so that it aligns with the left margin of the body. I have no other data in the refline. This question helped me to get my ...
3
votes
2answers
51 views

Side by side figures adjusted to have equal height

I have two graphics of different dimensions which I would like to put into my document side by side such that: The two figures are scaled to have the same height. The two figures take up the entire ...
3
votes
2answers
59 views

Adjusting edge alignment and positioning of fitted node

I would like to achieve the following: Namely a top left node, a bottom left node with the same width as the top left node (with possibly different height), and a right node with the total height ...
1
vote
1answer
62 views

Callout from end of text

I am trying to put a callout at the end of a line of text. The minimal example is below; the full example has multiple lines of code that are revealed in overlays and I want to have a callout at the ...
0
votes
1answer
36 views

How to make the first line of equation level up with question number? [duplicate]

I have a multi-line equation as follows: \begin{enumerate} \item \begin{enumerate} \item \begin{align*} A \cap (B \cup C) & = x \in A \cap (B \cup C) \\ & = x \in A \wedge x ...
4
votes
1answer
81 views

How can I force the pin angle in a TikZ data visualization?

Please note that I am not using the pin option of a node as in How can I force TikZ pin angle? and TikZ node pin angle in 2D plot, but am instead using the pin in data option in a TikZ data ...
2
votes
3answers
112 views

Force Big figure of 4x8 subfigures appear in one page

I have a big figure of 4x8 subfigures and i want to force it in one page as now it displays around 20 subfigures and the rest don't appear. Update: I have tried writing this in the line: ...
0
votes
0answers
36 views

What is the use of \begin{table*} … \end{table*}?

I used table* in my text file to include a caption across the 2 columns in a IEEE format file, But the table now goes to a new page. Any ways to mitigate this problem ??
0
votes
0answers
24 views

In a 2 Columned Document , how to stretch a table caption across the page width

Right now, I am using this code \captionof{table}{Correlation values extarcted from Cb channel of the watermarked image and being subjected to various attacks} I want the table caption to be ...
1
vote
0answers
26 views

How to add Corresponding Author in IEEE format?

Right Now, Corresponding Author is coming right below the author name , I want it to appear to the just before abstract , Thanks !
1
vote
2answers
54 views

Excessive spacing between lines in definition

I have a definition in which there is some mathematical text being used. The spacing between the lines is proving to be too much for my liking and my editor also lists this as a badbox. The LaTeX code ...
35
votes
2answers
46k views

Table and figure side-by-side with independent captions

Looking to put a table and a figure side by side so that the table and figure have their own captions. A crude sketch ------------ ----------------- TABLE | a | b | ...
0
votes
0answers
23 views

Title page with title in a fixed vertical position

I'm making a custom (kind of) title page. Vertically, it contains a tabularx with a set of logos, then comes the title, the author, ... I want to remove the tabularx but keep everything else in the ...
3
votes
2answers
61 views

How to fix tikzpicture vertical position in beamer frame?

In the following MWE I have to frames with the same figure and some stuff below. It works but when switching from frame 1 to frame 2 the tikzpicture element is shifted producing a bad visual effect. ...
1
vote
2answers
79 views

Wrapfigure: skip some lines

I am having a wrapfigure at the bottom of my page in the last paragraph which refuses a nice looking position. x -> text, # -> wrapfigure: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...
3
votes
1answer
630 views

Barcode with text wrapping and on every page

I am trying to get a dynamic \psbarcode barcode (it changes based on the page) to display in the top right corner of every single page and I would also like the text of the page to wrap around this. I ...
8
votes
1answer
642 views

How to add text into a QR-Code?

I want to add a text to the QR-Code. I want a small numbers in one of the four black squares. \documentclass[a4paper, 12pt, parskip]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{pst-barcode} ...
2
votes
2answers
45 views

Force placement of currently unplaced figures before a certain block of text

A paper I am writing is quite figure-heavy, and one of my sections has more figures than text. Unfortunately, because of this, the figures get spread out through the rest of my paper and even end up ...
40
votes
4answers
21k 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 ...
3
votes
3answers
1k views

Floating figures and tikzposter

I'm trying to use the class tikzposter to write a scientific poster. I need to link the figures to my text, therefore I need to use \caption and \label commands. It seems impossible to use floating ...
2
votes
1answer
66 views

Rotating text in marginnote?

I am creating a one-page conference flyer featuring a background image. I would like to add a photo credit positioned to the lower right corner of the page, but rotated 90 degrees. How to do this ...
3
votes
1answer
211 views

Location and size of pgf plot axis in a tikzpicture - with tikz positioning library?

This could be a second part to Positioning pgfplots axis in tikzpicture , I guess ; consider the following MWE: \documentclass{standalone} \usepackage{pgfplots} \usetikzlibrary{positioning} ...
8
votes
2answers
438 views

Subscript. Superscript. Middlescript?

What's the best way to vertically center inline text for both math and text modes? Is there something similar to \textsuperscript for non-math mode?
1
vote
1answer
31 views

Text on one side and figure on the other side of A3 paper

For now, I have two minipages in a minipage on a A3 page, and the text should be on the left in normal height and the figure to the right (which works). I have a problem with the text in a minipage ...
14
votes
2answers
3k views

How to control the space allotted for a signature in letter documents?

I want to type my name in block capitals and in italics in the space highlighted in the blackbox, but I can't seem to be able to. Everything else is fine with the cover letter, I just need to type my ...
1
vote
1answer
38 views

Position \tikz\node on running text flow, aligned at baseline?

In the MWE below, I'd like the inserted "y" nodes to be aligned at baseline, so there is no difference from flow of running text; then finally, I want to align the "X" node with one of the "y" nodes, ...
3
votes
3answers
146 views

Apostrophe placement issue

I'm trying to typeset word form DARPA's and I'm experiencing some issues with spacing the apostrophe in relation to the neighboring letters. In particular, if I just use the text as is, LaTeX places ...
0
votes
0answers
56 views

Beamer Overlay — Reveal box around line of {align} environment

Summary: How can I create an overlay slide where the only thing being done is boxing/circling the last line of an align environment? In a lot of math classes, we begin with some initial problem, then ...
2
votes
0answers
42 views

Positioning of text and table always at the bottom of a page

I need to align some content (text/tables) always at the bottom of a page. In between there is a tableofcontents - this is obvisouly of relative length. That's why I cannot use absolute distance with ...
2
votes
1answer
100 views

Pgfplots: Placing legends individually to the end of lines

I have a few days of experience with LaTeX. It seems almost everything is possible if you just find out how. So, here is a challenge... If a plot has many lines it is much more readable to have ...
3
votes
2answers
111 views

Placing a rectangular node in tikz by specifying two opposing corners

In \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (bottom left) at (10,10); \coordinate (top right) at (20,20); \draw[rounded ...
4
votes
1answer
54 views

Adjust size and placement of \diameter symbol

I'm trying to match the size and placement of \diameter (from wasysym) with that of \circ. I want the two symbols horizontally aligned with the same size circle. Any suggestions? MWE: %XeLaTeX ...
0
votes
2answers
66 views

Multiple figures in a two column latex file

I have a two-column latex file that I am writing into (I am using \documentclass{mn2e}). I would like to add 4 figures, with a 2X2 (2rows, 2columns) format, with two figures using the first column of ...