2

I would like to force a linebreak, but at the same time I would like to force LaTeX to print at the and of the line, so I would like no space at the and of the line!

9
  • 1
    Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – user31729
    Commented Jul 3, 2014 at 9:23
  • The source is the question, for example something like this: text text text \newpage % but I want to force the following appearance: Commented Jul 3, 2014 at 9:52
  • instead of: text text text ... ... ... | Commented Jul 3, 2014 at 9:55
  • I would like: text ... text ... text | Commented Jul 3, 2014 at 9:55
  • 2
    Did you try \linebreak?
    – egreg
    Commented Jul 3, 2014 at 10:22

1 Answer 1

2

You can use \hfill

\documentclass{scrartcl}
\usepackage{showframe}% to s the page layout
\usepackage{blindtext}% dummy text
\begin{document}
\section{Test}
some text\hfill other text\hfill text\\
\blindtext
\end{document}

enter image description here

0

Not the answer you're looking for? Browse other questions tagged .