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 TikZ graphics, just to explain a step or to remark something. I'm using packages like tikzmark, hf-tikz or even the way explained in this question, which I think originated the tikzmark library.

The important thing is that each of these TikZ pieces is made by means of an overlay. So the coordinate (mark) names remain available through the full document and things only work if each name is unique.

I'd prefer to re-use A, B, C, etc. with name nodes and marks in every figure. So I wonder how to give a prefix before setting this marks, so A, B, C, etc. are appended to it (instead of having to write long expressions to uniquely identify each mark)

  • 2
    If you redefine them, you are done. Previous pages won't be affected. – percusse Nov 23 '14 at 17:50
  • I don't know why I was struggling with this... I'm checking and you're right. – Pablo B. Nov 23 '14 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.