Discussion:
letter (KOMA-Script v.2) Space between closing and signature...........
Charlie
2013-02-24 06:26:29 UTC
Permalink
I'm having a problem with the space between Closing and Signature in:

letter (KOMA-Script v.2)

using LyX version 2.0.3 Debian Wheezy.

I need more space to apply my hand written signature.

The document class doesn't honour vertical space after Closing.

It doesn't honour vertical space before Signature.

I have been googling this through Latex and LyX and nothing is either
working or making any sense when I read the text?

My preamble looks like this:

%% Load an *.lco style file (see KOMA documentation)
%%\LoadLetterOption{DIN}%

% vertical position of the address field
\@addtoplength{toaddrvpos}{1cm}
% space between ref line and letter text
\@setplength{refaftervskip}{5mm}
% position from top of page of Sender Name thanks to: Jean-Marie Pacquet
\@addtoplength{firstheadvpos}{1cm}
\@addtoplength{firstfootvpos}{-1cm}

%% THE CLASS OPTIONS
%% Remove preceeding '%' to uncomment an item
\KOMAoptions{%
%%,headsepline=false% separate the header with a line on
page >1
%,footsepline=true% separate the footer with a line on page >1
%pagenumber=botcenter% position of the page number (see docu)
%,parskip=false% Use indent instead of skip (more options cf.
docu)
,fromalign=center% alignment of the address
,fromrule=aftername% separate the address with a line?
%,fromphone=true% print sender phone number
%,fromfax=true% print sender fax number
,fromemail=true% print sender e-mail address
%%,fromurl=true% print sender URL
%,fromlogo=true% print a logo (position depends on fromalign)
%,addrfield=false% print an address field?
%,backaddress=false% print the back address?
%,subject=afteropening,titled% alternative subject layout and position
%,locfield=narrow% width of the (extra) location field
,foldmarks=false% print foldmarks?
%,numericaldate=true% date layout
%,refline=wide% layout of the refline
}

%% Customize Separators
%\setkomavar{placeseparator}{ -- }
\setkomavar{backaddressseparator}{ $\cdot$ }
%\setkomavar{emailseparator}{ --> }
%\setkomavar{enclseparator}{ > }
%\setkomavar{faxseparator}{ --> }
%\setkomavar{phoneseparator}{ --> }
%\setkomavar{subjectseparator}{ >>> }

%% Customize fonts
%% Use LaTeX's standard font commands
%% Modify with \setkomafont or \addtokomafont
%% (see KOMA documentation)
\setkomafont{backaddress}{\rmfamily}
%\setkomafont{descriptionlabel}{}
\setkomafont{fromaddress}{\small}
\setkomafont{fromname}{\scshape}
%\setkomafont{pagefoot}{}
%\setkomafont{pagehead}{}
%\setkomafont{pagenumber}{}
%\setkomafont{subject}{}
%\setkomafont{title}{}
\usepackage[bottom=-3.5cm, textwidth=360pt]{geometry}

So have to come back to the list for this.

Can someone tell me how this is done.

Thank you,
Charlie
--
Registered Linux User:- 329524
***********************************************

It is usually the imagination that is wounded first, rather
than the heart; it being much more sensitive. .....Henry David
Thoreau

***********************************************

Debian GNU/Linux - just the best way to create magic

-----------------------------------------------------
Jean-Marie Pacquet
2013-02-24 07:42:49 UTC
Permalink
Post by Charlie
letter (KOMA-Script v.2)
using LyX version 2.0.3 Debian Wheezy.
I need more space to apply my hand written signature. [...]
From the user guide (scrguien.pdf):
Between closing phrase and signature a vertical space is inserted. The
height
of this space is defined in the pseudo-length sigbeforevskip. It defaults to
2 lines. In this space you can write your inscription.
Post by Charlie
% position from top of page of Sender Name thanks to: Jean-Marie Pacquet
This seems to be the right place ;-) to add this line:
\@setplength{sigbeforevskip}{2\baselineskip}

Change the 2 to whatever suits you

Cheers
--
Jean-Marie
Charlie
2013-02-24 11:43:59 UTC
Permalink
Post by Jean-Marie Pacquet
Post by Charlie
letter (KOMA-Script v.2)
using LyX version 2.0.3 Debian Wheezy.
I need more space to apply my hand written signature. [...]
Between closing phrase and signature a vertical space is inserted. The
height
of this space is defined in the pseudo-length sigbeforevskip. It
defaults to 2 lines. In this space you can write your
inscription.
Post by Charlie
% position from top of page of Sender Name thanks to: Jean-Marie
Change the 2 to whatever suits you
Cheers
--
Jean-Marie
Thank you Jean-Marie,

You have helped me once again. I have two copies of the scrguien.pdf
and I use the latest. Read it, but obviously I don't know how to
use it. How to put the commands together in some instances.

I read this: sigbeforevskip vertical skip between closing and signature
(section 6.6.1, page 207)

But didn't really understand it.

Even tried working with this:
\setkomavar{signature}{John McEnvy\\{\small (Vice-President ‘‘The Other Society’’)}}

\closing{Regards\\(for the board of directors)}

But couldn't put it together to rectify my problem, then searched the
net again and couldn't come up with the right answer.

Thank you again, because you have solved my problem once more, and you
will know it's much appreciated.

Be well,
Charlie
--
Registered Linux User:- 329524
***********************************************

The light which puts out our eyes is darkness to us. Only that
day dawns to which we are awake. There is more day to dawn. The
sun is but a morning star. - Henry David Thoreau

***********************************************

Debian GNU/Linux - just the best way to create magic

-----------------------------------------------------
Jean-Marie Pacquet
2013-02-24 14:39:05 UTC
Permalink
Post by Charlie
[...]
You have helped me once again. I have two copies of the scrguien.pdf
and I use the latest. Read it, but obviously I don't know how to
use it. How to put the commands together in some instances.
A picture being worth a thousand words, Figure 6.1 in the scrguien.pdf
is your friend.
--
Jean-Marie
Charlie
2013-02-25 06:48:10 UTC
Permalink
On Sun, 24 Feb 2013 15:39:05 +0100 Jean-Marie mentioned this:
Re: letter (KOMA-Script v.2) Space between closing and
signature............
Post by Jean-Marie Pacquet
A picture being worth a thousand words, Figure 6.1 in the
scrguien.pdf is your friend.
My reply follows:

Hello Jean-Marie,

I have seen that diagram but again don't know how to work it. The
different first commands like:

\@addtoplength
or
\@setplength or whatever.

How does one understand these commands? How does one know which to use
where?

I have attached the diagram you sent and added the commands that you
have helped me with in green and red.

I have also tried to make the signature on my letter template come to
the left of the page with these commands, none of which work:

\@setplength{sigindent}{\raggedleft} without success

\@setplength{sigindent}{10mm\raggedleft} without success

\@setplength{sigindent}{\raggedleft} without success

\@setplength{sigindent}{10mm} without success

Then:

\@addtoplength{sigindent}{10mm\raggedleft} without success

\@addtoplength{sigindent}{10mm} without success

\@addtoplength{sigindent}{\raggedleft} without success

Then:

\@addtoplength{sigindent}{\raggedsignature} without success

\@addtoplength{sigindent}{10mm\raggedsignature} without success

\@setplength{sigindent}{\raggedsignature} without success

\@setplength{sigindent}{10mm\raggedsignature} without success

Then:

\@setplength{\raggedsignature}{sigindent}
\@setplength{10mm\raggedsignature}{sigindent}

\@addtoplength{\raggedsignature}{sigindent}
\@addtoplength{10mm\raggedsignature}{sigindent}

And many more, to numerous to mention here, but never the right one.

So I really have no idea at all how to use the useful diagram supplied
in scrguien.pdf

My stupidity is huge, and eventually I will get there. But it might
take months, and will muddle through some other way till I do.

Thanks again for your previous help.
Charlie
--
Registered Linux User:- 329524
***********************************************

What is peculiar in the life of a man consists not in his
obedience, but his opposition, to his instincts. In one
direction or another he strives to live a supernatural
life. ......Henry David Thoreau

***********************************************

Debian GNU/Linux - just the best way to create magic

-----------------------------------------------------
Jean-Marie Pacquet
2013-02-25 10:58:04 UTC
Permalink
Post by Charlie
Re: letter (KOMA-Script v.2) Space between closing and
signature............
Post by Jean-Marie Pacquet
A picture being worth a thousand words, Figure 6.1 in the
scrguien.pdf is your friend.
Hello Jean-Marie,
I have seen that diagram but again don't know how to work it. The
or
Hi Charlie,

First, as my own copy of the guide is quite old (my figure 6.1 is now
17.1), I updated it now from the last one dated 2012-05-15 which is here:
http://www.komascript.de/files/scrguien.pdf

So the page numbers I'm using now refer to this last version of the guide.
Post by Charlie
How does one understand these commands? How does one know which to use
where?
Read section 4.2 Pseudo-Lengths (page 135). With my words:
All these pseudo-lengths have a default value. If you want to change
Post by Charlie
I have attached the diagram you sent and added the commands that you
have helped me with in green and red.
I have also tried to make the signature on my letter template come to
And many more, to numerous to mention here, but never the right one.
\@setplength{sigindent}{0mm}
will place the box containing the signature on the left side but this is
already defined in the DIN.lco

It's probably worthwhile to make your own version of the DIN.lco that
you are using. Copy it under a new name (myDIN.lco f.ex.) in the
directory where you have your lyx letters and modify it as you wish:

Instead of using
\@addtoplength{firstheadvpos}{1cm}
after calling the original DIN.lco where this plength is set, you can
replace inside your new lco the
\@setplength{firstheadvpos}{8mm}
by
\@setplength{firstheadvpos}{18mm}


Don't forget to call your lco file in the preamble:

\LoadLetterOption{myDIN}%



To place the signature inside the closing box on the left you have to
change in your lco file
\let\raggedsignature=\centering
to
\let\raggedsignature=\raggedright

HTH
--
Jean-Marie
Charlie
2013-02-25 12:12:40 UTC
Permalink
Post by Jean-Marie Pacquet
Post by Charlie
Re: letter (KOMA-Script v.2) Space between closing and
signature............
Post by Jean-Marie Pacquet
A picture being worth a thousand words, Figure 6.1 in the
scrguien.pdf is your friend.
Hello Jean-Marie,
I have seen that diagram but again don't know how to work it.
or
Hi Charlie,
First, as my own copy of the guide is quite old (my figure 6.1 is now
17.1), I updated it now from the last one dated 2012-05-15 which is
here: http://www.komascript.de/files/scrguien.pdf
So the page numbers I'm using now refer to this last version of the guide.
Post by Charlie
How does one understand these commands? How does one know which to
use where?
All these pseudo-lengths have a default value. If you want to change
this default value and make it completly different you use
Post by Charlie
I have attached the diagram you sent and added the commands that you
have helped me with in green and red.
I have also tried to make the signature on my letter template come to
And many more, to numerous to mention here, but never the right one.
will place the box containing the signature on the left side but this
is already defined in the DIN.lco
It's probably worthwhile to make your own version of the DIN.lco that
you are using. Copy it under a new name (myDIN.lco f.ex.) in the
Instead of using
after calling the original DIN.lco where this plength is set, you can
replace inside your new lco the
by
\LoadLetterOption{myDIN}%
To place the signature inside the closing box on the left you have to
change in your lco file
\let\raggedsignature=\centering
to
\let\raggedsignature=\raggedright
HTH
--
Jean-Marie
Your explanation and guidance has been extremely helpful Jean-Marie.

I took your advice and tweaked the DIN.lco file and placed it in my
templates directory and added the absolute path to it in my preamble.

Again, thank you for your time and this enormous assistance.

Be well,
Charlie
--
Registered Linux User:- 329524
***********************************************

I do not know how to distinguish between our waking life and a
dream. Are we not always living the life that we imagine we
are? .............Henry David Thoreau

***********************************************

Debian GNU/Linux - just the best way to create magic

-----------------------------------------------------
Alex Vergara Gil
2013-02-25 16:18:47 UTC
Permalink
Hello LyXers!!

I´m managing some issues when I use tufte-book on my LyX 2.0.4 in windows 7
x64 SP1.

1. Section labels doesn´t appear on Contents Table (nor there is an option
to force this under document->properties->numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title,
it returns an error of some a.cfg and at.cfg files missing, but I have a
full MikTeX 2.9 installation. Only with the caption works fine but when I
add an inline figure it crash). I need the figure only in the title in the
first page, not in the rest, but why not? At the end it is hust the icon of
my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesn´t appear in front page, so WTH are
these? again if I use them with a figure it crash with the same errors
mentioned above.

For the minimal example you can refer to the tufte-book.lyx that appears in
the example folder, so I think the issue is in the tufte-book module.

Is this an intended behaviour?? In this case how can I change this? Do I
need to rewrite the module? I'm not a LaTeX expert so I don't know if all
these can be achieved in LaTeX.

Best regards

Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu
Alex Vergara Gil
2013-02-27 16:18:02 UTC
Permalink
----- Original Message -----
From: "Alex Vergara Gil" <***@cphr.edu.cu>
To: <lyx-***@lists.lyx.org>
Sent: Monday, February 25, 2013 11:18 AM
Subject: issues with tufte-book on LyX
Post by Alex Vergara Gil
Hello LyXers!!
I´m managing some issues when I use tufte-book on my LyX 2.0.4 in windows
7 x64 SP1.
1. Section labels doesn´t appear on Contents Table (nor there is an option
to force this under document->properties->numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title,
it returns an error of some a.cfg and at.cfg files missing, but I have a
full MikTeX 2.9 installation. Only with the caption works fine but when I
add an inline figure it crash). I need the figure only in the title in the
first page, not in the rest, but why not? At the end it is hust the icon
of my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesn´t appear in front page, so WTH
are these? again if I use them with a figure it crash with the same errors
mentioned above.
For the minimal example you can refer to the tufte-book.lyx that appears
in the example folder, so I think the issue is in the tufte-book module.
Is this an intended behaviour?? In this case how can I change this? Do I
need to rewrite the module? I'm not a LaTeX expert so I don't know if all
these can be achieved in LaTeX.
Best regards
Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu
Ping!
John Kane
2013-03-02 13:21:07 UTC
Permalink
I just tried to run the example and I see what you mean. There are  no sections in the ToC
 and yes, when I stick a graphic in the title the program returns all kinds of error messages .  Of course I don't know if it is because the class won't allow a graphic or my stolen cartoon is too big.

Unfortunately mucking around with the tufte-book in Latex does not seem to even give me a ToC!  My simple-minded example works in LaTeX and when imported into LyX but without the ToC!









________________________________
From: Alex Vergara Gil <***@cphr.edu.cu>
To: lyx-users Users <lyx-***@lists.lyx.org>
Sent: Wednesday, February 27, 2013 11:18:02 AM
Subject: Fw: issues with tufte-book on LyX

----- Original Message ----- From: "Alex Vergara Gil" <***@cphr.edu.cu>
To: <lyx-***@lists.lyx.org>
Sent: Monday, February 25, 2013 11:18 AM
Subject: issues with tufte-book on LyX
Post by Alex Vergara Gil
Hello LyXers!!
IŽm managing some issues when I use tufte-book on my LyX 2.0.4 in windows 7 x64 SP1.
1. Section labels doesnŽt appear on Contents Table (nor there is an option to force this under document->properties->numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title, it returns an error of some a.cfg and at.cfg files missing, but I have a full MikTeX 2.9 installation. Only with the caption works fine but when I add an inline figure it crash). I need the figure only in the title in the first page, not in the rest, but why not? At the end it is hust the icon of my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesnŽt appear in front page, so WTH are these? again if I use them with a figure it crash with the same errors mentioned above.
For the minimal example you can refer to the tufte-book.lyx that appears in the example folder, so I think the issue is in the tufte-book module.
Is this an intended behaviour?? In this case how can I change this? Do I need to rewrite the module? I'm not a LaTeX expert so I don't know if all these can be achieved in LaTeX.
Best regards
Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu
Ping!
Alex Vergara Gil
2013-03-05 19:28:16 UTC
Permalink
Hi John!
I deeply search into my problem and find out that by adding the line \setcounter{secnumdepth}{3} in the preamble solves the problem of no section in TOC. But I have no good results in adding some pictures in front page, I have solved this by making the front in another document and forgoting the cover in tufte.

HTH for anyone with the same issue

Alex
----- Original Message -----
From: John Kane
To: Alex Vergara Gil ; lyx-users Users
Sent: Saturday, March 02, 2013 8:21 AM
Subject: Re: issues with tufte-book on LyX


I just tried to run the example and I see what you mean. There are no sections in the ToC
and yes, when I stick a graphic in the title the program returns all kinds of error messages . Of course I don't know if it is because the class won't allow a graphic or my stolen cartoon is too big.

Unfortunately mucking around with the tufte-book in Latex does not seem to even give me a ToC! My simple-minded example works in LaTeX and when imported into LyX but without the ToC!
John Kane
2013-03-07 16:30:12 UTC
Permalink
Thanks Alex. It's nice to have a solution.




________________________________
From: Alex Vergara Gil <***@cphr.edu.cu>
To: John Kane <***@yahoo.ca>; lyx-users Users <lyx-***@lists.lyx.org>
Sent: Tuesday, March 5, 2013 2:28:16 PM
Subject: Re: issues with tufte-book on LyX



Hi John!
I deeply search into my problem and find out that
by adding the line \setcounter{secnumdepth}{3} in the preamble solves the
problem of no section in TOC. But I have no good results in adding some pictures
in front page, I have solved this by making the front in another document and
forgoting the cover in tufte.
 
HTH for anyone with the same issue
 
Alex
----- Original Message -----
Post by Alex Vergara Gil
From: John Kane
To: Alex Vergara Gil ; lyx-users Users
Sent: Saturday, March 02, 2013 8:21 AM
Subject: Re: issues with tufte-book on LyX
I just tried to run the example and I see what you mean. There are  no sections in the ToC
 and yes, when I stick a graphic in the title the
program returns all kinds of error messages .  Of course I don't know if
it is because the class won't allow a graphic or my stolen cartoon is too big.
Post by Alex Vergara Gil
Unfortunately mucking around with the tufte-book in Latex does not
seem to even give me a ToC!  My simple-minded example works in LaTeX and
when imported into LyX but without the ToC!
Alex Vergara Gil
2013-03-11 14:32:32 UTC
Permalink
Although this works on linux I cannot handle to make it work under win7+MiKTeX2.9+LyX2.0.4
I donŽt know why but the same file show chapters and sections compiled in linux(debian7testing) and only chapters compiled under windows, so this is a big ?W?T?H?

If someone else has any other advice on this it would be appreciated

Regards

Alex
----- Original Message -----
From: John Kane
To: Alex Vergara Gil ; lyx-users Users
Sent: Thursday, March 07, 2013 11:30 AM
Subject: Re: issues with tufte-book on LyX


Thanks Alex. It's nice to have a solution.






------------------------------------------------------------------------------
From: Alex Vergara Gil <***@cphr.edu.cu>
To: John Kane <***@yahoo.ca>; lyx-users Users <lyx-***@lists.lyx.org>
Sent: Tuesday, March 5, 2013 2:28:16 PM
Subject: Re: issues with tufte-book on LyX



Hi John!
I deeply search into my problem and find out that by adding the line \setcounter{secnumdepth}{3} in the preamble solves the problem of no section in TOC. But I have no good results in adding some pictures in front page, I have solved this by making the front in another document and forgoting the cover in tufte.

HTH for anyone with the same issue

Alex
----- Original Message -----
From: John Kane
To: Alex Vergara Gil ; lyx-users Users
Sent: Saturday, March 02, 2013 8:21 AM
Subject: Re: issues with tufte-book on LyX


I just tried to run the example and I see what you mean. There are no sections in the ToC
and yes, when I stick a graphic in the title the program returns all kinds of error messages . Of course I don't know if it is because the class won't allow a graphic or my stolen cartoon is too big.

Unfortunately mucking around with the tufte-book in Latex does not seem to even give me a ToC! My simple-minded example works in LaTeX and when imported into LyX but without the ToC!
Loading...