multiple group or teacher names (html output)

Started by math_user, August 05, 2016, 11:26:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

math_user

I use several subgroups to list different courses (that take place at the same time) that can be chosen by the students. I just append spaces to the group names. In the html output, multiple spaces are omitted automatically which is very useful for me. However one space remains. So it reads "subgroup1 , subgroup2". Therefore I would prefer "subgroup1 & subgroup2".
Would it be possible to replace ", " by " & " for the html output of multiple group names? Same thing for multiple teacher names: "teacher1 & teacher2 & ..."
This might not be of general interest - so custom version only? That would be great! Thank you very much!

Volker Dirr

the timetables will be larger if we do it that way, because character "&" is larger then character "," and you also need one space " " more. So i don't like that suggestion. I have got several activities with multiples students and teachers. Adding your suggestion will be critical to that tables, since they won't fit on a paper anymore.
Here you can see what will happen if you do your suggestion:
"t1, t2, t3"
"t1 & t2 & t3"

So i don't like that suggestion. maybe as on optional idea it might be added.

math_user

Thanks for your answer, Volker!

I just found a solution that works well for me: I put the spaces at the beginning of the name (not at the end).
No changes needed!  :)