I am trying to skip the newline in a \eledsection but both \usepackage{titlesec} \titleformat{\section}[runin]{}{}{}{}[] and \RedeclareSectionCommand[beforeskip=-.5\baselineskip,afterskip=-1em]{section} do not work. With titlesec it won't even compile, the other solution gives me overlapping text:



enter image description here

Has anyone got any ideas how to solve that?

  • unfortunately, that is a limit of the implemtation of \eledsection. It can't deal with the particular implementation of \section. Do you really need eledsection feature, with line numbering ? – Maïeul Jan 15 at 10:14
  • I do. I actually would need to use \edtext within \eledsection* which does not work either for some reason. So maybe I have to find a workaround anyway? – mr. parchman Jan 16 at 10:45
  • a workaround could be to add negative vspace in the optional argument of \pend – Maïeul Jan 16 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.