[FEAT] Acronyms Custom Style #85

Open
opened 2025-05-24 10:53:32 +00:00 by nuluh · 0 comments
nuluh commented 2025-05-24 10:53:32 +00:00 (Migrated from github.com)

Problem Statement

Proposed Solution

\makeatletter
% Define a new style based on 'super'
\newglossarystyle{supercol}{%
  \setglossarystyle{super}% inherit everything from the original
  % override just the main-entry format:
  \renewcommand*{\glossentry}[2]{%
    \glsentryitem{##1}%
    \glstarget{##1}{\glossentryname{##1}}\space  % <-- added colon here
    &: \glossentrydesc{##1}\glspostdescription\space ##2\tabularnewline
  }%
  % likewise for sub‐entries, if you want a colon there too:
  \renewcommand*{\subglossentry}[3]{%
    &: 
    \glssubentryitem{##2}%
    \glstarget{##2}{\strut}\glossentryname{##2}\space % <-- and here
    \glossentrydesc{##2}\glspostdescription\space ##3\tabularnewline
  }%
}
\makeatother

Alternatives Considered

No response

Component

LaTeX Document

Priority

Critical (blocks progress)

Implementation Ideas

No response

Expected Benefits

Additional Context

No response

### Problem Statement - ### Proposed Solution ```tex \makeatletter % Define a new style based on 'super' \newglossarystyle{supercol}{% \setglossarystyle{super}% inherit everything from the original % override just the main-entry format: \renewcommand*{\glossentry}[2]{% \glsentryitem{##1}% \glstarget{##1}{\glossentryname{##1}}\space % <-- added colon here &: \glossentrydesc{##1}\glspostdescription\space ##2\tabularnewline }% % likewise for sub‐entries, if you want a colon there too: \renewcommand*{\subglossentry}[3]{% &: \glssubentryitem{##2}% \glstarget{##2}{\strut}\glossentryname{##2}\space % <-- and here \glossentrydesc{##2}\glspostdescription\space ##3\tabularnewline }% } \makeatother ``` ### Alternatives Considered _No response_ ### Component LaTeX Document ### Priority Critical (blocks progress) ### Implementation Ideas _No response_ ### Expected Benefits - ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nuluh/thesis#85