You need to join this project to post message / question. See Help for details.

Siunitx

Giới thiệu

Ví dụ

Chép từ ví dụ của nqt#825 (bình luận thứ 12)

\usepackage{amsmath,amsxtra,latexsym, amssymb, amscd}
\usepackage[monochrome,gray]{xcolor}

\usepackage{hyperref}

\usepackage[
    load-configurations=abbreviations,
    output-decimal-marker={,},
    group-separator = {.}, color=blue,
    range-phrase = {—}, negative-color = red]{siunitx}
    \sisetup{detect-weight = true,
    detect-inline-weight = math
}%

\usepackage{xltxtra}

\setmainfont{Times New Roman} 

\begin{document}
\begin{verse}
Những chiếc giỏ xe chở đầy hoa phượng. \\
Em chở mùa hè của tôi đi đâu?
\end{verse}

\num{1234566.7}  \numrange{5}{9} $5-9$

\end{document}

Also available in: HTML TXT