Yen sign in LaTeX (\text{¥})
- LaTeX command
\text{¥}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Text and math mode
- Copy the Unicode character
- ¥
U+00A5
Where it is used
Yen or yuan sign entered as a literal character inside ext, for Japanese yen and Chinese yuan amounts.
The same glyph serves both the Japanese yen and the Chinese yuan renminbi, which is why papers often add JPY or CNY to remove ambiguity. Typing ¥ inside \text works in UTF-8 documents with a font that contains it; \textyen is the command alternative under pdfLaTeX. Yen amounts rarely have decimal places since the currency has no subunit in everyday use, so \text{¥}1{,}200 is typical. Some fonts draw it with one crossbar and others with two; both are accepted, but keep the font consistent within a document.
Minimal compilable example
Paste this into an empty .tex file and compile it with XeLaTeX or LuaLaTeX (it contains a Unicode character).
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Yen sign: $\text{¥}$
\[ \text{¥}120{,}000 \div 150 = \$800 \]
\end{document}Related symbols
- Indian rupee sign
\text{₹} - Pound sterling sign
\text{£} - Bitcoin sign
\text{₿} - Euro sign
\text{€} - Percent sign
\% - Dollar sign
\$
Frequently asked questions
- How do I write Yen sign in LaTeX?
- Type \text{¥} in math mode, for example $\text{¥}120{,}000 \div 150 = \$800$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for \text{¥}?
- \text{¥} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use \text{¥} in text mode, or only in math mode?
- Both. \text{¥} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI
- Jana diagram TikZ yang cantik menggunakan AI
- Muat naik imej dan tukar ke LaTeX dengan lancar
- Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan