New answers tagged

2

What's happening here is that the macro gets expanded when its contents are written to the .idx file you get an entry of \indexentry{$\mathcal B\!\leftarrow\!\mathcal A$} (There are other issues with how you've defined things. Try doing \BasisChange{A}{\mathcal B} for example.) The exclamation marks get interpretted as being subitems. I think that just ...


2

It's not too hard with acro instead of acronym (if you don't mind switching packages): \documentclass[12pt,a4paper]{scrreport} \usepackage[T1]{fontenc} \usepackage{acro} \usepackage{csquotes} \usepackage{imakeidx} \makeindex[columns=2,name=personenregister,title=Index of Persons] \acsetup{ use-id-as-short , format/long = \itshape , index/use = true ,...


2

In a way it makes sense that \citeyearpar does not send anything off to the index: It only prints the year (the command does not even take extradate into account: try \citeyearpar{knuth:ct:b} and \citeyearpar{knuth:ct:c} from biblatex-examples.bib and compare that with \autocite{knuth:ct:b} and \autocite{knuth:ct:c}) and years are not indexed by biblatex. ...


0

I am not sure this is going to reply to your question but you can use the package \usepackage{imakeidx} and \makeindex before your doc. For every word you wish to include, you would have to use the command \index{}after and finally \printindex at the end of your doc So, in practice \documentclass{article} \usepackage{imakeidx} %package \...


0

With a more MWE… \documentclass{scrbook} \usepackage{makeidx} \usepackage[columns=2,itemlayout=abshang,initsep=1.8em plus 0.2em minus 0.2em]{idxlayout} \makeindex \begin{filecontents}{\jobname.mst} delim_0 " $\\cdot$ " delim_1 " $\\cdot$ " delim_2 " $\\cdot$ " delim_n ", " \end{filecontents} \begin{document} ...


2

It is a bug in gloss-french.ldf, which has \def\seename{\emph{voir}}% \def\alsoname{\emph{voir aussi}}% in the code for \captionsfrench. The \emph should be removed, because it is already in the standard definition of \see. What happens is that \see{word-A}{1} in the .ind file becomes, according to the standard definition of \see, \emph{\seename} word-A ...


0

If the \documentclass is a standard class you can switch to a counterpart KOMA-Script class. These classes prevent splitting of entries in lists like the table of contents automatically. The document classes article, report, and book can be replaced by scrartcl, scrreprt, and scrbook, respectively. (Because KOMA-Script uses styles for the headings that ...


3

You can redefine \@idxitem (which \item is let equal to inside theindex) to do some bookkeeping, namely to reset a counter that each subsequent \subitem would decrease. Also \subitem adds a penalty when the value of the counter is positive, so a page/column break is prohibited. \documentclass{scrartcl} \usepackage{imakeidx} \usepackage[indentunit=15pt,...


0

Ok, here's a LaTeX solution. Unfortunately, the idxlayout package doesn't offer a lot of hooks to make this kind of modifications, so my changes are somewhat invasive and will break if you use different layout options. If you run into problems, the following could be made a bit more generic. You should put this code into the preamble, for instance after ...


2

I'm not sure what's happening here because your call to \index doesn't resemble the standard LaTeX \index command. I'm assuming you meant to write \index{\textsc{prog}} rather than \index{subject}{\textsc{prog}} so I'm going to proceed as if I'm correct. To specify a sort key which is different than the printed index entry, you can do this with @ in the ...


Top 50 recent answers are included