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
5
votes
1answer
118 views

microtype/ntheorem: Protrusion not affecting headers of the theorems

I'm trying to switch to the ntheorem package (instead of amsthm) but I realized that headers of the theorems aren't protruded: \documentclass{article} \usepackage[activate={true, nocompatibility}, ...
4
votes
1answer
73 views

PGFPlots Node placement avoid axes

I have a plot containing a few points and nodes assigned to each coordinate. Upon rendering, some nodes overlap with axes or ticks, which I want to avoid. I've tried using anchor, xshift (and yshift), ...
2
votes
3answers
86 views

Table inside table going past margin

How can I have the tabularx inside question 6 to evenly split into 2 and not go past the margins? (I am currently using p{0.25cm}p{7cm} which is not optimal as I need to manually specify the width) ...
3
votes
1answer
64 views

Text Environments: Vertical and Horizontal

How does one obtain two text environments in TeX - one vertical, one horizontal, as in the attached image? It would be useful to be able to specify two text environments per page akin to something ...
3
votes
1answer
88 views

How to specify branch positions in tikz-qtree?

Using tikz-qtree, both branches are from 'S.south' (left figure). How to specify these branch positions manually (or automatically) as in the right figure? \documentclass{standalone} \...
3
votes
1answer
180 views

tikz in listing, multiple pages

I would like to add some tikz in the listing environment. When the code is not long (less than a page), there is not any problem with the position of tikz. But when the code is long, the tikz shows ...
0
votes
0answers
56 views

Wrong \ref in genealogytree when used node turns

When I used the node turn feature of genealogytree any \ref{} inside the nodes text. If i remove the line node={ turn=right}, it will work correctly. But I need it, any way to do it while the nodes ...
1
vote
1answer
141 views

pgfPlots - positioning of pins

I am trying to organise automatically pins in a table-based plot. I have used Excel to work out the positioning of pins, which should look something like this: where blue dots demarkate pinheads' ...
3
votes
1answer
477 views

Aligning of nodes in tikz

The second, third and fourth formulæ should be on the right side of the point like the formula in the first line. MWE \documentclass{scrartcl} \usepackage{amsmath} \usepackage{tikz} \begin{document}...
3
votes
2answers
221 views

How to make outer (following closing parenthesis) exponent same height level as inner (inside parentheses) exponent?

I need outer exponent n to start at same height level as inner exponent m. \documentclass[border=1mm]{standalone} \usepackage[alignedleftspaceno]{amsmath} \usepackage{tikz} \begin{document} \...
0
votes
1answer
74 views

How can I adjust this tikzpicture to my a4 page?

How can I adjust this tikzpicture to my a4 page? I write this after my paragraph. But it goes to before my title, to the top of my page. \documentclass{ltxdoc} \usepackage[demo]{tikzpeople} ...
2
votes
1answer
96 views

Left and right character spaces zero in circled character

MWE \documentclass[12pt]{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{pgflibraryshapes} \newcommand*\circled[1]{% \tikz[baseline=(x.base)] \node[draw,red,circle,thick,fill=...
2
votes
1answer
811 views

pgfgantt: How to create bars with “extra” label and specify position of extra label?

Based on a previous approach from Gonzalo Medina, I want to modify a simple gantt-chart to add the responsibilities of project workers to the belonging \ganttbar. Screenshot of the current state: ...
0
votes
1answer
431 views

How to put 2 logos in baposter style?

I need a big help about how to position 1 logo to the left and one logo to the right in a poster I'm currently working on. I'm using baposter style. This is the code I actually use, where the 2 logo ...
1
vote
1answer
136 views

Help in Tikz and how to change bend position

My code follow: \documentclass{book} \usepackage{tikz}% \usetikzlibrary{decorations.text,calc,arrows.meta}% \usepackage{tikz-qtree}% \usepackage{adjustbox} %\usepackage{showframe} \begin{document} \...
0
votes
1answer
31 views

Need Help to Edit a Landscape Output

I got confused on how to improve the following: \documentclass[12pt]{article} \usepackage{multirow} \usepackage{multicol} \usepackage[dvipsnames,svgnames,table]{xcolor} \usepackage{graphicx} \...
4
votes
1answer
128 views

par break delayed by \rlap&\smash

I use \rlap and \smash to put a little something into the left margin. Works fine unless at the beginning of a new paragraph. Then the par break happens after, not before my lap&smash construct: ...
4
votes
1answer
313 views

\\*[…] with plus/minus stretch

\\*[...] seems not to allow for plus/minus stretch: in a longtable where \\*[3ex] works, \\*[3ex plus 2ex minus 1ex] causes the error ! Missing = inserted for \ifdim. <to be read again> ...
5
votes
2answers
134 views

Why does the `\tikzpicture` shift outside the document?

Everything works fine, till I am trying to draw the angles alpha, beta and gamma. By adding \tkzMarkAngle my sketch jumps to the second side and is swallowed to its half, as you can see in the ...
0
votes
1answer
33 views

How can I place a figure at a desired location while maintaining automatic captioning and cross-referencing? [duplicate]

Here is my code: \documentclass{article} \usepackage{tikz} \usepackage{hyperref} \begin{document} \section{Hello} \subsection{Hello World} \begin{figure} \centering \begin{tikzpicture} \node[circle,...
2
votes
2answers
51 views

Texts above and below one filling horizontal rule

Here is a starting code for a template to write sheets of exercises. \documentclass[12pt]{article} \usepackage{xhfill} % https://tex.stackexchange.com/a/155960/6880 \usepackage[showframe]{geometry} ...
4
votes
1answer
875 views

Nested nodes and positioning

I'm trying something experimental for a bigger project. (I don't know where to start though) I'm looking to write some macros that help me generate something like this based on the following code (...
0
votes
0answers
74 views

Start chapter text at particular place on page

In a book whose layout I’m trying to emulate in memoir, no matter how long the chapter title is (they’re all two, three, or rarely four lines long) the chapter text begins the same three inches from ...
2
votes
1answer
175 views

Big tcolorbox going out of the page, center on full paper width

I'd like to have a tcolorbox that span all the width of my page. Do to so, I increased the size of my tcolorbox, but the problem is that it respects the margin, so it's shifted by a few cm on the ...
2
votes
1answer
423 views

Add photo to a two columns CV template

How can I add a photo on the right top corner of this cv template ? http://www.latextemplates.com/template/two-column-one-page-cv If it is possible I would like to lower a little bit the second ...
3
votes
3answers
283 views

Poetry Scansion with LaTeX - Text Alignment

I'm looking for a good solution to print poetry with a separate line for accents, stresses and such (scansion). Normally this is done by taking a monospaced font like \texttt and then just add the ...
2
votes
2answers
109 views

Tables next to each other with diagonal separating of a cell

I have a question concerning the positioning of tables next to each in Latex. I found a solution, but however, I also want a diagonal in one cell, which is why I need the tikz-envornment, then again, ...
1
vote
1answer
910 views

Position of arrows in Tikz

I want to draw the arrows like this picture, but I get like this, I don't know how to position the arrows in tikz Could you please help me? Here's my MWE: \documentclass{article} \usepackage{...
0
votes
1answer
56 views

Translate equation without changing label

I would like to know how I can translate the equation without changing the label's position. Using \hspace{2cm} occurs what is in the image below. The code I used is: \documentclass[10pt,leqno, ...
2
votes
1answer
103 views

How to place two “items” next to each other in the center

I want to place the Karnaughquatre and the array next to each other and centered. How can I achieve that? \begin{Karnaughquatre} \contingut{1, 0, 0, 1} \end{Karnaughquatre} \begin{displaymath} \...
0
votes
0answers
55 views

Two tables side by side [duplicate]

I'm trying to place two tables created by R package stargazer side by side. Been searching a lot for a solution to this, and here below is a code I ran but doesn't get the result I wanted. I expect to ...
0
votes
0answers
34 views

How to start a paragraph under an inserted image

I am new to latex and I am trying to make a text appears after the graph using this code but is is not working what should I add ? \begin{figure}%[h] \centering \includegraphics[width = 16cm, ...
6
votes
1answer
237 views

tikz: Rotating and positioning text relative to a line [duplicate]

This code \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} ... \path (0, 0) edge node [sloped, anchor=center, below] {line}(3, 3); \end{tikzpicture} \end{...
1
vote
1answer
658 views

minipage flow into next line if too big

I'm trying to create minipages (or any kind of a box) that have a width of either 0.5\textwidth or \textwidth depending on the size of its contents. I want the smaller minipages (with 0.5\textwidth) ...
3
votes
2answers
454 views

Package sclrttr2: How do I use the fromlogo-variable? How do I get a footer on the 2nd page?

I am using scrlttr2 for a formal letter template. I am facing 3 problems: (1) Logo in the header of the 1st page I want a header logo on the first page in the top right corner above the header line, ...
2
votes
1answer
422 views

Customizing beamer using absolute coordinates

at the moment I try to build up a custom beamer template to match the ones used at my institute. While I find a lot of the concepts to be logical and easy to use, especially positioning is a pain and ...
3
votes
1answer
625 views

Position tcolorbox in an absolute manner

I'd like to position a tcolorbox in an absolute manner, like in tikz option remember picture, overlay, with something like "please put the center of the box at the center of the page". What is the ...
1
vote
1answer
277 views

Table with longer text in cells

I have following table: \documentclass[a4paper, 11pt]{article} \usepackage{comment} % enables the use of multi-line comments (\ifx \fi) \usepackage{fullpage} % changes the margin \usepackage[swedish]...
4
votes
1answer
491 views

TikZ path with rounded corners and decorations.markings not working as expected (pos=0.0 at wrong location)

I want to put small round markings at fixed distances on a six-pointed star. There are two problems though: pos=0.0 is not at the expected location, but slightly shifted possibly due to the rounded ...
2
votes
0answers
35 views

Positioning of text before a graph in TIKZ [duplicate]

I would like to have my text "DFS-Baum" on the same line as "Graph", so in the vertical center of the graph that is following. At the moment they are on different lines and it doesn't look very ...
1
vote
2answers
3k views

Position of nodes in TIKZ

I have the following code: \documentclass[a4paper, 11pt]{article} \usepackage{comment} % enables the use of multi-line comments (\ifx \fi) \usepackage{fullpage} % changes the margin \usepackage[...
0
votes
2answers
153 views

Appearing order in a landscape figure and normal figure

I'm working in a text with a lot of figures and some of them are landscape oriented. In the text I created a landscape figure, followed by some paragraphs and then a regular figure. I expected that ...
0
votes
1answer
17 views

Question about placing several itemized lists horizontally one next to the other

This has undoubtedly been asked a zillion times but I'm am completely new at this and I've tried to google but I get directed to questions that have a similar wording to mine but whose meaning is ...
1
vote
1answer
102 views

Command \maketitle Vertical Alignment independent of other page content

I want to create a .sty package for the titlepage layout our university requires for submitted papers. The main title should always be placed in the same position, regardless of the length of text ...
1
vote
1answer
947 views

Logo with text in title page above title

I am new to latex and I must make a lab report at my university . I am trying to put a logo on top left of the title page with text right next to it, above title, but without successful result. I saw ...
1
vote
1answer
149 views

Combined tree with several marriages

I am trying to create a genealogy tree that is a bit unusual. The issue is that the ancestor has had three wives and I want to show this in the tree. However I still want to make it clear which of ...
2
votes
1answer
68 views

How to control vertical chapter position when using \setstrech?

First time posting here, so apologies if I miss anything. I'm using \setstrech to control the line spacing of my ToC, LoF, LoT, abbreviations, nomenclature, glossary, and reference sections. My ...
0
votes
1answer
68 views

How to insert a rotated side-note/textbox without any border, in a document?

I need it to be repeated in every page of the document at a fixed position.The flow of the text hasn't to be involved. It comes to two signatures in a contract. They have to assume a vertical position....
0
votes
0answers
46 views

Special page for table always goes to end. How to place it in between [duplicate]

My document has several tables and I would like to place them together with no text wrapping them. I use [hp] parameter for positioning which does help, but all the tables move to the end (but now ...
2
votes
1answer
55 views

What is the way to force down the position a certain group or paragraph to bottom of page?

I wanted to force down the position of a group and I used the following code - \begingroup[b!] Text \endgroup But it didn't work out. Is there a better way to force down the position of a group or ...