Magin note color and font in the whole document

2010-01-22 Thread David Múgica
It´s easy change the color and font in a marginnote, but i can´t in the whole 
document.
¿How i can change the color in ALL the margin-side notes document?
¿And the family and sizes font?
Thanks a lot.

Re: Table Challenge

2010-01-22 Thread Steve Sidney

Hi Rob and list

After posting the same message on the Latex Community forum I was informed 
of a relatively new tool called datatool which appears to solve the problem.


Unofrtunately I can't seem to get this package to work in Lyx.


Has anybody had any experience with datatool and Lyx

Any help would really be appreciated

Regards
Steve

- Original Message - 
From: Rob Oakes lyx-de...@oak-tree.us

To: 'SteveSB' sbsid...@mweb.co.za
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, January 19, 2010 11:24 PM
Subject: RE: Table Challenge



Hi Steve,

Yes, you can automatically insert page breaks into a long table.  This is
done through the use of the longtable package.  There is a good overview 
on

how to use longtable in the LyX user manual.  Longtable has a few nice
features, such as the ability to automatically add a  header to the table 
on

every page.

I am not, aware of a way to automatically split a given table into two
sections, however.  Perhaps others on the list might be able to provide
additional recommendations?

Cheers,

Rob Oakes

-Original Message-
From: SteveSB [mailto:sbsid...@mweb.co.za]
Sent: Tuesday, January 19, 2010 1:48 PM
To: lyx-users@lists.lyx.org
Subject: Table Challenge


Dear list

As very much a Lyx/Latex newbie, I hope that this is not too difficult a
problem to be resolved.

I produce a multi-col table of data in R and at the moment I reconfigure 
the

table in Excel so that I can copy/paste it into a report in Word.

I have managed to get the Sweave/Lyx link in MS Windows working but my
problem is the follows.

From the R code the table looks like this - up to 80 rows or more and 5 
col


lab_id A B ZBW ZWI
4er66 3.60 3.30 3.26 6.49
4gcyi 2.96 2.91 0.47 1.10
5d3hh 3.08 3.11 1.34 -0.88
5d3wt 1.79 1.85 -5.60 -1.56
5ycya # # N/A N/A

Middle rows removed to save space

t5ee2 2.43 2.45 -2.23 -0.46
t9455 3.00 2.97 0.74 0.67
ta4ww 2.46 2.47 -2.09 -0.41
tatc4 2.65 2.64 -1.09 0.10
u3dd5 2.62 2.69 -1.04 -1.68
u6d33 2.72 2.72 -0.71 -0.30
v3s8f 3.06 3.09 1.21 -0.68
v44h6 2.72 2.73 -0.66 -0.29
wa5hh # # N/A N/A

Since this does not fit on a single A4 page (portrait), I then manually
split the table in half and it looks like this

lab_id A B ZBW ZWI lab_id A B ZBW
ZWI
4er66 3.60 3.30 3.26 6.49 h2o42 3.00 2.95 0.69
0.89
4gcyi 2.96 2.91 0.47 1.10 h5s22 3.86 3.79 5.30
1.44
5d3hh 3.08 3.11 1.34 -0.88 h7ss2 2.48 2.00
-3.32 10.35
5d3wt 1.79 1.85 -5.60 -1.56 i8s4b 2.90 2.86 0.16
0.64
5ycya # # N/A N/A ky3sn 2.94 2.93 0.47
0.21

Middle rows removed to save space

d33ww 2.93 3.00 0.62 -1.66 tatc4 2.65 2.64
-1.09 0.10
dml25 2.78 2.78 -0.39 -0.12 u3dd5 2.62 2.69
-1.04 -1.68
e33ws 2.95 3.02 0.73 -1.69 u6d33 2.72 2.72
-0.71 -0.30
f3c4g 2.72 2.74 -0.66 -0.65 v3s8f 3.06 3.09 1.21
-0.68
f3s5t 2.83 2.90 0.09 -1.73 v44h6 2.72 2.73
-0.66 -0.29
f44ee 2.79 2.77 -0.39 0.20 wa5hh # # N/A
N/A
g2a44 2.76 2.77 -0.45 -0.28


My question is there way a that Lyx/Latex can do this without my manual
intervention.

I hope that the post is clear enough, but if there are any questions 
please

shout

Regards
Steve
--
View this message in context:
http://n2.nabble.com/Table-Challenge-tp4422819p4422819.html
Sent from the LyX - Users mailing list archive at Nabble.com.






Komascript book headers question

2010-01-22 Thread Richard Brown
Hello again.

Is it possible to edit the contents of \leftmark so that they contain
the chapter name but not the chapter number, and of \rightmark so that
the inverse is true?

Or would there be a better solution to my issue, which is how to print
(in the header on my Komascript bnook class doc) Chapter 6 on left pages
and  Name of the chapter on right pages.

As always, TIA

Richard



in Koma script book: how to put pages before the title page

2010-01-22 Thread Richard Brown
I don't seem to be able to do this. If I put a \frontmatter command in
before my title, anything longer than five words produces a compile
error. What am I missing?

TIA



Richard



Re: Magin note color and font in the whole document

2010-01-22 Thread Jens Nöckel
On Jan 22, 2010, at 2:33 AM, David Múgica wrote:

 It´s easy change the color and font in a marginnote, but i can´t in the 
 whole document.
 ¿How i can change the color in ALL the margin-side notes document?
 ¿And the family and sizes font?
 Thanks a lot.

Hi,
I happen to use margin notes like that too. My approach is the following 
(colors are a matter of taste, of course...):

\usepackage{setspace}
\let\margin\marginpar
\newcommand\myMargin[1]{\margin{\raggedright\textcolor{red}{\scriptsize 
\onehalfspacing #1 \singlespacing}}}
\renewcommand{\marginpar}[1]{\myMargin{#1}}

This has to be entered in LaTeX Preamble under Documents  Settings...
You may still need to load 
\usepackage{color}
if LyX doesn't do it automatically.
The \scriptsize command could be replaced by \footnotesize or \tiny. The 
setspace package allows you to make the margin note line spacing denser with 
\onehalfspacing, followed by \singlespacing (otherwise you get small font with 
unnaturally large line spacing).

Cheers,
Jens



Re: Komascript book headers question

2010-01-22 Thread Waluyo Adi Siswanto
On 23 January 2010 05:37, Richard Brown rich...@guidedelearning.com wrote:
 Hello again.

 Is it possible to edit the contents of \leftmark so that they contain
 the chapter name but not the chapter number, and of \rightmark so that
 the inverse is true?

 Or would there be a better solution to my issue, which is how to print
 (in the header on my Komascript bnook class doc) Chapter 6 on left pages
 and  Name of the chapter on right pages.

 As always, TIA

 Richard



You can control the headings by using package fancyhdr.
You need to set your heading style to fancy (DocumentsSettingsPage
Layout -- change heading style to fancy).
the commands then should be defined in LateX preamble. Perhaps you
need to read fancyhdr manual.

Regards
Waluyo


Re: in Koma script book: how to put pages before the title page

2010-01-22 Thread Waluyo Adi Siswanto
On 23 January 2010 05:56, Richard Brown rich...@guidedelearning.com wrote:
 I don't seem to be able to do this. If I put a \frontmatter command in
 before my title, anything longer than five words produces a compile
 error. What am I missing?

 TIA



 Richard


You can try one line before your title. Type \frontmatter in red box
[Enter] then your title in Title environment.

Waluyo


Re: question about family fonts

2010-01-22 Thread Marcelo Acuña
   If I choose Times Roman for roman font,
 what font I must to choose for sans serif font If I
 want to obtain an aesthetically coherent aspect?
 ...
 
 There is no definitive answer to this question, as there is
 no Times Sans. It depends on what you are after.
 
 The most used choice is a downscaled Helvetica. Although
 not necessarily
 aesthetically pleasing, it will go almost unnoticed (like
 Times for serif) because this is what people expect.
 
  I am using two columns in the book, therefore I am
 interested exactly
  in that: glyphs thinner with less space between.
 
 OK. 
 The next thing to consider is, whether the sans serif
 should match
 or stand out. In the first case, a semi-serif (like
 Ivona) might be
 advisable, in the latter a contrasting shape with maybe
 even different
 grey value like Avant Gard (or the TeX Gyre variant
 Adventor).
 

Thanks Guenter, but, lamentably for me, to include fonts to the Lyx is an 
unattainable art.
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Difference between New Page and Page Break

2010-01-22 Thread Steven Bell
What is the difference between New Page (\newpage{}) and a Page Break
(\pagebreak{})?  They seem to be the same - is there any reason I would use
one over the other?
Thanks,
Steven


Re: in Koma script book: how to put pages before the title page

2010-01-22 Thread Richard Brown
On Sat, 2010-01-23 at 07:01 +0800, Waluyo Adi Siswanto wrote:

 You can try one line before your title. Type \frontmatter in red box
 [Enter] then your title in Title environment.

Thanks for the reply, Waluyo. I had managed to do this: but I am unable
to put more than one line before the title without getting a compile
error (No title found).

what I can't do, is to put several (in fact 5) pages before my title-
which is a requirement I have. Some of these pages are blank, and some
contain things like cataloguing, keywords and copyright information that
I am required to put there. However- and this is my problem- all must be
contained in the page count, and all must come before the title page.



Re: Komascript book headers question

2010-01-22 Thread Richard Brown
On Sat, 2010-01-23 at 06:56 +0800, Waluyo Adi Siswanto wrote:

 You can control the headings by using package fancyhdr.

Thanks: however, I have been trying to use scrpage2 since the komascript 
documentation says that it has a greater compatibility (with komascript) 
than fancyhdr. 

With scrpage2 I could do what I need relatively easily if I knew how to 
edit the contents of \leftmark.



Magin note color and font in the whole document

2010-01-22 Thread David Múgica
It´s easy change the color and font in a marginnote, but i can´t in the whole 
document.
¿How i can change the color in ALL the margin-side notes document?
¿And the family and sizes font?
Thanks a lot.

Re: Table Challenge

2010-01-22 Thread Steve Sidney

Hi Rob and list

After posting the same message on the Latex Community forum I was informed 
of a relatively new tool called datatool which appears to solve the problem.


Unofrtunately I can't seem to get this package to work in Lyx.


Has anybody had any experience with datatool and Lyx

Any help would really be appreciated

Regards
Steve

- Original Message - 
From: Rob Oakes lyx-de...@oak-tree.us

To: 'SteveSB' sbsid...@mweb.co.za
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, January 19, 2010 11:24 PM
Subject: RE: Table Challenge



Hi Steve,

Yes, you can automatically insert page breaks into a long table.  This is
done through the use of the longtable package.  There is a good overview 
on

how to use longtable in the LyX user manual.  Longtable has a few nice
features, such as the ability to automatically add a  header to the table 
on

every page.

I am not, aware of a way to automatically split a given table into two
sections, however.  Perhaps others on the list might be able to provide
additional recommendations?

Cheers,

Rob Oakes

-Original Message-
From: SteveSB [mailto:sbsid...@mweb.co.za]
Sent: Tuesday, January 19, 2010 1:48 PM
To: lyx-users@lists.lyx.org
Subject: Table Challenge


Dear list

As very much a Lyx/Latex newbie, I hope that this is not too difficult a
problem to be resolved.

I produce a multi-col table of data in R and at the moment I reconfigure 
the

table in Excel so that I can copy/paste it into a report in Word.

I have managed to get the Sweave/Lyx link in MS Windows working but my
problem is the follows.

From the R code the table looks like this - up to 80 rows or more and 5 
col


lab_id A B ZBW ZWI
4er66 3.60 3.30 3.26 6.49
4gcyi 2.96 2.91 0.47 1.10
5d3hh 3.08 3.11 1.34 -0.88
5d3wt 1.79 1.85 -5.60 -1.56
5ycya # # N/A N/A

Middle rows removed to save space

t5ee2 2.43 2.45 -2.23 -0.46
t9455 3.00 2.97 0.74 0.67
ta4ww 2.46 2.47 -2.09 -0.41
tatc4 2.65 2.64 -1.09 0.10
u3dd5 2.62 2.69 -1.04 -1.68
u6d33 2.72 2.72 -0.71 -0.30
v3s8f 3.06 3.09 1.21 -0.68
v44h6 2.72 2.73 -0.66 -0.29
wa5hh # # N/A N/A

Since this does not fit on a single A4 page (portrait), I then manually
split the table in half and it looks like this

lab_id A B ZBW ZWI lab_id A B ZBW
ZWI
4er66 3.60 3.30 3.26 6.49 h2o42 3.00 2.95 0.69
0.89
4gcyi 2.96 2.91 0.47 1.10 h5s22 3.86 3.79 5.30
1.44
5d3hh 3.08 3.11 1.34 -0.88 h7ss2 2.48 2.00
-3.32 10.35
5d3wt 1.79 1.85 -5.60 -1.56 i8s4b 2.90 2.86 0.16
0.64
5ycya # # N/A N/A ky3sn 2.94 2.93 0.47
0.21

Middle rows removed to save space

d33ww 2.93 3.00 0.62 -1.66 tatc4 2.65 2.64
-1.09 0.10
dml25 2.78 2.78 -0.39 -0.12 u3dd5 2.62 2.69
-1.04 -1.68
e33ws 2.95 3.02 0.73 -1.69 u6d33 2.72 2.72
-0.71 -0.30
f3c4g 2.72 2.74 -0.66 -0.65 v3s8f 3.06 3.09 1.21
-0.68
f3s5t 2.83 2.90 0.09 -1.73 v44h6 2.72 2.73
-0.66 -0.29
f44ee 2.79 2.77 -0.39 0.20 wa5hh # # N/A
N/A
g2a44 2.76 2.77 -0.45 -0.28


My question is there way a that Lyx/Latex can do this without my manual
intervention.

I hope that the post is clear enough, but if there are any questions 
please

shout

Regards
Steve
--
View this message in context:
http://n2.nabble.com/Table-Challenge-tp4422819p4422819.html
Sent from the LyX - Users mailing list archive at Nabble.com.






Komascript book headers question

2010-01-22 Thread Richard Brown
Hello again.

Is it possible to edit the contents of \leftmark so that they contain
the chapter name but not the chapter number, and of \rightmark so that
the inverse is true?

Or would there be a better solution to my issue, which is how to print
(in the header on my Komascript bnook class doc) Chapter 6 on left pages
and  Name of the chapter on right pages.

As always, TIA

Richard



in Koma script book: how to put pages before the title page

2010-01-22 Thread Richard Brown
I don't seem to be able to do this. If I put a \frontmatter command in
before my title, anything longer than five words produces a compile
error. What am I missing?

TIA



Richard



Re: Magin note color and font in the whole document

2010-01-22 Thread Jens Nöckel
On Jan 22, 2010, at 2:33 AM, David Múgica wrote:

 It´s easy change the color and font in a marginnote, but i can´t in the 
 whole document.
 ¿How i can change the color in ALL the margin-side notes document?
 ¿And the family and sizes font?
 Thanks a lot.

Hi,
I happen to use margin notes like that too. My approach is the following 
(colors are a matter of taste, of course...):

\usepackage{setspace}
\let\margin\marginpar
\newcommand\myMargin[1]{\margin{\raggedright\textcolor{red}{\scriptsize 
\onehalfspacing #1 \singlespacing}}}
\renewcommand{\marginpar}[1]{\myMargin{#1}}

This has to be entered in LaTeX Preamble under Documents  Settings...
You may still need to load 
\usepackage{color}
if LyX doesn't do it automatically.
The \scriptsize command could be replaced by \footnotesize or \tiny. The 
setspace package allows you to make the margin note line spacing denser with 
\onehalfspacing, followed by \singlespacing (otherwise you get small font with 
unnaturally large line spacing).

Cheers,
Jens



Re: Komascript book headers question

2010-01-22 Thread Waluyo Adi Siswanto
On 23 January 2010 05:37, Richard Brown rich...@guidedelearning.com wrote:
 Hello again.

 Is it possible to edit the contents of \leftmark so that they contain
 the chapter name but not the chapter number, and of \rightmark so that
 the inverse is true?

 Or would there be a better solution to my issue, which is how to print
 (in the header on my Komascript bnook class doc) Chapter 6 on left pages
 and  Name of the chapter on right pages.

 As always, TIA

 Richard



You can control the headings by using package fancyhdr.
You need to set your heading style to fancy (DocumentsSettingsPage
Layout -- change heading style to fancy).
the commands then should be defined in LateX preamble. Perhaps you
need to read fancyhdr manual.

Regards
Waluyo


Re: in Koma script book: how to put pages before the title page

2010-01-22 Thread Waluyo Adi Siswanto
On 23 January 2010 05:56, Richard Brown rich...@guidedelearning.com wrote:
 I don't seem to be able to do this. If I put a \frontmatter command in
 before my title, anything longer than five words produces a compile
 error. What am I missing?

 TIA



 Richard


You can try one line before your title. Type \frontmatter in red box
[Enter] then your title in Title environment.

Waluyo


Re: question about family fonts

2010-01-22 Thread Marcelo Acuña
   If I choose Times Roman for roman font,
 what font I must to choose for sans serif font If I
 want to obtain an aesthetically coherent aspect?
 ...
 
 There is no definitive answer to this question, as there is
 no Times Sans. It depends on what you are after.
 
 The most used choice is a downscaled Helvetica. Although
 not necessarily
 aesthetically pleasing, it will go almost unnoticed (like
 Times for serif) because this is what people expect.
 
  I am using two columns in the book, therefore I am
 interested exactly
  in that: glyphs thinner with less space between.
 
 OK. 
 The next thing to consider is, whether the sans serif
 should match
 or stand out. In the first case, a semi-serif (like
 Ivona) might be
 advisable, in the latter a contrasting shape with maybe
 even different
 grey value like Avant Gard (or the TeX Gyre variant
 Adventor).
 

Thanks Guenter, but, lamentably for me, to include fonts to the Lyx is an 
unattainable art.
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Difference between New Page and Page Break

2010-01-22 Thread Steven Bell
What is the difference between New Page (\newpage{}) and a Page Break
(\pagebreak{})?  They seem to be the same - is there any reason I would use
one over the other?
Thanks,
Steven


Re: in Koma script book: how to put pages before the title page

2010-01-22 Thread Richard Brown
On Sat, 2010-01-23 at 07:01 +0800, Waluyo Adi Siswanto wrote:

 You can try one line before your title. Type \frontmatter in red box
 [Enter] then your title in Title environment.

Thanks for the reply, Waluyo. I had managed to do this: but I am unable
to put more than one line before the title without getting a compile
error (No title found).

what I can't do, is to put several (in fact 5) pages before my title-
which is a requirement I have. Some of these pages are blank, and some
contain things like cataloguing, keywords and copyright information that
I am required to put there. However- and this is my problem- all must be
contained in the page count, and all must come before the title page.



Re: Komascript book headers question

2010-01-22 Thread Richard Brown
On Sat, 2010-01-23 at 06:56 +0800, Waluyo Adi Siswanto wrote:

 You can control the headings by using package fancyhdr.

Thanks: however, I have been trying to use scrpage2 since the komascript 
documentation says that it has a greater compatibility (with komascript) 
than fancyhdr. 

With scrpage2 I could do what I need relatively easily if I knew how to 
edit the contents of \leftmark.



Magin note color and font in the whole document

2010-01-22 Thread David Múgica
It´s easy change the color and font in a "marginnote", but i can´t in the whole 
document.
¿How i can change the color in ALL the margin-side notes document?
¿And the family and sizes font?
Thanks a lot.

Re: Table Challenge

2010-01-22 Thread Steve Sidney

Hi Rob and list

After posting the same message on the Latex Community forum I was informed 
of a relatively new tool called datatool which appears to solve the problem.


Unofrtunately I can't seem to get this package to work in Lyx.


Has anybody had any experience with datatool and Lyx

Any help would really be appreciated

Regards
Steve

- Original Message - 
From: "Rob Oakes" 

To: "'SteveSB'" 
Cc: 
Sent: Tuesday, January 19, 2010 11:24 PM
Subject: RE: Table Challenge



Hi Steve,

Yes, you can automatically insert page breaks into a long table.  This is
done through the use of the longtable package.  There is a good overview 
on

how to use longtable in the LyX user manual.  Longtable has a few nice
features, such as the ability to automatically add a  header to the table 
on

every page.

I am not, aware of a way to automatically split a given table into two
sections, however.  Perhaps others on the list might be able to provide
additional recommendations?

Cheers,

Rob Oakes

-Original Message-
From: SteveSB [mailto:sbsid...@mweb.co.za]
Sent: Tuesday, January 19, 2010 1:48 PM
To: lyx-users@lists.lyx.org
Subject: Table Challenge


Dear list

As very much a Lyx/Latex newbie, I hope that this is not too difficult a
problem to be resolved.

I produce a multi-col table of data in R and at the moment I reconfigure 
the

table in Excel so that I can copy/paste it into a report in Word.

I have managed to get the Sweave/Lyx link in MS Windows working but my
problem is the follows.

From the R code the table looks like this - up to 80 rows or more and 5 
col


lab_id A B ZBW ZWI
4er66 3.60 3.30 3.26 6.49
4gcyi 2.96 2.91 0.47 1.10
5d3hh 3.08 3.11 1.34 -0.88
5d3wt 1.79 1.85 -5.60 -1.56
5ycya # # N/A N/A

Middle rows removed to save space

t5ee2 2.43 2.45 -2.23 -0.46
t9455 3.00 2.97 0.74 0.67
ta4ww 2.46 2.47 -2.09 -0.41
tatc4 2.65 2.64 -1.09 0.10
u3dd5 2.62 2.69 -1.04 -1.68
u6d33 2.72 2.72 -0.71 -0.30
v3s8f 3.06 3.09 1.21 -0.68
v44h6 2.72 2.73 -0.66 -0.29
wa5hh # # N/A N/A

Since this does not fit on a single A4 page (portrait), I then manually
split the table in half and it looks like this

lab_id A B ZBW ZWI lab_id A B ZBW
ZWI
4er66 3.60 3.30 3.26 6.49 h2o42 3.00 2.95 0.69
0.89
4gcyi 2.96 2.91 0.47 1.10 h5s22 3.86 3.79 5.30
1.44
5d3hh 3.08 3.11 1.34 -0.88 h7ss2 2.48 2.00
-3.32 10.35
5d3wt 1.79 1.85 -5.60 -1.56 i8s4b 2.90 2.86 0.16
0.64
5ycya # # N/A N/A ky3sn 2.94 2.93 0.47
0.21

Middle rows removed to save space

d33ww 2.93 3.00 0.62 -1.66 tatc4 2.65 2.64
-1.09 0.10
dml25 2.78 2.78 -0.39 -0.12 u3dd5 2.62 2.69
-1.04 -1.68
e33ws 2.95 3.02 0.73 -1.69 u6d33 2.72 2.72
-0.71 -0.30
f3c4g 2.72 2.74 -0.66 -0.65 v3s8f 3.06 3.09 1.21
-0.68
f3s5t 2.83 2.90 0.09 -1.73 v44h6 2.72 2.73
-0.66 -0.29
f44ee 2.79 2.77 -0.39 0.20 wa5hh # # N/A
N/A
g2a44 2.76 2.77 -0.45 -0.28


My question is there way a that Lyx/Latex can do this without my manual
intervention.

I hope that the post is clear enough, but if there are any questions 
please

shout

Regards
Steve
--
View this message in context:
http://n2.nabble.com/Table-Challenge-tp4422819p4422819.html
Sent from the LyX - Users mailing list archive at Nabble.com.






Komascript book headers question

2010-01-22 Thread Richard Brown
Hello again.

Is it possible to edit the contents of \leftmark so that they contain
the chapter name but not the chapter number, and of \rightmark so that
the inverse is true?

Or would there be a better solution to my issue, which is how to print
(in the header on my Komascript bnook class doc) Chapter 6 on left pages
and  Name of the chapter on right pages.

As always, TIA

Richard



in Koma script book: how to put pages before the title page

2010-01-22 Thread Richard Brown
I don't seem to be able to do this. If I put a \frontmatter command in
before my title, anything longer than five words produces a compile
error. What am I missing?

TIA



Richard



Re: Magin note color and font in the whole document

2010-01-22 Thread Jens Nöckel
On Jan 22, 2010, at 2:33 AM, David Múgica wrote:

> It´s easy change the color and font in a "marginnote", but i can´t in the 
> whole document.
> ¿How i can change the color in ALL the margin-side notes document?
> ¿And the family and sizes font?
> Thanks a lot.

Hi,
I happen to use margin notes like that too. My approach is the following 
(colors are a matter of taste, of course...):

\usepackage{setspace}
\let\margin\marginpar
\newcommand\myMargin[1]{\margin{\raggedright\textcolor{red}{\scriptsize 
\onehalfspacing #1 \singlespacing}}}
\renewcommand{\marginpar}[1]{\myMargin{#1}}

This has to be entered in "LaTeX Preamble" under "Documents > Settings..."
You may still need to load 
\usepackage{color}
if LyX doesn't do it automatically.
The \scriptsize command could be replaced by \footnotesize or \tiny. The 
setspace package allows you to make the margin note line spacing denser with 
\onehalfspacing, followed by \singlespacing (otherwise you get small font with 
unnaturally large line spacing).

Cheers,
Jens



Re: Komascript book headers question

2010-01-22 Thread Waluyo Adi Siswanto
On 23 January 2010 05:37, Richard Brown  wrote:
> Hello again.
>
> Is it possible to edit the contents of \leftmark so that they contain
> the chapter name but not the chapter number, and of \rightmark so that
> the inverse is true?
>
> Or would there be a better solution to my issue, which is how to print
> (in the header on my Komascript bnook class doc) Chapter 6 on left pages
> and  Name of the chapter on right pages.
>
> As always, TIA
>
> Richard
>
>

You can control the headings by using package fancyhdr.
You need to set your heading style to "fancy" (Documents>Settings>Page
Layout -- change heading style to "fancy").
the commands then should be defined in LateX preamble. Perhaps you
need to read fancyhdr manual.

Regards
Waluyo


Re: in Koma script book: how to put pages before the title page

2010-01-22 Thread Waluyo Adi Siswanto
On 23 January 2010 05:56, Richard Brown  wrote:
> I don't seem to be able to do this. If I put a \frontmatter command in
> before my title, anything longer than five words produces a compile
> error. What am I missing?
>
> TIA
>
>
>
> Richard
>
>
You can try one line before your title. Type \frontmatter in red box
[Enter] then your title in Title environment.

Waluyo


Re: question about family fonts

2010-01-22 Thread Marcelo Acuña
> >>>  If I choose Times Roman for roman font,
> what font I must to choose for sans serif font If I
> want to obtain an aesthetically coherent aspect?
> ...
 
> There is no definitive answer to this question, as there is
> no "Times Sans". It depends on what you are after.
 
> The most used choice is a downscaled Helvetica. Although
> not necessarily
> aesthetically pleasing, it will go almost unnoticed (like
> Times for serif) because this is what people expect.
> 
> > I am using two columns in the book, therefore I am
> interested exactly
> > in that: glyphs thinner with less space between.
 
> OK. 
> The next thing to consider is, whether the sans serif
> should "match"
> or "stand out". In the first case, a "semi-serif" (like
> Ivona) might be
> advisable, in the latter a contrasting shape with maybe
> even different
> grey value like Avant Gard (or the TeX Gyre variant
> Adventor).
> 

Thanks Guenter, but, lamentably for me, to include fonts to the Lyx is an 
unattainable art.
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Difference between "New Page" and "Page Break"

2010-01-22 Thread Steven Bell
What is the difference between "New Page" (\newpage{}) and a "Page Break"
(\pagebreak{})?  They seem to be the same - is there any reason I would use
one over the other?
Thanks,
Steven


Re: in Koma script book: how to put pages before the title page

2010-01-22 Thread Richard Brown
On Sat, 2010-01-23 at 07:01 +0800, Waluyo Adi Siswanto wrote:

> You can try one line before your title. Type \frontmatter in red box
> [Enter] then your title in Title environment.

Thanks for the reply, Waluyo. I had managed to do this: but I am unable
to put more than one line before the title without getting a compile
error (No title found).

what I can't do, is to put several (in fact 5) pages before my title-
which is a requirement I have. Some of these pages are blank, and some
contain things like cataloguing, keywords and copyright information that
I am required to put there. However- and this is my problem- all must be
contained in the page count, and all must come before the title page.



Re: Komascript book headers question

2010-01-22 Thread Richard Brown
On Sat, 2010-01-23 at 06:56 +0800, Waluyo Adi Siswanto wrote:

> You can control the headings by using package fancyhdr.

Thanks: however, I have been trying to use scrpage2 since the komascript 
documentation says that it has a greater compatibility (with komascript) 
than fancyhdr. 

With scrpage2 I could do what I need relatively easily if I knew how to 
edit the contents of \leftmark.