1 Oct 05:55 2006

### Text out of the paper

Hi,

I use the Lyx since 1999 and like it so much.
Now I have a problem: when I use some bibtex syles (for example harvard style) that uses author and year, and
the citation list + line text is bigger than the line a piece of the line text stay out of the paper !!

Best regards,
Nivaldo

_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!


1 Oct 11:57 2006

### Re: Greek Text in Xfig -- SOLVED

On 9/30/06, Rich Shepard <rshepard@...> wrote:
> >  How do I enter, for example \mu, in Xfig so it displays as the letter and
> > not the LaTeX command?
>
>    D'oh! I change the typeface to Symbols(Greek).

You have perhaps a better solution, Rich:

1. insert '$\mu$' in your figure;
2. select 'Special flag' and 'Use LaTeX fonts' for  '$\mu$';
3. insert your Xfig picture in your LyX document with Insert -> File
-> External material (Xfig's Template).

There is no need to convert your xfig picture to an eps one, as LyX
knows quite well how to operate the needed conversions by itself
regarding xfig files.

Paul


1 Oct 17:07 2006

### Re: Greek Text in Xfig -- SOLVED

On Sun, 1 Oct 2006, Paul Smith wrote:

> You have perhaps a better solution, Rich:
>
> 1. insert '$\mu$' in your figure;
> 2. select 'Special flag' and 'Use LaTeX fonts' for  '$\mu$';
> 3. insert your Xfig picture in your LyX document with Insert -> File
> -> External material (Xfig's Template).
>
> There is no need to convert your xfig picture to an eps one, as LyX knows
> quite well how to operate the needed conversions by itself regarding xfig
> files.

Paul,

Thank you. I'll have to see if I can set these as defaults for each image.
And, I'll need to test whether my LyX installation will directly import .fig
files.

But, does it matter if we directly import a .fig or we export the image to
.eps and insert that format?

Rich

--

--
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



1 Oct 18:19 2006

### Re: Greek Text in Xfig -- SOLVED

On 10/1/06, Rich Shepard <rshepard@...> wrote:
> > You have perhaps a better solution, Rich:
> >
> > 1. insert '$\mu$' in your figure;
> > 2. select 'Special flag' and 'Use LaTeX fonts' for  '$\mu$';
> > 3. insert your Xfig picture in your LyX document with Insert -> File
> > -> External material (Xfig's Template).
> >
> > There is no need to convert your xfig picture to an eps one, as LyX knows
> > quite well how to operate the needed conversions by itself regarding xfig
> > files.
>
>    But, does it matter if we directly import a .fig or we export the image to
> .eps and insert that format?

Yes, Rich, it matters if you have text or formulas in your figure. The
enunciated procedure allows you to have the text in your figure
written (in the ps/pdf output) with the same font used by your
document. In particular, it is quite handy when you have formulas in
your figure, as they will render as nice LaTeX wirtten formulas (in
your ps/pdf output), and no need to use psfrag. (Take the attached
xfig file and insert it directly; you will see a nice integral drawn
inside a rectangle.)

Paul


1 Oct 18:24 2006

### Re: Greek Text in Xfig -- SOLVED

On 10/1/06, Paul Smith <phhs80@...> wrote:
> > > You have perhaps a better solution, Rich:
> > >
> > > 1. insert '$\mu$' in your figure;
> > > 2. select 'Special flag' and 'Use LaTeX fonts' for  '$\mu$';
> > > 3. insert your Xfig picture in your LyX document with Insert -> File
> > > -> External material (Xfig's Template).
> > >
> > > There is no need to convert your xfig picture to an eps one, as LyX knows
> > > quite well how to operate the needed conversions by itself regarding xfig
> > > files.
> >
> >    But, does it matter if we directly import a .fig or we export the image to
> > .eps and insert that format?
>
> Yes, Rich, it matters if you have text or formulas in your figure. The
> enunciated procedure allows you to have the text in your figure
> written (in the ps/pdf output) with the same font used by your
> document. In particular, it is quite handy when you have formulas in
> your figure, as they will render as nice LaTeX wirtten formulas (in
> your ps/pdf output), and no need to use psfrag. (Take the attached
> xfig file and insert it directly; you will see a nice integral drawn
> inside a rectangle.)

Forgot the file in my previous post. Sorry about that!

Paul

2 Oct 00:08 2006

### Re: 1.4.3 user interface file


"Juergen Spitzmueller"  a écrit dans le message de news:
Paul Schwartz wrote:
> I tried to use "wintoolbars.ui" without success getting an error requiring
> to "check the configuration".

I don't know that file, but I suspect it is a replacement for
stdtoolbars.ui.
If so, you should copy the file default.ui and wintoolbars.ui to your
personal LyX directory (if something like that exists on Windows), and
change
in default .ui the line:
Include "stdtoolbars.ui"

by

Include "wintoolbars.ui"

Jürgen

Thanks, after several trials I copied all ui files from 1.4.1 into personal
LyX directory (for windows xp pro : documents and settings\application
data\LyX1.4.x\ui and now it works properly for both 1.4.1 (which is still
installed) and 1.4.3 ... they are interferring between each other.

I didn't verify which files are necessary. With the doc I have, I am sure I
cannot elaborate one of my own.

Thanks again



2 Oct 03:17 2006

### How to actually use the LyX 1.4 Character Style Feature

Lyx 1.4.3svn Win32

Hi,

Even though I have been using Lyx for quite a couple of years, I am new on
this list - so please forgive me, if this already has been discussed. (Yes,
I did a quick check the archives  )

1) I would like to use character styles in my documents. In our papers, we
frequently have to refer to identifiers from C++ listings that should be
set in "typewriter" and either "small" or "smaller" and I would like to
define a character style for that.

However, whenever I try to do a:

charstyle-insert <whatever>

I get a "command disabled" message in the status bar.

Has the new 1.4 feature intentionally been disabled in 1.4.3?

Thanks!

Daniel


2 Oct 08:17 2006

### Re: How to actually use the LyX 1.4 Character Style Feature

Daniel Lohmann wrote:
> 1) I would like to use character styles in my documents. In our papers, we
> frequently have to refer to identifiers from C++ listings that should be
> set in "typewriter" and either "small" or "smaller" and I would like to
> define a character style for that.

Currently, charstyles are only available on a general (document-class or
several-document-classes) level.
You have to define your character styles either in the *.layout file or in a
mycharstyles.inc file, which is then to be included in the layout file(s)
with

Input mycharstyles.inc

All those files have to be placed in your ./lyx-directory.

The char styles are then available through the menu (Input->Character Styles)

The syntax is pretty straightforward, in your case it's something like:

CharStyle Identifier
LatexType             Command
LatexName             identif
LabelFont
Family              Typewriter
Color               blue
EndFont
Preamble
\newcommand\identif[1]{\small\texttt{#1}}
EndPreamble


2 Oct 09:00 2006

### Re: Mathabx and LyX

Georg Baum a écrit :
> Am Freitag, 29. September 2006 17:39 schrieb Nicolas Ferré:
>> Dear LyXers,
>>
>> In order to get the updownharpoons symbol, I downloaded the mathabx
>> package. Unfortunately, whatever I unselect AMS or not, I always get an
>> error, saying that cdot, degree, second and forth symbols are already
>> defined.
>> Any hint ?
>
> Which version of LyX are you using? In 1.4.x you can turn off AMS
> completely. Please send an example file for us to test if that does not
> work.
>
>
> Georg
>

Actually, I found this is not related to LyX, but to a conflict between
the mathabx and SIunits packages. If I need both of them, what is the
solution ?

--

--
NF


Attachment (test_mathabx.lyx): text/x-lyx, 1063 bytes
2 Oct 09:14 2006

### Re: How to actually use the LyX 1.4 Character Style Feature

Thank you very much, Jürgen - works like a charm!

I am a bit surprised about the way character styles are represented in the
GUI (with this kind of inset and the name below). I had expected it to be
more like "Emphasis" and the other text styles so that one can defines, how
the text *itself* does appear - and not the character style label.

I suppose the reason is support for nesting? (Just figured out that you can
nest character styles, which definitely makes sense. Pretty cool!) Problem
is just that it makes the text a bit uneasy to read on the screen, as a
line containing a word with applied character style(s) takes additional
space, resulting in different line spacings.

Is there any way to define own "text styles" such as "Emphasis" or "Noun"?
As I understand it, this should conceptually be a character style as well,
even though it seems to be implemented differently.

Thanks again!

Daniel

Juergen Spitzmueller schrieb:
> Daniel Lohmann wrote:
>> 1) I would like to use character styles in my documents. In our papers, we
>> frequently have to refer to identifiers from C++ listings that should be
>> set in "typewriter" and either "small" or "smaller" and I would like to
>> define a character style for that.
>
> Currently, charstyles are only available on a general (document-class or
> several-document-classes) level.