Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Christopher Dimech
Have done some more tests and the \par problem extends also to multiline titles for @chapter, @section, @subsection, and @subsubsec. For users, using @ at the end of each line is acceptable. It also gets the correct title alignments. Using DEL character is not a good strategy for users. @chapte

Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Gavin Smith
On Sat, Oct 3, 2020 at 2:32 PM Christopher Dimech wrote: > > > With the following code it worked > > @uSubSec{@value{SecLb}, Probabilistic Characterisation of@ > Microseismicity} Yes, that would look like it would work, as there is a single letter control sequence "@NL" where NL is a newline char

Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Gavin Smith
On Sat, Oct 3, 2020 at 3:28 PM Christopher Dimech wrote: > > I have now tried > > @uSubSec{@value{SecLb}, Probabilistic Characterisation of^? > Microseismicity} > > But this is giving me the following output in my pdf file. > As seen, the ^? is being printed It is not the two characters "^?"; it

Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Christopher Dimech
I have now tried @uSubSec{@value{SecLb}, Probabilistic Characterisation of^? Microseismicity} But this is giving me the following output in my pdf file. As seen, the ^? is being printed B Probabilistic Characterisation of^? Microseismicity And the Table of Contents is showing B Probabilistic C

Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Christopher Dimech
I have also implemented the following macro @macro InlRmk{a} @ifset Margi @b{\a\} @end ifset @end macro And I was able to call the macro with multiline information, including commas (no need to use @comma{}) and everything is being written @InlRmk{@bullet{} [1] This Work - Waveforms from Sicilia

Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Christopher Dimech
With the following code it worked @uSubSec{@value{SecLb}, Probabilistic Characterisation of@ Microseismicity} But you are saying that it code breaks using a macro inside an environment like @example. However, relating to sections and subsections, @uSubSec won't be called in side an example. C

Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Gavin Smith
I'm going to try putting an example with a DEL character in an email to see if it gets through: @uSubSec{@value{SecLb}, Probabilistic Characterisation of Microseismicity}

Re: Macro introduces \par in Table of Contents

2020-10-03 Thread Gavin Smith
On Sat, Oct 3, 2020 at 9:20 AM Christopher Dimech wrote: > > > I have written the macro uSubSec > > However I have found that a \par is introduced in the Table of Contents > when the title continues on the next line. How can this problem be solved? > > Example: > > @uSubSec{@value{SecLb}, Probabil

Macro introduces \par in Table of Contents

2020-10-03 Thread Christopher Dimech
I have written the macro uSubSec However I have found that a \par is introduced in the Table of Contents when the title continues on the next line. How can this problem be solved? Example: @uSubSec{@value{SecLb}, Probabilistic Characterisation of Microseismicity} @macro uSubSec{label, titl}