Re: LyX & article style?

2018-04-07 Thread John Kane
What was the error message?

The manual for sectsty seems to suggest that it may depend on what other
packages you have loaded and the sequence in which you load them.

On 6 April 2018 at 16:07, Bernt Lie <bernt@usn.no> wrote:

> Font scaling… I found a suggestion on scaling, and inserted:
>
>
>
> \usepackage{scalefnt}
>
> \scalefont{2}
>
>
>
> In the preamble. Didn’t change anything. The discussion said that this
> should only change the body font size, and not the section headings. To
> scale section headings, the suggestion was to add package sectsty, and the
> set the scaling for each section heading. I got an error message when I did
> \usepackage{sectsty}.
>
>
>
> -B
>
>
>
> *From:* lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> *On Behalf Of *Paul
> A. Rubin
> *Sent:* Friday, April 6, 2018 21:43
> *To:* lyx-users@lists.lyx.org
> *Subject:* Re: LyX & article style?
>
>
>
> On 04/06/2018 01:11 PM, Bernt Lie wrote:
>
> A couple of more tweaks I need to do…
>
>
>
>1. Is there an easy way to suppress page numbering?
>2. I have changed font family to Times Roman. Is it possible to use
>odd body font sizes? The template I’m trying to emulate uses 10.5 pt font…
>☹
>3. Is it possible to specify the Times Roman font also for the
>document **title**? (The title looks as if it uses computer modern, or
>something… but I may be wrong.)
>4. Can I remove the extra space that is above the title? (There *
>*seems** to be extra space…)
>
>
>
> -B
>
>
>
>
>1. Several. Google "latex eliminate page numbers" for a selection.
>2. This is tied to the font you are using. Google "latex scale font"
>for explanations and solutions.
>3. If the rest of the document is Times Roman, I think the title will
>also be. You can always check the LaTeX source code by clicking View > Code
>Preview Pane. If you do not see some other font package being loaded, nor
>any unusual LaTeX commands surrounding the title text, it should be Times
>Roman.
>4. I don't think there is very much vertical space added above the
>title. Viewing the PDF for a test document with the first two pages side by
>side, I can barely see the difference (one to two lines of text?). That
>said, if you really want to move the title up, google "latex reduce space
>above title".
>
> Paul
>



-- 
John Kane
Kingston ON Canada


Re: LyX & article style?

2018-04-07 Thread Dr Eberhard Lisse
Without a shadow of a doubt

KOMA-Script Article


and from reading the whole thread, of course

RTFM

el

On 2018-04-06 13:37 , Bernt Lie wrote:
> In LyX 2, what is the template that is closest to LaTeX Article style?
> 
>  
> 
> BR,
> 
> Bernt Lie
> 


RE: LyX & article style?

2018-04-06 Thread Bernt Lie
Font scaling… I found a suggestion on scaling, and inserted:

\usepackage{scalefnt}
\scalefont{2}

In the preamble. Didn’t change anything. The discussion said that this should 
only change the body font size, and not the section headings. To scale section 
headings, the suggestion was to add package sectsty, and the set the scaling 
for each section heading. I got an error message when I did 
\usepackage{sectsty}.

-B

From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of Paul A. 
Rubin
Sent: Friday, April 6, 2018 21:43
To: lyx-users@lists.lyx.org
Subject: Re: LyX & article style?

On 04/06/2018 01:11 PM, Bernt Lie wrote:
A couple of more tweaks I need to do…


  1.  Is there an easy way to suppress page numbering?
  2.  I have changed font family to Times Roman. Is it possible to use odd body 
font sizes? The template I’m trying to emulate uses 10.5 pt font… ☹
  3.  Is it possible to specify the Times Roman font also for the document 
*title*? (The title looks as if it uses computer modern, or something… but I 
may be wrong.)
  4.  Can I remove the extra space that is above the title? (There *seems* to 
be extra space…)

-B


  1.  Several. Google "latex eliminate page numbers" for a selection.
  2.  This is tied to the font you are using. Google "latex scale font" for 
explanations and solutions.
  3.  If the rest of the document is Times Roman, I think the title will also 
be. You can always check the LaTeX source code by clicking View > Code Preview 
Pane. If you do not see some other font package being loaded, nor any unusual 
LaTeX commands surrounding the title text, it should be Times Roman.
  4.  I don't think there is very much vertical space added above the title. 
Viewing the PDF for a test document with the first two pages side by side, I 
can barely see the difference (one to two lines of text?). That said, if you 
really want to move the title up, google "latex reduce space above title".

Paul


RE: LyX & article style?

2018-04-06 Thread Bernt Lie
Thanks Paul. I have now gobbled the page numbering.

I’ll check the others suggestions, too.

-Bernt

From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of Paul A. 
Rubin
Sent: Friday, April 6, 2018 21:43
To: lyx-users@lists.lyx.org
Subject: Re: LyX & article style?

On 04/06/2018 01:11 PM, Bernt Lie wrote:
A couple of more tweaks I need to do…


  1.  Is there an easy way to suppress page numbering?
  2.  I have changed font family to Times Roman. Is it possible to use odd body 
font sizes? The template I’m trying to emulate uses 10.5 pt font… ☹
  3.  Is it possible to specify the Times Roman font also for the document 
*title*? (The title looks as if it uses computer modern, or something… but I 
may be wrong.)
  4.  Can I remove the extra space that is above the title? (There *seems* to 
be extra space…)

-B


  1.  Several. Google "latex eliminate page numbers" for a selection.
  2.  This is tied to the font you are using. Google "latex scale font" for 
explanations and solutions.
  3.  If the rest of the document is Times Roman, I think the title will also 
be. You can always check the LaTeX source code by clicking View > Code Preview 
Pane. If you do not see some other font package being loaded, nor any unusual 
LaTeX commands surrounding the title text, it should be Times Roman.
  4.  I don't think there is very much vertical space added above the title. 
Viewing the PDF for a test document with the first two pages side by side, I 
can barely see the difference (one to two lines of text?). That said, if you 
really want to move the title up, google "latex reduce space above title".

Paul


Re: LyX & article style?

2018-04-06 Thread Paul A. Rubin

On 04/06/2018 03:38 PM, Bernt Lie wrote:


Suppressing page number in LyX Article style…

  * I have tried to insert \pagestyle{empty} in the preamble, or
  * Set Document\Settings…\Page Layout\Page style to **empty**

Both of these give the same effect: page number is kept on the first 
page, and removed from all subsequent pages.


Question: **why** doesn’t this command remove the first page number?


I'm no TeXpert, but I think some if not all document classes treat the 
first page as a special case. In any event, try \pagenumbering{gobble} 
in the document preamble.


Paul




Re: LyX & article style?

2018-04-06 Thread Paul A. Rubin

On 04/06/2018 01:11 PM, Bernt Lie wrote:


A couple of more tweaks I need to do…

 1. Is there an easy way to suppress page numbering?
 2. I have changed font family to Times Roman. Is it possible to use
odd body font sizes? The template I’m trying to emulate uses 10.5
pt font… ☹
 3. Is it possible to specify the Times Roman font also for the
document **title**? (The title looks as if it uses computer
modern, or something… but I may be wrong.)
 4. Can I remove the extra space that is above the title? (There
**seems** to be extra space…)

-B



1. Several. Google "latex eliminate page numbers" for a selection.
2. This is tied to the font you are using. Google "latex scale font"
   for explanations and solutions.
3. If the rest of the document is Times Roman, I think the title will
   also be. You can always check the LaTeX source code by clicking View
> Code Preview Pane. If you do not see some other font package
   being loaded, nor any unusual LaTeX commands surrounding the title
   text, it should be Times Roman.
4. I don't think there is very much vertical space added above the
   title. Viewing the PDF for a test document with the first two pages
   side by side, I can barely see the difference (one to two lines of
   text?). That said, if you really want to move the title up, google
   "latex reduce space above title".

Paul



RE: LyX & article style?

2018-04-06 Thread Bernt Lie
Suppressing page number in LyX Article style…


  *   I have tried to insert \pagestyle{empty} in the preamble, or
  *   Set Document\Settings…\Page Layout\Page style to *empty*

Both of these give the same effect: page number is kept on the first page, and 
removed from all subsequent pages.

Question: *why* doesn’t this command remove the first page number?

-B

From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of Bernt Lie
Sent: Friday, April 6, 2018 19:11
To: lyx-users@lists.lyx.org
Subject: RE: LyX & article style?

A couple of more tweaks I need to do…


  1.  Is there an easy way to suppress page numbering?
  2.  I have changed font family to Times Roman. Is it possible to use odd body 
font sizes? The template I’m trying to emulate uses 10.5 pt font… ☹
  3.  Is it possible to specify the Times Roman font also for the document 
*title*? (The title looks as if it uses computer modern, or something… but I 
may be wrong.)
  4.  Can I remove the extra space that is above the title? (There *seems* to 
be extra space…)

-B

From: Paul A. Rubin <parubi...@gmail.com<mailto:parubi...@gmail.com>>
Sent: Friday, April 6, 2018 16:20
To: Bernt Lie <bernt@usn.no<mailto:bernt@usn.no>>; 
lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: LyX & article style?

On 04/06/2018 09:58 AM, Bernt Lie wrote:
... both the Address and the Abstract with keywords appear in a first column of 
the two column document. Thus, it appears to not be interpreted as part of the 
heading section/front matter.

-B

This is presumably the inherent design of the article class. If it's not what 
you want, you might consider a different class.

You can "hack" the address, at least, as follows. After typing the author name, 
use Ctrl+Enter or Insert > Formatting > Ragged Line Break to create a second 
author line. Type the address there and, if you wish, select it and use the 
font formatting option to change its size. That should keep the address with 
the author in two column format.

You could probably do something similar for the abstract, but by this point you 
are likely better off with a different document class.

Paul


RE: LyX & article style?

2018-04-06 Thread Bernt Lie
A couple of more tweaks I need to do…


  1.  Is there an easy way to suppress page numbering?
  2.  I have changed font family to Times Roman. Is it possible to use odd body 
font sizes? The template I’m trying to emulate uses 10.5 pt font… ☹
  3.  Is it possible to specify the Times Roman font also for the document 
*title*? (The title looks as if it uses computer modern, or something… but I 
may be wrong.)
  4.  Can I remove the extra space that is above the title? (There *seems* to 
be extra space…)

-B

From: Paul A. Rubin <parubi...@gmail.com>
Sent: Friday, April 6, 2018 16:20
To: Bernt Lie <bernt@usn.no>; lyx-users@lists.lyx.org
Subject: Re: LyX & article style?

On 04/06/2018 09:58 AM, Bernt Lie wrote:
... both the Address and the Abstract with keywords appear in a first column of 
the two column document. Thus, it appears to not be interpreted as part of the 
heading section/front matter.

-B

This is presumably the inherent design of the article class. If it's not what 
you want, you might consider a different class.

You can "hack" the address, at least, as follows. After typing the author name, 
use Ctrl+Enter or Insert > Formatting > Ragged Line Break to create a second 
author line. Type the address there and, if you wish, select it and use the 
font formatting option to change its size. That should keep the address with 
the author in two column format.

You could probably do something similar for the abstract, but by this point you 
are likely better off with a different document class.

Paul


RE: LyX & article style?

2018-04-06 Thread Bernt Lie
Thanks, Paul. That worked (for the address). I tried Shift+Enter, but the trick 
was Ctrl+Enter...
-B

From: Paul A. Rubin <parubi...@gmail.com>
Sent: fredag 6. april 2018 16.20
To: Bernt Lie <bernt@usn.no>; lyx-users@lists.lyx.org
Subject: Re: LyX & article style?

On 04/06/2018 09:58 AM, Bernt Lie wrote:
... both the Address and the Abstract with keywords appear in a first column of 
the two column document. Thus, it appears to not be interpreted as part of the 
heading section/front matter.

-B

This is presumably the inherent design of the article class. If it's not what 
you want, you might consider a different class.

You can "hack" the address, at least, as follows. After typing the author name, 
use Ctrl+Enter or Insert > Formatting > Ragged Line Break to create a second 
author line. Type the address there and, if you wish, select it and use the 
font formatting option to change its size. That should keep the address with 
the author in two column format.

You could probably do something similar for the abstract, but by this point you 
are likely better off with a different document class.

Paul


Re: LyX & article style?

2018-04-06 Thread Paul A. Rubin

On 04/06/2018 09:58 AM, Bernt Lie wrote:


... both the Address and the Abstract with keywords appear in a first 
column of the two column document. Thus, it appears to not be 
interpreted as part of the heading section/front matter.


-B


This is presumably the inherent design of the article class. If it's not 
what you want, you might consider a different class.


You can "hack" the address, at least, as follows. After typing the 
author name, use Ctrl+Enter or Insert > Formatting > Ragged Line Break 
to create a second author line. Type the address there and, if you wish, 
select it and use the font formatting option to change its size. That 
should keep the address with the author in two column format.


You could probably do something similar for the abstract, but by this 
point you are likely better off with a different document class.


Paul



RE: LyX & article style?

2018-04-06 Thread Bernt Lie
... both the Address and the Abstract with keywords appear in a first column of 
the two column document. Thus, it appears to not be interpreted as part of the 
heading section/front matter.

-B

From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of Bernt Lie
Sent: fredag 6. april 2018 15.54
To: parubi...@gmail.com; lyx-users@lists.lyx.org
Subject: RE: LyX & article style?

Probably, but it looks like a standard paragraph (body font), and it appears in 
the first column (of 2 column document), not as part of the heading section 
with title, etc.

-B

From: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org> 
<lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>> On Behalf Of Paul A. 
Rubin
Sent: fredag 6. april 2018 15.47
To: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: LyX & article style?

On 04/06/2018 09:08 AM, Bernt Lie wrote:
Great. What about Address field?

-Bernt

You can center it the same way you center any other paragraph (Edit > Paragraph 
settings ... or equivalent tool bar button), can't you?

Paul


RE: LyX & article style?

2018-04-06 Thread Bernt Lie
Probably, but it looks like a standard paragraph (body font), and it appears in 
the first column (of 2 column document), not as part of the heading section 
with title, etc.

-B

From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of Paul A. 
Rubin
Sent: fredag 6. april 2018 15.47
To: lyx-users@lists.lyx.org
Subject: Re: LyX & article style?

On 04/06/2018 09:08 AM, Bernt Lie wrote:
Great. What about Address field?

-Bernt

You can center it the same way you center any other paragraph (Edit > Paragraph 
settings ... or equivalent tool bar button), can't you?

Paul


Re: LyX & article style?

2018-04-06 Thread Paul A. Rubin

On 04/06/2018 09:08 AM, Bernt Lie wrote:


Great. What about Address field?

-Bernt


You can center it the same way you center any other paragraph (Edit > 
Paragraph settings ... or equivalent tool bar button), can't you?


Paul


RE: LyX & article style?

2018-04-06 Thread Bernt Lie
Great. What about Address field?

-Bernt

From: lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> On Behalf Of José 
Abílio Matos
Sent: fredag 6. april 2018 15.04
To: lyx-users@lists.lyx.org
Subject: Re: LyX & article style?


On Friday, 6 April 2018 13.57.47 WEST Anders Ekberg wrote:

> \date{} in the LaTeX Preamble (Document > Settings)



Or equivalently there is a check box on Document->Settings->Document class

that says:

Suppress default date on front page



--

José Abílio


Re: LyX & article style?

2018-04-06 Thread José Abílio Matos
On Friday, 6 April 2018 13.57.47 WEST Anders Ekberg wrote:
> \date{} in the LaTeX Preamble (Document > Settings)

Or equivalently there is a check box on Document->Settings-
>Document class
that says:
Suppress default date on front page

-- 
José Abílio


Re: LyX & article style?

2018-04-06 Thread Anders Ekberg

> On 6 Apr 2018, at 14:48, Bernt Lie  wrote:
> 
>  How can I suppress the date?

\date{} in the LaTeX Preamble (Document > Settings)

RE: LyX & article style?

2018-04-06 Thread Bernt Lie
Thanks to John K suggesting Article (Standard Class).

Checking it, I see that I had chosen Article (Standard Class with Extra Font 
Sizes)…

I guess I’m getting confused because the author Address doesn’t work properly 
when I preview the document… the text I put directly below “Author” and marks 
as “Address” does not appear together with the author list. An example… in LyX, 
Title, Author, and Address looks as follows:

[cid:image003.jpg@01D3CDB6.4240A0B0]

When typeset, this is what it looks like:
[cid:image004.jpg@01D3CDB6.4240A0B0]


1.   Why doesn’t the address appear center justified just below the author?

2.   Why doesn’t the date appear below the address?

3.   How can I suppress the date? How can I suppress page numbering?


Any suggestions are welcome.

-B

From: lyx-users@lists.lyx.org  On Behalf Of Bernt Lie
Sent: fredag 6. april 2018 13.37
To: lyx-users@lists.lyx.org
Subject: LyX & article style?

In LyX 2, what is the template that is closest to LaTeX Article style?

BR,
Bernt Lie