我用glossaries
包製作了一個首字母縮略詞列表,這是代碼
\documentclass[a4paper, 12pt, french, openright, oneside, fleqn]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[acronym]{glossaries}
\makeglossaries
\newacronym{3gpp}{3GPP}{The 3rd Generation Partnership Project}
\newacronym{amps}{AMPS}{Advanced Mobile Phone System}
\newacronym{apd}{APD}{Avalanche photodiode}
\newacronym{ask}{ASK}{Amplitude Shift Keying}
\newacronym{bbu}{BBU}{Baseband Unit}
\newacronym{ber}{BER}{Bit Error Rate}
\newacronym{bs}{BS}{Base Station}
\begin{document}
\acrshort{3gpp}, \acrshort{amps}, \acrshort{apd}, \acrshort{ask}, \acrshort{bbu}, \acrshort{ber}, \acrshort{bs},
\printglossary[title=Acronymes et Abréviations, toctitle=Liste des acronymes et des abréviations, type=\acronymtype]
\end{document}
而不是得到這個:
我想要得到這樣的東西:
有字母順序分組的地方。我想顯示字母順序。如果可能的話,取得頁碼 hyperref !
答案1
以下應該會產生預期的輸出。我已經添加了style=indexgroup
選項\printglossaries
以及hyperref
軟體包。
\documentclass[a4paper, 12pt, french, openright, oneside, fleqn]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{hyperref}
\usepackage[acronym]{glossaries}
\makeglossaries
\newacronym{3gpp}{3GPP}{The 3rd Generation Partnership Project}
\newacronym{amps}{AMPS}{Advanced Mobile Phone System}
\newacronym{apd}{APD}{Avalanche photodiode}
\newacronym{ask}{ASK}{Amplitude Shift Keying}
\newacronym{bbu}{BBU}{Baseband Unit}
\newacronym{ber}{BER}{Bit Error Rate}
\newacronym{bs}{BS}{Base Station}
\begin{document}
\acrshort{3gpp}, \acrshort{amps}, \acrshort{apd}, \acrshort{ask}, \acrshort{bbu}, \acrshort{ber}, \acrshort{bs},
\printglossary[title=Acronymes et Abréviations, toctitle=Liste des acronymes et des abréviations, type=\acronymtype,style=indexgroup]
\end{document}