File:Tikz Tutorial - node text alignment.svg
Summary
| Description |
English: 3 examples of node text alignment |
| Date | |
| Source | Own work |
| Author | KlasN |
| SVG development |
Source code

This media was created with PGF/TikZ (pair of languages for producing vector graphics from a geometric/algebraic description)Category:Images with PGF/TikZ source code
Here is a listing of the source used to create this file.
Here is a listing of the source used to create this file.
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw
(0,0) circle (2pt) node[align=left, below] {test 1\\is aligned left} --
(4,0) circle (2pt) node[align=center, below] {test 2\\is centered} --
(8,0) circle (2pt) node[align=right, below] {test 3\\is right aligned};
\end{tikzpicture}
\end{document}
Licensing
KlasN, the copyright holder of this work, hereby publishes it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
Attribution:
KlasN
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.