This question already has an answer here:

How can i write text between some pre-defined coordinates in tikz?. As shown in the attached figure, i want to write text between a-b-c-d coordinates.write text between coordinates.

marked as duplicate by Paul Gaborit, Thorsten, Red, Heiko Oberdiek, Andrew Swann Sep 19 '13 at 14:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • There is the trapezium shape from the shapes.geometric library, otherwise you could just add a node in the area by specifying at (<coordinate that lies inside the polygon>), there’s path picture, there is the barycentric cs:, … there are many ways to find any coordinate relative to the corners. Could you try to elaborate what you mean with “between some pre-defined coordinates”? – Qrrbrbirlbel Sep 19 '13 at 12:53

I have tried

\node at (barycentric cs:a=1,b=1,c=1,d=1) {my text};

and it worked.

Not the answer you're looking for? Browse other questions tagged or ask your own question.