Re: table gets cropped sideways and vertically

2010-02-20 Thread K. Elo
Hi Sajjad,

20.02.2010 04:22, Sajjad wrote:
 I am attaching a .lyx file where i have created a table. But when i
 create a pdf file the contents get cropped vertically and horizontally.

Your table is simply too wide to fit on a page. You have defined each
column to be 20 percent of the text width. With seven columns this adds
up to 140% of the page width!! Try to modify the column widths in order
to fit the table horizontally.

HTH,
Kimmo



Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread Manoj Rajagopalan
Hi all,

   A journal I am planning to submit a paper to wants all references to be 
inlined into the main .tex file - they don't accept separate bibtex files 
or .bbl files. Is there any way to achieve this with LyX when I export to 
latex? If not with lyx only, is there any other way to achieve the same 
effect using a combination of lyx and shell scripts? My platform is KUbuntu 
8.04 / i686

Thanks,
Manoj


Re: inserting a Latex equation

2010-02-20 Thread Paul A. Rubin

Bernd Schubert wrote:

Bernd Schubert wrote:


Hi all,

I'm presently coping lots of tex equations into lyx and usually this works
great, but this one drives me nuts:

\begin{align*}
{\left( {\Delta ^{(1)} } \right)^2 = }
   + \frac{1} {2}\left( {k^2  + \lambda ^2 } \right)\left( {Q_1^2  +
Q_2^2 } \right)  \\
   + \frac{1} {2}\left( {k^2  - \lambda ^2 } \right)\left( {Q_1^2  -
Q_2^2 } \right)\cos 2\gamma \\
   + \left( {k^2  - \lambda ^2 } \right)Q_1 Q_2 \sin 2\gamma
\end{align*}

As with the other formulas I just copies it into the
numbered formula field, but this time it add an additional backslash,
so the correspondig tex output is

\begin{equation}
\backslash begin \{align*}...

So it didn't recognize the equations and escaped all keywords with
backslashes, hence even in compiled output the formula is displayed
as text...

Any ideas?


Hmm well, I got it, by only pasting everything between 
\begin{align*}... \end{align*}, and then by manually making a multiline 
alighned formula out of it. 
Still would be better, if it would recognize the formula on its own or at 
least if it would not escape everything and simply keep the tex code.




If you copy everything and paste it directly into a document as text, 
then highlight it all and hit ctrl-M (or click Insert  Math  Inline 
Formula or, in this case at least, Insert  Math  Display Formula), LyX 
will convert it to something close to what is intended.  The only flaw I 
see here is that there are a number of what I think are unnecessary 
braces retained.  You might have to delete those manually.


/Paul



Re: Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread E. Kaplan
This issue comes up so often that it is surprising indeed that there is 
no built-in Lyx method of doing that.  What I do in such cases (every 
time I send out a manuscript to a journal, for example), is to:


  1. Export from Lyx to plain Latex
  2. Run Latex on the file, to generate correct references AND a .bbl
 file related to my manuscript
  3. Open the Latex file with an ASCII editor and paste the .bbl file
 into it.
  4. Save the file, and send it to the journal.

EK

On 2/20/2010 11:55 AM, Manoj Rajagopalan wrote:

Hi all,

A journal I am planning to submit a paper to wants all references to be
inlined into the main .tex file - they don't accept separate bibtex files
or .bbl files. Is there any way to achieve this with LyX when I export to
latex? If not with lyx only, is there any other way to achieve the same
effect using a combination of lyx and shell scripts? My platform is KUbuntu
8.04 / i686

Thanks,
Manoj
   


Re: inserting a Latex equation

2010-02-20 Thread Guenter Milde
On 2010-02-20, Bernd Schubert wrote:
 Bernd Schubert wrote:

 I'm presently coping lots of tex equations into lyx and usually this works
 great, but this one drives me nuts:

 \begin{align*}
...
 \end{align*}

 As with the other formulas I just copies it into the
 numbered formula field, but this time it add an additional backslash,
 so the correspondig tex output is

 \begin{equation}
 \backslash begin \{align*}...

 So it didn't recognize the equations and escaped all keywords with
 backslashes, hence even in compiled output the formula is displayed
 as text...

 Any ideas?

You are copying an align* environment into an equation environment (LyX
display-math box). This cannot work.

 Hmm well, I got it, by only pasting everything between 
 \begin{align*}... \end{align*}, and then by manually making a multiline 
 alighned formula out of it. 

 Still would be better, if it would recognize the formula on its own or at 
 least if it would not escape everything and simply keep the tex code.

You can paste the whole thing as text, mark it and convert to a
math-box with Ctrl-m. In this case, LyX will recognize the equation
type and do the right thing if it is supported.

Günter



bevel and shadow effects for beamer

2010-02-20 Thread Micha Feigin
I'm trying to port a powerpoint presentation to beamer, but it has to mostly
mimic the original design. I'm done most things, the only thing I can't figure
out if it's even possible is to get a 3d effect on slide title fonts (bevel +
shadow). Is there a way to do it with beamer?

I found the outline package or fontspec + xetex for shadows and such, but I
can't get the bevel effect (inner shadow and highlight to get the 3d effect).

thanks


I guess I found a bug

2010-02-20 Thread Mehmet Bicak
Hi,
I am getting following weird errors,
Latex error: Command \iint already defined
Latex error: Command \iiint already defined
Latex error: Command \nt already defined

 ...d{\iint}{\DOTSI\protect\MultiIntegral{2}}
  
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

I've checked and searched the project file, and there is no single text or
string is found as \iint , \iiint , \nt 

What should I do?
I am using windows binary distribution 1.6.5






Re: table gets cropped sideways and vertically

2010-02-20 Thread K. Elo
Hi Sajjad,

20.02.2010 04:22, Sajjad wrote:
 I am attaching a .lyx file where i have created a table. But when i
 create a pdf file the contents get cropped vertically and horizontally.

Your table is simply too wide to fit on a page. You have defined each
column to be 20 percent of the text width. With seven columns this adds
up to 140% of the page width!! Try to modify the column widths in order
to fit the table horizontally.

HTH,
Kimmo



Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread Manoj Rajagopalan
Hi all,

   A journal I am planning to submit a paper to wants all references to be 
inlined into the main .tex file - they don't accept separate bibtex files 
or .bbl files. Is there any way to achieve this with LyX when I export to 
latex? If not with lyx only, is there any other way to achieve the same 
effect using a combination of lyx and shell scripts? My platform is KUbuntu 
8.04 / i686

Thanks,
Manoj


Re: inserting a Latex equation

2010-02-20 Thread Paul A. Rubin

Bernd Schubert wrote:

Bernd Schubert wrote:


Hi all,

I'm presently coping lots of tex equations into lyx and usually this works
great, but this one drives me nuts:

\begin{align*}
{\left( {\Delta ^{(1)} } \right)^2 = }
   + \frac{1} {2}\left( {k^2  + \lambda ^2 } \right)\left( {Q_1^2  +
Q_2^2 } \right)  \\
   + \frac{1} {2}\left( {k^2  - \lambda ^2 } \right)\left( {Q_1^2  -
Q_2^2 } \right)\cos 2\gamma \\
   + \left( {k^2  - \lambda ^2 } \right)Q_1 Q_2 \sin 2\gamma
\end{align*}

As with the other formulas I just copies it into the
numbered formula field, but this time it add an additional backslash,
so the correspondig tex output is

\begin{equation}
\backslash begin \{align*}...

So it didn't recognize the equations and escaped all keywords with
backslashes, hence even in compiled output the formula is displayed
as text...

Any ideas?


Hmm well, I got it, by only pasting everything between 
\begin{align*}... \end{align*}, and then by manually making a multiline 
alighned formula out of it. 
Still would be better, if it would recognize the formula on its own or at 
least if it would not escape everything and simply keep the tex code.




If you copy everything and paste it directly into a document as text, 
then highlight it all and hit ctrl-M (or click Insert  Math  Inline 
Formula or, in this case at least, Insert  Math  Display Formula), LyX 
will convert it to something close to what is intended.  The only flaw I 
see here is that there are a number of what I think are unnecessary 
braces retained.  You might have to delete those manually.


/Paul



Re: Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread E. Kaplan
This issue comes up so often that it is surprising indeed that there is 
no built-in Lyx method of doing that.  What I do in such cases (every 
time I send out a manuscript to a journal, for example), is to:


  1. Export from Lyx to plain Latex
  2. Run Latex on the file, to generate correct references AND a .bbl
 file related to my manuscript
  3. Open the Latex file with an ASCII editor and paste the .bbl file
 into it.
  4. Save the file, and send it to the journal.

EK

On 2/20/2010 11:55 AM, Manoj Rajagopalan wrote:

Hi all,

A journal I am planning to submit a paper to wants all references to be
inlined into the main .tex file - they don't accept separate bibtex files
or .bbl files. Is there any way to achieve this with LyX when I export to
latex? If not with lyx only, is there any other way to achieve the same
effect using a combination of lyx and shell scripts? My platform is KUbuntu
8.04 / i686

Thanks,
Manoj
   


Re: inserting a Latex equation

2010-02-20 Thread Guenter Milde
On 2010-02-20, Bernd Schubert wrote:
 Bernd Schubert wrote:

 I'm presently coping lots of tex equations into lyx and usually this works
 great, but this one drives me nuts:

 \begin{align*}
...
 \end{align*}

 As with the other formulas I just copies it into the
 numbered formula field, but this time it add an additional backslash,
 so the correspondig tex output is

 \begin{equation}
 \backslash begin \{align*}...

 So it didn't recognize the equations and escaped all keywords with
 backslashes, hence even in compiled output the formula is displayed
 as text...

 Any ideas?

You are copying an align* environment into an equation environment (LyX
display-math box). This cannot work.

 Hmm well, I got it, by only pasting everything between 
 \begin{align*}... \end{align*}, and then by manually making a multiline 
 alighned formula out of it. 

 Still would be better, if it would recognize the formula on its own or at 
 least if it would not escape everything and simply keep the tex code.

You can paste the whole thing as text, mark it and convert to a
math-box with Ctrl-m. In this case, LyX will recognize the equation
type and do the right thing if it is supported.

Günter



bevel and shadow effects for beamer

2010-02-20 Thread Micha Feigin
I'm trying to port a powerpoint presentation to beamer, but it has to mostly
mimic the original design. I'm done most things, the only thing I can't figure
out if it's even possible is to get a 3d effect on slide title fonts (bevel +
shadow). Is there a way to do it with beamer?

I found the outline package or fontspec + xetex for shadows and such, but I
can't get the bevel effect (inner shadow and highlight to get the 3d effect).

thanks


I guess I found a bug

2010-02-20 Thread Mehmet Bicak
Hi,
I am getting following weird errors,
Latex error: Command \iint already defined
Latex error: Command \iiint already defined
Latex error: Command \nt already defined

 ...d{\iint}{\DOTSI\protect\MultiIntegral{2}}
  
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

I've checked and searched the project file, and there is no single text or
string is found as \iint , \iiint , \nt 

What should I do?
I am using windows binary distribution 1.6.5






Re: table gets cropped sideways and vertically

2010-02-20 Thread K. Elo
Hi Sajjad,

20.02.2010 04:22, Sajjad wrote:
> I am attaching a .lyx file where i have created a table. But when i
> create a pdf file the contents get cropped vertically and horizontally.

Your table is simply too wide to fit on a page. You have defined each
column to be 20 percent of the text width. With seven columns this adds
up to 140% of the page width!! Try to modify the column widths in order
to fit the table horizontally.

HTH,
Kimmo



Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread Manoj Rajagopalan
Hi all,

   A journal I am planning to submit a paper to wants all references to be 
inlined into the main .tex file - they don't accept separate bibtex files 
or .bbl files. Is there any way to achieve this with LyX when I export to 
latex? If not with lyx only, is there any other way to achieve the same 
effect using a combination of lyx and shell scripts? My platform is KUbuntu 
8.04 / i686

Thanks,
Manoj


Re: inserting a Latex equation

2010-02-20 Thread Paul A. Rubin

Bernd Schubert wrote:

Bernd Schubert wrote:


Hi all,

I'm presently coping lots of tex equations into lyx and usually this works
great, but this one drives me nuts:

\begin{align*}
{\left( {\Delta ^{(1)} } \right)^2 = }
&   + \frac{1} {2}\left( {k^2  + \lambda ^2 } \right)\left( {Q_1^2  +
Q_2^2 } \right)  \\
&   + \frac{1} {2}\left( {k^2  - \lambda ^2 } \right)\left( {Q_1^2  -
Q_2^2 } \right)\cos 2\gamma \\
&   + \left( {k^2  - \lambda ^2 } \right)Q_1 Q_2 \sin 2\gamma
\end{align*}

As with the other formulas I just copies it into the
"numbered formula field", but this time it add an additional backslash,
so the correspondig tex output is

\begin{equation}
\backslash begin \{align*}...

So it didn't recognize the equations and escaped all keywords with
backslashes, hence even in compiled output the formula is displayed
as text...

Any ideas?


Hmm well, I got it, by only pasting everything between 
\begin{align*}... \end{align*}, and then by manually making a multiline 
alighned formula out of it. 
Still would be better, if it would recognize the formula on its own or at 
least if it would not escape everything and simply keep the tex code.




If you copy everything and paste it directly into a document as text, 
then highlight it all and hit ctrl-M (or click Insert > Math > Inline 
Formula or, in this case at least, Insert > Math > Display Formula), LyX 
will convert it to something close to what is intended.  The only flaw I 
see here is that there are a number of what I think are unnecessary 
braces retained.  You might have to delete those manually.


/Paul



Re: Export latex - any way to inline bibtex formatted refs?

2010-02-20 Thread E. Kaplan
This issue comes up so often that it is surprising indeed that there is 
no built-in Lyx method of doing that.  What I do in such cases (every 
time I send out a manuscript to a journal, for example), is to:


  1. Export from Lyx to plain Latex
  2. Run Latex on the file, to generate correct references AND a .bbl
 file related to my manuscript
  3. Open the Latex file with an ASCII editor and paste the .bbl file
 into it.
  4. Save the file, and send it to the journal.

EK

On 2/20/2010 11:55 AM, Manoj Rajagopalan wrote:

Hi all,

A journal I am planning to submit a paper to wants all references to be
inlined into the main .tex file - they don't accept separate bibtex files
or .bbl files. Is there any way to achieve this with LyX when I export to
latex? If not with lyx only, is there any other way to achieve the same
effect using a combination of lyx and shell scripts? My platform is KUbuntu
8.04 / i686

Thanks,
Manoj
   


Re: inserting a Latex equation

2010-02-20 Thread Guenter Milde
On 2010-02-20, Bernd Schubert wrote:
> Bernd Schubert wrote:

>> I'm presently coping lots of tex equations into lyx and usually this works
>> great, but this one drives me nuts:

>> \begin{align*}
...
>> \end{align*}

>> As with the other formulas I just copies it into the
>> "numbered formula field", but this time it add an additional backslash,
>> so the correspondig tex output is

>> \begin{equation}
>> \backslash begin \{align*}...

>> So it didn't recognize the equations and escaped all keywords with
>> backslashes, hence even in compiled output the formula is displayed
>> as text...

>> Any ideas?

You are copying an align* environment into an equation environment (LyX
display-math box). This cannot work.

> Hmm well, I got it, by only pasting everything between 
> \begin{align*}... \end{align*}, and then by manually making a multiline 
> alighned formula out of it. 

> Still would be better, if it would recognize the formula on its own or at 
> least if it would not escape everything and simply keep the tex code.

You can paste the whole thing as text, mark it and convert to a
math-box with Ctrl-m. In this case, LyX will recognize the equation
type and "do the right thing" if it is supported.

Günter



bevel and shadow effects for beamer

2010-02-20 Thread Micha Feigin
I'm trying to port a powerpoint presentation to beamer, but it has to mostly
mimic the original design. I'm done most things, the only thing I can't figure
out if it's even possible is to get a 3d effect on slide title fonts (bevel +
shadow). Is there a way to do it with beamer?

I found the outline package or fontspec + xetex for shadows and such, but I
can't get the bevel effect (inner shadow and highlight to get the 3d effect).

thanks


I guess I found a bug

2010-02-20 Thread Mehmet Bicak
Hi,
I am getting following weird errors,
Latex error: Command \iint already defined
Latex error: Command \iiint already defined
Latex error: Command \nt already defined

 ...d{\iint}{\DOTSI\protect\MultiIntegral{2}}
  
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

I've checked and searched the project file, and there is no single text or
string is found as \iint , \iiint , \nt 

What should I do?
I am using windows binary distribution 1.6.5