-2

Is there a way in order to set every label of every single node to his north west position?

0

1 Answer 1

6

Create a style:

\documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[ every node/.style={draw}, mylabel/.style={label={above left:{#1}}} ] \node[mylabel={Where}] (a) {is}; \node[mylabel={your}, right=4em of a] {MWE?}; \end{tikzpicture} \end{document} 

enter image description here

4
  • :) Great answer! Commented Jan 21, 2018 at 20:07
  • 2
    @marmot Hoping to find an MWE in the OP's next question :):):) Commented Jan 21, 2018 at 20:11
  • Grazie Carla! =) Commented Jan 21, 2018 at 20:42
  • 3
    @AndreaLeo Prego, and please remember to add a minimal working example (MWE) next time! Commented Jan 21, 2018 at 20:44

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.