\documentclass{standalone}
\usepackage[polish]{babel}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{tikz}
\usetikzlibrary{shapes}

\begin{document}

\begin{tikzpicture}
\node[draw, color=gray, anchor=center] at (0,0) {\LaTeX};
\node[draw, color=gray, anchor=south] at (2,0) {\LaTeX};
\node[draw, color=gray, anchor=north] at (4,0) {\LaTeX};
\node[draw, color=gray, anchor=south east] at (6,0) {\LaTeX};
\node[draw, color=gray, anchor=east] at (8,0) {\LaTeX};
\node[draw, color=gray, anchor=base] at (10,0) {\LaTeX};
\fill (0,0) circle (2pt);
\fill (2,0) circle (2pt);
\fill (4,0) circle (2pt);
\fill (6,0) circle (2pt);
\fill (8,0) circle (2pt);
\fill (10,0) circle (2pt);
\end{tikzpicture}

\end{document}