Re: align equations

2009-05-14 Thread Guenter Milde
On 2009-05-13, James C. Sutherland wrote:
 On May 13, 2009, at 12:08 AM, Guenter Milde wrote:
 On 2009-05-12, Paul A. Rubin wrote:

 The LyX-way of declaring text-in-math is pressing Ctrl-M (or typing  
 \text).
 This will use the current text font.

 I have found \mathrm or \textrm to be a much better option since using  
 Ctrl-M in math mode doesn't seem to retain the proper font size.  For  
 example, in a super/subscript the text appears much too large if you  
 use Ctrl-M.

This was recently fixed (I am not sure whether its already in 1.6.3).

However, using \text should scale the font properly.

Günter



Re: changing font family of greyed-out text?

2009-05-14 Thread Andrew Sullivan
On Thu, May 14, 2009 at 07:49:53AM +, Guenter Milde wrote:
 You already have the TODOS in a branch, fine. So you do not need the
 special turnable into invisible notes feature of greyed-out notes and
 are free to use any markup in your branch, true?.

Exactly.  (That's part of my problem -- I'm not that bright, and I
didn't exactly know how to mark up things only in that branch.  Is it
possible?  I tried changing the default font family on that branch,
but it changed the whole document.)
 
 For smaller remarks I'd recommend margin notes.
 Otherwise, some convention like emphasized quotes or paragraphs in
 small caps are markup variants that can be achieved with just some
 keystrokes/clicks.
 
 You might even set up a custom keybinding for your markup choice.

Hmm, this is a good idea.  Thanks!

A

-- 
Andrew Sullivan
a...@shinkuro.com
Shinkuro, Inc.


Re: changing font family of greyed-out text?

2009-05-14 Thread Dominik Waßenhoven
Andrew Sullivan wrote:

 I know how to change the colour of greyed-out notes, but I'd like to
 be able to change the font family for them all.  Even if I change the
 colour to blue, when people print it the blue shows up as grey, and it
 doesn't stand out enough from the rest of the page.  
 [...]
 Since there didn't seem to be a fast, cheap, and easy way to define
 the body text properties for things in one branch and not another, I
 thought I'd use the greyed-out notes and just put them all in one
 branch.  This works, but the notes are still not distictive enough in
 printed copies.  Since I'm working with some people who often mark up
 on paper, I need something that will be obvious when printed.

I use the following for greyed-out notes (put it in your preamble):
8---8
\usepackage{framed}
\usepackage{etoolbox}
\usepackage{marginnote}
\newbool{lyx:iffootnote}
\boolfalse{lyx:iffootnote}
\let\origfootnote=\footnote 
\def\footnote#1{\origfootnote{\bgroup\booltrue{lyx:iffootnote}#1\egroup}}
\makeatletter
\...@ifundefined{lyxgreyedout}{}{%
  \renewenvironment{lyxgreyedout}%
{\ifbool{lyx:iffootnote}
  {\marginnote{%
 \Large%
 $\leftarrow$}
   \bgroup\space$\rightarrow$\itshape}%
  {\framed}}
{\ifbool{lyx:iffootnote}
  {\egroup$\leftarrow$}%
  {\endframed}}}
\makeatother
8---8

This way, you have a box when greyed-out is used in the text, and you
have a sign in the margin as well as signs in the text if greyed-out is
used in footnotes.

Of course you can customize the font (emphasize, sans serif, whatever)
just for the notes.

Regards,
Dominik.-



Re: changing font family of greyed-out text?

2009-05-14 Thread rgheck

Dominik Waßenhoven wrote:

I use the following for greyed-out notes (put it in your preamble):

  
This is a nice idea, but note that you could do also this in such a way 
that you have BOTH the original greyed out note available, if you want 
it, and this version. All you have to do is create a custom inset on the 
model of the one I posted before. Then you can put that in a module and 
use it across documents without having to cut and paste preamble code.


Richard


8---8
\usepackage{framed}
\usepackage{etoolbox}
\usepackage{marginnote}
\newbool{lyx:iffootnote}
\boolfalse{lyx:iffootnote}
\let\origfootnote=\footnote 
\def\footnote#1{\origfootnote{\bgroup\booltrue{lyx:iffootnote}#1\egroup}}

\makeatletter
\...@ifundefined{lyxgreyedout}{}{%
  \renewenvironment{lyxgreyedout}%
{\ifbool{lyx:iffootnote}
  {\marginnote{%
 \Large%
 $\leftarrow$}
   \bgroup\space$\rightarrow$\itshape}%
  {\framed}}
{\ifbool{lyx:iffootnote}
  {\egroup$\leftarrow$}%
  {\endframed}}}
\makeatother
8---8

This way, you have a box when greyed-out is used in the text, and you
have a sign in the margin as well as signs in the text if greyed-out is
used in footnotes.

Of course you can customize the font (emphasize, sans serif, whatever)
just for the notes.

Regards,
Dominik.-
  




Re: changing font family of greyed-out text?

2009-05-14 Thread Dominik Waßenhoven
rgheck wrote:

 This is a nice idea, but note that you could do also this in such a way 
 that you have BOTH the original greyed out note available, if you want 
 it, and this version. All you have to do is create a custom inset on the 
 model of the one I posted before. 

Sorry, I missed that one. Is it also possible to alter an existing inset
via a module, so that I can redefine the greyed out note? (I am not at
all familiar with modules.)


Regards,
Dominik.-



scrbook and width of float

2009-05-14 Thread Johannes Knaus

Hello Lyx Users,

I have a problem regarding the width of floats.
I'm currently writing my thesis using scrbook (DIV=calc option).
When I create a float (happens with all types of floats) and write  
something into it which is wider than the textwidth, it is simply  
cropped at the page border.
How can I set up my floats to generally respect textwidth and if the  
content of the float is wider than textwidth it uses either a smaller  
fontsize or wrapping?


Thanks for your help.

Johannes


Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if the 
content of the float is wider than textwidth it uses either a smaller 
fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


Re: changing font family of greyed-out text?

2009-05-14 Thread rgheck

Dominik Waßenhoven wrote:

rgheck wrote:

  
This is a nice idea, but note that you could do also this in such a way 
that you have BOTH the original greyed out note available, if you want 
it, and this version. All you have to do is create a custom inset on the 
model of the one I posted before. 



Sorry, I missed that one. 

  

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73924.html


Is it also possible to alter an existing inset
via a module, so that I can redefine the greyed out note? (I am not at
all familiar with modules.)

  
Yes. Anything you can do with layout you can do with a module. Modules 
are just bits of layout that can be included in various documents via 
DocumentSettingsModules. So you can redefined the greyed out note 
(which is defined in stdinsets.inc) or define a new inset and keep the 
old one.


Richard



Re: scrbook and width of float

2009-05-14 Thread Johannes Knaus

Oh, of course, here is an example:



testfile.lyx
Description: Binary data




Best regards,
Johannes



Am 14.05.2009 um 18:09 schrieb Uwe Stöhr:


Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if  
the content of the float is wider than textwidth it uses either a  
smaller fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:


Oh, of course, here is an example:


Tables cannot be broken horizontally when they are too wide, therefore your float is too wide. So 
you have to assure that the table fits the width. I corrected your example see attached.


When you are using figure floats, set the figure width to max. 100 col% and the float will respect 
the text column width.


Some annotations to your file:

- you are using in your preamble many LaTeX-packages. Do you really need all of them? If not it is 
more safe to use only the packages one really needs.


- you are using in your preamble settings for the LaTeX-package hyperref. Since LyX 1.6.0 LyX 
supports these settings natively, see the document settings under PDF options.


- you have a table within a figure float, but probably only an oversight

- figure captions are usually below the image while table captions are above 
the table

regards Uwe


testfile.lyx
Description: application/lyx


BibDesk and LyX on Mac

2009-05-14 Thread daniel pereira

Hello,

I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of  
Mark Reid http://www.threewordslong.com/projects/misc/bibdesktolyx/.  
Although, when I go to: LyX,  insert  citation , there is no  
citations available. I understand that I can do this from (BibDesk   
right click on article  Send to LyX, but running everything on LyX  
would be a lot easier. Am I supposed to load the list of references  
in some way on LyX?


Thank you, daniel


Re: BibDesk and LyX on Mac

2009-05-14 Thread Lasse Tuominen
2009/5/15 daniel pereira drpere...@ufl.edu:
 Hello,

 I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of Mark
 Reid http://www.threewordslong.com/projects/misc/bibdesktolyx/. Although,
 when I go to: LyX,  insert  citation , there is no citations available. I
 understand that I can do this from (BibDesk  right click on article  Send
 to LyX, but running everything on LyX would be a lot easier. Am I supposed
 to load the list of references in some way on LyX?

Yes, in lyx go Insert  List/Toc  BibTex bibliography. And put it
where you want your bibliography to appear.



-- 
Best Regards
Lasse Tuominen


Re: two questions about figures

2009-05-14 Thread Marcelo Acuña

  Hello,
   I put figures in floats.
  
   1) When I insert a figure into a float I can see
 a box with words: Float: Figure, then this change to: Float:
 Figure*.
      What is the difference between
 Figure and Figure*?
  
   2) The floats have standard setting plus span
 column choosed. Figures have standard setting plus % of text
 width.
      When I run Latex, two first
 figures are displayed near the section where are defined,
 the next figures are displayed 50 pages after, at the end of
 the chapter.     How I can correct
 this?
 
 Have you tried to change the float placement setting to
 here if possible or here definitely ?
 Check the user manual, section 4.6.3 and the
 Documents-Settings-Float Placement options.
 
 Best regards,
 
 Olivier

 I try it, but Here if possible and Here definitely are disabled.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Using counters

2009-05-14 Thread obregonmateo
Hi everyone-

I've gone through the docs, wikis and examples, and I need a helping hand.

I want to have a counter (experiment) that uses roman numerals and is 
sequential throughout the chapters. I figure that a module is the right way 
about this, so I have a module with the following counter:

Counter experimentCounter
LabelString  \Roman{experimentCounter}
Within
End

Now, what I want is a section heading  that would look like:

3.2label expt:reading-ability Experiment I: Effect of reading ability

and then later on:

3.6   label expt:age-predictor Experiment II: Age as a predictor

and then ...

4.2   label expt:reading-aids Experiment III: Reading aids



How can I use my experimentCounter in a section title, as well as assign a 
label to this experiment item (NOT the section number)? I imagine that it would 
require an ERT ... but with what LaTeX command? 

Thanks.

Mateo.



Re: two questions about figures

2009-05-14 Thread Guenter Milde
On 2009-05-15, Marcelo Acuña wrote:

 Have you tried to change the float placement setting to
 here if possible or here definitely ?
 Check the user manual, section 4.6.3 and the
 Documents-Settings-Float Placement options.

  I try it, but Here if possible and Here definitely are disabled.

They are only available if you uncheck the Default button.

Are you sure you want the float here (i.e. at the place of insertion,
maybe middle of the page)?

IMO, the important box to check is ignore LaTeX rules.

Günter



Re: align equations

2009-05-14 Thread Guenter Milde
On 2009-05-13, James C. Sutherland wrote:
 On May 13, 2009, at 12:08 AM, Guenter Milde wrote:
 On 2009-05-12, Paul A. Rubin wrote:

 The LyX-way of declaring text-in-math is pressing Ctrl-M (or typing  
 \text).
 This will use the current text font.

 I have found \mathrm or \textrm to be a much better option since using  
 Ctrl-M in math mode doesn't seem to retain the proper font size.  For  
 example, in a super/subscript the text appears much too large if you  
 use Ctrl-M.

This was recently fixed (I am not sure whether its already in 1.6.3).

However, using \text should scale the font properly.

Günter



Re: changing font family of greyed-out text?

2009-05-14 Thread Andrew Sullivan
On Thu, May 14, 2009 at 07:49:53AM +, Guenter Milde wrote:
 You already have the TODOS in a branch, fine. So you do not need the
 special turnable into invisible notes feature of greyed-out notes and
 are free to use any markup in your branch, true?.

Exactly.  (That's part of my problem -- I'm not that bright, and I
didn't exactly know how to mark up things only in that branch.  Is it
possible?  I tried changing the default font family on that branch,
but it changed the whole document.)
 
 For smaller remarks I'd recommend margin notes.
 Otherwise, some convention like emphasized quotes or paragraphs in
 small caps are markup variants that can be achieved with just some
 keystrokes/clicks.
 
 You might even set up a custom keybinding for your markup choice.

Hmm, this is a good idea.  Thanks!

A

-- 
Andrew Sullivan
a...@shinkuro.com
Shinkuro, Inc.


Re: changing font family of greyed-out text?

2009-05-14 Thread Dominik Waßenhoven
Andrew Sullivan wrote:

 I know how to change the colour of greyed-out notes, but I'd like to
 be able to change the font family for them all.  Even if I change the
 colour to blue, when people print it the blue shows up as grey, and it
 doesn't stand out enough from the rest of the page.  
 [...]
 Since there didn't seem to be a fast, cheap, and easy way to define
 the body text properties for things in one branch and not another, I
 thought I'd use the greyed-out notes and just put them all in one
 branch.  This works, but the notes are still not distictive enough in
 printed copies.  Since I'm working with some people who often mark up
 on paper, I need something that will be obvious when printed.

I use the following for greyed-out notes (put it in your preamble):
8---8
\usepackage{framed}
\usepackage{etoolbox}
\usepackage{marginnote}
\newbool{lyx:iffootnote}
\boolfalse{lyx:iffootnote}
\let\origfootnote=\footnote 
\def\footnote#1{\origfootnote{\bgroup\booltrue{lyx:iffootnote}#1\egroup}}
\makeatletter
\...@ifundefined{lyxgreyedout}{}{%
  \renewenvironment{lyxgreyedout}%
{\ifbool{lyx:iffootnote}
  {\marginnote{%
 \Large%
 $\leftarrow$}
   \bgroup\space$\rightarrow$\itshape}%
  {\framed}}
{\ifbool{lyx:iffootnote}
  {\egroup$\leftarrow$}%
  {\endframed}}}
\makeatother
8---8

This way, you have a box when greyed-out is used in the text, and you
have a sign in the margin as well as signs in the text if greyed-out is
used in footnotes.

Of course you can customize the font (emphasize, sans serif, whatever)
just for the notes.

Regards,
Dominik.-



Re: changing font family of greyed-out text?

2009-05-14 Thread rgheck

Dominik Waßenhoven wrote:

I use the following for greyed-out notes (put it in your preamble):

  
This is a nice idea, but note that you could do also this in such a way 
that you have BOTH the original greyed out note available, if you want 
it, and this version. All you have to do is create a custom inset on the 
model of the one I posted before. Then you can put that in a module and 
use it across documents without having to cut and paste preamble code.


Richard


8---8
\usepackage{framed}
\usepackage{etoolbox}
\usepackage{marginnote}
\newbool{lyx:iffootnote}
\boolfalse{lyx:iffootnote}
\let\origfootnote=\footnote 
\def\footnote#1{\origfootnote{\bgroup\booltrue{lyx:iffootnote}#1\egroup}}

\makeatletter
\...@ifundefined{lyxgreyedout}{}{%
  \renewenvironment{lyxgreyedout}%
{\ifbool{lyx:iffootnote}
  {\marginnote{%
 \Large%
 $\leftarrow$}
   \bgroup\space$\rightarrow$\itshape}%
  {\framed}}
{\ifbool{lyx:iffootnote}
  {\egroup$\leftarrow$}%
  {\endframed}}}
\makeatother
8---8

This way, you have a box when greyed-out is used in the text, and you
have a sign in the margin as well as signs in the text if greyed-out is
used in footnotes.

Of course you can customize the font (emphasize, sans serif, whatever)
just for the notes.

Regards,
Dominik.-
  




Re: changing font family of greyed-out text?

2009-05-14 Thread Dominik Waßenhoven
rgheck wrote:

 This is a nice idea, but note that you could do also this in such a way 
 that you have BOTH the original greyed out note available, if you want 
 it, and this version. All you have to do is create a custom inset on the 
 model of the one I posted before. 

Sorry, I missed that one. Is it also possible to alter an existing inset
via a module, so that I can redefine the greyed out note? (I am not at
all familiar with modules.)


Regards,
Dominik.-



scrbook and width of float

2009-05-14 Thread Johannes Knaus

Hello Lyx Users,

I have a problem regarding the width of floats.
I'm currently writing my thesis using scrbook (DIV=calc option).
When I create a float (happens with all types of floats) and write  
something into it which is wider than the textwidth, it is simply  
cropped at the page border.
How can I set up my floats to generally respect textwidth and if the  
content of the float is wider than textwidth it uses either a smaller  
fontsize or wrapping?


Thanks for your help.

Johannes


Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if the 
content of the float is wider than textwidth it uses either a smaller 
fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


Re: changing font family of greyed-out text?

2009-05-14 Thread rgheck

Dominik Waßenhoven wrote:

rgheck wrote:

  
This is a nice idea, but note that you could do also this in such a way 
that you have BOTH the original greyed out note available, if you want 
it, and this version. All you have to do is create a custom inset on the 
model of the one I posted before. 



Sorry, I missed that one. 

  

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73924.html


Is it also possible to alter an existing inset
via a module, so that I can redefine the greyed out note? (I am not at
all familiar with modules.)

  
Yes. Anything you can do with layout you can do with a module. Modules 
are just bits of layout that can be included in various documents via 
DocumentSettingsModules. So you can redefined the greyed out note 
(which is defined in stdinsets.inc) or define a new inset and keep the 
old one.


Richard



Re: scrbook and width of float

2009-05-14 Thread Johannes Knaus

Oh, of course, here is an example:



testfile.lyx
Description: Binary data




Best regards,
Johannes



Am 14.05.2009 um 18:09 schrieb Uwe Stöhr:


Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if  
the content of the float is wider than textwidth it uses either a  
smaller fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:


Oh, of course, here is an example:


Tables cannot be broken horizontally when they are too wide, therefore your float is too wide. So 
you have to assure that the table fits the width. I corrected your example see attached.


When you are using figure floats, set the figure width to max. 100 col% and the float will respect 
the text column width.


Some annotations to your file:

- you are using in your preamble many LaTeX-packages. Do you really need all of them? If not it is 
more safe to use only the packages one really needs.


- you are using in your preamble settings for the LaTeX-package hyperref. Since LyX 1.6.0 LyX 
supports these settings natively, see the document settings under PDF options.


- you have a table within a figure float, but probably only an oversight

- figure captions are usually below the image while table captions are above 
the table

regards Uwe


testfile.lyx
Description: application/lyx


BibDesk and LyX on Mac

2009-05-14 Thread daniel pereira

Hello,

I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of  
Mark Reid http://www.threewordslong.com/projects/misc/bibdesktolyx/.  
Although, when I go to: LyX,  insert  citation , there is no  
citations available. I understand that I can do this from (BibDesk   
right click on article  Send to LyX, but running everything on LyX  
would be a lot easier. Am I supposed to load the list of references  
in some way on LyX?


Thank you, daniel


Re: BibDesk and LyX on Mac

2009-05-14 Thread Lasse Tuominen
2009/5/15 daniel pereira drpere...@ufl.edu:
 Hello,

 I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of Mark
 Reid http://www.threewordslong.com/projects/misc/bibdesktolyx/. Although,
 when I go to: LyX,  insert  citation , there is no citations available. I
 understand that I can do this from (BibDesk  right click on article  Send
 to LyX, but running everything on LyX would be a lot easier. Am I supposed
 to load the list of references in some way on LyX?

Yes, in lyx go Insert  List/Toc  BibTex bibliography. And put it
where you want your bibliography to appear.



-- 
Best Regards
Lasse Tuominen


Re: two questions about figures

2009-05-14 Thread Marcelo Acuña

  Hello,
   I put figures in floats.
  
   1) When I insert a figure into a float I can see
 a box with words: Float: Figure, then this change to: Float:
 Figure*.
      What is the difference between
 Figure and Figure*?
  
   2) The floats have standard setting plus span
 column choosed. Figures have standard setting plus % of text
 width.
      When I run Latex, two first
 figures are displayed near the section where are defined,
 the next figures are displayed 50 pages after, at the end of
 the chapter.     How I can correct
 this?
 
 Have you tried to change the float placement setting to
 here if possible or here definitely ?
 Check the user manual, section 4.6.3 and the
 Documents-Settings-Float Placement options.
 
 Best regards,
 
 Olivier

 I try it, but Here if possible and Here definitely are disabled.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Using counters

2009-05-14 Thread obregonmateo
Hi everyone-

I've gone through the docs, wikis and examples, and I need a helping hand.

I want to have a counter (experiment) that uses roman numerals and is 
sequential throughout the chapters. I figure that a module is the right way 
about this, so I have a module with the following counter:

Counter experimentCounter
LabelString  \Roman{experimentCounter}
Within
End

Now, what I want is a section heading  that would look like:

3.2label expt:reading-ability Experiment I: Effect of reading ability

and then later on:

3.6   label expt:age-predictor Experiment II: Age as a predictor

and then ...

4.2   label expt:reading-aids Experiment III: Reading aids



How can I use my experimentCounter in a section title, as well as assign a 
label to this experiment item (NOT the section number)? I imagine that it would 
require an ERT ... but with what LaTeX command? 

Thanks.

Mateo.



Re: two questions about figures

2009-05-14 Thread Guenter Milde
On 2009-05-15, Marcelo Acuña wrote:

 Have you tried to change the float placement setting to
 here if possible or here definitely ?
 Check the user manual, section 4.6.3 and the
 Documents-Settings-Float Placement options.

  I try it, but Here if possible and Here definitely are disabled.

They are only available if you uncheck the Default button.

Are you sure you want the float here (i.e. at the place of insertion,
maybe middle of the page)?

IMO, the important box to check is ignore LaTeX rules.

Günter



Re: align equations

2009-05-14 Thread Guenter Milde
On 2009-05-13, James C. Sutherland wrote:
> On May 13, 2009, at 12:08 AM, Guenter Milde wrote:
>> On 2009-05-12, Paul A. Rubin wrote:

>> The LyX-way of declaring text-in-math is pressing Ctrl-M (or typing  
>> \text).
>> This will use the current text font.

> I have found \mathrm or \textrm to be a much better option since using  
> Ctrl-M in math mode doesn't seem to retain the proper font size.  For  
> example, in a super/subscript the text appears much too large if you  
> use Ctrl-M.

This was recently fixed (I am not sure whether its already in 1.6.3).

However, using \text should scale the font properly.

Günter



Re: changing font family of greyed-out text?

2009-05-14 Thread Andrew Sullivan
On Thu, May 14, 2009 at 07:49:53AM +, Guenter Milde wrote:
> You already have the "TODOS" in a branch, fine. So you do not need the
> special "turnable into invisible notes" feature of greyed-out notes and
> are free to use any markup in your branch, true?.

Exactly.  (That's part of my problem -- I'm not that bright, and I
didn't exactly know how to mark up things only in that branch.  Is it
possible?  I tried changing the default font family on that branch,
but it changed the whole document.)
 
> For smaller remarks I'd recommend margin notes.
> Otherwise, some convention like "emphasized quotes" or "paragraphs in
> small caps" are markup variants that can be achieved with just some
> keystrokes/clicks.
> 
> You might even set up a custom keybinding for your markup choice.

Hmm, this is a good idea.  Thanks!

A

-- 
Andrew Sullivan
a...@shinkuro.com
Shinkuro, Inc.


Re: changing font family of greyed-out text?

2009-05-14 Thread Dominik Waßenhoven
Andrew Sullivan wrote:

> I know how to change the colour of greyed-out notes, but I'd like to
> be able to change the font family for them all.  Even if I change the
> colour to blue, when people print it the blue shows up as grey, and it
> doesn't stand out enough from the rest of the page.  
> [...]
> Since there didn't seem to be a fast, cheap, and easy way to define
> the body text properties for things in one branch and not another, I
> thought I'd use the greyed-out notes and just put them all in one
> branch.  This works, but the notes are still not distictive enough in
> printed copies.  Since I'm working with some people who often mark up
> on paper, I need something that will be obvious when printed.

I use the following for greyed-out notes (put it in your preamble):
8<--->8
\usepackage{framed}
\usepackage{etoolbox}
\usepackage{marginnote}
\newbool{lyx:iffootnote}
\boolfalse{lyx:iffootnote}
\let\origfootnote=\footnote 
\def\footnote#1{\origfootnote{\bgroup\booltrue{lyx:iffootnote}#1\egroup}}
\makeatletter
\...@ifundefined{lyxgreyedout}{}{%
  \renewenvironment{lyxgreyedout}%
{\ifbool{lyx:iffootnote}
  {\marginnote{%
 \Large%
 $\leftarrow$}
   \bgroup\space$\rightarrow$\itshape}%
  {\framed}}
{\ifbool{lyx:iffootnote}
  {\egroup$\leftarrow$}%
  {\endframed}}}
\makeatother
8<--->8

This way, you have a box when greyed-out is used in the text, and you
have a sign in the margin as well as signs in the text if greyed-out is
used in footnotes.

Of course you can customize the font (emphasize, sans serif, whatever)
just for the notes.

Regards,
Dominik.-



Re: changing font family of greyed-out text?

2009-05-14 Thread rgheck

Dominik Waßenhoven wrote:

I use the following for greyed-out notes (put it in your preamble):

  
This is a nice idea, but note that you could do also this in such a way 
that you have BOTH the original greyed out note available, if you want 
it, and this version. All you have to do is create a custom inset on the 
model of the one I posted before. Then you can put that in a module and 
use it across documents without having to cut and paste preamble code.


Richard


8<--->8
\usepackage{framed}
\usepackage{etoolbox}
\usepackage{marginnote}
\newbool{lyx:iffootnote}
\boolfalse{lyx:iffootnote}
\let\origfootnote=\footnote 
\def\footnote#1{\origfootnote{\bgroup\booltrue{lyx:iffootnote}#1\egroup}}

\makeatletter
\...@ifundefined{lyxgreyedout}{}{%
  \renewenvironment{lyxgreyedout}%
{\ifbool{lyx:iffootnote}
  {\marginnote{%
 \Large%
 $\leftarrow$}
   \bgroup\space$\rightarrow$\itshape}%
  {\framed}}
{\ifbool{lyx:iffootnote}
  {\egroup$\leftarrow$}%
  {\endframed}}}
\makeatother
8<--->8

This way, you have a box when greyed-out is used in the text, and you
have a sign in the margin as well as signs in the text if greyed-out is
used in footnotes.

Of course you can customize the font (emphasize, sans serif, whatever)
just for the notes.

Regards,
Dominik.-
  




Re: changing font family of greyed-out text?

2009-05-14 Thread Dominik Waßenhoven
rgheck wrote:

> This is a nice idea, but note that you could do also this in such a way 
> that you have BOTH the original greyed out note available, if you want 
> it, and this version. All you have to do is create a custom inset on the 
> model of the one I posted before. 

Sorry, I missed that one. Is it also possible to alter an existing inset
via a module, so that I can redefine the greyed out note? (I am not at
all familiar with modules.)


Regards,
Dominik.-



scrbook and width of float

2009-05-14 Thread Johannes Knaus

Hello Lyx Users,

I have a problem regarding the width of floats.
I'm currently writing my thesis using scrbook (DIV=calc option).
When I create a float (happens with all types of floats) and write  
something into it which is wider than the textwidth, it is simply  
cropped at the page border.
How can I set up my floats to generally respect textwidth and if the  
content of the float is wider than textwidth it uses either a smaller  
fontsize or wrapping?


Thanks for your help.

Johannes


Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if the 
content of the float is wider than textwidth it uses either a smaller 
fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


Re: changing font family of greyed-out text?

2009-05-14 Thread rgheck

Dominik Waßenhoven wrote:

rgheck wrote:

  
This is a nice idea, but note that you could do also this in such a way 
that you have BOTH the original greyed out note available, if you want 
it, and this version. All you have to do is create a custom inset on the 
model of the one I posted before. 



Sorry, I missed that one. 

  

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73924.html


Is it also possible to alter an existing inset
via a module, so that I can redefine the greyed out note? (I am not at
all familiar with modules.)

  
Yes. Anything you can do with layout you can do with a module. Modules 
are just bits of layout that can be included in various documents via 
Document>Settings>Modules. So you can redefined the greyed out note 
(which is defined in stdinsets.inc) or define a new inset and keep the 
old one.


Richard



Re: scrbook and width of float

2009-05-14 Thread Johannes Knaus

Oh, of course, here is an example:



testfile.lyx
Description: Binary data




Best regards,
Johannes



Am 14.05.2009 um 18:09 schrieb Uwe Stöhr:


Johannes Knaus schrieb:

How can I set up my floats to generally respect textwidth and if  
the content of the float is wider than textwidth it uses either a  
smaller fontsize or wrapping?


To be able to help you, can you please provide a _small_ LyX testcase?

regards Uwe


--

Sometimes I lie awake at night, and ask, "Where have I gone wrong?"
Then a voice says to me, "This is going to take more than one  
night." (Charlie Brown)





Re: scrbook and width of float

2009-05-14 Thread Uwe Stöhr

Johannes Knaus schrieb:


Oh, of course, here is an example:


Tables cannot be broken horizontally when they are too wide, therefore your float is too wide. So 
you have to assure that the table fits the width. I corrected your example see attached.


When you are using figure floats, set the figure width to max. 100 col% and the float will respect 
the text column width.


Some annotations to your file:

- you are using in your preamble many LaTeX-packages. Do you really need all of them? If not it is 
more safe to use only the packages one really needs.


- you are using in your preamble settings for the LaTeX-package hyperref. Since LyX 1.6.0 LyX 
supports these settings natively, see the document settings under "PDF options".


- you have a table within a figure float, but probably only an oversight

- figure captions are usually below the image while table captions are above 
the table

regards Uwe


testfile.lyx
Description: application/lyx


BibDesk and LyX on Mac

2009-05-14 Thread daniel pereira

Hello,

I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of  
Mark Reid .  
Although, when I go to: LyX, > insert > citation , there is no  
citations available. I understand that I can do this from (BibDesk >  
right click on article > Send to LyX, but running everything on LyX  
would be a lot easier. Am I supposed to "load" the list of references  
in some way on LyX?


Thank you, daniel


Re: BibDesk and LyX on Mac

2009-05-14 Thread Lasse Tuominen
2009/5/15 daniel pereira :
> Hello,
>
> I am running LyX 1.6.2 on a Mac (Intel) and using the script (pipe) of Mark
> Reid . Although,
> when I go to: LyX, > insert > citation , there is no citations available. I
> understand that I can do this from (BibDesk > right click on article > Send
> to LyX, but running everything on LyX would be a lot easier. Am I supposed
> to "load" the list of references in some way on LyX?

Yes, in lyx go Insert > List/Toc > BibTex bibliography. And put it
where you want your bibliography to appear.



-- 
Best Regards
Lasse Tuominen


Re: two questions about figures

2009-05-14 Thread Marcelo Acuña

> > Hello,
> >  I put figures in floats.
> > 
> >  1) When I insert a figure into a float I can see
> a box with words: Float: Figure, then this change to: Float:
> Figure*.
> >     What is the difference between
> Figure and Figure*?
> > 
> >  2) The floats have standard setting plus span
> column choosed. Figures have standard setting plus % of text
> width.
> >     When I run Latex, two first
> figures are displayed near the section where are defined,
> the next figures are displayed 50 pages after, at the end of
> the chapter.     How I can correct
> this?
> 
> Have you tried to change the "float placement" setting to
> "here if possible" or "here definitely" ?
> Check the user manual, section 4.6.3 and the
> "Documents->Settings->Float Placement" options.
> 
> Best regards,
> 
> Olivier

 I try it, but Here if possible and Here definitely are disabled.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Using counters

2009-05-14 Thread obregonmateo
Hi everyone-

I've gone through the docs, wikis and examples, and I need a helping hand.

I want to have a counter (experiment) that uses roman numerals and is 
sequential throughout the chapters. I figure that a module is the right way 
about this, so I have a module with the following counter:

Counter experimentCounter
LabelString  "\Roman{experimentCounter}"
Within   "" 
End

Now, what I want is a section heading  that would look like:

3.2 Experiment I: Effect of reading ability

and then later on:

3.6Experiment II: Age as a predictor

and then ...

4.2Experiment III: Reading aids



How can I use my "experimentCounter" in a section title, as well as assign a 
label to this experiment item (NOT the section number)? I imagine that it would 
require an ERT ... but with what LaTeX command? 

Thanks.

Mateo.



Re: two questions about figures

2009-05-14 Thread Guenter Milde
On 2009-05-15, Marcelo Acuña wrote:

>> Have you tried to change the "float placement" setting to
>> "here if possible" or "here definitely" ?
>> Check the user manual, section 4.6.3 and the
>> "Documents->Settings->Float Placement" options.

>  I try it, but Here if possible and Here definitely are disabled.

They are only available if you uncheck the "Default" button.

Are you sure you want the float "here" (i.e. at the place of insertion,
maybe middle of the page)?

IMO, the important box to check is "ignore LaTeX rules".

Günter