Linked Questions

30
votes
2answers
18k views

How to use x coordinate of a point and y coordinate of other point? [duplicate]

Possible Duplicate: TikZ: Node at same x-coordinate as another node, but specified y-coordinate? Extract x, y coordinate of an arbitrary point in TikZ How to use x coordinate of a point and y ...
4
votes
1answer
1k views

TiKZ Node positioning left of A but below B [duplicate]

Assume I have the following snippet/screenshot. How can I get Desc2 on the same line as Desc1. So Desc2 should be vertically placed below T2 but horizontally at the same level as Desc1 so that the ...
39
votes
2answers
19k views

Shift line connecting anchors

How can I shift a line the endpoints of which are defined by anchors like this? \draw (i0) -- (i1); The following approach does not work: \draw[xshift=2pt] (i0) -- (i1);
25
votes
3answers
13k views

extract x value from coordinate in TikZ

maybe I'm stupid, I looked at the many examples in which somehow shows the work with the coordinates, but I don't understand it. Simple example - I have: \begin{tikzpicture} \coordinate [...
4
votes
2answers
588 views

How to put cross mark on a word?

I am wondering if there exists any command in LaTeX with which one can put a cross mark on a word?
8
votes
4answers
334 views

How to trim a certain part of each character in a whole document?

Got inspired from a nice article titled "why All Caps is so hard to read", I want to produce the following result for my document. MWE \documentclass[preview,border=12pt,varwidth]{standalone} \...
6
votes
2answers
435 views

“Dividers” with TikZ

I want to draw the structure of my thesis with TikZ. A rough sketch in Paint: The nodes have been easy so far, but I could not find a good solution for the dividing lines with the label. For example,...
6
votes
1answer
2k views

How to label sets in Venn diagram using venndiagram package

How do I have the labels (A and B) outside the circles? I would like a solution that uses the venndiagram package. Code: \documentclass{article} \usepackage{venndiagram} \begin{document} \begin{...
4
votes
3answers
868 views

Use \hfill inside tikz node

I would like to use an \hfill in a Tikz node, in order to have some text on the left and right of some node. Look at the following MWE \def\left{L\hfill} \def\right{\hfill R} \begin{tikzpicture} [...
1
vote
1answer
1k views

How to superimpose a photo on the Friggeri CV template?

I am using the Friggeri CV template and was wondering how I can superimpose a passport-sized photo on the right side of the default black header. If this has already been answered, please comment ...
1
vote
2answers
1k views

highlighting strikeout text with ulem shifts the line downwards

I'm trying to highlight a text with a strikeout word by defining a new command as explained in the docs of ulem. Unfortunately, that moves down the strikeout line a few points, which looks strange ...
3
votes
3answers
125 views

How to avoid or compensate horizontal and vertical shifts in a tikz' struck out node?

The following MCE below points out that, for a tikz' struck out node, the line width causes both horizontal and vertical shifts. Is it possible to avoid them? Or, at least, to know exactly the ...
1
vote
3answers
512 views

Mixing relative and absolute coordinates in tikz

The following example uses circuitikz, but the question is about expressing coordinates in generic tikz. Look at the following code: \documentclass[border=10pt]{standalone} \usepackage{circuitikz} ...
2
votes
1answer
237 views

Boxed text, multiline

How can I something like this (an \fbox that can span multiple lines): |--------------------------------------------- The quick brown fox |jumps over the| lazy dog. The quick ...
5
votes
2answers
136 views

TikZ: Get (dimensionless) distance between node anchors

In the following picture I want node C to be as wide as the distance between (A.north east) and (B.south west) as indicated in the picture; I tried defining a new node D with \n1 as minimum width, and ...

15 30 50 per page