두문자어의 왼쪽 표 플러시

두문자어의 왼쪽 표 플러시

이 코드는여기에서 찾은 솔루션.

다음과 같이 테이블을 왼쪽으로 플러시하는 방법은 무엇입니까?

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

코드는 다음과 같습니다.

\documentclass{article}
\usepackage[acronym,toc]{glossaries}
\makeglossaries

\newacronym{uri}{URI}{Unique Resonance Identifier}
\newacronym{led}{LED}{light-emitting diode}
\newacronym{eeprom}{EEPROM}{electrically erasable programmable
read-only memory}

\glsaddall[types=\acronymtype]

\newglossarystyle{custom_acronyms}
{


    \setglossarystyle{long3colheader}%
    \renewcommand*{\glossaryheader}{}%
    \renewcommand{\glossentry}[2]{%
        \textbf{\glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}}}
        & \glossentrydesc{##1}
        & ##2
        \tabularnewline}%
}

\begin{document}
No acronyms here.

%\printglossaries
\printglossary[type=acronym,style=custom_acronyms]
\end{document} 

답변1

용어집은 실제로 용어집을 생성하기 위해 longtable을 사용하므로, LaTeX에 테이블의 기본 여백 설정을 원하지 않는다고 알리기만 하면 됩니다. 이것은 에 의해 수행됩니다 \setlength{\LTleft}{0pt}. 그래도 충분하지 않은 경우 다음과 같은 음수를 사용하여 테이블을 왼쪽으로 더 밀 수 있습니다.\setlength{\LTleft}{-5pt}

여기 내 MWE가 있습니다

\documentclass{article}
\usepackage[acronym,toc]{glossaries}
\makeglossaries

\newacronym{uri}{URI}{Unique Resonance Identifier}
\newacronym{led}{LED}{light-emitting diode}
\newacronym{eeprom}{EEPROM}{electrically erasable programmable
read-only memory}

\glsaddall[types=\acronymtype]

\newglossarystyle{custom_acronyms}
{


    \setglossarystyle{long3col}%
    \renewcommand*{\glossaryheader}{}%
    \renewcommand{\glossentry}[2]{%
        \textbf{\glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}}}
        & \glossentrydesc{##1}
        & ##2
        \tabularnewline}%
}

\begin{document}
Acronyms here (so that the glo file will be generated): \gls{uri}, \gls{led}, \gls{eeprom}.

%\printglossaries
\setlength\LTleft{-5pt}
\printglossary[type=acronym,style=custom_acronyms]
\end{document} 

어느 생산

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

관련 정보