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.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기