Questions tagged [relative]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

nested relative inputs

Problem: This is something that that bothered me for quite a time. If you have multiple files, then you have to make all input paths relative to the main tex file (or actually the directory from where ...
Nathanael Skrepek's user avatar
2 votes
0 answers
38 views

"+(up:number)" option in Tikz is not relative to the first coordinate?

In Tikz package, one plus (+) represent the relarive coordinate to the first coordinate, but sometimes it is not the case. I see this example in Tikz pdf file: \documentclass{article} \usepackage{tikz}...
Y. zeng's user avatar
  • 1,885
3 votes
0 answers
81 views

Tikz: Moving the origin to a polar coordinate

Reading the documentation, I was under the impression that “++” changes the origin to that point. At the same time, I understand that a polar coordinate specifies a certain point by giving the angle ...
Renzo's user avatar
  • 153
1 vote
0 answers
44 views

What is the relation between path's options in, out, relative, and looseness?

The following example, \documentclass{article} \usepackage{booktabs} \usepackage{tikz} \usetikzlibrary{tikzmark} \begin{document} \begin{tabular}{ll} \tikzmarknode{FooUp}{foo} & foo\\ foo & ...
Enlico's user avatar
  • 2,592
0 votes
2 answers
102 views

"Relativize" reference from input file?

I'm trying to figure out a way to have an input .tex file that contains a reference, but for the target of this reference to be partially based on where the .tex file is included. What I'm going for ...
Cameron L's user avatar
1 vote
1 answer
52 views

New Axes on relative points for FBD

I am new to TikZ and am working on a FBD, using relative points. I would like to add new x,y-axes to every new change in direction. I have tried something similar to what's found here: Projectile ...
EngK's user avatar
  • 13
0 votes
0 answers
151 views

relative paths and compile problem in windows cmd

Tying to write a BATCH file in windows cmd to compile/update all PDF under each folder. Silly me wasn't really thinking about the larger maintenance issue while started my "little" project. ...
CasperYC's user avatar
  • 705
0 votes
1 answer
79 views

Adding tex files as a single document adapting the section structure

I have several standalone documents/chapters (A.tex, B.tex, ...), that I want to assemble in a single document (Main.tex). Every chapter has its own section hierarchy (starting from sections, ...
Jose Soto's user avatar
2 votes
1 answer
70 views

PGF/TikZ: Align legend nodes in TikZ picture with plots below

I have a bar plot with three legends above each group, which I want to align. The first legend should be left, the second in the middle and the third right. I set each anchor to south west, south and ...
ShadowEagle's user avatar
1 vote
2 answers
153 views

Latex: Table: Define column width relatively

With this code I can divide all 4 columns in equal withs. {@{}*{4}{p{.25\textwidth}@{}}} How can I say (for example): column 1: 20 % column 2: 30 % column 3: 25 % column 4: 25 % Please give a ...
matt's user avatar
  • 23
1 vote
1 answer
71 views

Problem in Bézier curves with pgfplots for relative negative coordinates

I attempted to plot some Bézier curves in a pgfplots graph. This works well when the coordinates are positive. See: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{...
Tobard's user avatar
  • 1,189
1 vote
1 answer
74 views

Local, relative, inner, intensive coordinate of one node

If often find myself writing: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \node (refNode) {\includegraphics[width=5em]{example-...
iago-lito's user avatar
  • 1,472
0 votes
1 answer
2k views

Problem with \includegraphics and long relative path and parent folder

after a long search without results I hope you can help me. Here is my problem: I can't load .pdf files with \includegraphics. The background is that I have one repository to create my frequent used ...
Person_386's user avatar
5 votes
1 answer
904 views

How to set path in STY file as relative to this file path

I need to write several documents (mainBook1.tex, mainBook2.tex,..), all with the same layout. So basically I moved all common settings to outer file (baseSettings.sty) extension, which is pleaced in ...
pi.314's user avatar
  • 205
2 votes
2 answers
418 views

tikz incremental relative path connections

An example of the diagram I'm looking to create is: I can get close to the desired output with the following tikz: \documentclass{article} \usepackage{tikz} \usetikzlibrary{intersections,shapes,...
esimp's user avatar
  • 23
7 votes
1 answer
1k views

Tikz coordinates relative to one node

Using both calc and |- would be a convenient way to refer to "inner, relative coordinates" of a node, with (0, 0) meaning node.center, (0, 1) meaning node.east and (.3, -.5) meaning somewhere precise ...
iago-lito's user avatar
  • 1,472
1 vote
1 answer
248 views

Positioning along optical path with pst-optexp

I am trying to draw an object (per example a lens) with the pst-optexp package. The difficulty arises when I try to have this object drawn at a given distance from another object, but along the ...
Mammouth's user avatar
  • 323
3 votes
0 answers
473 views

Relative vspace

I have been searching all the forums and couldn't get an answer. Is there any way to set a relative vspace in share LaTeX? Lets say in my First page, I want my paragraph to start 5cm from top of the ...
cmy113's user avatar
  • 31
6 votes
2 answers
248 views

Problems with positioning nodes in tikz

I am trying to build a box in LaTeX using TikZ. Since I want to use the box multiple times I placed it into a new command which I then include in a new node. When placing two nodes realtively the ...
bellerophons_pegasus's user avatar
2 votes
2 answers
586 views

TikZ relative coordinate system

When I use the command below: \draw (apex)+(1mm,0) -- node {$h$} (center)+(1mm,0); where (apex) and (center) is predefined appropriately, then I have a problem where +(1mm, 0) is not applied to the (...
Laplacian's user avatar
  • 960
0 votes
1 answer
91 views

How to create master set of slides with relative inputs for sub set of slides?

I am preparing a series of lectures using Beamer (both article mode and slides mode). My set of files looks something like this: Lectures\ article.tex slides.tex main.tex mainarticle....
jlconlin's user avatar
  • 10.2k
4 votes
2 answers
300 views

Another way to think relative overlays?

I have read these two posts with attention but.. still, there are things I would like to do with beamer overlay specifications that seem not straightforward. In a nutshell, I need to mix absolute ...
iago-lito's user avatar
  • 1,472
3 votes
1 answer
366 views

Node relative positioning does not work

I am trying to draw some boxes on a row, each one positioned relative to the previous one. With very little luck. What am I doing wrong here ? \documentclass[tikz,border=10pt]{standalone} \usepackage{...
fluxmodel's user avatar
  • 695
3 votes
1 answer
159 views

Begin tikz path from other, morphed path

I am drawing two concentric circles with arrows indicating shrinking. Ideally these arrows will all start on the edges of the two circles, not outside or inside as they currently do (see figure). I do ...
The V's user avatar
  • 1,401
1 vote
1 answer
962 views

Problems using import package with included files that load packages

I have the following structure (the MWE files here aren't worth it, but they represent something significantly larger I'm working on): test ├── config │ └── tikz.tex <-- This file groups ...
user avatar
3 votes
1 answer
879 views

How can I achieve textpos relative positioning in a document set to absolute positioning?

This is as close as I've got, but I can't work out how to do the calculation so that textblock accepts it: \documentclass[11pt]{article} \usepackage[paperheight=93.884mm,paperwidth=68.992mm,margin=...
Lopan's user avatar
  • 63
2 votes
0 answers
28 views

TikZ: Problem with relative node positions for "big" nodes [duplicate]

I want to place two nodes besides each other, using TikZs right of= placement. But if the first node is two broad, like in the minimum example below, this does not work right. How can I make TikZ ...
Hypnotoad's user avatar
2 votes
1 answer
839 views

Positioning nodes and calculate edges coordinate

I am trying to draw a flowchart with tikz, but I have 2 problems. The first one is about the positioning of (action5). I want that node to be left (action4) and below (test1). In my code, the node is ...
Adhafera's user avatar
6 votes
1 answer
1k views

Pgfplots: Scope inside axis environment - follow up

This is a follow-up question to this question: I still want to place an external figure inside a pgfplots plot. Additionally, I want to put some labels inside the external figure to mark the position....
raedma's user avatar
  • 1,794
4 votes
1 answer
2k views

Pgfplots: Scope inside axis environment or other relative positioning

I want to place an external figure inside a pgfplots plot. Additionally, I want to put some labels inside the external figure to mark the position. The expected result should look something like this:...
raedma's user avatar
  • 1,794
2 votes
2 answers
57 views

Programmatic Table Building Error

I am trying to build a variable size table programmatically. All the logic works separate from the table commands, and the table commands work separate from the programmatic logic, but somehow when I ...
Sean Cooper's user avatar
1 vote
1 answer
772 views

Confuse with relative path for subfolder

Sorry as maybe this question is a bit rhetorical, I have my main latex file in C:/latex/thesis.tex while i split my other chapters in another chapters folder C:/latex/chapters/ and my images are ...
mmulibra's user avatar
  • 111
2 votes
1 answer
1k views

Set paperheight to (overall) textlength

The page should when the text ends. So, that there is only one "page". Don't worry. It's not for being printed. \documentclass[12pt]{article} % Packages \usepackage{lipsum,anyfontsize} \usepackage[...
Joel Duscha's user avatar
1 vote
1 answer
975 views

Beamer: itemize indentation with respect to the previous

I have already tried searching (here for example) but I have not found a solution to my problem. When in beamer I use an itemize environment inside another, at the moment what I get is this: I would ...
Marco's user avatar
  • 1,383