Am 05.09.2020 um 03:35 schrieb jbf
: (1) the author's names lined up vertically throughout the ToC, and
That would require to typeset the ToC as a table/tabulate; I remember that was hard to do, and I can’t remember in which product I used it, so I can’t look it up. Maybe an \inframed of your desired width would be a solution? e.g. \inframed[width=5cm,frame=off,style=boldface,align=flushleft]{#1}% \hskip 1cm% \inframed[width=5cm,frame=off,align=flushleft]{\structurelistuservariable{author}} (Untested)
(2) the first part of the entry (e.g. Foreword) to be bold, but the author name to be regular text.
If you need different styles within your textcommand (\TitleTocEntry), just set them there, i.e. \bold{#1} or {\bf #1}. Or as options of \inframed, as above. Hraban