101

I want to have something written in the top-left corner and top-right corners of my document. So I want some text aligned to the right, some to the left, at the same height. I could do it with spamming the space bar, but then if I change the font size or anything it will be broken again.

Is there any way to do this more neatly?

0

2 Answers 2

125
  1. Make sure you have View > Show ruler checked.

  2. In the ruler above your document, click where you want the right-most character of the right-aligned section to be. Then select the option that pops up: "Add right tab-stop". (In the example image in step 3, it is all the way at the right margin.)

    add tab stop

  3. Then, on that line, type your left-most text as normal, then hit the Tab key until your cursor is located at the tab-stop you just created and type your text. You should notice that it fills in from the right. Now you shouldn't have issues when you change your font.

    results

(More at Page setup)

8
  • Do you have to create one for each and every line? Also, is there any way to do it without drag and drop? I see its impossible to align multiple lines neatly along the same line.
    – Pacerier
    Dec 2, 2017 at 7:37
  • 1
    if you go to the beginning of a line which has a right tab-stop setup and press Enter, the new line will have the same tab-stop too.
    – srrvnn
    Dec 2, 2017 at 16:27
  • 5
    Nothing pops up when I click the ruler.
    – Matt
    Mar 27, 2020 at 23:54
  • 2
    @MattD, I wasn't getting the options either when clicking on the grayed-out part of the ruler (past the Right Indent arrow, or even on top of it). I had to click somewhere in the white part of the ruler in order to get the tab-stop options, then move my tab-stop to where I wanted it after it was added. Dec 30, 2020 at 4:02
  • 1
    I cannot seem to get this to work when inside a table cell
    – Xeoncross
    Sep 11, 2021 at 16:37
9

You can use a table (with 1 row and 2 columns) without border.

Not the answer you're looking for? Browse other questions tagged or ask your own question.