I would like to move a series of consecutive lines (AAA-FFF) to the right of the page, but I only move the first one (AAA). This is the LaTex source code:
\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\usepackage[a4paper,top=2.5cm,bottom=2cm,left=2cm,right=2cm]{geometry}
\setlength{\parindent}{0pt}
\pagestyle{empty}
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\hbadness=10000
\begin{document}
\hfill AAA \newline
\hfill BBB \newline
\hfill CCC \newline
\hfill DDD \newline
\hfill EEE \newline
\hfill FFF \\
\today \
XXX \newline
YYY \newline
ZZZ \
My text starts here...
\end{document}
Can someone help me? Thanks in advance.
With \null before the \hfill
– pascal974 May 07 '22 at 14:30