Word, Google Docs, LaTeX and CSS

Hanging indent

  1. A hanging indent leaves the first line of a paragraph at the margin and indents every line after it. Microsoft's own documentation also calls it a second line indent.
  2. In Word: Ctrl+T applies one and Ctrl+Shift+T removes it. The dialog route is Home, the Paragraph launcher, then Special, then Hanging.
  3. In Google Docs: Format, Align and indent, Indentation options, Special indent, Hanging, then Apply. The Apply button is easy to miss.
  4. Spaces and tabs can look identical on screen and are not the same thing. They move when the text reflows, and the indent cannot be changed in one place afterwards.

Half of this page is the three ways to make one. The other half is why it comes undone, which is the part most instructions leave out.

What a hanging indent actually is

Put simply: the first line of the paragraph starts at the left margin, and every line below it moves in by the same distance, so the opening line seems to hang out to the left of the rest.

The important word is paragraph. A hanging indent is a property of the paragraph, stored with it, the way line spacing and alignment are. It is not characters in the text. That distinction is the whole reason the real setting is worth learning: change the font, change the page size, export to PDF, open the file on a different machine, and a paragraph property still describes the same layout, while a row of spaces describes a position that no longer exists.

It is used for reference lists because it makes the first word of each entry, usually the author's surname, the only thing on the left margin. A reader scanning for a name finds a clean column of them instead of a wall of text.

Word: three routes, and one trap

Select the paragraphs first. All three routes act on whatever is selected, and a reference list is usually several paragraphs rather than one.

The shortcut is the fastest and the least known: Ctrl+T applies a hanging indent, Ctrl+Shift+T removes one. Both are in Microsoft's own keyboard shortcut documentation.

The dialog is the route to use when you need a specific depth. Home, then the Paragraph dialog launcher, then Indents and Spacing; under Special choose Hanging, and set the depth in the By field beside it.

The ruler is the third route: drag the lower triangle, the hanging indent marker, to where the indent should start. It shows you what you are doing, but it will not give you an exact half inch.

The trap: first line and hanging are the same setting

This is the reason a hanging indent disappears for no apparent reason, and it is not a bug. In Word, Special is a single choice with three values: None, First line, Hanging. They are not three independent switches. A first-line indent is a positive value and a hanging indent is a negative one, in the same field.

So when a first-line indent reaches paragraphs that already hang, set on them directly or by a style applied over them, it does not sit alongside the hanging indent. It replaces it. The dialog then shows First line, truthfully, and there is nothing in the interface to suggest anything was lost.

You can check this in thirty seconds in any Word document: set a hanging indent, then set a first-line indent on the same paragraph, and look at what Special says. It will say First line, and the hang will be gone.

The practical rule that follows: give the reference list its own style, and do not let a body style with a first-line indent reach it.

Google Docs

Highlight the text first; with a hanging indent everything except the first line moves.

In the top menu, Format, then Align and indent, then Indentation options. Under Special indent choose Hanging, change the size in the box beside it if you need a specific depth, and then click Apply.

The last step is the one people miss. The dialog does not take effect until Apply is clicked, so a change that looks ignored usually was not confirmed.

The ruler works here too, and it has the same trade-off as in Word: fast to see, hard to make exact.

Which styles ask for one

The authority here is each style's own definition of its bibliography layout, not a summary of it. Read that way, the answer splits cleanly.

The author–date and author–page styles hang. APA 7th edition specifies a hanging indent with double spacing and no extra space between entries; MLA 9th edition specifies the same; Chicago's author–date system hangs, and so does Turabian's, which follows it.

Harvard, as Cite Them Right 12th edition defines it, does not hang. The reference list is flush left. This is the one that surprises people, and it is worth checking against your own department's handout, because Harvard is a family of local variants rather than a single published standard.

The numbered styles do not hang either, and what they do instead is easy to mistake for it. IEEE, Vancouver as NLM's Citing Medicine defines it, ACS and AMA all put the number in its own column and align the entry text after it. On the page that looks like a hanging indent; in the specification it is a different instruction. So copy the alignment your style guide shows rather than assuming Word's Hanging setting reproduces it.

One thing to know about our own exports: the Word reference list is set with a half-inch hanging indent whatever style you chose, so if you are writing in Harvard or a numbered style, clear it in the Paragraph dialog before you submit.

Why the spacebar version comes apart

Spaces and tabs produce the same picture on the screen you are looking at, and that is the whole problem. The picture is tied to that font at that size in that page width.

Change any of the three and the text moves while the spaces stay where they were. Submission templates change all three at once.

There is no way to adjust it in one place afterwards. A real hanging indent is one number on a style; a spaced one is a separate manual decision inside every entry, and every edit to an author's name breaks the entry again.

LaTeX and CSS, for anyone who needs the underlying mechanism

In CSS a hanging indent is a negative first-line indent with matching padding, so that the negative pull starts from an already-indented edge: text-indent: -0.5in with padding-left: 0.5in. Both numbers have to match, and that pair is exactly what Grongy's PDF and HTML exports emit for each reference.

In LaTeX the bibliography environment handles it. A reference list written as thebibliography is laid out by your document class, which is why a journal template produces that journal's spacing without being told to. Grongy's LaTeX export writes the environment and sets no indent of its own, so your class stays in charge.

.ref {
  padding-left: 0.5in;
  text-indent: -0.5in;
}

If you are exporting from Grongy

Start for free

None of this is something you apply by hand to an exported reference list. The Word file carries a real paragraph property: a half-inch left indent with a half-inch hang, which is what Word's own dialog will show as Special, Hanging, by 0.5 inch.

The PDF and HTML exports carry the same measurement as CSS, and the LaTeX export hands the layout to your document class.

What an export carries is the property, not a repair: a reference list you typed by hand with spaces somewhere else stays a run of spaces, because spaces are text and text is what travels.

Hanging indent questions

Why does my hanging indent keep disappearing?

Almost always because something applied a first-line indent to the same paragraphs. In Word the two are one setting with opposite signs, so a first-line indent replaces a hanging one rather than coexisting with it. Check what Special says in the Paragraph dialog: if it reads First line, that is your answer, and the fix is in the same dropdown.

Is Ctrl+T the same as using the dialog?

Yes, for the standard half-inch depth. Microsoft documents Ctrl+T as the hanging indent shortcut and Ctrl+Shift+T as its removal. Use the dialog when you need a depth other than the default, since the shortcut does not ask.

Do in-text citations need a hanging indent?

No. A hanging indent is a layout for the reference list at the end. In-text citations sit inside your sentences and are not indented at all.

It looks right in Word but wrong in the PDF. Why?

That pattern usually means the indent was made with spaces or tabs rather than set as a property. The PDF is produced at a different measurement and the characters stay where they were put. Set it properly on the paragraphs and export again.

How deep should it be?

Half an inch, or 1.27 cm, is the usual depth, and the one both Word and Google Docs offer first. Where your style guide or your department states a figure, use theirs — the mechanism is the same whatever the number.

Start your work

Join 1,000+ researchers and students and start with a free account.