Re: erratic spacing between tables and figures

2014-06-04 Thread Jürgen Spitzmüller
2014-06-04 23:54 GMT+02:00 Steve Burnham:

> I have one last (hopefully) formatting issue to resolve with my thesis
> before I can turn it back into the reviewers.  I am attempting to place
> each table and figure on their own separate page.  The problem is I try
> going to insert>formatting>new page and also page break in between the two
> figures or tables but LyX seems to just ignore the command  and still
> formats the two figures on the same page.  I have also tried going the ERT
> route by adding both \pagebreak and \newpage but LyX also seems to ignore
> those commands as well. What am I doing wrong?  I have a link for a zip
> file with a minimal example that includes the needed class file as well.
>

Does this help?
http://tex.stackexchange.com/questions/22191/forcing-a-figure-strictly-on-a-separate-page

Jürgen


Re: Thesis formatting

2014-06-04 Thread Steve Burnham
On June 4, 2014 at 15:32:27 PM, Benedict Holland (benedict.m.holl...@gmail.com) 
wrote:
Would you be willing to do this in ERT? I find that the first page, cover page, 
etc. are notoriously difficult to get correctly specified in Lyx. The ERT would 
be someting like
http://tex.stackexchange.com/questions/819/double-line-spacing

Also, it might be linebreak but I think it should be newline. Honestly, I find 
that if I have to edit or modify class files and the like, I just find a 
library to do it for me and write it up in latex. It seems to be much easier 
that way. 

\usepackage{setspace}
\begin{centering}
\doublespacing

Masters of Science \newline
in \newline
Nuclear Engineering \newline

\end{centering}

~Ben




I have no problem going the ERT route, especially since it is scattered all 
throughout my document.  Implementing this looks like it works though.  Hard to 
know exactly if the spacing is correct until I print it out and measure it like 
the thesis editors but all appears correct.

-Steve

erratic spacing between tables and figures

2014-06-04 Thread Steve Burnham
I have one last (hopefully) formatting issue to resolve with my thesis before I 
can turn it back into the reviewers.  I am attempting to place each table and 
figure on their own separate page.  The problem is I try going to 
insert>formatting>new page and also page break in between the two figures or 
tables but LyX seems to just ignore the command  and still formats the two 
figures on the same page.  I have also tried going the ERT route by adding both 
\pagebreak and \newpage but LyX also seems to ignore those commands as well. 
What am I doing wrong?  I have a link for a zip file with a minimal example 
that includes the needed class file as well.

https://docs.google.com/uc?id=0B4Kdj1kZwg6GdXRmSXFiOWVIcWc&export=download
 
-- 
Steve Burnham


Re: Thesis formatting

2014-06-04 Thread Benedict Holland
Would you be willing to do this in ERT? I find that the first page, cover
page, etc. are notoriously difficult to get correctly specified in Lyx. The
ERT would be someting like
http://tex.stackexchange.com/questions/819/double-line-spacing

Also, it might be linebreak but I think it should be newline. Honestly, I
find that if I have to edit or modify class files and the like, I just find
a library to do it for me and write it up in latex. It seems to be much
easier that way.

\usepackage{setspace}
\begin{centering}
\doublespacing

Masters of Science \newline
in \newline
Nuclear Engineering \newline

\end{centering}

~Ben


On Wed, Jun 4, 2014 at 3:04 PM, Steve Burnham  wrote:

> On June 4, 2014 at 12:50:48 PM, PhilipPirrip (p...@net.hr) wrote:
>
> It's hard to guess what you're supposed to have without knowing anything
> about your latex class.
> What's obvious from the excerpt you've given is that \@degree is meant
> to be an internal command of the class (because of the @). There must be
> some part of the class file that fills the \@degree command with user's
> data.
>
> Where can we find the class file?
>
>
>
> I’m attaching the class file.  Starting at line 1351 is where I made my
> modifications.  I guess I don’t fully understand how to use the @ command.
>  It sounds like I have to define it first earlier in the class file before
> I can add it to my preamble to be defined?
>
> -Steve
>


Re: Thesis formatting

2014-06-04 Thread PhilipPirrip
It's hard to guess what you're supposed to have without knowing anything 
about your latex class.
What's obvious from the excerpt you've given is that \@degree is meant 
to be an internal command of the class (because of the @). There must be 
some part of the class file that fills the \@degree command with user's 
data.


Where can we find the class file?




Re: Thesis formatting

2014-06-04 Thread Steve Burnham


On June 3, 2014 at 17:26:57 PM, PhilipPirrip (p...@net.hr) wrote:

Use  
Insert > Formatting > Vertical space instead of just adding empty lines.  
Then, VFill is a stretchable vertical space that could help you keep the  
things on one page.  


This would work if the cover page was actually written in LyX but instead it is 
defined in the class file.  I specify the degree type in the preamble .  I 
manage to remove the blank page being created but the way the degree is defined 
in the class I am not sure how to break it up.

      {
        \vss
        A \@thesistype ~submitted to the faculty of\\ 
        The University of Utah\\ 
        in partial fulfillment of the requirements for the degree of
        \vss
      }
      \@degree \\

You can see the \@degree\\ simply takes what is written in the preamble and 
pastes in there as one line rather than “Master of Science” double space “In” 
double space “Nuclear Engineering”  I managed to get it formatted properly by 
adding the following in the class file after \@degree \\

 \@degree \\
  \mbox{} \\
  in \\
  \mbox{} \\
  Nuclear Engineering \\
  \mbox{} \\

I would like to make this a little more robust and allow for others to use the 
class file without having to edit it as much as I have.  In the preamble I 
specify the degree by entering after the \degree{} entry so I tried to add 
something like \degreein{} where someone can enter the information and replaced 
“Nuclear Engineering” in the class file with \@degreein but I get compile 
errors.  Is there a better way to go about this?

-Steve











Re: very strange problem with microtype

2014-06-04 Thread Neal Becker
Well that would be IEEE.bst then


On Wed, Jun 4, 2014 at 7:42 AM, Jürgen Spitzmüller  wrote:

> 2014-06-04 13:06 GMT+02:00 Neal Becker:
>
>>  By TeX font style switches, you mean the {\em ...}?
>>
>
> Yes.
>
>
>> This was produced automatically from bibtex.  The paragraph that produced
>> the
>> problem was from the bibliography, this was the .bbl file
>>
>
> OK, then the bst file is to blame.
>
> Jürgen
>
>
>


Re: very strange problem with microtype

2014-06-04 Thread Jürgen Spitzmüller
2014-06-04 13:06 GMT+02:00 Neal Becker:

> By TeX font style switches, you mean the {\em ...}?
>

Yes.


> This was produced automatically from bibtex.  The paragraph that produced
> the
> problem was from the bibliography, this was the .bbl file
>

OK, then the bst file is to blame.

Jürgen


Re: very strange problem with microtype

2014-06-04 Thread Neal Becker
Jürgen Spitzmüller wrote:

> 2014-06-04 3:53 GMT+02:00 Richard Heck:
> 
>>  On 06/03/2014 03:48 PM, Neal Becker wrote:
>>
>> But without microtype it hyphenates correctly
>>
>>
>> Yes, I understand. But microtype modifies all kinds of things.
>>
> 
> Also, the use of TeX font style switches is strongly discouraged in
> LaTeX2e. I recommend to read "An essential guide to LaTeX2e usage. Obsolete
> commands and packages" (sec. 2.1 in this case):
> http://mirrors.ctan.org/info/l2tabu/english/l2tabuen.pdf
> 
> Jürgen

By TeX font style switches, you mean the {\em ...}?

This was produced automatically from bibtex.  The paragraph that produced the 
problem was from the bibliography, this was the .bbl file



Re: very strange problem with microtype

2014-06-04 Thread Jürgen Spitzmüller
2014-06-04 3:53 GMT+02:00 Richard Heck:

>  On 06/03/2014 03:48 PM, Neal Becker wrote:
>
> But without microtype it hyphenates correctly
>
>
> Yes, I understand. But microtype modifies all kinds of things.
>

Also, the use of TeX font style switches is strongly discouraged in
LaTeX2e. I recommend to read "An essential guide to LaTeX2e usage. Obsolete
commands and packages" (sec. 2.1 in this case):
http://mirrors.ctan.org/info/l2tabu/english/l2tabuen.pdf

Jürgen


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jon Haitz Legarreta
Dear Jürgen,
thank you.

The two titles are not subsequent, they have body text in between.

Although the error yielded by LyX [1] persists, adding \maketitle in ERT
actually renders the title correctly. So the issue can be considered as
solved if the error can be considered as "normal" for this situation.

Thanks Jürgen,
JON HAITZ





[1]  Error in latexParagraphs: You should not mix title layouts with normal
ones.
..\..\src\output_latex.cpp (1112): Error in latexParagraphs: You should not
mix title layouts with normal ones.


On 4 June 2014 09:23, Jürgen Spitzmüller  wrote:

> 2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta 
> :
>
> Just to (hopefully) conclude with the issue, and even if I guess that we
>> will usually not encounter the case, the document fails to successfully
>> render two titles (the LNCS demo *.tex does have two just as an example).
>>
>> However, if the second title (with its authors and institutions) are
>> added by means with an ERT, the title is displayed and added to the TOC
>> correctly.
>>
>> I wonder whether having two tieles is a feature that is not allowed in
>> LyX, or whether it requires some deeper and more complex explanation, may
>> be linked to the LNCS template.
>>
>
> Are the two titles subsequent (without any body text)? If so, it should
> work. If they are not subsequent, adding \maketitle in ERT just below the
> second title should help.
>
> Jürgen
>
>
>
>>
>> Thanks,
>> JON HAITZ
>>
>>
>>
>>
>> On 2 June 2014 17:28, Jürgen Spitzmüller  wrote:
>>
>>> 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:
>>>
>>>  It seems to me that it may be related to the paragraph styles created
 when the import is done, such as the Running Title or the Author Running.

>>>
>>> Yes, this is certainly something where the tex2lyx converter could do
>>> better. But as soon as a lot of comments are in the source, things get
>>> nontrivial (for the importer).
>>>
>>> Jürgen
>>>
>>>
>>
>


Re: Fwd: [LYX] Trouble using the LNCS class/style

2014-06-04 Thread Jürgen Spitzmüller
2014-06-03 13:54 GMT+02:00 Jon Haitz Legarreta :

> Just to (hopefully) conclude with the issue, and even if I guess that we
> will usually not encounter the case, the document fails to successfully
> render two titles (the LNCS demo *.tex does have two just as an example).
>
> However, if the second title (with its authors and institutions) are added
> by means with an ERT, the title is displayed and added to the TOC correctly.
>
> I wonder whether having two tieles is a feature that is not allowed in
> LyX, or whether it requires some deeper and more complex explanation, may
> be linked to the LNCS template.
>

Are the two titles subsequent (without any body text)? If so, it should
work. If they are not subsequent, adding \maketitle in ERT just below the
second title should help.

Jürgen



>
> Thanks,
> JON HAITZ
>
>
>
>
> On 2 June 2014 17:28, Jürgen Spitzmüller  wrote:
>
>> 2014-06-02 17:22 GMT+02:00 Jon Haitz Legarreta:
>>
>>  It seems to me that it may be related to the paragraph styles created
>>> when the import is done, such as the Running Title or the Author Running.
>>>
>>
>> Yes, this is certainly something where the tex2lyx converter could do
>> better. But as soon as a lot of comments are in the source, things get
>> nontrivial (for the importer).
>>
>> Jürgen
>>
>>
>