Laying out a report with the mouse means a lot of trips to the ribbon: select the title, find the center button, select the date, find align right, open the font size list, pick a size, repeat. Each trip is a second or two, and a report has dozens of them.
Six shortcuts cover most of that work.
TL;DR: Ctrl+E, Ctrl+] and Ctrl+[, Ctrl+R, Shift+Enter, Ctrl+B / I / U, Ctrl+Shift+8.
The shortcuts
- Ctrl+E centers. On the title line, press it and the title is centered.
- Ctrl+] and Ctrl+[ change the size. Select text, then Ctrl+] makes the font one step bigger and Ctrl+[ one step smaller. Handy when you're judging by eye rather than picking a number.
- Ctrl+R aligns right. Put the cursor on the date or author line and press it.
- Shift+Enter starts a new line in the same paragraph. After the date, it moves to a new line without starting a new paragraph. Because it's still one paragraph, the right alignment carries over to the author name.
- Ctrl+B, Ctrl+I and Ctrl+U apply bold, italic and underline. Select and press. Press again to remove it.
- Ctrl+Shift+8 shows formatting marks. Empty lines, line breaks and paragraph marks (ΒΆ) become visible, so you can see why the layout looks off.
Each one was pressed and checked in Word for the web.
Why Shift+Enter matters
Paragraph settings like alignment and spacing apply to the whole paragraph. Press Enter between the date and the author and you get two paragraphs, possibly with more space between them than you want. Shift+Enter keeps them together as one block, which is usually what a header area needs.
Common mistakes
- Using spaces to center or right-align. It looks right until the font or margins change. Alignment survives edits; spaces don't.
- Fixing layout blind. When something won't line up, turn on formatting marks first. Stray empty paragraphs and manual line breaks are the usual cause.
- Formatting every heading by hand. For long documents, built-in heading styles are a better habit. Change the style once and every heading follows.
If you generate reports from code
python-docx sets the same things as properties. Alignment is paragraph.alignment = WD_ALIGN_PARAGRAPH.CENTER, and bold is run.bold = True. Even so, these shortcuts are what you'll use to tidy a generated file before it goes out.
Drafted with AI assistance; the shortcuts come from a list checked in Word for the web.
Top comments (0)