Following this question about setting up a Japanese-English glossary (which will in fact be a Japanese-French one, but that doesn't change much), I need to define a new style for this glossary. For now, the altlong4col-booktabs seems to be the closest to what I'd like the result to be. However, I need to add a few changes :
- Remove the "Page List" column,
- Rename the headers,
- Make the first column ("Notation") bold,
- And invert the positions of the "Description" and "Symbol" columns.
Here is what I have for now :
\documentclass[a4paper, 12pt]{article}
\usepackage{xunicode}
\usepackage{polyglossia}
\usepackage{xeCJK}
\usepackage[automake, style=index, nonumberlist]{glossaries-extra}
\usepackage{glossary-longbooktabs}
\setmainlanguage{french}
\setCJKmainfont{AozoraMinchoRegular.ttf}
\makeglossaries
\glossarystyle{altlong4col-booktabs}
%syntax: \newterm[options]{romaji}{original}{translation}
\newcommand{\newterm}[4][]{%
\newglossaryentry{#2}{%
name={#2},% romanized version
symbol={#3},% original
description={#4},% translation
#1% extra options
}%
}
\newcommand{\glsxtrpostlinkgeneral}{%
\ifdefempty\glscustomtext
{%
\glsxtrifwasfirstuse
{%
\ifglshassymbol{\glslabel}{\space(\glsaccesssymbol{\glslabel},
«~\glsaccessdesc{\glslabel}~»)}{}%
}%
{}%
}%
{}%
}
% use \emph in the document (but not in the glossary)
\renewcommand*{\glsxtrregularfont}[1]{\emph{#1}}
\newterm{bakumatsu}{幕末}{fin du shogunat}
\begin{document}
The \gls{bakumatsu} era.
Next use: \gls{bakumatsu}.
\printglossary[title=Glossaire des termes japonais]
\end{document}
This prints the following result :
The glossary style I would like to define should look like this somehow (don't mind the font) :

How should I proceed ?


