Re: natbib (author year problem)

2011-11-13 Thread Richard Heck

On 11/13/2011 02:37 PM, Tóth Imre wrote:

Hello
I use the latest stable version of Ubuntu, so I use the lyx2.0.  I am 
writing some assignments and my university requests the (Author year) 
citation style. I found the Natbib support in within the document 
configuration but i can use it without any success it only shows the 
(author ?) instead of the real references could you suggest me some 
solution for this problem?


Are you using BibTeX or putting your references into the LyX file? If 
the latter, then you need to make sure the keys are of a very specific 
form. I think this is covered in the docs


Richard



Re: pictures in a row

2011-11-13 Thread Uwe Stöhr

Am 10.11.2011 00:07, schrieb Matthias Drexler:


I have a table (4x4). In the first column and row is some text. The second 
column and first row is a bigger picture than the row height.
If I export this lyx-file to pdf, the picture is printed over the cell (over 
the buttom-line).


Do you have a SMALL example file?
Normally the table cell is automatically resized so that the cell contents fit 
into the cell.


So I have now two questions:
a) Is it able to adjust a picture in a cell-size or in a box?


Yes, see the EmbeddedObjects manual chap 2 "Tables" for the possible methods.

Attached is a LyX example file.


b) Is it able to adjust the row height to the picture inside?


this is automatically done, except you prevented this manually.

regards Uwe



imageinTable.lyx
Description: application/lyx


Re: Named Colors

2011-11-13 Thread Uwe Stöhr

Am 14.11.2011 00:50, schrieb H. Hodges:


\usepackage[usenames,dvipsnames]{color}

in the preamble is supposed to give access to 68 defined colors beyond the basic
ones you've listed;


No, this won't work, see
http://www.maths.adelaide.edu.au/anthony.roberts/LaTeX/ltxusecol.html

You forgot to load the pdfcolmk package which is required for this feature and the color name is 
RoyalBlue not royalblue.


Attached is an example where the urlcolor is RoyalBlue.

Besides this, this feature was new to me and I'll add it to the LyX docs.

regards Uwe


Colors.lyx
Description: application/lyx


Re: headline

2011-11-13 Thread Uwe Stöhr

Am 10.11.2011 00:29, schrieb Matthias Drexler:


In my lyx-document I have a headline with a little picture in it.
The page-style is set on 'fancy' (German: "ausgfallen"). The modul "custom 
headline/footer" is loaded.
The first page where the headline is printed after export, is ignored by the 
text.


We need a SMALL example LyX file.
For the header/foter line definition, take LyX#s thesis template file "thesis.lyx" as reference. 
(This file is in the folder "templates/thesis".)


regards Uwe


Re: Named Colors

2011-11-13 Thread H . Hodges

> > Maybe using named colors isn't the problem, but I
> > added that and tried to use urlcolor=royalblue as a hyperref option, and I'm
> > still getting an undefined color error.
> 
> Yes, because there are only the default colors defined: white, black, blue,
red, green, magenta, 
> cyan and yellow. For further colors, you need to define them by yourself.

Thanks, but I've already done that. I just wanted to know if it was possible to
use the dvips colors for my hyperref options, or use them at all at this point.
I think I didn't make that clear before. Placing 

\usepackage[usenames,dvipsnames]{color}

in the preamble is supposed to give access to 68 defined colors beyond the basic
ones you've listed; those are the ones I want.







Re: "flowed round objekt"

2011-11-13 Thread Uwe Stöhr

Am 11.11.2011 08:17, schrieb Guenter Milde:


Also, read the wrapfigure documentation for more details and have a look at
Ansicht>Quelle to see how LyX exports your image to LaTeX.


You can also have a look at the EmbeddedObjects manual that you find in LyX's Help menu: sec. 6 
"Objects Surrounded by Text". There I stated some general rules how to use wrapped fats and perhaps 
you might want to check out the picinpar solution described there.


regards Uwe


Re: Named Colors

2011-11-13 Thread Uwe Stöhr

Am 13.11.2011 17:44, schrieb H. Hodges:


The easiest way is just to add "usenames" as a document class option
under Document>Settings.


In the Custom box I assume?


Yes.


Maybe using named colors isn't the problem, but I
added that and tried to use urlcolor=royalblue as a hyperref option, and I'm
still getting an undefined color error.


Yes, because there are only the default colors defined: white, black, blue, red, green, magenta, 
cyan and yellow. For further colors, you need to define them by yourself. How this is done is 
described in sec. 2.11.1 "Colored Cells" of the EmbeddedObjects manual.


Attached is an example file where I did this.

regards Uwe


Colors.lyx
Description: application/lyx


Re: Named Colors

2011-11-13 Thread H . Hodges

> Try just blue or navy?
> 
> Charlie


The point of using the named colors is not being limited to basic 
colors like blue. 



Re: Named Colors

2011-11-13 Thread Charlie
 On Sun, 13 Nov 2011 16:44:58 + (UTC) "H. Hodges
 freelancer.hod...@gmail.com" suggested this:

>
>> The easiest way is just to add "usenames" as a document class option 
>> under Document>Settings.
>
>In the Custom box I assume? Maybe using named colors isn't the
>problem, but I added that and tried to use urlcolor=royalblue as a
>hyperref option, and I'm still getting an undefined color error.

Try just blue or navy?

Charlie
-- 
Registered Linux User:- 329524
***

You must not blame me if I do talk to the clouds. .Henry David
Thoreau

***

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

-


natbib (author year problem)

2011-11-13 Thread Tóth Imre
Hello
I use the latest stable version of Ubuntu, so I use the lyx2.0.  I am
writing some assignments and my university requests the (Author year)
citation style. I found the Natbib support in within the document
configuration but i can use it without any success it only shows the
(author ?) instead of the real references could you suggest me some
solution for this problem?

Best Regards
Imre Toth

Save a tree...Think before you print


Re: Named Colors

2011-11-13 Thread H . Hodges

> The easiest way is just to add "usenames" as a document class option 
> under Document>Settings.

In the Custom box I assume? Maybe using named colors isn't the problem, but I
added that and tried to use urlcolor=royalblue as a hyperref option, and I'm
still getting an undefined color error.





Re: Named Colors

2011-11-13 Thread Richard Heck

On 11/13/2011 09:37 AM, H. Hodges wrote:

How can I use named colors in lyx? I can't add \usepackage[usenames]{color} to
the preamble because \usepackage{color} is there by default and I get an "option
clash for package color" error.


The easiest way is just to add "usenames" as a document class option 
under Document>Settings.


rh



Named Colors

2011-11-13 Thread H . Hodges
How can I use named colors in lyx? I can't add \usepackage[usenames]{color} to
the preamble because \usepackage{color} is there by default and I get an "option
clash for package color" error. 



Re: moderncv.lyx

2011-11-13 Thread H . Hodges
Heaven Hodges  gmail.com> writes:

> 
> moderncv.lyx "not a readable lyx document"
> 

Solved by re-downloading the file.





moderncv.lyx "not a readable lyx document"

2011-11-13 Thread Heaven Hodges
moderncv.lyx "not a readable lyx document"

Postby StarKid on Sun Nov 13, 2011 12:56 am
I have LyX 2.0.0 on Ubuntu Linux. Attempting to open the moderncv template gives
the error in the post subject heading. I've used this template once before, but
it was months ago and I don't know what could have changed. Other templates open
up fine aside from some warnings about not being able to compile due to missing
.cls files. What could be wrong?