EDIT: additional examples added (scroll farther down)
I've noticed there's always unnecessary space generated between the words when justified alignment of text is used (be it one or another package that does the alignment). I can definitely see all this empty space on each line making some space(?) for additional word (or two; depending on the width of a text container). Is there a way to tune things up a bit to make text justification more compact? What is your solution?
\documentclass[border=0.5mm]{standalone}
\usepackage{ragged2e}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\path node[draw,text width=3cm]
{\begin{justify}this is just some text this is just some text this is just some text\end{justify}};
\end{tikzpicture}
\end{document}
Looks about the same with TikZ' align=justify
when contents of tikzpicture
are
\path node[draw,align=justify,text width=3cm]
{this is just some text this is just some text this is just some text};
EDIT: Following are examples of how different ways of justifying text result in different inter-word spacing.
\path node[draw,text width=50mm]
{\begin{justify}test \lipsum hello\end{justify}};
VS.
\path node[draw,align=justify,text width=50mm]
{\begin{justify}test \lipsum hello\end{justify}};
Best Answer
You can use \fussy, but in small text width this can lead to overfull line.