使用 acro 套件的短首字母縮寫的自訂案例(例如:PoE、LoL 等)

使用 acro 套件的短首字母縮寫的自訂案例(例如:PoE、LoL 等)

例如,我試圖將我的首字母縮寫為大小寫混合乙太網路供電與它當前預設執行的操作相比POE

到目前為止,我已經嘗試過\lowercase \MakeLowercase並包括標籤和自訂 acro 又名:

{poe}[PoE]{Power over Ethernet}

感謝您提前為此提供的幫助:)

編輯新增了下面詞彙表頁面的MWE,完整模板借用了表格(https://github.com/briandealwis/ubcdiss):

%% The following is a directive for TeXShop to indicate the main file
%%!TEX root = diss.tex

\chapter{Glossary}

%This glossary uses the handy \latexpackage{acroynym} package to    automaticallymaintain the glossary.  It uses the package's    \texttt{printonlyused}option to include only those acronyms explicitly  referenced in the\LaTeX\ source.

% use \acrodef to define an acronym, but no listing
\acrodef{UI}{user interface}

% The acronym environment will typeset only those acronyms that were
% *actually used* in the course of the document
\begin{acronym}[ANOVA]
%Begin template acronyms that were not removed

\acro{PoE}[PoE]{application programming interface}
\acro{DOI}{Document Object Identifier\acroextra{ (see\url{http://doi.org})}}
\end{acronym}

答案1

我懷疑你得到的是小寫字母而不是大寫字母。其中diss.tex 有一行(附註)。

%% The ubcdiss.cls loads the `textcase' package which provides commands
%% for upper-casing and lower-casing text.  The following causes
%% the acronym package to typeset acronyms in small-caps
%% as recommended by Bringhurst.
\renewcommand{\acsfont}[1]{{\scshape \MakeTextLowercase{#1}}}

只要刪除這一行就可以了。

這是對別人的模板保持警惕的一個原因。

相關內容