The Accent Letters

How to Type đ (D with stroke) on LaTeX

Published July 2, 2026, 2 min read

đ is d with stroke, a letter used in Croatian and Vietnamese. On LaTeX, the quickest way to get it is \dj. This guide covers every method that works, including the capital Đ and fixes for common problems.

đ on LaTeX: \dj

Đ on LaTeX: \DJ

Or copy it:

Method 1: LaTeX command

Write \dj in text mode. This command needs \usepackage[T1]{fontenc}.

Method 2: Type the character directly

Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste đ into your source. On Overleaf, set the compiler in Menu → Compiler.

How to type the capital Đ

The uppercase form works the same way with Shift added where a letter is typed.

LaTeX command

Write \DJ in text mode. This command needs \usepackage[T1]{fontenc}.

Type the character directly

Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste Đ into your source. On Overleaf, set the compiler in Menu → Compiler.

About the letter đ

đ is Unicode U+0111, named LATIN SMALL LETTER D WITH STROKE. It is used in Croatian and Vietnamese. A line through the letter itself. Examples are ø (Danish, Norwegian), ł (Polish), đ (Vietnamese, Croatian) and ħ (Maltese). See the đ character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for đ on LaTeX?

\dj.

Can I just copy and paste đ?

Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.

What is the Unicode code for đ?

U+0111. In HTML it is đ.

Related guides

All accent shortcuts for LaTeX