![용어집 사용 - 추가로 일부 약어는 처음 사용할 때 확장되지 않고 다른 약어는 [중복]됩니다.](https://rvso.com/image/449831/%EC%9A%A9%EC%96%B4%EC%A7%91%20%EC%82%AC%EC%9A%A9%20-%20%EC%B6%94%EA%B0%80%EB%A1%9C%20%EC%9D%BC%EB%B6%80%20%EC%95%BD%EC%96%B4%EB%8A%94%20%EC%B2%98%EC%9D%8C%20%EC%82%AC%EC%9A%A9%ED%95%A0%20%EB%95%8C%20%ED%99%95%EC%9E%A5%EB%90%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20%EB%8B%A4%EB%A5%B8%20%EC%95%BD%EC%96%B4%EB%8A%94%20%5B%EC%A4%91%EB%B3%B5%5D%EB%90%A9%EB%8B%88%EB%8B%A4..png)
저는 현재 Overleaf에서 논문을 작성하고 있으며 Glossaries-extra 패키지를 사용하여 약어를 관리하려고 합니다. 현재 본문 전체에 걸쳐 14개의 약어가 사용됩니다. 나는 처음 사용할 때 "긴(짧음)"을 표시하고 다음 사용에서는 "짧음"만 표시하는 긴-짧은 스타일을 사용하고 있습니다. 14개의 약어 중 12개만이 이 작업을 수행합니다. 다른 두 개는 처음 사용할 때에도 짧은 변형만 표시합니다.
또한 약어 목록의 확장된 변형에는 대문자 첫 글자가 있는 반면 텍스트에서 확장된 첫 번째 사용을 위해 약어에 소문자를 허용하는 스크립트를 사용하고 있습니다.
약어를 설정하는 방법은 다음과 같습니다.
\documentclass{article}
\usepackage[abbreviations]{glossaries-extra}
\glssetcategoryattribute{general}{glossdesc}{firstuc} % Used for upper case in list.
\glssetcategoryattribute{abbreviation}{glossdesc}{title} % Used for upper case in list.
\makeglossaries
\setglossarystyle{list}
\setabbreviationstyle[acronym]{long-short}
\begin{document}
\newabbreviation{PUR}{PUR}{polyuretan} % Does not expand at first use
\newabbreviation{HDPE}{HDPE}{hoytetthets polyeten}
\newabbreviation{CMS}{CMS}{corrosion management system}
\newabbreviation{KUI}{KUI}{korrosjon under isolasjon}
\newabbreviation{PE}{PE}{polyeten} % Does not expand at first use
\newabbreviation{PEX}{PEX}{kryssbundet polyeten}
\newabbreviation{DV}{DV}{Drift og vedlikehold}
\newabbreviation{NDT}{NDT}{ikke-destruktiv testing}
\newabbreviation{SAP}{SAP}{System Analysis Program {}Development}
\newabbreviation{NCMD}{NCMD}{Non-contact magnetometric diagnostics}
\newabbreviation{MMM}{MMM}{metal magnetic memory}
\newabbreviation{MSFG}{MSFG}{magnetic stray field gradient}
\newabbreviation{ERP}{ERP}{enterprise {}resource {}planning}
\newabbreviation{GPR}{GPR}{ground penetrating radar}
\renewcommand{\glsnamefont}[1]{\makefirstuc{#1}} % Used for upper case in list.
\printglossary[type=\acronymtype, style=super, title=Forkortelser]
The thesis itself is written here with the first use of \gls{PEX} showing as "krysskoblet polyeten (PEX)"
and the following uses of \gls{PEX} showing as just "PEX".
The first use of \gls{PUR} however turns out as just "PUR". So does the following uses.
\end{document}
이 코드를 실행하지 않았으므로 여기에도 문제가 있는지 알 수 없습니다. 물론 프로젝트에 사용된 다른 패키지도 많이 있지만 간략하게 설명하기 위해 이러한 패키지는 포함하지 않았습니다. 제가 라텍스를 처음 접했고(이것은 라텍스를 사용하는 첫 번째 프로젝트입니다) 다른 패키지나 Overleaf의 기본 코드를 많이 이해하지 못한다는 점을 언급할 가치가 있습니다.
답변1
나는 그것을 알아. 단순한 실수였습니다. 두 약어가 그림 텍스트에 사용되었습니다. 그림 본문 자체가 약어를 처음 사용한 것은 아니었지만, 보고서 시작 부분의 그림 표에 약어를 나열한 것은 그랬습니다. 그림 목록에 표시되는 텍스트와 그림 텍스트를 분리하기만 하면 되었습니다.
이것으로부터:
\caption{A picture of \gls{PUR} insulation.}
이에:
\caption[A picture of PUR insulation.]{A picture of \gls{PUR} insulation.}