LOF, LOT, LOA에 대해 동일한 들여쓰기

LOF, LOT, LOA에 대해 동일한 들여쓰기

나는 약어의 들여쓰기가 테이블 참조의 들여쓰기와 동일하도록 동일한 방식으로 표 목록과 약어 목록의 형식을 지정하려고 합니다. 그러나 long과 같은 다른 용어집 스타일을 사용해도 운이 좋지 않았습니다.

\documentclass{article}

\usepackage{longtable,array}

\usepackage[acronym,nonumberlist,nomain,nopostdot]{glossaries}
\include{glossary}
%\setglossarystyle{long}
\makeglossaries
\newacronym{SNA}{SNA}{some nice acronym}

\begin{document}
\printglossary[title={List of Abbreviations},type=\acronymtype]
\listoftables 

\begin{longtable}{|l|}
    \hline
    ... \\ \hline
    \caption{Some nice table}
    \label{tbl:table1}
\end{longtable}
\end{document}

예.

어떤 아이디어가 있나요?

미리 감사드립니다!

답변1

tocloft및 which를 사용하면 항목 \setlength{cfttabindent}{0em}의 들여쓰기가 로 줄어들 므로 들여쓰기가 전혀 없습니다.table0em

\documentclass{article}

\usepackage{longtable,array}
\usepackage{tocloft}
\usepackage[acronym,nonumberlist,nomain,nopostdot]{glossaries}

\setlength{\cfttabindent}{0em}

%\include{glossary}
%\setglossarystyle{long}
\makeglossaries
\newacronym{SNA}{SNA}{some nice acronym}

\begin{document}
\gls{SNA}
\printglossary[title={List of Abbreviations},type=\acronymtype]
\listoftables 

\begin{longtable}{|l|}
    \hline
    ... \\ \hline
    \caption{Some nice table}
    \label{tbl:table1}
\end{longtable}
\end{document}

여기에 이미지 설명을 입력하세요

답변2

tocbasic패키지 (KOMA-Script 번들의 일부) 를 사용할 수도 있습니다 .

\documentclass{article}

\usepackage{longtable,array}

\usepackage[acronym,nonumberlist,nomain,nopostdot]{glossaries}
%\include{glossary}
%\setglossarystyle{long}
\makeglossaries
\newacronym{SNA}{SNA}{some nice acronym}

\usepackage{tocbasic}[2016/06/14]
\DeclareTOCStyleEntry[indent=0pt]{tocline}{table}

\begin{document}
\printglossary[title={List of Abbreviations},type=\acronymtype]
\listoftables 

\begin{longtable}{|l|}
    \hline
    ... \\ \hline
    \caption{Some nice table}
    \label{tbl:table1}
\end{longtable}
\end{document}

여기에 이미지 설명을 입력하세요


또는 다음과 같은 KOMA-Script 클래스를 사용하는 경우다른 질문:

\documentclass[oneside,
    listof=totoc% <- all list titles goes to TOC
]{scrbook}[2016/06/14]
\DeclareTOCStyleEntry[indent=0pt]{tocline}{table}

\usepackage[acronym,nonumberlist,nomain,nopostdot,
    toc% <- added
]{glossaries}
\makeglossaries
\newacronym{SNA}{SNA}{some nice acronym}

\usepackage{hyperref}
\begin{document}
    \tableofcontents
    \listoftables
    \printglossary[title={List of Abbreviations},type=\acronymtype]
    \chapter{Chapter One}
    \gls{SNA}
    \captionof{table}{A table caption}
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보