{positioning} is about positioning document elements. Use this tag in addition to other tags specifying what should be positioned.
3
votes
1answer
786 views
TikZ: Creating stack with variable width
I am new to TikZ and want to draw a simple stack Diagram.
The Diagram should look like:
[a] [b] [c] [d] |-|
|j|
[f ] | |
| |
[g ] | |
...
21
votes
3answers
522 views
TikZ Nodes not exactly centered
In my solution to draw a plot with point, it was pointed out that the nodes containing \textbullet and $\circ$ were not placed exactly centered at the specified point. I found this hard to believe ...
14
votes
2answers
610 views
Customised section overlapping in margin
How can I fix the following overlap happening in the margin? I want the numbers to follow each other with a comma in between them.
Edit: Clarification of the question. The text needs to be flowing ...
11
votes
3answers
983 views
Special arrangement of subfigures
I need an image with five subfigures arranged this way.
I have tried to use subfig and floatrow, but I haven't been able to place the figures as I need them
7
votes
2answers
13k 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}
...
4
votes
3answers
1k views
How can you position a node relatively to another in TikZ
I would like to place a node 'B' 60 degrees of an arbitrary node 'A' between which there is a distance of 2cm. I can do this if node 'A' is at (0, 0), so 'B' would just be (60 : 2) from 'A', but what ...
10
votes
1answer
526 views
Easy absolute positioning in beamer
For my presentaton slides I'd like to have list uncovered and highlighted by time and each item supported by appropriate image/graph/table.
Thinking about it in wider application, I'd like to ...
10
votes
3answers
2k views
How can I add text in the top right corner of a page _without_ using fancyhdr
I want to put a block of text into the top right corner of my document (which uses the article class). The specifications of the document's formatting are very detailed, and it has taken me about 2 ...
9
votes
3answers
938 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, ...
7
votes
2answers
1k views
Printing interlinear translation: how to mix automatically two paragraphs, printing lines alternately
I am writing a document on a foreigh language, say French, and want to put some paragraphs in French with their translation in English. But I would like to print one line in French, the corresponding ...
6
votes
1answer
436 views
Create a “yearbook-style” multi-page layout of photos
I would like to create a "yearbook-style" layout of photos in LaTeX. Each photo would have a caption and the objective would be to automatically layout the differently sized rectangular photos to ...
5
votes
1answer
130 views
How to put node in an accurate place? How to use different style of font in TikZ?
I want to draw something like this:
This is my code:
\documentclass{article}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
%\usepackage[active,tightpage,floats]{preview}
...
5
votes
2answers
175 views
How can I align some text with a logo?
I am trying to right-align some text with a logo, i.e. I would like to place some text to the left of a logo, and centre this text vertically with respect to the logo.
I’ve attached a pdf to be more ...
5
votes
2answers
469 views
Position a node a certain distance away from another node at a certain angle in TikZ?
Like the title says, is it possible to position a node a certain distance away from another node at a certain angle from that node?
4
votes
1answer
395 views
Figures in odd pages, text in even pages; if no figures, then odd=even pages (i.e., no blank pages w/ numbering and headers…)
I'm writing my thesis using \documentclass{book}. I have plenty of figures and I want them to appear always on the right hand of my manuscript (since this is the "attraction" page when reading, and ...
3
votes
1answer
648 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.} & ...
14
votes
1answer
997 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.
...
13
votes
2answers
332 views
Centering text on a page
I'll try to illustrate what I want to accomplish. I want an enviroment/page style for poems that works like this -- the title (if present) is placed in the title placeholder (purple).
The body of the ...
12
votes
2answers
1k views
Why is my footnote “glued” to the text?
This is the document:
\documentclass[12pt]{article}
\usepackage[top=3in, bottom=3in, left=3in, right=3in]{geometry}
\usepackage{lipsum}
\interlinepenalty=10000
\begin{document}
This is first short ...
11
votes
2answers
363 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) ...
10
votes
1answer
487 views
marginnote always on right side of the page
My documentclass is book, so I've got an even and odd sides. I like that the equation number are always aligned on the right side - independent of the page (even/odd).
I started using marginnotes. I ...
10
votes
1answer
6k views
floats - how to restrict floating to subsection only in one section of the document?
I have concluded that the package float allows figures to float within the section they belong to. However for one particular section I need to restrict the floating to the subsection (without forcing ...
8
votes
2answers
327 views
Is it possible to use a TikZ matrix along a chain?
Is it possible to use a TikZ matrix along a chain?
The following code attempts to create a chain consisting of a node, a matrix, and another node.
\documentclass{minimal}
\usepackage{tikz}
...
6
votes
1answer
240 views
How to control label positions in tikz-euclide
My goal in trying to learn tkz-euclide is so that I can be able to get an arbitrary point from a circle and define the other elements of my figure from that. So far, from what I can understand from ...
6
votes
2answers
3k 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:
...
5
votes
1answer
112 views
Force all floats to the end of the document without using endfloat, compatible with htlatex
What is the easiest way to have all floats forcibly appear at the end of the document? The solution should work with htlatex, the floats should appear at the end of the HTML document in this case. ...
5
votes
2answers
1k 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
2answers
186 views
Title picture misplaced in Beamer when using 'show notes on second screen' and absolute 'pgf' positioning
When I try to do something like the following, everything works fine and dandy; The title graphic (here represented by the LaTeX logo with the reddish background) is shown just fine.
...
4
votes
1answer
450 views
Figures on left pages, text on right pages
I'm writing a thesis in the book document class and I'm using a lot of figures to explain the working method. If I use the method proposed in Figures on left pages, text on right ones with class book, ...
4
votes
1answer
600 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
4answers
656 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
...
4
votes
1answer
290 views
“Thanks” note (footnote) placed below right column even though there is enough space on the left
In this two-column document, the "thanks" note is placed below the right column even though there is enough space below the left column, and a lot of space is inserted around the heading of the first ...
3
votes
1answer
135 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. ...
3
votes
1answer
161 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}
...
3
votes
2answers
324 views
How can I insert address blocks on the left and right side of the page?
I want to insert my local address on the left side of the page and my permanent address on the right side of the page. However, I want both address blocks to be left-aligned. Basically, I want ...
2
votes
1answer
292 views
TikZ with “remember picture” compiled with pdflatex yields different results compared to dvips -> ps2pdf
The following document
\documentclass[11pt,a4paper]{report}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usetikzlibrary{arrows}
\usetikzlibrary{positioning}
\begin{document}
...
2
votes
2answers
131 views
aligning braces in a text (not maths)
This is what I have done
\documentclass[11pt]{book}
\usepackage[polutonikogreek,english]{babel}
\newcommand*{\tg}[1]{\textgreek{#1}}
\usepackage{ledmac}
\usepackage{fancyhdr}
\pagestyle{myheadings}
...
2
votes
0answers
271 views
The [H] “put it here” placement option doesn't work with floatrow [closed]
I'm using the minted, floatrow, caption, and listing packages to create code blocks like these:
To do this, I'm using a hack based on this answer. Here is what I have:
...
\usepackage{listings}
...
2
votes
1answer
808 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 ...
1
vote
1answer
187 views
How can I redistribute floats towards the top of the page?
I'm using Tufte classes and am trying to gain some general control over the distribution of floats (including Tufte's implementation of citations and footnotes) on my pages. Without intervening, I get ...
0
votes
3answers
9k views
latex two column layout set figure to load on single column
this is the double column code
\begin{multicols}{2}
\begin{figure*}[!ht]
\centering
\includegraphics[height=60mm]{CC.jpg}
\caption{AA \cite{BB}}
\end{figure*}
\end{multicols}
But the ...
15
votes
3answers
483 views
Tutorial on positioning
As a beginner, I keep running into difficulties when in the need of positioning elements. Pushing them down, up, left or right should be easy concepts, but I find it hard to visualize as a beginner ...
13
votes
1answer
355 views
Highlight passages from the body as quotes between the paragraphs
In newspaper and magazine articles, striking messages from the main text are often highlighted in form of quotes in larger font size, sometimes also set apart by a bold rule or so. For an article I am ...
11
votes
2answers
2k 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 ...
11
votes
4answers
12k views
Force LaTeX image to appear in the section in which it's declared [duplicate]
Possible Duplicates:
How do I ensure that figures appear in the section they're associated with?
Keeping tables/figures close to where they are mentioned
How can I force an image in a ...
9
votes
1answer
380 views
A theorem and its proof in different places
I have a couple of theorems, proofs of which are quite boring and longish. I would like to place theorem formulations in a usual place and stack up the proofs at the end of the chapter. How to do ...
8
votes
4answers
2k views
How to place an image at the right top of a document?
I've been learning LaTeX and this community has been very helpful. Currently, I'm trying to set up corporate letters but as a newbie I'm encountering a variety of challenges, so I'm posting them one ...
8
votes
2answers
394 views
footnotes - on the bottom except on last page of chapter
My school requires that dissertations follow a set of sometimes odd formatting requirements. We have a latex class file which does a reasonable job at bringing documents into compliance with their ...
8
votes
2answers
668 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 ...
8
votes
4answers
764 views
Override tendency to avoid filling entire page with floats
I'm working on a two column document, and on one of the pages, I want to fill an entire column with three different floats. But when I use, for instance, h!, ht!, b, b!, t!, etc., on all three of ...

