Discussion:
Line spacing in author
Rune Schjellerup Philosof
2008-06-11 09:37:59 UTC
Permalink
Hi

I'm trying to change the line spacing in the author environment (in a
report).
Lyx shows the change perfectly, but when I view it in pdf or dvi the
line spacing setting is ignored.
Even when I try to insert vertical spaces they are partly ignored.
Actually the size of first vertical space in author is used for the
second one, and no space is shown where the first one is.

Also, try making the first one a VFill and the document won't compile.

--
Rune
Bob Lounsbury
2008-06-11 14:28:30 UTC
Permalink
On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Hi
I'm trying to change the line spacing in the author environment (in a
report).
Lyx shows the change perfectly, but when I view it in pdf or dvi the line
spacing setting is ignored.
Even when I try to insert vertical spaces they are partly ignored.
Actually the size of first vertical space in author is used for the second
one, and no space is shown where the first one is.
Also, try making the first one a VFill and the document won't compile.
--
Rune
From what I found on the internet, Authors should be added with the,
\and, command with the command being put in ERT. Also, using ERT line
breaks, \\, rather than the LyX ctrl->enter seems to work better for
me. I've attached an example.

Cheers,
/Bob
Rune Schjellerup Philosof
2008-06-11 14:44:02 UTC
Permalink
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Hi
I'm trying to change the line spacing in the author environment (in a
report).
Lyx shows the change perfectly, but when I view it in pdf or dvi the line
spacing setting is ignored.
Even when I try to insert vertical spaces they are partly ignored.
Actually the size of first vertical space in author is used for the second
one, and no space is shown where the first one is.
Also, try making the first one a VFill and the document won't compile.
From what I found on the internet, Authors should be added with the,
\and, command with the command being put in ERT. Also, using ERT line
breaks, \\, rather than the LyX ctrl->enter seems to work better for
me. I've attached an example.
I did not know that about \and.
But that wasn't really what I was having trouble with.
Also in your example, the spacing between the lines of the author name,
and the university name is not double, as the paragraph has been set.

--
Rune
Bob Lounsbury
2008-06-11 15:09:05 UTC
Permalink
On Wed, Jun 11, 2008 at 8:44 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Hi
I'm trying to change the line spacing in the author environment (in a
report).
Lyx shows the change perfectly, but when I view it in pdf or dvi the line
spacing setting is ignored.
Even when I try to insert vertical spaces they are partly ignored.
Actually the size of first vertical space in author is used for the second
one, and no space is shown where the first one is.
Also, try making the first one a VFill and the document won't compile.
From what I found on the internet, Authors should be added with the,
\and, command with the command being put in ERT. Also, using ERT line
breaks, \\, rather than the LyX ctrl->enter seems to work better for
me. I've attached an example.
I did not know that about \and.
But that wasn't really what I was having trouble with.
Also in your example, the spacing between the lines of the author name, and
the university name is not double, as the paragraph has been set.
--
Rune
Ok. Then try this.

/Bob
Rune Schjellerup Philosof
2008-06-11 16:04:21 UTC
Permalink
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 8:44 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
I'm trying to change the line spacing in the author environment (in a
report).
Lyx shows the change perfectly, but when I view it in pdf or dvi the line
spacing setting is ignored.
Even when I try to insert vertical spaces they are partly ignored.
Actually the size of first vertical space in author is used for the second
one, and no space is shown where the first one is.
Also, try making the first one a VFill and the document won't compile.
From what I found on the internet, Authors should be added with the,
\and, command with the command being put in ERT. Also, using ERT line
breaks, \\, rather than the LyX ctrl->enter seems to work better for
me. I've attached an example.
I did not know that about \and.
But that wasn't really what I was having trouble with.
Also in your example, the spacing between the lines of the author name, and
the university name is not double, as the paragraph has been set.
Ok. Then try this.
Well, I forgot to tell, I actually don't want double spacing, but 1.5 or
something.
I guess I should report it as a bug.
Bob Lounsbury
2008-06-11 16:25:28 UTC
Permalink
On Wed, Jun 11, 2008 at 10:04 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 8:44 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
I'm trying to change the line spacing in the author environment (in a
report).
Lyx shows the change perfectly, but when I view it in pdf or dvi the line
spacing setting is ignored.
Even when I try to insert vertical spaces they are partly ignored.
Actually the size of first vertical space in author is used for the second
one, and no space is shown where the first one is.
Also, try making the first one a VFill and the document won't compile.
From what I found on the internet, Authors should be added with the,
\and, command with the command being put in ERT. Also, using ERT line
breaks, \\, rather than the LyX ctrl->enter seems to work better for
me. I've attached an example.
I did not know that about \and.
But that wasn't really what I was having trouble with.
Also in your example, the spacing between the lines of the author name, and
the university name is not double, as the paragraph has been set.
Ok. Then try this.
Well, I forgot to tell, I actually don't want double spacing, but 1.5 or
something.
I guess I should report it as a bug.
Ok, now you're just being picky :-}. I don't think this is a bug, what
you are trying to do is not standard LaTeX formatting within an author
environment.

Anyways, I seem to have fixed the "bug" by using ctrl->enter at the
start of the next author rather than the end of the author.

See the attached example.

Cheers,
/Bob
Rune Schjellerup Philosof
2008-06-11 18:25:07 UTC
Permalink
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 10:04 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 8:44 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 3:37 AM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
I'm trying to change the line spacing in the author environment (in a
report).
Lyx shows the change perfectly, but when I view it in pdf or dvi the line
spacing setting is ignored.
Even when I try to insert vertical spaces they are partly ignored.
Actually the size of first vertical space in author is used for the second
one, and no space is shown where the first one is.
Also, try making the first one a VFill and the document won't compile.
From what I found on the internet, Authors should be added with the,
\and, command with the command being put in ERT. Also, using ERT line
breaks, \\, rather than the LyX ctrl->enter seems to work better for
me. I've attached an example.
I did not know that about \and.
But that wasn't really what I was having trouble with.
Also in your example, the spacing between the lines of the author name, and
the university name is not double, as the paragraph has been set.
Ok. Then try this.
Well, I forgot to tell, I actually don't want double spacing, but 1.5 or
something.
I guess I should report it as a bug.
Ok, now you're just being picky :-}. I don't think this is a bug, what
you are trying to do is not standard LaTeX formatting within an author
environment.
Anyways, I seem to have fixed the "bug" by using ctrl->enter at the
start of the next author rather than the end of the author.
See the attached example.
Cheers,
/Bob
Nice, the workaround seems to work.
Anoying when LaTeX is so much worse at producing the desired result than
Lyx.
And no errormessages, even though they probably wouldn't have made much
sense, they rarely do.

--
Rune
Bob Lounsbury
2008-06-11 19:34:37 UTC
Permalink
On Wed, Jun 11, 2008 at 12:25 PM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Nice, the workaround seems to work.
Anoying when LaTeX is so much worse at producing the desired result than
Lyx.
And no errormessages, even though they probably wouldn't have made much
sense, they rarely do.
--
Rune
I'm confused? It wasn't a "workaround" and neither LaTeX nor LyX is
"annoying". Also, there were no "error messages" because it wasn't an
error, other than maybe "user error".

What we learned was the proper way of formatting the entries in LyX
and hence LaTeX. LyX is nothing more than a gui frontend for LaTeX.
Both LaTeX and LyX produce the "exact" same result.

I've attached the example using ERT LaTeX commands to produce the
exact same result as what we've done with native LyX commands, which
are nothing more than a frontend to LaTeX commands. As you can see LyX
and LaTeX output are identical.

Example:
When you insert ctrl->enter in LyX you are actually inserting "\\" in
the document. You can see this by using View->View Source that shows
you how your document is being formatted as you enter things in the
LyX "WYSIWYG" interface to LaTeX.

Hope that helps explain things. You have to insert the proper syntax
to get the proper output.

Cheers,
/Bob
Bob Lounsbury
2008-06-11 19:37:43 UTC
Permalink
Post by Bob Lounsbury
On Wed, Jun 11, 2008 at 12:25 PM, Rune Schjellerup Philosof
Post by Rune Schjellerup Philosof
Nice, the workaround seems to work.
Anoying when LaTeX is so much worse at producing the desired result than
Lyx.
And no errormessages, even though they probably wouldn't have made much
sense, they rarely do.
--
Rune
I'm confused? It wasn't a "workaround" and neither LaTeX nor LyX is
"annoying". Also, there were no "error messages" because it wasn't an
error, other than maybe "user error".
What we learned was the proper way of formatting the entries in LyX
and hence LaTeX. LyX is nothing more than a gui frontend for LaTeX.
Both LaTeX and LyX produce the "exact" same result.
I've attached the example using ERT LaTeX commands to produce the
exact same result as what we've done with native LyX commands, which
are nothing more than a frontend to LaTeX commands. As you can see LyX
and LaTeX output are identical.
When you insert ctrl->enter in LyX you are actually inserting "\\" in
the document. You can see this by using View->View Source that shows
you how your document is being formatted as you enter things in the
LyX "WYSIWYG" interface to LaTeX.
Hope that helps explain things. You have to insert the proper syntax
to get the proper output.
Cheers,
/Bob
Sorry, forgot the attachment.
Rune Schjellerup Philosof
2008-06-11 21:52:36 UTC
Permalink
I agree there are usability issues, but once you play with the program
more you get used to those and they transform from usability issues to
LaTeX formatting guidelines :-}. Then you learn how to work with those
guidelines.
Hope you keep plugging away with LyX, it really is a great program.
You misunderstood what kind of user I am.
You don't need to convince me to use LyX. I have happily used LyX for my
bachelor thesis, for various courses, and now for my masters thesis.
LyX is a great addition to the LaTeX toolkit.
However, I just think it could be better (which I'm sure 1.6 will be).
And I still see the line spacing issue as a bug (maybe just rated as a
feature request).

--
Rune

Loading...