右側空白處有條目編號的詞彙表...

右側空白處有條目編號的詞彙表...

在一些與討論相關的工作中帶有條目計數器的詞彙表僅適用於一個詞彙表 我創建了一個詞彙表,它按一些單字及其同義詞排序,分成兩列,使用包fmultico,用於從右到左的語言。當我列印詞彙表時,我獲得了兩列的左頁邊距中編號的列,但我希望它位於右頁邊距中。如何將條目編號放在左欄的左邊距,以及右欄的右邊距?

其他的事情。對於非編號條目,我希望該列的寬度與術語表標題的寬度相同。我怎麼能控制這個寬度?

這是使用的文件:

\documentclass{article}

\usepackage{fmultico} 
\usepackage{geometry}
\geometry{paperwidth=165mm, paperheight=140mm, top=5mm, bottom=5mm}
\pagestyle{empty}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  ORGANIZE ENTRIES AND GLOSSARIES OF FOOTNOTES
\usepackage[entrycounter,nomain,nonumberlist]{glossaries}
\renewcommand*{\glspostdescription}{}
%%Glossary of footnotes
\newglossary[soc]{Dico}{sox}{soo}{The title of the glossary}
\makeglossaries

\newcommand*{\entrydico}[2]
{%
    \newglossaryentry{#1}{type=Dico,name={},text={#1},sort={#1},
    description={\begin{tabular}{p{2 cm}p{2 cm}}
        \hspace*{-6pt}#1 &\hfill #2\hspace*{-6pt}\\
        \hline
                \end{tabular}}  }
}

%% The link of the \gls commands
\defglsentryfmt[Dico]{}

%% ENTRIES  
\entrydico{word1}{synonym1}
\entrydico{word2}{synonym2}
\entrydico{word3}{synonym3}
\entrydico{word4}{synonym4}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  END GLOSSARIES COMMANDS


\begin{document}
The word word1\gls{word1}

The word word2\gls{word2}

The word word3\gls{word3}

The word word4\gls{word4}


\vspace*{5mm}
\hrule
\vspace*{5mm}
\begin{multicols}{2}[]
\printglossary[type=Dico]
\end{multicols}
\vspace*{5mm}
\hrule
\vspace*{5mm}
Non-numbered entries with the option `entrycounter=false`
\begin{multicols}{2}[]
\printglossary[type=Dico,entrycounter=false]
\end{multicols}

\end{document}

並產生了術語表:

在此輸入影像描述

相關內容