The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
0answers
27 views

Tikz image with remember picture combined with custom page numbering

I have a problem combining TIKZ-pictures when using custom pagenumbers. I modify my page numbers as shown in the upmost answer here. When drawing a simple TIKZ-image, I recieve the error ! Illegal ...
3
votes
2answers
53 views

using tikzmark subnode with overlays beamer

I am trying to create a slide with overlays in beamer using tikzmark. I currently have \documentclass{beamer} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{arrows, shapes, calc, ...
2
votes
1answer
51 views

Tikz remember picture on wrong page

I want to comment some equations with tikz and stumbled upon a tikzmark command that uses the remember picture command. It works fine, I can draw below and above the equation, but whenever the ...
0
votes
1answer
36 views

Place tikzmark at Vertical Center of Math Line

Based on a previous question I asked, I have created the following: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[fleqn]{mathtools} ...
2
votes
0answers
30 views

Cannot compile file with tikzmark

in my example below, I cannot compile the file as I get the error: LaTeX Error: Command \tikzmark already defined. Or name \end... illegal, Can you help me get my file to compile? ...
3
votes
1answer
32 views

Braces in enumerate environment to span two or more lines

I was attempting to get a brace to show up on lines 2 and 3 in an enumerate environment. The solution given here is used in the first enumerate environment, but the brace did not look as appealing as ...
11
votes
1answer
153 views

Refer to a node in tikz that will be defined “in the future” (two passes)?

I have devised a small couple of commands to have a nice "callout thing" for my notes; please consider the following MWE (the problem is also explained there): \documentclass{book} ...
1
vote
1answer
75 views

Fill square mark in legend?

I'm using the following code to generate a simple graph, and I want to have the legend show a filled in gray square to represent the shaded area on the graph. Everything still leads to a white square ...
4
votes
1answer
93 views

Framing EMPTY cells in a table

This question is based on a previous question: Framing cells vertically in a table I'd like to frame cells just like that and the answer to the previous question works beautifully – except when the ...
0
votes
0answers
43 views

Is it possible to use tikzmark inside minted?

As I've pointed out in a related question, I'd like to have some arrows pointing to parts of a source-code listing. I know this is possible with the listings package, but is it possible with minted? ...
1
vote
0answers
47 views

How to position braces (decorations) in longtable?

I am trying to put braces into longtable (to span them on some rows). But if a table position on odd and even pages differs, there is a problem with vertical alignment of these braces (decorations): ...
6
votes
1answer
96 views

Add Whitespace Around Plot Marks

I have a simple graph in PGFPlots, where the marks of two different plots slightly overlap: Around 50 and 100 the graph gets a bit too busy, so I would like to add some whitespace around the marks, ...
5
votes
3answers
174 views

Lines connecting elements in an equation

I want to draw lines connecting various elements in an equation. Here is what I have so far: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{tikzmark} ...
4
votes
1answer
152 views

Beamer, annotated tables using Tikzmark

I am trying to annotate my tables on beamer using tikzmark and tikzpicture according to the suggestion on here: Annotate the table row highlighted by Tikzmark in Beamer However, when I tried to ...
0
votes
1answer
139 views

Annotate the table column highlighted by Tikzmark in Beamer

I would like to highlight columns in my table using Tikzmark in Beamer. Here bellow is an example which does the same thing but for the table rows. I would like to know if is it possible to do the ...
4
votes
1answer
87 views

Tikz \subnode positioning

I have a problem with \subnode positioning when coordinates are negative. The sample code below works well, if the third subnode is commented. Otherwise, all positions are broken. How can I prevent ...
1
vote
2answers
84 views

fixing or replacing tikzmark/pgfmark/subnode within forest

I try to connect parts of nodes in a foresttree to other parts of nodes. This worked in texlive 2013. I had an answer to my problem, which is also documented in Having two forest figures and using ...
5
votes
2answers
68 views

Compatibility of tikzmark and chappg

I have encountered a strange problem when using tikzmark and chappg in a document: \documentclass{scrbook} \usepackage{chappg} \usepackage{tikz} \usetikzlibrary{tikzmark} \begin{document} ...
2
votes
1answer
98 views

Tikz - decorations.markings marks location problem

Why blue and red lines don't fit the black line, and why are they overlap each other ? \documentclass[tikz,margin=5pt]{standalone} \usetikzlibrary{calc} \usetikzlibrary{decorations.markings} ...
7
votes
2answers
149 views

Are tikzmark and tikzexternalize incompatible? [targeting sub-nodes]

Here's a MWE using tikzmark to draw an arrow connecting two sub-nodes in a tree: \documentclass{article} \usepackage{tikz} \usetikzlibrary{external} %\tikzexternalize \usetikzlibrary{tikzmark} ...
3
votes
1answer
102 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 ...
1
vote
0answers
54 views

Custom tikzmark creates error

I've defined the commands \newcommand{\tikzmark}[2]{% \tikz[overlay,remember picture,baseline] \node[anchor=base] (#1) {$#2$}; } \newcommand{\DrawVLine}[3][]{% ...
3
votes
0answers
82 views

tikzmark: declare a shape imitating <span> in HTML

Too Long; Didn't Read See the figure. The yellow blocks are actually three nodes. How to improve anchor border? How to place such a node inline? Or, overall, any better mechanism to do so? ...
5
votes
3answers
400 views

Setting west, east, north, south to position with tikzmark

I'm using the library tikzmark with usetikzlibrary(tikzmark). The following code \newcommand{\DrawCircle}[1]{% \begin{tikzpicture}[overlay,remember picture] \draw[color=red] (pic cs:#1) circle ...
0
votes
1answer
58 views

Why is tikz getting a different \linewidth or drawing a different rectangle inside a minipage under the same conditions?

Question I have a signature macro that determines whether to include a signature for a final production or whether to put in a red unsigned box (for pre-production copies). For some unknown reason, ...
6
votes
0answers
221 views

tikzmark and xelatex

There seems to be a problem with tikzmark and xelatex. Ulrike Fischer from the xetex list helped to track this down. The following code does not work when compiled with xelatex but produces the ...
2
votes
1answer
167 views

tikz draws line in wrong place (2 pages above its definition)

I am trying to get tikz to draw a line between nodes inside an attribute-value matrix defined using the avm package. For this, I am using \tikzmark as described in the answer here: tree-dvips ...
2
votes
2answers
195 views

Tikzmark between syntactic tree and matrix?

I am trying to draw a line between the S node and the matrix, but have not been able to get it to work. What am I doing wrong? MWE: \documentclass[a4paper,12pt]{article} \usepackage{fontspec,tikz, ...
1
vote
2answers
135 views

Replacing tree-dvips, connect nodes in a tabular environment

I want to get rid of tree-dvips since it is not compatible with xelatex and ps-tricks since it does not compile efficiently with xelatex. I have the following figures: They were typeset by using ...
4
votes
1answer
307 views

Having two forest figures and using tikzmark

I have two forest figures in the same figure environment and I want to use tikzmark in both of them. The outcome is supposed to look like this: My current code is this: \documentclass{article} ...
3
votes
0answers
70 views

Adding prefix to TikZ node and coordinate names

This question is somewhat related to my search for a good practice to include TikZ stuff in my documents. Suppose a document (book) with a lot of formulas and equations which you have decorated with ...
5
votes
3answers
1k views

How to get tikzmark to work

I am having difficulty getting \tikzmark to do its magic. I tried using the tikz library for \tikzmark as in the following code: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} ...
14
votes
2answers
700 views

How to draw arrows between circled coefficients of polynomials using tikz

After reading Gonzalo's answer to Arrow between parts of equation in LaTeX, I thought I would be able to modify it so that I could have the corresponding coefficients circled and an arrow going from ...
7
votes
2answers
303 views

How to draw this lines with tikzmark

I would like to draw lines to illustrate the lengths used with the package enumitem , so i create this MWE \documentclass{article} \usepackage[margin=1.5cm]{geometry} \usepackage{tikz} ...
0
votes
0answers
101 views

Layering/twocolumn conflict using tikzmark

LaTeX gurus, inspired by the ideas and code in Automatic background coloring in listings using tikzmark, I attempted to create my own macros for teaching programming. What I really wanted, just to ...
4
votes
1answer
115 views

Detect actual start of text

I have conditional which is sometimes suppressed, and if it gets typeset needs to be noted. If the conditional text begins with an environment which adds vertical space prior to the actual start of ...
4
votes
1answer
237 views

How can I connect beamer blocks with edges through the center?

X–Y Since my poster is on self-stabilizing algorithms (and quite frankly, I don't have much to say about it that's appropriate for a poster), I came up with a pretty cool idea for its layout. I'd ...
3
votes
0answers
58 views

Can't get correct ps output using tikzmark

I was using tables-in-latex-with-diagonal-first-row as a guideline and everything was working fine as long as I kept using pdflatex in texmaker to get the pdf file. However, for submission I need a ...
3
votes
1answer
1k views

Annotating Tables With Tikz; Adding Arrows

I'd like to be able to draw an arrow with some text on top connecting two arbitrary (i.e. possibly non-right-/left-most, possibly nonadjacent) cells of a table with a left-looking arrow. In ...
5
votes
1answer
545 views

tikzmark, listings and beamer's onlyenv

I found this limitation in the current tikzmark solution for highlighting lines of listings code in beamer. When I put the whole lot in an onlyenv environment, it seems the marks are not set, or ...
3
votes
1answer
179 views

how to xshift tikzmark and preserve interrow spacing in matrix

I am trying to use the \tikzmark command to overlay a right brace with a label next to a pmatrix. Unfortunately, there are two problems with the current output: My code has introduced extra vertical ...
1
vote
1answer
487 views

tikzmark and issue with pgfsys-dvips.def

When I try to use \tikzmark (actually, any feature that relies on the [remember picture] functionality of TikZ) in the WYSIWYG editor BaKoMa TeX, I get the following warning: Package pgf Warning: ...
14
votes
2answers
405 views

How to set tikzmarks with \noalign at the edge of tabular rows

I'm trying to improve the lines in a tabular with colored rows (lines above a colored row can disappear in the adobe reader at some zoom levels) by redrawing the line above a row after the row itself ...
6
votes
1answer
410 views

Using the perpendicular coordinate system with tikzmark

How do I refer to the coordinate that is the meeting point of the perpendiculars drawn from a tikz mark and a coordinate? I'd like to use this to align images to bullet points in my beamer ...
4
votes
2answers
331 views

How to use \tikzmark with pLaTeX?

Usually I use the standard latex from MiKTeX when i use TikZ, which works good. But now I need to use platex from w32tex instead to include Japanese characters, which gives me the error: Package pgf ...
10
votes
1answer
455 views

tikzmark position erratic in overprint environment of beamer

My aim is to highlight a term in an equation, and draw an arrow pointing to another one. Here's my code \documentclass{beamer} \usepackage{tikz} ...
8
votes
1answer
249 views

Tikzmark and french seem to conflict

I just discovered tikzmark thanks to the blog, and it sounds really promising. I downloaded the files from CTAN and put tikzlibrarytikzmark.code.tex and tikzmarklibrarylistings.code.tex in the same ...
4
votes
1answer
178 views

mtpro2 and tikzmark conflict

The \tikzmark command (as in here) does not work within the \PARENS command provided by the mtpro2 package. Here is a MWE (requiring at least two runs): \documentclass{article} ...
25
votes
2answers
725 views

Programming TeX macros so that they output instructions to rerun the compilation

This question is motivated by the behavior of the tikzmark macro created by Andrew Stacey, and a recent discussion with David Carlisle on chat. I have noticed that LaTeX code using tikzmark typically ...
9
votes
1answer
547 views

Alignments by means of the tikzmark macro

This is a follow up of my previous question Issues and potentiality of the tikzmark macro: dynamic box adaptation. I thought should have been better to ask two questions although they are related to ...