
私は、表のリストと略語のリストを、頭字語のインデントが表参照のインデントと同じになるように、同じ方法でフォーマットしようとしています。しかし、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
と、エントリ\setlength{cfttabindent}{0em}
のインデントが に削減され、インデントがまったくなくなります。table
0em
\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スクリプトクラスを次のように使用している場合あなたの他の質問:
\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}