Re: Questions about koma script

2006-02-19 Thread Rajil Saraswat
On Sunday 19 February 2006 14:06, Juergen Spitzmueller wrote:
>
> > This still leaves some space before the Author. Please look at the
> > attached lyx file.
>
> Well, you had inserted a blank there (between \hspace*{-\tabcolsep} and the
> authors name).
>
> > > Do you use babel?
> >
> > I dont but it seems the tex file which lyx generated has
> > \usepackage{babel} in it.
>
> Yes, then you need to pass the string to babel with \addto\captionsenglish
>
> See attached example.
>
> HTH,
> Jürgen

Thanks Juergen . It is working like a charm.

cheers,
Rajil


Re: Questions about koma script

2006-02-19 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
> > The problem is that the author is put into a centered tabular by koma
> > script. One hack would be to put the author (in the author environment)
> > in a minipage of 100% columnwidth, and put \hspace*{-\tabcolsep} before
> > the author's name.
>
> This still leaves some space before the Author. Please look at the attached
> lyx file.

Well, you had inserted a blank there (between \hspace*{-\tabcolsep} and the 
authors name).

> > Do you use babel?
>
> I dont but it seems the tex file which lyx generated has \usepackage{babel}
> in it.

Yes, then you need to pass the string to babel with \addto\captionsenglish

See attached example.

HTH,
Jürgen


komatest.lyx
Description: application/lyx


Re: Questions about koma script

2006-02-19 Thread Rajil Saraswat
On Sunday 19 February 2006 12:55, Juergen Spitzmueller wrote:
> Rajil Saraswat wrote:
> > Thanks for your reply. Searching the archives, I hit on this link
> > (http://marc.theaimsgroup.com/?l=lyx-users&m=113828715308692&w=2) by
> > Herbert. I have been partially successful in using this, as still the
> > author is not correctly left aligned.
>
> The problem is that the author is put into a centered tabular by koma
> script. One hack would be to put the author (in the author environment) in
> a minipage of 100% columnwidth, and put \hspace*{-\tabcolsep} before the
> author's name.

This still leaves some space before the Author. Please look at the attached 
lyx file.

>
> > > > 2. How do i rename Figure to Fig.?  Using
> > > > \renewcommand{\figurename}{Fig.}  in the preamble does not do
> > >
> > > I think you'll find that as well (or on the LyX site, maybe?)
> >
> > Unfortunately, I didnt find anything new apart from what I have here,
> > which did not work for me.
>
> Does \AtBeginDocument{\renewcommand{\figurename}{Fig.}} help?
No, didnt make any difference.
> Do you use babel?
I dont but it seems the tex file which lyx generated has \usepackage{babel} in 
it.
> Jürgen

cheers,
Rajil


komatest.lyx
Description: application/lyx


Re: Questions about koma script

2006-02-19 Thread Juergen Spitzmueller
Rajil Saraswat wrote:
> Thanks for your reply. Searching the archives, I hit on this link
> (http://marc.theaimsgroup.com/?l=lyx-users&m=113828715308692&w=2) by
> Herbert. I have been partially successful in using this, as still the
> author is not correctly left aligned.

The problem is that the author is put into a centered tabular by koma script. 
One hack would be to put the author (in the author environment) in a minipage 
of 100% columnwidth, and put \hspace*{-\tabcolsep} before the author's name.

> > > 2. How do i rename Figure to Fig.?  Using
> > > \renewcommand{\figurename}{Fig.}  in the preamble does not do
> >
> > I think you'll find that as well (or on the LyX site, maybe?)
>
> Unfortunately, I didnt find anything new apart from what I have here, which
> did not work for me.

Does \AtBeginDocument{\renewcommand{\figurename}{Fig.}} help?
Do you use babel?

Jürgen


Re: Questions about koma script

2006-02-19 Thread Rajil Saraswat
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote:
> Rajil Saraswat writes:
> >I am trying to write an article using komascript, and have some
> > questions as to its usage. It will be grateful if somebody can help
> > me. I have attached a minimal lyx file.
> >
> > 1. How do i left align Title, Authors, Address (written in
> > environment date). In short everything should be left aligned or
> > justified.
>
> I don't recall the answer, but I would swear that this same question has
> been asked twice in the last four weeks, so if you are in a hurry, take
> a look at the archives.
>
> > 2. How do i rename Figure to Fig.?  Using
> > \renewcommand{\figurename}{Fig.}  in the preamble does not do
>
> I think you'll find that as well (or on the LyX site, maybe?)
>
Forgot to mention that the lyx file I added is now generating a blank first 
page as  well. Dont know why??

cheers,
Rajil


Re: Questions about koma script

2006-02-19 Thread Rajil Saraswat
On Sunday 19 February 2006 07:32, Kevin Pfeiffer wrote:
> Rajil Saraswat writes:
> >I am trying to write an article using komascript, and have some
> > questions as to its usage. It will be grateful if somebody can help
> > me. I have attached a minimal lyx file.
> >
> > 1. How do i left align Title, Authors, Address (written in
> > environment date). In short everything should be left aligned or
> > justified.
>
> I don't recall the answer, but I would swear that this same question has
> been asked twice in the last four weeks, so if you are in a hurry, take
> a look at the archives.

Thanks for your reply. Searching the archives, I hit on this link 
(http://marc.theaimsgroup.com/?l=lyx-users&m=113828715308692&w=2) by Herbert. 
I have been partially successful in using this, as still the author is not 
correctly left aligned. 
>
> > 2. How do i rename Figure to Fig.?  Using
> > \renewcommand{\figurename}{Fig.}  in the preamble does not do
>
> I think you'll find that as well (or on the LyX site, maybe?)
Unfortunately, I didnt find anything new apart from what I have here, which 
did not work for me.
>
> -Kevin

I have another question :). How do I make the crossreference bold as well in 
the paragraph?  I have attached a new lyx file listing my attempts until now. 

cheers,
Rajil


komatest.lyx
Description: application/lyx


Re: Questions about koma script

2006-02-18 Thread Kevin Pfeiffer
Rajil Saraswat writes:
>I am trying to write an article using komascript, and have some
> questions as to its usage. It will be grateful if somebody can help
> me. I have attached a minimal lyx file.
>
> 1. How do i left align Title, Authors, Address (written in
> environment date). In short everything should be left aligned or
> justified.

I don't recall the answer, but I would swear that this same question has 
been asked twice in the last four weeks, so if you are in a hurry, take 
a look at the archives.

> 2. How do i rename Figure to Fig.?  Using
> \renewcommand{\figurename}{Fig.}  in the preamble does not do

I think you'll find that as well (or on the LyX site, maybe?)

-Kevin

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Questions about koma script

2006-02-18 Thread Rajil Saraswat
Hi,
   I am trying to write an article using komascript, and have some questions 
as to its usage. It will be grateful if somebody can help me. I have attached 
a minimal lyx file.

1. How do i left align Title, Authors, Address (written in environment date). 
In short everything should be left aligned or justified.
2. How do i rename Figure to Fig.?  Using \renewcommand{\figurename}{Fig.}  in 
the preamble does not do anything!!

cheers,
Rajil


komatest.lyx
Description: application/lyx