Hi 杨朝晖,
Am Freitag, 28. Oktober 2005 17:17 schrieb 杨朝晖:
> When writing an article in tex source, in the author block I would
> format the code this way:
> \author {
> Author1\\
> Institute1
> \and
> Author2\\
> Institute2
> }
> But in lyx I can't add linebreak (\\) before or after the \and command.
> That leads to latex compile error. Nor can I hit <Enter>, that will cut
> the author environment into segments (multiple author block in tex). So,
> It have to be like this in lyx (horizontally centered):
> Author\\
> Institute1 \and Author2\\
> Institute2
> This looks ugly. And I think it is against "WYSIWYM".
>
> Generally, is there a way in lyx that I can visually break text into
> lines without using linebreak(\\) and without terminating the current
> environment (by hit <Enter>)?
Did you try <Strg>-<Enter> in Lyx? It gives you an newline within the
current
paragraph.
second way: Did you try to put
> \author {
> Author1\\
> Institute1
> \and
> Author2\\
> Institute2
> }
in TeX-code inside Lyx by marking the text an hitting <Strg>-<L>? Doing this
LaTeX will read that portion of text as pure LaTeX-code.
Micha-E.