右余白に項目番号がある用語集...

右余白に項目番号がある用語集...

議論に関連したいくつかの研究において1 つの用語集に対してのみエントリカウンタが true である用語集 右から左に書く言語用のパッケージを使用して、いくつかの単語とその同義語で 2 列に並べられた用語集を作成しますfmultico。用語集を印刷すると、2 つの列の左余白に番号が付けられた列が取得されますが、それを右余白にも表示したいのです。エントリ番号を左列の左余白に、右列の右余白に配置するにはどうすればよいでしょうか。

他に、番号が付いていないエントリについては、用語集のタイトルと同じ幅の列にしたいのですが、この幅を制御するにはどうすればよいでしょうか?

使用されるファイルは次のとおりです。

\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}

そして作成された用語集:

ここに画像の説明を入力してください

関連情報