RE: Table Column Width Does Not Work for Multiple Columns

2018-04-15 Thread Baris Erkus
Hi Scott,

Not yet. I am waiting for the official Windows release of v2.3

Baris

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Scott Kostyshak<mailto:skost...@lyx.org>
Sent: Sunday, April 15, 2018 12:52 AM
To: Baris Erkus<mailto:bariser...@hotmail.com>
Cc: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: Table Column Width Does Not Work for Multiple Columns

On Wed, Mar 14, 2018 at 08:36:46AM +, Jean-Marc Lasgouttes wrote:
> Le 12/03/2018 à 22:28, Baris Erkus a écrit :
> > Hello,
> >
> > When I create a table, I can define the column width for single column
> > successfully: Right-click on the table, Setting and Column Width.
> >
> > However, this approach does not work if multiple columns are selected.
> > It places double lines and changes the width of the last column. It is
> > clearly a bug to me.
> >
> > Wonder if anybody else observe the same thing.
>
> Hello,
>
> This is indeed a missing feature, probably not too difficult to implement.
> However, it would change all the setting of the selected columns at once
> (alignment, etc.). Changing only the width, for example, would require much
> more work UI-wise.
>
> Could you please create a ticket on http://www.lyx.org/trac, so that we do
> not forget about it?

Barış, did you create a trac ticket for this?

Scott



Re: Table Column Width Does Not Work for Multiple Columns

2018-04-14 Thread Scott Kostyshak
On Wed, Mar 14, 2018 at 08:36:46AM +, Jean-Marc Lasgouttes wrote:
> Le 12/03/2018 à 22:28, Baris Erkus a écrit :
> > Hello,
> > 
> > When I create a table, I can define the column width for single column
> > successfully: Right-click on the table, Setting and Column Width.
> > 
> > However, this approach does not work if multiple columns are selected.
> > It places double lines and changes the width of the last column. It is
> > clearly a bug to me.
> > 
> > Wonder if anybody else observe the same thing.
> 
> Hello,
> 
> This is indeed a missing feature, probably not too difficult to implement.
> However, it would change all the setting of the selected columns at once
> (alignment, etc.). Changing only the width, for example, would require much
> more work UI-wise.
> 
> Could you please create a ticket on http://www.lyx.org/trac, so that we do
> not forget about it?

Barış, did you create a trac ticket for this?

Scott


signature.asc
Description: PGP signature


Re: Table Column Width Does Not Work for Multiple Columns

2018-03-14 Thread Jean-Marc Lasgouttes

Le 12/03/2018 à 22:28, Baris Erkus a écrit :

Hello,

When I create a table, I can define the column width for single column 
successfully: Right-click on the table, Setting and Column Width.


However, this approach does not work if multiple columns are selected. 
It places double lines and changes the width of the last column. It is 
clearly a bug to me.


Wonder if anybody else observe the same thing.


Hello,

This is indeed a missing feature, probably not too difficult to 
implement. However, it would change all the setting of the selected 
columns at once (alignment, etc.). Changing only the width, for example, 
would require much more work UI-wise.


Could you please create a ticket on http://www.lyx.org/trac, so that we 
do not forget about it?


JMarc


RE: Table Column Width Does Not Work for Multiple Columns

2018-03-13 Thread Baris Erkus

From: Paul A. Rubin<mailto:parubi...@gmail.com>
Sent: Tuesday, March 13, 2018 9:31 PM
To: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: Table Column Width Does Not Work for Multiple Columns

On 03/12/2018 05:28 PM, Baris Erkus wrote:
Hello,

When I create a table, I can define the column width for single column 
successfully: Right-click on the table, Setting and Column Width.

However, this approach does not work if multiple columns are selected. It 
places double lines and changes the width of the last column. It is clearly a 
bug to me.

Wonder if anybody else observe the same thing.

BE

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

[cid:part2.B983CF44.A2CC7C7A@gmail.com]
[cid:part3.284267C3.AE6C6C7D@gmail.com]
[cid:part4.BE6EB580.6F5EE4C0@gmail.com]

[cid:part5.D0B028C9.DB1D1CAE@gmail.com]

I see the same thing, provided the cursor is in the last column. I'm not sure 
it's a bug, though. The column width change applies to the column in which the 
cursor is positioned, regardless of what is highlighted. As for the lines, bear 
in mind that clicking OK or Apply applies the information in all three tabs of 
the dialog to the selected portion of the table, where applicable. In 
particular, the Borders tab will show the borders set for the cell in which the 
cursor is position, and those borders will be assigned to the highlighted 
cells. Try it with the cursor in a column other than the last one to see the 
effect of this.

Paul


Thanks for your reply Paul. This is the case if I want to adjust the width of 
multiple columns (or all columns). In the current LyX, if you want to do that 
you need to do it for each column one-by-one. This gets time-consuming, since 
most of the time, you need to do this many times to get the right width. 
Intuitively, I would expect that if I select multiple columns and set the 
width, all the selected columns will have the same width.

On the other hand, I got your point. The GUI is prepared for the parameters of 
“tabular” of LaTeX, and it is not for the general purpose of table (like MS 
Word). Addition of GUI tab that can adjust tablewide properties or properties 
of the selected items may be a useful thing…

Thanks again.

BE




Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10




Re: Table Column Width Does Not Work for Multiple Columns

2018-03-13 Thread Paul A. Rubin

On 03/12/2018 05:28 PM, Baris Erkus wrote:


Hello,

When I create a table, I can define the column width for single column 
successfully: Right-click on the table, Setting and Column Width.


However, this approach does not work if multiple columns are selected. 
It places double lines and changes the width of the last column. It is 
clearly a bug to me.


Wonder if anybody else observe the same thing.

BE

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for 
Windows 10


I see the same thing, provided the cursor is in the last column. I'm not 
sure it's a bug, though. The column width change applies to the column 
in which the cursor is positioned, regardless of what is highlighted. As 
for the lines, bear in mind that clicking OK or Apply applies the 
information in all three tabs of the dialog to the selected portion of 
the table, where applicable. In particular, the Borders tab will show 
the borders set for the cell in which the cursor is position, and those 
borders will be assigned to the highlighted cells. Try it with the 
cursor in a column other than the last one to see the effect of this.


Paul



Table Column Width Does Not Work for Multiple Columns

2018-03-12 Thread Baris Erkus
Hello,

When I create a table, I can define the column width for single column 
successfully: Right-click on the table, Setting and Column Width.

However, this approach does not work if multiple columns are selected. It 
places double lines and changes the width of the last column. It is clearly a 
bug to me.

Wonder if anybody else observe the same thing.

BE

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

[cid:image001.png@01D3BA61.B8B155E0]
[cid:image002.png@01D3BA61.DE3118F0]
[cid:image003.png@01D3BA61.ED7A84E0]

[cid:image004.png@01D3BA61.FDF82B10]



Re: modules multiple columns not support arabic

2016-10-16 Thread edu Gpl
Dear Uwe

My knowledge is limited, I knew it was by chance.

best regards


‏في الأحد، ١٦ أكتوبر، ٢٠١٦, Uwe Stöhr  كتب:

> Am 15.10.2016 um 20:39 schrieb edu Gpl:
>
> > I opened lyx file with notepad++, then i got lyx putted (\numbric on)...
>>
>
> Hi Hatim,
>
> thanks for this workaround. The problem is that an average user doesn't
> have that much knowledge. LyX must be able to use multiple columns
> directly. I got now a hint where to look and I will try to fix this.
>
> regards Uwe
>


Re: Multiple Footnotes, Flexible Columns, Hebrew

2015-08-21 Thread John Kane
 Very nice. There have been a couple of times that I wanted just
that—basically a Tufte type layout but with the references in a reference
list and the notes beside the text. Getting snotez to work in Lyx may be
more than I can easily figure out but, for a two or three page paper which
was what I wanted it for, I can do it in ERT which one quick and dirty test
says will work with plain text and a simple table.

On 20 August 2015 at 12:09, Guenter Milde  wrote:

> On 2015-08-20, John Kane wrote:
>
> > [-- Type: text/plain, Encoding: quoted-printable --]
>
> > Is there a way to number the margin notes?  Margin notes  were my first
> > thought but I don't see any obvious way to number them.
>
> Have a look at the snotez package http://www.ctan.org/pkg/snotez
>
> I don't think it is directly supported by LyX, you may have to add some
> preamble code ("faking" the standard margin notes interface) or write a
> LyX-module defining a "snote" inset.
>
> Günter
>
>


-- 
John Kane
Kingston ON Canada


Re: Multiple Footnotes, Flexible Columns, Hebrew

2015-08-20 Thread Guenter Milde
On 2015-08-20, John Kane wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Is there a way to number the margin notes?  Margin notes  were my first
> thought but I don't see any obvious way to number them.

Have a look at the snotez package http://www.ctan.org/pkg/snotez

I don't think it is directly supported by LyX, you may have to add some
preamble code ("faking" the standard margin notes interface) or write a
LyX-module defining a "snote" inset.

Günter



Re: Multiple Footnotes, Flexible Columns, Hebrew

2015-08-20 Thread John Kane
Is there a way to number the margin notes?  Margin notes  were my first
thought but I don't see any obvious way to number them.

On 20 August 2015 at 03:32, Guenter Milde  wrote:

> On 2015-08-20, Justin Eisenberg wrote:
>
> > [-- Type: text/plain, Encoding:  --]
>
> Hi Justin,
>
> > I'm looking to typeset a book in Hebrew. I want to do the following
> things:
> > 1) Have the main text in one column on the inside of the page (towards
> the
> > binding)
>
> OK. Documentclass book, page layout "twoside".¹
>
> > 2) Have footnotes of the main text at the bottom of the page
>
> Insert via Insert>Footnote
>
> > 3) Have a second (different) set of footnotes for the main text in a
> column
> > on the outer side of the page
>
> Insert > Margin Note
>
> > 4) The columns should be flexible to bend around the text depending on
> > length, etc.
>
> Not out of the box. Requires LaTeX knowledge and maybe raw LaTeX
> (ERT-insets) in the document.
>
> > 5) The numbering of the different sets of footnotes should be different
> > styles.
>
> OK.
>
>
> Günter
>
>
> ¹ naming of menu entries and buttons may be differ depending on the LyX
>   version and GUI language (my LyX speaks German).
>
>


-- 
John Kane
Kingston ON Canada


Re: Multiple Footnotes, Flexible Columns, Hebrew

2015-08-20 Thread Guenter Milde
On 2015-08-20, Justin Eisenberg wrote:

> [-- Type: text/plain, Encoding:  --]

Hi Justin,

> I'm looking to typeset a book in Hebrew. I want to do the following things:
> 1) Have the main text in one column on the inside of the page (towards the
> binding)

OK. Documentclass book, page layout "twoside".¹

> 2) Have footnotes of the main text at the bottom of the page

Insert via Insert>Footnote

> 3) Have a second (different) set of footnotes for the main text in a column
> on the outer side of the page

Insert > Margin Note

> 4) The columns should be flexible to bend around the text depending on
> length, etc.

Not out of the box. Requires LaTeX knowledge and maybe raw LaTeX
(ERT-insets) in the document.

> 5) The numbering of the different sets of footnotes should be different
> styles.

OK.


Günter


¹ naming of menu entries and buttons may be differ depending on the LyX
  version and GUI language (my LyX speaks German).



Re: Multiple Footnotes, Flexible Columns, Hebrew

2015-08-20 Thread Richard Heck

On 08/20/2015 12:39 AM, Justin Eisenberg wrote:

Hi,

I'm looking to typeset a book in Hebrew. I want to do the following 
things:
1) Have the main text in one column on the inside of the page (towards 
the binding)

2) Have footnotes of the main text at the bottom of the page
3) Have a second (different) set of footnotes for the main text in a 
column on the outer side of the page
4) The columns should be flexible to bend around the text depending on 
length, etc.
5) The numbering of the different sets of footnotes should be 
different styles.


I have a attached a sample of what I want to do for the columns. It 
does not have footnotes at the bottom of the page, though I would want 
those, too.


Hi, Justin,

It's possible someone will be able to answer this question here, but you 
will do better, I suspect, to ask it on some LaTeX forum or other. This 
is not something LyX will help you do directly. You will first need to 
use suitable LaTeX packages to allow for different kinds of footnotes. 
The bigfoot package might help with that, I think, and I'm attaching a 
module I wrote once that uses it. But I have no idea how to get one type 
of footnote to appear in a separate column. Perhaps there are some 
packages designed for typesetting critical editions that could be used 
to do this.


So you first have to figure out how to do it on the level of LaTeX. 
That's why I said that, while it's possible someone here will know about 
this, it's more likely someone will know at the LaTeX forums on Stack 
Exchange or, most likely, on the comp.text.tex Usenet group.


Richard

#\DeclareLyXModule{Bigfoot}
#DescriptionBegin
#Adds some additional footnote insets. Based upon the bigfoot package.
#DescriptionEnd

Format 35

InsetLayout Flex:FootnoteRoman
LyXType custom
LatexName   footnoteR
LatexType   command
Decoration  classic
Font
SizeSmall
EndFont
MultiPartrue
LabelString "Roman Note"
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{R}[roman]
\MakeSorted{footnoteR}
EndPreamble
End

InsetLayout Flex:FootnoteAlph
CopyStyle Flex:FootnoteRoman
Decoration  classic
LatexName   footnoteA
LabelString "Alpha Note"
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{A}[alph]
\MakeSorted{footnoteA}
EndPreamble
End


Enumitem and multiple columns modules: bad mojo.

2015-05-29 Thread Rudi Gaelzer
I've seen a lot of reports in this list about the interaction of the enumited 
module with other latex classes (such as powerdot) or other modules, most of 
them regarding the Enumerate-Resume option.

Well, now I add my own.  I elaborate several exercise lists for my classes.  
Usually, the problems are printed in 2 columns, but eventually I need to 
switch to single column for a while and then resume the 2 columns.
Enumerate-Resume only works with the sequence 
1 column --> 2 columns
With the reverse (2 columns --> 1 column), the counter is always reset.  See 
the 2 first attached examples.

According to the tests I performed, the counter will only follow the correct 
sequence if I use the "series=" and "resume=" options.  However, if I blindly 
enter the Enumerate Option (with Alt+A 1) inside an Multiple Columns inset, an 
error message about a missing number will occur.  Exporting the text to latex, 
I noticed that the reason is because the enumitem option will be copied as a 
\begin{multicols} option (see mul_col_enumited3-lyx_output.tex).

The only workaround I found was entering manually the number of columns before 
(re)starting the list.  The attached mul_col_enumitem7.lyx file is the version 
that works as it should.

Perhaps there's a bug in any of the modules?
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741

mul_col_enumitem.lyx
Description: application/lyx


mul_col_enumitem2.lyx
Description: application/lyx
%% LyX 2.1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage{lmodern}
\renewcommand{\sfdefault}{lmss}
\renewcommand{\ttdefault}{lmtt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=0.8in}
\usepackage{color}
\usepackage{babel}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[unicode=true,pdfusetitle,
 bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
 breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=true]
 {hyperref}
\hypersetup{
 linkcolor=blue, citecolor=blue}
\usepackage{breakurl}

\makeatletter
%% Textclass specific LaTeX commands.
\usepackage{enumitem}		% customizable list environments
\newlength{\lyxlabelwidth}  % auxiliary length 

%% User specified LaTeX commands.
\usepackage{blindtext}
\usepackage{lipsum}

\makeatother

\begin{document}
\begin{center}
\textbf{\large{}One column first, then 2 columns, then 1 column again
(with series option)}
\par\end{center}{\large \par}

Notice how ``resume=test'' is printed, although the list is correctly
enumerated.

\noindent \rule[0.5ex]{1\columnwidth}{1pt}
\begin{enumerate}[series=test]
\item \blindtext
\item \lipsum[1]
\end{enumerate}
\begin{multicols}{resume=test}
\begin{enumerate}[resume=test]
\item \lipsum[2]
\item \blindtext\end{enumerate}
\end{multicols}

\begin{enumerate}[resume=test]
\item \lipsum[3]
\item \lipsum[4]\end{enumerate}

\end{document}


mul_col_enumitem7.lyx
Description: application/lyx


Re: Narrower columns (on a two column page)

2014-05-18 Thread Marcelo Acuña
You can make the margins and the space between columns more wider.
Regards
Marcelo


El día domingo, 11 de mayo de 2014 11:23, Frederick FN Noronha फ्रेड्रिक 
नोरोन्या *فريدريك نورونيا  escribió:
 


Can I somehow make my columns narrower on a two-column page.
Thanks in advance, FN

-- 

FN P +91-832-2409490 M +91-9822122436 http://goa1556.in

Narrower columns (on a two column page)

2014-05-11 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Can I somehow make my columns narrower on a two-column page.
Thanks in advance, FN
-- 
FN P +91-832-2409490 M +91-9822122436 http://goa1556.in


Re: figure spans columns

2014-02-21 Thread Eisa Ayed


 Right click on the float -> settings -> span columns 


Hope that helps
 



On Friday, February 21, 2014 10:01 PM, Rahayu Prihatin  
wrote:
 
Hi, hopefully somebody can help me, 
How to span that table/image over two columns in  IEEE style paper?

Thank you in advance. 



Greeting, 

Hayu

figure spans columns

2014-02-21 Thread Rahayu Prihatin
Hi, hopefully somebody can help me,

How to span that table/image over two columns in  IEEE style paper?

Thank you in advance.


Greeting,

Hayu


Re: How to vertically centre content in multirow columns

2013-07-17 Thread Jürgen Spitzmüller
2013/7/17 Daisuke Koya 

> Hello Scott,
>
> Thank you for taking time to answer my question.
>
> I confirmed that your file vertically centres multirow cell content.
>
> However, cell entries in my table (file attached) are not vertically
> centred.
>
>
Multirow has an optional argument to fixup vertical positioning, try e.g.

  \multirow{6}{2.5cm}[-1.7cm]{Lorem ipsum dolor}

in the first cell

HTH
Jürgen


Re: How to vertically centre content in multirow columns

2013-07-17 Thread Daisuke Koya
Hello Scott,

Thank you for taking time to answer my question.

I confirmed that your file vertically centres multirow cell content.

However, cell entries in my table (file attached) are not vertically centred.

Perhaps it's something to do with the cruft in my preamble, but as I know 
nothing about LaTeX, I'm unsure where the culprit lies.

Can I have further help please?

Many thanks,

Daisuke




multirowExample.lyx
Description: Binary data

On 16 Jul 2013, at 19:26, Scott Kostyshak wrote:

> On Tue, Jul 16, 2013 at 9:53 AM, Daisuke Koya  wrote:
>> Hello all,
>> 
>> I might have asked this question previously, so I apologise if this is a 
>> repeated posting.
>> 
>> I am using LyX 2.0.6 on Mac OS 10.7.5.
>> 
>> Content in multirow columns are not centred vertically. They are skewed 
>> towards the top.
>> Can someone please tell me whether content in a multirow cell can be 
>> vertically centred?
>> This would make tables easier to interpret.
>> 
> 
> Hi Daisuke,
> 
> With these types of problems can you always please send a minimal
> working example? See
> http://wiki.lyx.org/FAQ/MinimalExample
> 
> Attached is a file with a multirow where I did not change anything and
> the text is centered for me. I am also sending you the output. Does it
> work for you?
> 
> Scott
> 



Re: How to vertically centre content in multirow columns

2013-07-16 Thread Scott Kostyshak
On Tue, Jul 16, 2013 at 9:53 AM, Daisuke Koya  wrote:
> Hello all,
>
> I might have asked this question previously, so I apologise if this is a 
> repeated posting.
>
> I am using LyX 2.0.6 on Mac OS 10.7.5.
>
> Content in multirow columns are not centred vertically. They are skewed 
> towards the top.
> Can someone please tell me whether content in a multirow cell can be 
> vertically centred?
> This would make tables easier to interpret.
>

Hi Daisuke,

With these types of problems can you always please send a minimal
working example? See
http://wiki.lyx.org/FAQ/MinimalExample

Attached is a file with a multirow where I did not change anything and
the text is centered for me. I am also sending you the output. Does it
work for you?

Scott


centeredTable.lyx
Description: Binary data


centeredTable.pdf
Description: Adobe PDF document


How to vertically centre content in multirow columns

2013-07-16 Thread Daisuke Koya
Hello all,

I might have asked this question previously, so I apologise if this is a 
repeated posting.

I am using LyX 2.0.6 on Mac OS 10.7.5.

Content in multirow columns are not centred vertically. They are skewed towards 
the top.
Can someone please tell me whether content in a multirow cell can be vertically 
centred?
This would make tables easier to interpret.

Thank you very much in advance,

Daisuke

Re: "Columns" in Beamer Lyx

2012-04-29 Thread Paul A . Rubin
s nedunuri  cs.utexas.edu> writes:

> 
> I just tried it and I cannot get it to work. All that happens is that 
> the text "[totalwidth=50mm]" shows up in the 1st column. Yes I entered 
> it in TeX mode, right after where it says "Columns (center aligned)" in red.
> 

You asked about the Columns environment before.  Columns (center aligned) is
different -- it does not seem to accept options.  As far as I can tell, Columns
(center aligned) is functionally the same as Columns (both center things
vertically), so Columns with the width argument should work for you.  You can
also add other options in ERT.  For instance, Columns with [b,totalwidth=60mm]
in ERT will bottom-align the columns while setting the combined width.

Paul



Re: "Columns" in Beamer Lyx

2012-04-27 Thread s nedunuri
I just tried it and I cannot get it to work. All that happens is that 
the text "[totalwidth=50mm]" shows up in the 1st column. Yes I entered 
it in TeX mode, right after where it says "Columns (center aligned)" in red.




On 3/15/2012 4:42 PM, Paul A. Rubin wrote:

s nedunuri  cs.utexas.edu>  writes:



I'm wondering if there's a reason the Lyx version of the Columns command
doesn't allow you to specify an overall width the way the Latex Beamer
version does?


It does.  You just have to enter it as raw TeX (Insert>  TeX Code or Ctrl-L), in
square bracket, as in[totalwidth=50mm].


Or for that matter the Column command requires you to give
an absolute width for the column and doesnt allow a relative spec  like
0.5\textwidth.


Relative widths work.  Again, enter them as raw TeX (but this time without the
square brackets).

Paul










Re: "Columns" in Beamer Lyx

2012-03-15 Thread Paul A . Rubin
s nedunuri  cs.utexas.edu> writes:

> 
> I'm wondering if there's a reason the Lyx version of the Columns command 
> doesn't allow you to specify an overall width the way the Latex Beamer 
> version does?

It does.  You just have to enter it as raw TeX (Insert > TeX Code or Ctrl-L), in
square bracket, as in [totalwidth=50mm].

> Or for that matter the Column command requires you to give 
> an absolute width for the column and doesnt allow a relative spec  like 
> 0.5\textwidth.

Relative widths work.  Again, enter them as raw TeX (but this time without the
square brackets).

Paul






"Columns" in Beamer Lyx

2012-03-13 Thread s nedunuri
I'm wondering if there's a reason the Lyx version of the Columns command 
doesn't allow you to specify an overall width the way the Latex Beamer 
version does? Or for that matter the Column command requires you to give 
an absolute width for the column and doesnt allow a relative spec  like 
0.5\textwidth.




Re: Novice: TOC in 2 columns

2012-01-20 Thread Richard Heck

On 01/20/2012 11:41 AM, nomnex wrote:

On Fri, 20 Jan 2012 11:18:21 -0500
Richard Heck  wrote:
These are LaTeX issues, not LyX ones.

Can I ask about LaTeX packages and command to include in LyX, on the
user list?
Well, you can ask what you like, but you might be better off asking 
questions that have to do with aspects of LaTeX that LyX does not 
support on some LaTeX-related list or forum. While many of us have 
significant knowledge of LaTeX, people here are more inclined to answer 
questions about LyX itself.


Richard



Re: Novice: TOC in 2 columns

2012-01-20 Thread nomnex
> On Fri, 20 Jan 2012 11:18:21 -0500
> Richard Heck  wrote:
>
> On 01/20/2012 10:50 AM, nomnex wrote:



> > \usepackage[toc] {multitoc} in the document preamble will create a 2
> > columns TOC, but there is no vertical column separator. I do not
> > understand, reading the manual how to create it. Could you help with
> > the correct syntax. In advance, thank you.
> 
> The column separator has nothing to do with multitoc. It's set via:
>  \setlength\columnseprule{1pt}
> or whatever length you like.

Great, thank you! I will look for the documentation tomorrow.

> These are LaTeX issues, not LyX ones.

Can I ask about LaTeX packages and command to include in LyX, on the
user list?

Best regards,
nomnex

-- 
nomnex 
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: Novice: TOC in 2 columns

2012-01-20 Thread Richard Heck

On 01/20/2012 10:50 AM, nomnex wrote:

On Fri, 20 Jan 2012 07:34:42 -0500
Richard Heck  wrote:

On 01/19/2012 11:36 PM, nomnex wrote:

I have been looking at the file
http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/ms/multitoc.sty

Maybe better to look at the documentation:
http://www.ctex.org/documents/packages/contents/*multitoc*.pdf

I did, see the second paragraph. The multitoc manual displays a
vertical bar separator between the columns.

\usepackage[toc] {multitoc} in the document preamble will create a 2
columns TOC, but there is no vertical column separator. I do not
understand, reading the manual how to create it. Could you help with
the correct syntax. In advance, thank you.


The column separator has nothing to do with multitoc. It's set via:
\setlength\columnseprule{1pt}
or whatever length you like.

These are LaTeX issues, not LyX ones.

Richard



Re: Novice: TOC in 2 columns

2012-01-20 Thread nomnex
> On Fri, 20 Jan 2012 07:34:42 -0500
> Richard Heck  wrote:
>
> On 01/19/2012 11:36 PM, nomnex wrote:



> >> Can someone help me with the command to set a "|" vertical bar
> >> separation. I don't understand how to do it, reading the multitoc
> >> tex manual.
> >>
> > The multitoc manual (PDF) displays a vertical separator bar "|"
> > between the TOC 2 columns. I believe it is the default, but it may
> > (assumption) conflict with the lyx TOC feature.



> > I have been looking at the file
> > http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/ms/multitoc.sty
> Maybe better to look at the documentation:
> http://www.ctex.org/documents/packages/contents/*multitoc*.pdf


I did, see the second paragraph. The multitoc manual displays a
vertical bar separator between the columns.

\usepackage[toc] {multitoc} in the document preamble will create a 2
columns TOC, but there is no vertical column separator. I do not
understand, reading the manual how to create it. Could you help with
the correct syntax. In advance, thank you.

-- 
nomnex 
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: Novice: TOC in 2 columns

2012-01-20 Thread Richard Heck

On 01/19/2012 11:36 PM, nomnex wrote:

On Fri, 20 Jan 2012 12:14:27 +0900
nomnex  wrote:


On Fri, 20 Jan 2012 12:03:08 +0900
nomnex  wrote:

Most of the PDF manuals in the latex doc directory have:
- "Content" title is centered
- 2 column TOC.

How can I do that in LyX?

I have to \usepackage{multitoc}, but default it outputs a 2 columns
TOC.

Can someone help me with the command to set a "|" vertical bar
separation. I don't understand how to do it, reading the multitoc tex
manual.


The multitoc manual (PDF) displays a vertical separator bar "|" between
the TOC 2 columns. I believe it is the default, but it may (assumption)
conflict with the lyx TOC feature.

\usepackage[toc]{multitoc} in the doc preamble creates a 2 columns TOC,
but there is no column separator.

I have been looking at the file
http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/ms/multitoc.sty

Maybe better to look at the documentation:
http://www.ctex.org/documents/packages/contents/*multitoc*.pdf



Re: Novice: TOC in 2 columns

2012-01-19 Thread nomnex
> On Fri, 20 Jan 2012 12:14:27 +0900
> nomnex  wrote:
>
> > On Fri, 20 Jan 2012 12:03:08 +0900
> > nomnex  wrote:
> >
> > Most of the PDF manuals in the latex doc directory have:
> > - "Content" title is centered
> > - 2 column TOC.
> > 
> > How can I do that in LyX?
> 
> I have to \usepackage{multitoc}, but default it outputs a 2 columns
> TOC.
> 
> Can someone help me with the command to set a "|" vertical bar
> separation. I don't understand how to do it, reading the multitoc tex
> manual.
> 

The multitoc manual (PDF) displays a vertical separator bar "|" between
the TOC 2 columns. I believe it is the default, but it may (assumption)
conflict with the lyx TOC feature.

\usepackage[toc]{multitoc} in the doc preamble creates a 2 columns TOC,
but there is no column separator.

I have been looking at the file
http://www.tug.org/texlive/devsrc/Master/texmf-dist/tex/latex/ms/multitoc.sty

It is above my competence, but I wonder if I have use a
"charactertable" (see below) in the preamble and how. Can
somebody help me? Thank you.

%% \CharacterTable

%%  Equals\= Greater than  \> Question mark \?
%%  Commercial at \@ Left bracket  \[ Backslash \\
%%  Right bracket \] Circumflex\^ Underscore\_
%%  Grave accent  \` Left brace\{ Vertical bar  \|
%%  Right brace   \} Tilde \~}


-- 
nomnex 
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: Novice: TOC in 2 columns

2012-01-19 Thread nomnex
> On Fri, 20 Jan 2012 12:03:08 +0900
> nomnex  wrote:
>
> Most of the PDF manuals in the latex doc directory have:
> - "Content" title is centered
> - 2 column TOC.
> 
> How can I do that in LyX?

I have to \usepackage{multitoc}, but default it outputs a 2 columns
TOC.

Can someone help me with the command to set a "|" vertical bar
separation. I don't understand how to do it, reading the multitoc tex
manual.


-- 
nomnex 
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Novice: TOC in 2 columns

2012-01-19 Thread nomnex
Most of the PDF manuals in the latex doc directory have:
- "Content" title is centered
- 2 column TOC.

How can I do that in LyX?

When I use the package {multicol}
\begin{multicols}{2}
TOC
\end{multicols}

The TOC title "Content" is in the first column and it looks bad.

What's the proper way?

Thanks

-- 
nomnex 
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Separator between columns in program listings?

2011-03-25 Thread Nikos Chantziaras
Is it possible to have a separator (like a thin line) between columns in 
program listings?  It just doesn't look right without one; that is, it's 
not intuitively apparent that there two columns.  Enabling line numbers 
helps a lot, but in most cases I don't need line numbering anyway.




Re: How! -- Index with Balanced Columns

2011-02-20 Thread
> Dear Lyxers
> I am using Lyx 1.6.7, Book Class, on openSUSE 11.1. I want to convert
> the standard two-column Index behavior to achieve balanced columns on
> the last Index page.( that is, from a single column down the left-hand
> side of the page with an empty column the right-hand side, to two
> columns of equal length reaching approxmimately half-way down the page).
> 
> I have searched and found the following advice and code.
> Load the multicol package.
> 
>  \usepackage{multicol}
> 
> Enter code in ERT just before the Index label
> 
> %change the index environment to achieve balanced columns on last page
> \let\orgtheindex\theindex
> \let\orgendtheindex\endtheindex
> \def\theindex{%
>  \def\twocolumn{\begin{multicols}{2}}%
>  \def\onecolumn{}%
>  \clearpage
>  \orgtheindex
> }
> \def\endtheindex{%
>  \end{multicols}%
>  \orgendtheindex
> }
> 
> This code is pasted from the Internet but not for the Lyx Book Class;
> although the code appears in several places in almost indentical form.
> It does not throw up an error, not does it have any effect on the Index;
> but it does mess up the following page by moving a float picture. So
> there is some interaction, but not that desired. There is one small
> additional effect -- the word Index in normal font appears at the end of
> the Index.
> 
> Would anyone explain how this approach can be made to work?
> 
> Thanks for your expertise.
> 
> Kind Regards,
> 
> -- Clive Libotte, IEng. MInstMC.
> 

> The code works for me in the standard book environment. However for book it 
> might be a good idea to change the \clearpage to \cleardoublepage to be 
> certain that it does not change the floats.
> 
> Why it does not work for you is difficult to know? I would suggest that you 
> make a copy of your book and remove all the hand painting and special stuff 
> and see if you can get the index to work. If it works start adding back the 
> hand painting and specials to it stops working :)
> 
> Ingar
> 
Hi Ingar,
Thanks for your help. I came across the same code on the Internet but
with an extra final line which is {\relax}. The explanation of this code
was not altogether clear, so I inserted it to find out -- then
everything worked perfectly. The consequences of my ignorance may become
apparent when the book is printed -- I'll wait and see.


> Hi Clive,
> 
> I am going to suggest (again) the package idxlayout. I am worried
> about weird interaction between packages as much as you, but I found
> out a good package is often safer that adding several lines of latex
> code in the preamble (as you found out). Here is what I use for the
> index in my latest book project, the options are self-explanatory:
> 
> \usepackage[indentunit=15 pt,%
> itemlayout=relhang,%
> justific=RaggedRight,%
> columnsep=27 pt,
> unbalanced=false,   this line produces the balanced columns
> initsep=13pt plus 5pt minus 3pt]{idxlayout}
> 
> 
> Cheers,
> 
> Stefano


Hi Stefano.
Thanks for you help and concern,
Well I'm in full agreement here, I have now used two packages that came
with Lyx 1.6.7 so I'm comfortable using them. They are tocloft and
multicol, strangely, I have idxlayout in my notes as the next package to
try if multicol did not work. So, for the time being I shall trust
multicol, as I have finished my layout of the book internals.

Thanks again.



Kind Regards,


-- 
Clive Libotte, IEng. MInstMC.






Re: How! -- Index with Balanced Columns

2011-02-20 Thread stefano franchi
Hi Clive,

I am going to suggest (again) the package idxlayout. I am worried
about weird interaction between packages as much as you, but I found
out a good package is often safer that adding several lines of latex
code in the preamble (as you found out). Here is what I use for the
index in my latest book project, the options are self-explanatory:

\usepackage[indentunit=15 pt,%
itemlayout=relhang,%
justific=RaggedRight,%
columnsep=27 pt,
unbalanced=false,   this line produces the balanced columns
initsep=13pt plus 5pt minus 3pt]{idxlayout}


Cheers,

Stefano


SV: How! -- Index with Balanced Columns

2011-02-20 Thread Ingar Pareliussen
The code works for me in the standard book environment. However for book it 
might be a good idea to change the \clearpage to \cleardoublepage to be certain 
that it does not change the floats.

Why it does not work for you is difficult to know? I would suggest that you 
make a copy of your book and remove all the hand painting and special stuff and 
see if you can get the index to work. If it works start adding back the hand 
painting and specials to it stops working :)

Ingar



How! -- Index with Balanced Columns

2011-02-19 Thread
Dear Lyxers
I am using Lyx 1.6.7, Book Class, on openSUSE 11.1. I want to convert
the standard two-column Index behavior to achieve balanced columns on
the last Index page.( that is, from a single column down the left-hand
side of the page with an empty column the right-hand side, to two
columns of equal length reaching approxmimately half-way down the page).

I have searched and found the following advice and code.
Load the multicol package.

 \usepackage{multicol}

Enter code in ERT just before the Index label

%change the index environment to achieve balanced columns on last page
\let\orgtheindex\theindex
\let\orgendtheindex\endtheindex
\def\theindex{%
 \def\twocolumn{\begin{multicols}{2}}%
 \def\onecolumn{}%
 \clearpage
 \orgtheindex
}
\def\endtheindex{%
 \end{multicols}%
 \orgendtheindex
}

This code is pasted from the Internet but not for the Lyx Book Class;
although the code appears in several places in almost indentical form.
It does not throw up an error, not does it have any effect on the Index;
but it does mess up the following page by moving a float picture. So
there is some interaction, but not that desired. There is one small
additional effect -- the word Index in normal font appears at the end of
the Index.

Would anyone explain how this approach can be made to work?

Thanks for your expertise.

Kind Regards,

-- Clive Libotte, IEng. MInstMC.

-- 
Tel: 08 9403 0129
Mob: 043 571 5607



How! -- Index with Balanced Columns.

2011-02-18 Thread
Dear Lyxers
I am using Lyx 1.6.7, Book Class, on openSUSE 11.1. I want to convert
the standard two-column Index behavior to achieve balanced columns on
the last Index page.( that is, from a single column down the left-hand
side of the page with an empty column the right-hand side, to two
columns of equal length reaching approxmimately half-way down the page).

I have searched and found the following advice and code.
Load the multicol package.

 \usepackage{multicol}

Enter code in ERT just before the Index label

%change the index environment to achieve balanced columns on last page
\let\orgtheindex\theindex
\let\orgendtheindex\endtheindex
\def\theindex{%
 \def\twocolumn{\begin{multicols}{2}}%
 \def\onecolumn{}%
 \clearpage
 \orgtheindex
}
\def\endtheindex{%
 \end{multicols}%
 \orgendtheindex
}

This code is pasted from the Internet but not for the Lyx Book Class;
although the code appears in several places in almost indentical form.
It does not throw up an error, not does it have any effect on the Index;
but it does mess up the following page by moving a float picture. So
there is some interaction, but not that desired. There is one small
additional effect -- the word Index in normal font appears at the end of
the Index.

Would anyone explain how this approach can be made to work?

Thanks for your expertise.

Kind Regards,

-- 
Clive Libotte, IEng. MInstMC.






Re: two columns article-lyx forget an error

2010-04-18 Thread Uwe Stöhr

Am 17.04.2010 10:02, schrieb YURENA MENDOZA:


  The error is the following;

I have an article (paper style) but in two column and something wrong is
in
my "keywords" section:
" \noindent \textsf{\begin {multicols}{2}}

  I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. ...


Your file is full of errors:

- you forgot to load the package "multicol" in the document preamble
- you added spaces in between commands in TeX-code (for example "\end 
{multicol}" instead of
"\end{multicol}")
- you made the same mistake in your document preamble
- you can omit all package loading in your preamble, because LyX supports them 
natively
- you set for all text the explicit color "black" this is not necessary and can 
cause problems when
you use "real" colors in your document
- you overwrote the section heading appearance with custom settings - this 
causes LaTeX errors. If
you want to change the appearance of section headings, do this be redefining 
the section heading
commands or changing the document class
- ...

I fixed all these in the attached file.

regards Uwe



help-lyx.lyx
Description: application/lyx


Re: two columns article-lyx forget an error

2010-04-16 Thread Uwe Stöhr

Am 16.04.2010 18:36, schrieb YURENA MENDOZA:


The error is the following;
I have an article (paper style) but in two column and something wrong is in
my "keywords" section:
" \noindent \textsf{\begin {multicols}{2}}

  I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'."

what is wrong with it?** How can I make that lyx forget this mistake and
move on?


Can you send a LyX file to be able to have a closer look? It seems that you haven't used the 
document-wide setting to get a two-column document but inserted some TeX-code by your own. But 
without a LyX file I cannot help you further.


regards Uwe


Re: two columns article-lyx forget an error

2010-04-16 Thread Paul Rubin
The error probably was introduced above the point where the message occurs. 
Sometimes an error occurs that allows LaTeX to continue with an incorrect
interpretation of what is going on -- the content it sees is wrong, but looks
like valid syntax -- until eventually a point is reached where the syntax is no
longer plausible. Think of omitting a closing parenthesis in a programming
language: depending on the language, the compiler may be able to continue
parsing the code for a while before it becomes clear that the parentheses are
unbalanced.

You may not be able to extract any useful information from the error message
other than that there is a problem in the document somewhere above it.  The
message is not totally extraneous, though; there _is_ an error somewhere in the
document.

/Paul





two columns article-lyx forget an error

2010-04-16 Thread YURENA MENDOZA
There are some things of Lyx  that I can not understand:
I am working with an article and from time to time Itransferred it to pdf in
order to have a pre-view . Suddenly one of those times that I wanted to
transfer it and I get an error of one part of the article that I have not
"touched "when I want to see the pdf  and up to now Lyx never give me this
error. The error is the following;
I have an article (paper style) but in two column and something wrong is in
my "keywords" section:
" \noindent \textsf{\begin {multicols}{2}}

 I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'."

what is wrong with it?** How can I make that lyx forget this mistake and
move on?


THANKS


Tabular environments: swap adjacent rows/columns possible?

2010-02-21 Thread Manoj Rajagopalan
Hi all,

   On occasion, I find myself wishing to reorder rows and/or columns in my lyx 
document. Is this possible either through some menu or some lyx function?

thanks,
Manoj


Re: How to span a table to two columns?

2010-02-06 Thread Uwe Stöhr

Am 06.02.2010 02:49, schrieb John Adams:


I am using a two-column template. While reading a wiki page on tables, it
said that in order to span a table into two columns, I had to insert a
"Table Wrap Float"


Where have you found this statement? This is wrong and I need to correct this. You need to insert a 
normal table float. Then right click on the label of the float and in the appearing context menu 
click on "Settings". In the now opened dialog use the option "Span Columns".


More instructions about tables are given in the EmbeddedObjects manual that you 
find in LyX's Help menu.

regards Uwe


How to span a table to two columns?

2010-02-05 Thread John Adams
Hi,

I am using a two-column template. While reading a wiki page on tables, it
said that in order to span a table into two columns, I had to insert a
"Table Wrap Float" and gave a few options which I am not able to find in the
latest version. Can someone tell me how to span the table into two columns?

Also, is it possible to edit the source of the generated Latex? It shows me
the source at the bottom but doesn't let me edit it... Any ideas?

Thanks,
John


Re: How to make table/figure not to span columns?

2009-06-16 Thread Uwe Stöhr

李猛 schrieb:


If I don't set the option  "span colums", I get the pdf without any
table/figure(using xelatex). Do your need the tex or output pdf file?


I need the LyX file.

regards Uwe


Re: How to make table/figure not to span columns?

2009-06-15 Thread 李猛
If I don't set the option  "span colums", I get the pdf without any
table/figure(using xelatex). Do your need the tex or output pdf file?

Thanks a lot.
Best Wishes.

On Tue, Jun 16, 2009 at 3:30 AM, Uwe Stöhr  wrote:

> 李猛 schrieb:
>
>  I use package{multicol} to make part of my document into two columns, such
>> as:
>> \begin{multicols}{2}
>> paragraph  in 2 columns
>> \end{multicols}
>>
>> However, all of tables and figures within the part of document will only
>> appear to be normal in the output pdf when setting the table/figure 'span
>> columns'. I don't need all of them to span columns.
>>
>
> Then don't set the option  "span colums". In case I haven't understood your
> right, can you please provide a _small_ LyX example file to be able to
> reproduce the problem?
>
> regards Uwe
>



-- 
Albert
Lab of Complex System and Artificial Intelligence,
Institute of Automation,Chinese Academy of Sciences(CASIA)
Beijing, 100190,P.R.CHINA


Re: How to make table/figure not to span columns?

2009-06-15 Thread Uwe Stöhr

李猛 schrieb:


I use package{multicol} to make part of my document into two columns, such
as:
\begin{multicols}{2}
paragraph  in 2 columns
\end{multicols}

However, all of tables and figures within the part of document will only
appear to be normal in the output pdf when setting the table/figure 'span
columns'. I don't need all of them to span columns.


Then don't set the option  "span colums". In case I haven't understood your right, can you please 
provide a _small_ LyX example file to be able to reproduce the problem?


regards Uwe


How to make table/figure not to span columns?

2009-06-15 Thread 李猛
Hey,all.
I use package{multicol} to make part of my document into two columns, such
as:
\begin{multicols}{2}
paragraph  in 2 columns
\end{multicols}

However, all of tables and figures within the part of document will only
appear to be normal in the output pdf when setting the table/figure 'span
columns'. I don't need all of them to span columns. How to fix this? Btw, I
use the article(Elsevier) calss.

Thanks a lot!
-- 
albert


Re: 3 columns

2009-04-02 Thread James C. Sutherland


looking at lyx it gives me an option for 2 column,  i would guess  
that a

3 column would be an option somewhere, either that or i need to put it
in a pre amble somewhere.



Take a look at the description of using "multicol" in the help manual:
 Help -> Specific Manuals -> Multicol


3 columns

2009-04-02 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

having now sorted out my table problem,  thank you again for the help on
that,  I now want to put everything in to a nice 3 column document,

looking at lyx it gives me an option for 2 column,  i would guess that a
3 column would be an option somewhere, either that or i need to put it
in a pre amble somewhere.

I will keep searching on google,  B

Paul
- --
Paul Sutton
www.zleap.net
Support Open and ISO standard file formats ISO 26300 odf
http://www.odfalliance.org
Next Linux User Group meet :Saturday April 4th : 3pm,  Shoreline Cafe
Paignton
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknU4OkACgkQaggq1k2FJq0hawCePs3hJteMaZVRbJYYP8rAkr9x
7FsAnj64FyQ5wMSW7xmGyKh354gVm6xh
=dICs
-END PGP SIGNATURE-


Re: two columns abbreviation help please

2009-02-11 Thread Uwe Stöhr

Kamran SHAFQAT schrieb:

i have attach the file which i am using as my msater file and including 
chapter as child documents. The result is same as this file. i hope that 
is works


You are intensively using TeX code and your preamble is quite huge. So it seems that you are a LaTeX 
expert.
But many things you are using as TeX code can already be done directly with LyX, for example 
\clearpage and the nomenclature stuff. I cleaned it a bit up in the attached file.
Furthermore are you using a lot of LaTeX-packages that do basically the same. For example are you 
using a koma-script document class, therefore you don't need to load packages like tocbibind and 
caption. Koma-script provides all the features of these packages.


The more LaTeX-packages and TeX code you are using the problems you can get until you are not 
exactly knowing what you code. I guess that either the packages fncychap and nomenclature don't work 
well together or that one your (undocumented) preamble settins cause the problems.


Sorry that I cannot help your further, but your preamble is much to complicated to understand it 
within 10 minutes.


regards Uwe


test_abb.lyx
Description: application/lyx


Re: two columns abbreviation help please

2009-02-11 Thread Kamran SHAFQAT

Uwe Stöhr wrote:

Kamran SHAFQAT schrieb:

I am trying to write my thesis I am having problem with putting a 
list of abbreviation in two columns properly...

>

I have attached the pdf file of how the output look right now


When you send a _small_ LyX example file,  can have a look.

regards Uwe

Hi,
i have attach the file which i am using as my msater file and including 
chapter as child documents. The result is same as this file. i hope that 
is works


Regards,

Kamran




test_abb.lyx
Description: application/lyx


Re: two columns abbreviation help please

2009-02-11 Thread Uwe Stöhr

Kamran SHAFQAT schrieb:

I am trying to write my thesis I am having problem with putting a list 
of abbreviation in two columns properly...

>

I have attached the pdf file of how the output look right now


When you send a _small_ LyX example file,  can have a look.

regards Uwe


two columns abbreviation help please

2009-02-11 Thread Kamran SHAFQAT

Hi,
I am trying to write my thesis I am having problem with putting a list 
of abbreviation in two columns properly. I am using fncychap package and 
which I think is causing the problem instead of filling the first column 
properly the entries goes in the second column and even above the 
heading. I tried to the used some of the option of multicol package but 
wasn't able to fix this. If I don’t use two columns than the situation 
is fine. The code that I have used is below and I am using koma script 
report


\begin{multicols}{2}
\printnomenclature[2mm]
\end{multicols}


I have attached the pdf file of how the output look right now

Thanks for the help



11.pdf
Description: Adobe PDF document


problem with columns

2008-11-12 Thread Marcelo Acuña
Hello,
 I selected two columns in a scr-book. But I have a ragged bottom. Columns are 
disbalanced in each page. /flushbottom no change this behavior.
 How I can get balanced columns in each page?
 Thanks


Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  

¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch


Re: importing spreadsheet rows and columns

2008-06-01 Thread Daniel Lohmann


A (late) follow-up on this:

I have got some good experience with an open-source Excel-Plugin  
named  Excel2LaTeX. This plugin provides a toolbar button to convert  
the selected parts of an Excel table into LaTeX source code that can  
then either be saved into a file or into the clipboard.


I use this to "copy" tables from Excel into an empty LaTeX document  
and then import this document into a new LyX document. From there I  
use again copy and paste to copy the LyX table into the final document.


Works like a charm and also preserves much of the formattings (e.g.  
bold font headers).


Daniel


Re: importing spreadsheet rows and columns

2008-05-28 Thread Boffinboy

The simplest method (if you have a table of the right size set up in LyX) is
to paste with shift held down as well i.e. shift+ctrl+v - that puts the data
in to the cells, rather than all in one cell. I don't know why it works but
it does and will save you having to export all of your spreadsheets. Hope
that helps!


jf7 wrote:
> 
> 
> Hi, I'm using LyX 1.5.3 and have a situation where I need to put  
> spreadsheet data into tables in LyX -- several of them actually. I'm  
> able to paste the spreadsheet data into LyX. But so far I haven't  
> figured out a way other than the tedious method of cutting and pasting  
> every cell's contents one-by-one into place in the table.
> 
> Is there any way I can at least do columns or rows at a time if not a  
> the whole block of columns and rows at once?
> 
> thanks,
> 
> jamie faunt
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/importing-spreadsheet-rows-and-columns-tp17288380p17517948.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: importing spreadsheet rows and columns

2008-05-28 Thread rgheck

Steve Litt wrote:

On Wednesday 28 May 2008 09:54, rgheck wrote:
  

Helge Hafting wrote:


[EMAIL PROTECTED] wrote:
  

Hi, I'm using LyX 1.5.3 and have a situation where I need to put
spreadsheet data into tables in LyX -- several of them actually. I'm
able to paste the spreadsheet data into LyX. But so far I haven't
figured out a way other than the tedious method of cutting and
pasting every cell's contents one-by-one into place in the table.

Is there any way I can at least do columns or rows at a time if not a
the whole block of columns and rows at once?


There is another option too.
Gnumeric can export a spreadsheet as latex code for a longtable.
  

There's also a CSV importer now, and almost any spreadsheet will export
CSV.



In what version did the CSV importer first make its appearance?

  
I think it's new in 1.5.5. But it's just a python script, so it could be 
run independently. I've attached it in case you want to play with it.


rh

#! /usr/bin/env python
# -*- coding: utf-8 -*-

# file csv2lyx.py
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Hartmut Haase
# author José Matos
# Full author contact details are available in file CREDITS

# This script reads a csv-table (file name.csv) and converts it into
# a LyX-table for versions 1.5.0 and higher (LyX table format 276).
# It uses Python's csv module for parsing.
# The original csv2lyx was witten by Antonio Gulino <[EMAIL PROTECTED]>
# in Perl for LyX 1.x and modified for LyX table format 276 by the author.
#
import csv, unicodedata
import os, sys
import optparse

def error(message):
sys.stderr.write(message + '\n')
sys.exit(1)

header = """#csv2lyx created this file
\lyxformat 276
\\begin_document
\\begin_header
\\textclass article
\\inputencoding auto
\\font_roman default
\\font_sans default
\\font_typewriter default
\\font_default_family default
\\font_sc false
\\font_osf false
\\font_sf_scale 100
\\font_tt_scale 100
\\graphics default
\\paperfontsize default
\\papersize default
\\use_geometry false
\\use_amsmath 1
\\use_esint 0
\\cite_engine basic
\\use_bibtopic false
\\paperorientation portrait
\\secnumdepth 3
\\tocdepth 3
\\paragraph_separation indent
\\defskip medskip
\\papercolumns 1
\\papersides 1
\\paperpagestyle default
\\tracking_changes false
\\output_changes false
\\end_header

\\begin_body

\\begin_layout Standard
\\align left
\\begin_inset Tabular


"""

cell = """
\\begin_inset Text

\\begin_layout Standard
%s
\\end_layout

\\end_inset
"""

footer = """

\\end_inset


\\end_layout

\\end_body
\\end_document
"""

# processing command line options
# delegate this to standard module optparse
args = {}
args["usage"] = "Usage: csv2lyx [options] csvfile [file.lyx]"

args["description"] = """This script creates a LyX document containing a table created from a
comma-separated-value (CSV) file. The resulting LyX file can be opened
with LyX 1.5.0 or any later version.
If no options are given csv2lyx will try to infer the CSV type of the csvfile,
"""
parser = optparse.OptionParser(**args)

parser.set_defaults(excel='', column_sep='')
parser.add_option("-e", "--excel", metavar="CHAR",
  help="""CHAR corresponds to a CSV type:
   		   'e': Excel-generated CSV file
   		   't': Excel-generated TAB-delimited CSV file""")
parser.add_option("-s", "--separator", dest="column_sep",
  help= """column separator
		   		   't' means Tab""")

group = optparse.OptionGroup(parser, "Remarks", """If your CSV file contains special characters (e. g. umlauts,
   accented letters, etc.) make sure it is coded in UTF-8 (unicode).
   Else LyX will loose some cell contents. If your CSV file was not written according to the "Common Format and MIME Type for Comma-Separated Values (CSV) Files" (http://tools.ietf.org/html/rfc4180) there may be unexpected results.""")
parser.add_option_group(group)

(options, args) = parser.parse_args()

# validate input
if len(args) == 1:
infile = args[0]
fout = sys.stdout
elif len(args) ==2:
infile = args[0]
fout = open(args[1], 'w')
else:
parser.print_help()
sys.exit(1)

if not os.path.exists(infile):
	error('File "%s" not found.' % infile)

dialects = {'' : None, 'e' : 'excel', 't' : 'excel-tab'}
if options.excel not in dialects:
parser.print_help()
sys.exit(1)
dialect= dialects[options.excel]

# Set Tab, if necessary
if options.column_sep 

Re: importing spreadsheet rows and columns

2008-05-28 Thread Steve Litt
On Wednesday 28 May 2008 09:54, rgheck wrote:
> Helge Hafting wrote:
> > [EMAIL PROTECTED] wrote:
> >> Hi, I'm using LyX 1.5.3 and have a situation where I need to put
> >> spreadsheet data into tables in LyX -- several of them actually. I'm
> >> able to paste the spreadsheet data into LyX. But so far I haven't
> >> figured out a way other than the tedious method of cutting and
> >> pasting every cell's contents one-by-one into place in the table.
> >>
> >> Is there any way I can at least do columns or rows at a time if not a
> >> the whole block of columns and rows at once?
> >
> > There is another option too.
> > Gnumeric can export a spreadsheet as latex code for a longtable.
>
> There's also a CSV importer now, and almost any spreadsheet will export
> CSV.

In what version did the CSV importer first make its appearance?

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: importing spreadsheet rows and columns

2008-05-28 Thread rgheck

Helge Hafting wrote:

[EMAIL PROTECTED] wrote:


Hi, I'm using LyX 1.5.3 and have a situation where I need to put 
spreadsheet data into tables in LyX -- several of them actually. I'm 
able to paste the spreadsheet data into LyX. But so far I haven't 
figured out a way other than the tedious method of cutting and 
pasting every cell's contents one-by-one into place in the table.


Is there any way I can at least do columns or rows at a time if not a 
the whole block of columns and rows at once?


There is another option too.
Gnumeric can export a spreadsheet as latex code for a longtable.


There's also a CSV importer now, and almost any spreadsheet will export CSV.

rh



Re: importing spreadsheet rows and columns

2008-05-28 Thread Helge Hafting

[EMAIL PROTECTED] wrote:


Hi, I'm using LyX 1.5.3 and have a situation where I need to put 
spreadsheet data into tables in LyX -- several of them actually. I'm 
able to paste the spreadsheet data into LyX. But so far I haven't 
figured out a way other than the tedious method of cutting and pasting 
every cell's contents one-by-one into place in the table.


Is there any way I can at least do columns or rows at a time if not a 
the whole block of columns and rows at once?


There is another option too.
Gnumeric can export a spreadsheet as latex code for a longtable.
This works for spreadsheets made with gnumeric, openoffice and excel.
The entire thing can then be imported by importing the latex file.

This works fine for text and numbers, I don't know about bar graphs and 
such.


I made an "external inset" that automates this process - there has been no
interest so far though.

Helge Hafting



Re: importing spreadsheet rows and columns

2008-05-19 Thread jf7

Quoting Uwe Stöhr <[EMAIL PROTECTED]>:

Bug report is filed.

New version of csv2lyx.py works as expected.

thanks very much!
jamie faunt




Re: importing spreadsheet rows and columns

2008-05-19 Thread Raymond Ouellette
Importing a spreadsheet is something I very often do in LyX but I use
quite a different way!

Usually my finished product is a pdf file, harder to edit and
respecting exactly the formatting I want.

Here is what I do in a few words: printing the spreadsheet table in a
Postscript file, convert it in encapsulated Postscript (eps or epsi)
and insert it as an image in LyX. When exported in pdf, the fonts are
embedded, the table is exactly as it was in the spreadsheet and, as it
is vectorial, il can fit any space I want in the page.

So here is what I do:

1. print the spreadsheet table in a file, be sure to avoid header or
footer unless you really need them;

2. convert the printed ps file in eps format in a terminal:
   ps2epsi the_printed_file.ps

3. the table is cropped precisely in the epsi file with ps2epsi, if you
leave a header then the header will be part of the cropped table, don't
forget it!

4. In LyX, simply insert the eps file as an image. Don't forget to keep
the ratio while giving the wanted width or height of the table.

5. Export the resulting LyX file in pdf and voilà !

Try to be uniform while creating the table, respect the look and feel
of the document you want to insert the table into, especially use the
same font.

This way of doing things can be done also directly by inserting a pdf
file in the LyX document (using ERT), but I prefer the eps way as it
gives me more control easyly.

Raymond

-- 

Édité et transmis avec des logiciels libres sous Linux !


Re: importing spreadsheet rows and columns

2008-05-19 Thread jf7



Okay -- I've got 1.5.5 installed. When I import a csv file it  
separates the rows but not the columns. In looking at the converter I  
see that the python script is csv2lyx. I can't find that script on my  
system. Would it have been part of my lyx installation? (I installed  
the Mac Universal binary and I'm using MacTex but I haven't upgraded  
it since I had LyX 1.5.3.) Also it's putting the imported data in a  
new LyX file. Just wondering what I need to get this to work.


thanks,
jamie faunt

Quoting [EMAIL PROTECTED]:



Fantastic! Will do! Thanks!

jamie faunt

Quoting Uwe Stöhr <[EMAIL PROTECTED]>:


[EMAIL PROTECTED] schrieb:

Hi, I'm using LyX 1.5.3 and have a situation where I need to put
spreadsheet data into tables in LyX


Upgrdade to LyX 1.5.5 and use there the menu File -> Import -> Comma
separated values.
This requires that you format your spreadsheet to a CSV file with Tabs
as column separator (OpenOffice and Excel can do this).

regards Uwe





Re: importing spreadsheet rows and columns

2008-05-19 Thread Uwe Stöhr

[EMAIL PROTECTED] schrieb:

Okay -- I've got 1.5.5 installed. When I import a csv file it separates 
the rows but not the columns. In looking at the converter I see that the 
python script is csv2lyx. I can't find that script on my system.


I attached the latest version of the script. It does now also recognize the used column separator 
automatically. To use it, copy it to LyX's scripts folder and then reconfigure LyX.



Would it have been part of my lyx installation?


It should be part of LyX 1.5.5, as this doesn't seem to be the case, please 
open a bug report at
bugzilla.lyx.org
so that our Mac maintainer can fix this.

(I installed the Mac Universal 
binary and I'm using MacTex but I haven't upgraded it since I had LyX 
1.5.3.)


The script is part of LyX and independent of TeX.


Also it's putting the imported data in a new LyX file.


Yes that's intended. You can then copy the table to other LyX files if you like.

regards Uwe
#! /usr/bin/env python
# -*- coding: utf-8 -*-

# file csv2lyx.py
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author Hartmut Haase
# author José Matos

# Full author contact details are available in file CREDITS

# This script reads a csv-table (file name.csv) and converts it into
# a LyX-table for versions 1.5.0 and higher (LyX table format 276).
# It uses Python's csv module for parsing.
# The original csv2lyx was witten by Antonio Gulino <[EMAIL PROTECTED]>
# in Perl for LyX 1.x and modified for LyX table format 276 by the author.
#
import csv, unicodedata
import os, sys
import optparse

def error(message):
sys.stderr.write(message + '\n')
sys.exit(1)

# processing command line options
# delegate this to standard module optparse
args = {}
args["usage"] = "Usage: csv2lyx [options] mycsvfile mytmptable.lyx"

args["description"] = """This script creates a LyX document containing a table
from a comma-separated-value file. The LyX file has format 276
and can be opened with LyX 1.5.0 and newer.
"""
parser = optparse.OptionParser(**args)

parser.set_defaults(excel = 'n', column_sep = 'n', guess_sep = False)
parser.add_option("-e", "--excel",
  help="""'character'  Excel type, default is 'n'
   'e': Excel-generated CSV file
   't': Excel-generated TAB-delimited CSV file""")
parser.add_option("-s", "--separator", dest="column_sep",
  help= "column separator, default is ','")
parser.add_option("-g", "--guess-sep", action="store_true",
  help = "guess the columns separator")

group = optparse.OptionGroup(parser, "Remarks", """If your .csv file contains 
special characters (e. g. umlauts,
   accented letters, etc.) make sure it is coded in UTF-8 (unicode).
   Else LyX will loose some cell contents. If your .csv file was not written 
according to the "Common Format and MIME Type for Comma-Separated Values (CSV) 
Files" (http://tools.ietf.org/html/rfc4180) there may be unexpected results.""")
parser.add_option_group(group)

(options, args) = parser.parse_args()

# validate input
if len(args) == 1:
infile = args[0]
fout = sys.stdout
elif len(args) ==2:
infile = args[0]
fout = open(args[1], 'w')
else:
parser.print_help()
sys.exit(1)

if not os.path.exists(infile):
error('File "%s" not found.' % infile)

dialects = {'n' : None, 'e' : 'excel', 't' : 'excel-tab'}
if options.excel not in dialects:
parser.print_help()
sys.exit(1)
dialect= dialects[options.excel]

# when no special column separator is given, try to detect it:
if options.column_sep == 'n':
options.guess_sep = 'True'
print options.column_sep, options.guess_sep
if options.guess_sep:
guesser = csv.Sniffer()
    input_file = "".join(open(infile,'rb').readlines())
try:
dialect = guesser.sniff(input_file)
print 'found:', dialect.delimiter
reader = csv.reader(open(infile, "rb"), dialect= dialect)
except:
print 'error, using ,'
reader = csv.reader(open(infile, "rb"), dialect= dialect, delimiter=',')
else:
reader = csv.reader(open(infile, "rb"), dialect= dialect, 
delimiter=options.column_sep)

# read input
num_cols = 1 # max columns
rows = []

for row in reader:
num_cols = max(num_cols, len(row))
rows.append(row)

num_rows = reader.line_num # number of lines

# create a LyX file
#
# write first part
##

Re: importing spreadsheet rows and columns

2008-05-17 Thread jf7


Fantastic! Will do! Thanks!

jamie faunt

Quoting Uwe Stöhr <[EMAIL PROTECTED]>:


[EMAIL PROTECTED] schrieb:

Hi, I'm using LyX 1.5.3 and have a situation where I need to put   
spreadsheet data into tables in LyX


Upgrdade to LyX 1.5.5 and use there the menu File -> Import -> Comma
separated values.
This requires that you format your spreadsheet to a CSV file with Tabs
as column separator (OpenOffice and Excel can do this).

regards Uwe





Re: importing spreadsheet rows and columns

2008-05-17 Thread Uwe Stöhr

[EMAIL PROTECTED] schrieb:

Hi, I'm using LyX 1.5.3 and have a situation where I need to put 
spreadsheet data into tables in LyX


Upgrdade to LyX 1.5.5 and use there the menu File -> Import -> Comma separated 
values.
This requires that you format your spreadsheet to a CSV file with Tabs as column separator 
(OpenOffice and Excel can do this).


regards Uwe


importing spreadsheet rows and columns

2008-05-16 Thread jf7


Hi, I'm using LyX 1.5.3 and have a situation where I need to put  
spreadsheet data into tables in LyX -- several of them actually. I'm  
able to paste the spreadsheet data into LyX. But so far I haven't  
figured out a way other than the tedious method of cutting and pasting  
every cell's contents one-by-one into place in the table.


Is there any way I can at least do columns or rows at a time if not a  
the whole block of columns and rows at once?


thanks,

jamie faunt




Re: Beamer and columns problem (bug?)

2008-03-28 Thread Graeme

Graeme wrote:

I am using LyX1.5.4-1 on WinXP, with the Beamer document class.

When I select the style ColumnsTopAligned within a frame, Lyx inserts


\begin{topcolumns}%{}

\end{topcolumns}%{}

as can easily be checked with the View Source window.


However, it seems impossible to enter any text between these \begin{}
and \end{} statements.

If I simply hit Return on the line that says Columns (top aligned),
then try to style the next line with the Column style, Lyx takes me
completely outside the topcolumns environment, again as can be seen
from the View Source window.

I get the same problems with the ColumnsCenterAligned and the simple
Columns styles.

Am I missing something really obvious, or is this a bug with Lyx
1.5.4?


 
You're missing something ... whether it's really obvious or not is a

matter of opinion. :-)

First insert the Columns environment. Underneath that, insert a
Column environment and fill in the width (including units, e.g.
40mm). Now nest the Column environment under the Columns environment
(Edit -> Increase List Depth or M-S-right or the tool button that
looks like an item list with a left-to-right arrow). Then type in
whatever you want in the column and nest it as well.

/Paul


Paul

Thanks for your helpful reply. It was the need to Increase Depth that I 
did not find sufficiently obvious...


Graeme

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


Re: Beamer and columns problem (bug?)

2008-03-28 Thread Paul A. Rubin

Graeme wrote:

I am using LyX1.5.4-1 on WinXP, with the Beamer document class.

When I select the style ColumnsTopAligned within a frame, Lyx inserts

\begin{topcolumns}%{}

\end{topcolumns}%{}

as can easily be checked with the View Source window.

However, it seems impossible to enter any text between these \begin{} 
and \end{} statements.


If I simply hit Return on the line that says Columns (top aligned), then 
try to style the next line with the Column style, Lyx takes me 
completely outside the topcolumns environment, again as can be seen from 
the View Source window.


I get the same problems with the ColumnsCenterAligned and the simple 
Columns styles.


Am I missing something really obvious, or is this a bug with Lyx 1.5.4?


You're missing something ... whether it's really obvious or not is a 
matter of opinion. :-)


First insert the Columns environment.  Underneath that, insert a Column 
environment and fill in the width (including units, e.g. 40mm).  Now 
nest the Column environment under the Columns environment (Edit -> 
Increase List Depth or M-S-right or the tool button that looks like an 
item list with a left-to-right arrow). Then type in whatever you want in 
the column and nest it as well.


/Paul



Beamer and columns problem (bug?)

2008-03-27 Thread Graeme

I am using LyX1.5.4-1 on WinXP, with the Beamer document class.

When I select the style ColumnsTopAligned within a frame, Lyx inserts

\begin{topcolumns}%{}

\end{topcolumns}%{}

as can easily be checked with the View Source window.

However, it seems impossible to enter any text between these \begin{} 
and \end{} statements.


If I simply hit Return on the line that says Columns (top aligned), then 
try to style the next line with the Column style, Lyx takes me 
completely outside the topcolumns environment, again as can be seen from 
the View Source window.


I get the same problems with the ColumnsCenterAligned and the simple 
Columns styles.


Am I missing something really obvious, or is this a bug with Lyx 1.5.4?

Graeme
--

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


Wrapping a float between columns

2008-01-07 Thread Shawn Willden
Hi,

I have a two-column document with some images in wrap floats.  By using the 
microtype package and making the images small enough, I can get nicely-spaced 
text to the left or right of an image, but I'd prefer to make the images a 
little larger and place them in the center, so that they take space from both 
columns.

Is there a way to do this?  Ideally, it would be nice to be able to shift the 
image a little to one side or another so it's not dead center (a little 
asymmetry is often visually-appealing), but that's less important.

Thanks,

Shawn.


Re: making a table with columns starting at different places

2007-10-15 Thread Paul A. Rubin

Jeremy C. Reed wrote:



So I have a working table at
http://reedmedia.net/~reed/tmp-lyx-asilcfybgiqu8rt7/table.lyx

Now I need to work on getting it narrower. My original table uses a small 
font for top numbers. I may try that. Also, I saw similar table that has 
cells with number ranges (0-3, for example) instead of listing every 
number. So I may try that too. I need to get it down around 5 to 6 inches 
wide at the most.




You might want to look at http://wiki.lyx.org/LyX/Tables#toc17.

/Paul



Re: making a table with columns starting at different places

2007-10-15 Thread Jeremy C. Reed
On Mon, 15 Oct 2007, Jeremy C. Reed wrote:

> At first, it started to work and I could generate several DVIs as I worked 
> on it. But once I was finished, it errored with:
> 
> LaTeX Error: Illegal character in array arg.
> LaTeX Error: Illegal character in array arg.
> LaTeX Error: Illegal character in array arg.
> LaTeX Error: Illegal character in array arg.
> LaTeX Error: Illegal character in array arg.
> LaTeX Error: Illegal character in array arg.
> Misplaced \noalign.
> Misplaced alignment tab character &.
> Misplaced \omit.
> Misplaced \span.
> Misplaced \omit.
> Misplaced \span.
> 
> So I "Ctrl-Z"  to undo several changes checking one at a time, and finally 
> got back to LyX document that could be rendered.
> 
> The two documents are: 
> http://reedmedia.net/~reed/tmp-lyx-asilcfybgiqu8rt7/table-broken.lyx
> http://reedmedia.net/~reed/tmp-lyx-asilcfybgiqu8rt7/table-works-but-incomplete.lyx

Well I found my problem. I had somehow typed my data that should have been 
in the table itself into the table cell attributes (special):

-
+

So I have a working table at
http://reedmedia.net/~reed/tmp-lyx-asilcfybgiqu8rt7/table.lyx

Now I need to work on getting it narrower. My original table uses a small 
font for top numbers. I may try that. Also, I saw similar table that has 
cells with number ranges (0-3, for example) instead of listing every 
number. So I may try that too. I need to get it down around 5 to 6 inches 
wide at the most.

> Also I have a problem with trying to get multiple of the column widths 
> changed at one time. It seems like even though multiple are highlighted, 
> only the one with my LyX cursor gets its width changed.
> 
> I need to get the entire generated table to be narrower so it will fit in 
> the printed book.

  Jeremy C. Reed


Re: making a table with columns starting at different places

2007-10-15 Thread Jeremy C. Reed
On Wed, 10 Oct 2007, Paul A. Rubin wrote:

> The tedious but (moderately) straightforward approach is to start with 
> an Nx33 table, then merge cells by drag-selecting them and clicking the 
> multicolumn button in the table toolbar (or using the right-click table 
> dialog and selecting multicolumn).  Separate borders can be set (the 
> usual way) for multicolumn cells.

Thank you Paul.

I updated from 1.4.x to 1.5.2 and started to do this.

At first, it started to work and I could generate several DVIs as I worked 
on it. But once I was finished, it errored with:

LaTeX Error: Illegal character in array arg.
LaTeX Error: Illegal character in array arg.
LaTeX Error: Illegal character in array arg.
LaTeX Error: Illegal character in array arg.
LaTeX Error: Illegal character in array arg.
LaTeX Error: Illegal character in array arg.
Misplaced \noalign.
Misplaced alignment tab character &.
Misplaced \omit.
Misplaced \span.
Misplaced \omit.
Misplaced \span.

So I "Ctrl-Z"  to undo several changes checking one at a time, and finally 
got back to LyX document that could be rendered.

The two documents are: 
http://reedmedia.net/~reed/tmp-lyx-asilcfybgiqu8rt7/table-broken.lyx
http://reedmedia.net/~reed/tmp-lyx-asilcfybgiqu8rt7/table-works-but-incomplete.lyx

Any ideas about above errors?

I couldn't find anyway for LyX to show me the error for each. I thought I 
could click on the error dialog box. Maybe that didn't work for me since 
the table is wider than my LyX window. And I thought there was some menu 
item to take me to the next error. Any suggestions on how to know what the 
errors refer to? Or why LyX generated broken LaTeX?

Also I have a problem with trying to get multiple of the column widths 
changed at one time. It seems like even though multiple are highlighted, 
only the one with my LyX cursor gets its width changed.

I need to get the entire generated table to be narrower so it will fit in 
the printed book.

  Jeremy C. Reed


Re: making a table with columns starting at different places

2007-10-10 Thread Paul A. Rubin

Jeremy C. Reed wrote:

See the 3.2KB attached image.

I want to try making that using tabular and multicolumn.

My first row has 33 columns, the first doesn't have a border.
The second row has 5 columns with the 2nd column for the 2nd-5th columns 
above, and so on.
The third row has 4 columns, with the 2nd column covering the 2nd-17th 
columns at the top.

...

But I am unsure how to get some of the columns to start at certain places.

Can anyone share any example?

Or should I just use a tool like xfig or inkscape to recreate this?
I just didn't want to try to figure out making the top 33 columns all 
sized correctly. Unless some tool can do what I want without my manual 
adjustments.


I have a few tables like this to create.



The tedious but (moderately) straightforward approach is to start with 
an Nx33 table, then merge cells by drag-selecting them and clicking the 
multicolumn button in the table toolbar (or using the right-click table 
dialog and selecting multicolumn).  Separate borders can be set (the 
usual way) for multicolumn cells.


/Paul



making a table with columns starting at different places

2007-10-10 Thread Jeremy C. Reed
See the 3.2KB attached image.

I want to try making that using tabular and multicolumn.

My first row has 33 columns, the first doesn't have a border.
The second row has 5 columns with the 2nd column for the 2nd-5th columns 
above, and so on.
The third row has 4 columns, with the 2nd column covering the 2nd-17th 
columns at the top.
...

But I am unsure how to get some of the columns to start at certain places.

Can anyone share any example?

Or should I just use a tool like xfig or inkscape to recreate this?
I just didn't want to try to figure out making the top 33 columns all 
sized correctly. Unless some tool can do what I want without my manual 
adjustments.

I have a few tables like this to create.

  Jeremy C. Reed

table.png
Description: Binary data


Border around columns on two-column document?

2007-07-31 Thread Lance Simmons
How do I put solid borders around the columns of a two-column document?

Also, are there any options for having the borders be decorative?

-- 
Lance Simmons


Re: How to change the number of rows and columns on a table?

2007-04-25 Thread Steve Litt
On Wednesday 25 April 2007 13:40, Paul A. Rubin wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > I'm using LyX 1.4.2. I cannot find any way to change the number of rows
> > and/or columns on a table once I've created the table with Insert->Table.
> > The table-settings dialog doesn't let you change the number of rows and
> > columns. How does one change the number of rows and/or columns. I'd hate
> > to think that when I think of a new item belonging in the table, instead
> > of adding a row I'd need to create a new table with the right number of
> > rows, cut and paste all cells to the new table, and delete the old one.
>
> If you right-click someplace open in the main menu bar (to the right of
> Help), I think you'll get a check-list of toolbars. 

Thanks Paul. This worked!

SteveT


Re: How to change the number of rows and columns on a table?

2007-04-25 Thread Steve Litt
On Wednesday 25 April 2007 13:05, José Matos wrote:
> On Wednesday 25 April 2007 5:59:41 pm Steve Litt wrote:
> > Hi all,
> >
> > I'm using LyX 1.4.2. I cannot find any way to change the number of rows
> > and/or columns on a table once I've created the table with Insert->Table.
> > The table-settings dialog doesn't let you change the number of rows and
> > columns. How does one change the number of rows and/or columns. I'd hate
> > to think that when I think of a new item belonging in the table, instead
> > of adding a row I'd need to create a new table with the right number of
> > rows, cut and paste all cells to the new table, and delete the old one.
>
>   You can add and delete rows and columns, this becomes more visible in
> 1.5.0 but it was always present as far as I remember (back to 0.10 the
> first version to support tables).
>
>   Edit->Rows & Columns->...

Thanks José. I was about to put them in with Vim :-)

SteveT


Re: How to change the number of rows and columns on a table?

2007-04-25 Thread Paul A. Rubin

Andre Poenitz wrote:

On Wed, Apr 25, 2007 at 01:40:23PM -0400, Paul A. Rubin wrote:
If you right-click someplace open in the main menu bar (to the right of 
Help), I think you'll get a check-list of toolbars.  Select Table.  Now 
when you're in a table you'll have a table-specific toolbar, including 
buttons to add/delete individual rows/columns.  (I know this works in 
1.4.4; I think it works in 1.4.2.)


Does it work in 1.5.0? I only get a choice of Small/Medium/Large icons
there...



Yes, but with a difference.  The right-click "context menu" approach is 
gone.  View -> Toolbars lets you cycle through on/off/auto settings for 
the specialty toolbars.  Interestingly, LyX seems to remember your 
settings.  This is a departure from the long-standing norm of having to 
twiddle something in the Preferences dialog and then Save to retain the 
preference.


/Paul



Re: How to change the number of rows and columns on a table?

2007-04-25 Thread Andre Poenitz
On Wed, Apr 25, 2007 at 01:40:23PM -0400, Paul A. Rubin wrote:
> If you right-click someplace open in the main menu bar (to the right of 
> Help), I think you'll get a check-list of toolbars.  Select Table.  Now 
> when you're in a table you'll have a table-specific toolbar, including 
> buttons to add/delete individual rows/columns.  (I know this works in 
> 1.4.4; I think it works in 1.4.2.)

Does it work in 1.5.0? I only get a choice of Small/Medium/Large icons
there...

Andre'


Re: How to change the number of rows and columns on a table?

2007-04-25 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

I'm using LyX 1.4.2. I cannot find any way to change the number of rows and/or 
columns on a table once I've created the table with Insert->Table. The 
table-settings dialog doesn't let you change the number of rows and columns. 
How does one change the number of rows and/or columns. I'd hate to think that 
when I think of a new item belonging in the table, instead of adding a row 
I'd need to create a new table with the right number of rows, cut and paste 
all cells to the new table, and delete the old one.




If you right-click someplace open in the main menu bar (to the right of 
Help), I think you'll get a check-list of toolbars.  Select Table.  Now 
when you're in a table you'll have a table-specific toolbar, including 
buttons to add/delete individual rows/columns.  (I know this works in 
1.4.4; I think it works in 1.4.2.)


You can hack the stdtoolbars.inc file to make the Table (and also Math) 
toolbars pop up automagically based on context.  At least in 1.4.4, you 
can get this without hacking by selecting default-autotoolbars.ui as 
your UI file.


/Paul



Re: How to change the number of rows and columns on a table?

2007-04-25 Thread José Matos
On Wednesday 25 April 2007 5:59:41 pm Steve Litt wrote:
> Hi all,
>
> I'm using LyX 1.4.2. I cannot find any way to change the number of rows
> and/or columns on a table once I've created the table with Insert->Table.
> The table-settings dialog doesn't let you change the number of rows and
> columns. How does one change the number of rows and/or columns. I'd hate to
> think that when I think of a new item belonging in the table, instead of
> adding a row I'd need to create a new table with the right number of rows,
> cut and paste all cells to the new table, and delete the old one.

  You can add and delete rows and columns, this becomes more visible in 1.5.0 
but it was always present as far as I remember (back to 0.10 the first 
version to support tables).

  Edit->Rows & Columns->...

> Thanks
>
> SteveT
>
> Steve Litt
> Author: Universal Troubleshooting Process books and courseware
> http://www.troubleshooters.com/



-- 
José Abílio


How to change the number of rows and columns on a table?

2007-04-25 Thread Steve Litt
Hi all,

I'm using LyX 1.4.2. I cannot find any way to change the number of rows and/or 
columns on a table once I've created the table with Insert->Table. The 
table-settings dialog doesn't let you change the number of rows and columns. 
How does one change the number of rows and/or columns. I'd hate to think that 
when I think of a new item belonging in the table, instead of adding a row 
I'd need to create a new table with the right number of rows, cut and paste 
all cells to the new table, and delete the old one.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Rich Shepard

On Fri, 9 Mar 2007, Jean-Pierre Chretien wrote:


Why not use Edit->Paragraph setting ? Control is in the
column, so you may flushright or center.


  Because it did not occur to me to do this.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

>>Date: Fri, 9 Mar 2007 08:27:21 -0800 (PST)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Beamer Class: Columns Not Top Aligned
>>
>>On Fri, 9 Mar 2007, Jean-Pierre Chretien wrote:
>>
>>> Maybe the graphic is the problem ? You may check with the platypus (I see
>>> that you clip, does it work with pdflatex ?)
>>
>>Jean-Pierre,
>>
>>   It was the float, not the graphic itself. When I deleted the float and
>>placed the graphic itself, up it floated. I'm going to try \hspace{1cm} to
>>move it away from the left edge of the frame.

Why not use Edit->Paragraph setting ? Control is in the
column, so you may flushright or center.

>>Merci!
Bienvenue !

-- 
Jean-Pierre



Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Rich Shepard

On Fri, 9 Mar 2007, Jean-Pierre Chretien wrote:


Maybe the graphic is the problem ? You may check with the platypus (I see
that you clip, does it work with pdflatex ?)


Jean-Pierre,

  It was the float, not the graphic itself. When I deleted the float and
placed the graphic itself, up it floated. I'm going to try \hspace{1cm} to
move it away from the left edge of the frame.

Merci!

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Rich Shepard

On Fri, 9 Mar 2007, Jean-Pierre Chretien wrote:


Can't reproduce it here (lyx-1.4.4/Solaris, recent beamer cvs snapshot),
top alignment is OK - I replaced your graphic with
/usr/local/share/lyx/clipart/platypus.eps


JP,

  Interesting. I'm using 1.5svn; can't connect to the Web site to get the
released 1.5. I thought Europe took its holiday in August, not March. :-)


Maybe the graphic is the problem ? You may check with the platypus (I see
that you clip, does it work with pdflatex ?)


  Perhaps that is the problem. When the pdf file is viewed in an expanded
float there is a lot of white space around it. I've no idea if the clipping
is accomplishing anything.

  I can try converting the .pdf to .eps and see if I lose any resolution.
It's an OMR form for scanning, so high resolution is important.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Jean-Pierre Chretien

>>Date: Fri, 9 Mar 2007 07:13:59 -0800 (PST)
>>From: Rich Shepard <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Beamer Class: Columns Not Top Aligned
>>
>>   In my document I have this frame:
[...]
>>
>>   When it's compiled by pdflatex and displayed the pdf image in the left 
column
>>is lower -- touching the frame bottom -- and the list of items on the right
>>are higher in the frame.
>>
>>   I've tried various adjustments, but none work. If you see what needs to be
>>done, please let me know.

Can't reproduce it here (lyx-1.4.4/Solaris, recent beamer cvs snapshot),
top alignment is OK - I replaced your graphic with 
/usr/local/share/lyx/clipart/platypus.eps

Maybe the graphic is the problem ? You may check with the platypus
(I see that you clip, does it work with pdflatex ?)

-- 
Jean-Pierre

PS The float is not necessary IMHO, doesn't make really sense in a slide, you
want the graphic here and nowhere else.



Beamer Class: Columns Not Top Aligned

2007-03-09 Thread Rich Shepard

  In my document I have this frame:

\begin_layout BeginFrame
Expressing Preferences
\end_layout

\begin_layout ColumnsTopAligned

\end_layout

\begin_deeper
\begin_layout Column
6cm
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status collapsed

\begin_layout Standard
\align right
\begin_inset Graphics
filename omr-form.pdf
height 8cm
clip

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Column
6cm
\end_layout

\begin_layout Itemize
Anonymous.
\end_layout

\begin_layout Itemize
Project position demonstrates no group systematically excluded.
\end_layout

\begin_layout Itemize
Every vote has equal weight.
\end_layout

\begin_layout Itemize
Audit trail.
\end_layout

\begin_layout Itemize
Process can be extended to multiple meetings.
\end_layout

\end_deeper
\begin_layout EndFrame

  When it's compiled by pdflatex and displayed the pdf image in the left column
is lower -- touching the frame bottom -- and the list of items on the right
are higher in the frame.

  I've tried various adjustments, but none work. If you see what needs to be
done, please let me know.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.|  Accelerator(TM)
 Voice: 503-667-4517  Fax: 503-667-8863


Re: linenumbers for two-columns text?

2007-02-09 Thread Paul A. Rubin

Tobias Lochner wrote:

Hello



I'm trying to get linenumbers on a text with two columns using the
"lineno"-package.



It works fine for the left column, but for the right column the linenumbers
are getting mixed with the text of the left column.

I wished I could have the linenumbers for the left colum on the left side
and the ones for the right column on the right side.

Is this possible?


Thank you.
Bye, lochi



Try \usepackage[switch*]{lineno} in the preamble.  (Or omit the * to 
switch which margin is used.)  Source: section 3.1 of the lineno manual.


/Paul



linenumbers for two-columns text?

2007-02-08 Thread Tobias Lochner

Hello



I'm trying to get linenumbers on a text with two columns using the
"lineno"-package.



It works fine for the left column, but for the right column the linenumbers
are getting mixed with the text of the left column.

I wished I could have the linenumbers for the left colum on the left side
and the ones for the right column on the right side.

Is this possible?


Thank you.
Bye, lochi


Re: [Totally New] Trying to format mathematical equations in two columns

2007-02-01 Thread Helge Hafting

Steven Harms (stharms) wrote:

Hello All,
 
LyX is great!  It's helped me so much already!  Regrettably, as you

learn the power of LyX, the more you can be obsessive about tiny little
details, so here's mine.
 
I'm doing some math homework and I've been laying out my homework

brilliantly with the Insert->Math->align.  The two cool blue 'type-in'
areas pop up and I enter "x+y" in the first and "=z" in the 2nd.  With
CTRL+M I can add more blue pairs and that's how I lay out my equations (
is that the LyX Way (tm) ? ).
 
But on some homework we're obligated to do a "check".  What I would like

to do is have:
(it's painful to re-lay this out after having the power of LyX ;) )


14.

  Problem  Check {titles should be centered over coulmn}
__
|x+5=11  | x+5=11{underline} |
|  x=11-5| 6+5=  |
|  x=6   |  11 {underline}   |
--
  

Easy if you don't need it framed exactly like that:
Insert two minipages side by side. Each should be smaller than
50% of line width, obviously.

Use centered paragraphs in both minipages. On the first line,
put your title as standard text. Then press enter, and in the
next (centered) paragraph, insert your aligned math.
You will now have the word "Problem" nicely centered over
your math, and the word "Check" nicely centered over the check.

There are many ways to vary spacing between the minipages,
should you need that. Reasonably new versions of lyx also
allow a frame around the minipage if you want that.


Another way is to use a table, and insert the aligned
environment into that.  Framing then becomes a matter of
getting the table borders right.  Which is possible, but cumbersome
as it involves turning off the vertical borders as well as unwanted
horizontal borders, then turning "multicolumn" on for the "Problem"
and "Check" cells, and then turn the vertical borders on again to get
exactly the border layout in your example.

Lyx 1.5 had no problems putting an aligned environment in a table,
I got this latex code:
\begin{tabular}{|c|c|}
\multicolumn{1}{c}{Problem} & \multicolumn{1}{c}{Check}\tabularnewline
\hline
$\begin{aligned}x+5 & =11\\
x & =11-5\\
x & =6\end{aligned}
$ & $\begin{aligned}x+5 & =11\\
6+5 & =11\\
11 & =11\end{aligned}
$\tabularnewline
\hline
\end{tabular}



Helge Hafting



Re: [Totally New] Trying to format mathematical equations in two columns

2007-01-31 Thread Paul A. Rubin

Steven Harms (stharms) wrote:

I actually tried that, but it resulted in getting a bunch of errors from
LaTeX.  It look goot in LyX, but I don't understand how it's breaking
LaTeX in this instance.


%% LyX 1.4.3-5 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

\usepackage{babel}
\makeatother
\begin{document}
\begin{tabular}{|c|c|}
\hline 
\begin{align*}

7x+10y & =50\textrm{ for }y=4\\
7x+10(4) & =50\\
7x+40 & =50\\
7x+40-40 & =50-40\\
7x & =10\\
x & =\frac{10}{7}\end{align*}
&
\begin{align*}
 & \textrm{Check:}\\
7x+10y & =50\textrm{ for }y=4\\
7(\frac{10}{7})+10(4) & =50\\
10+40 & =50\\
50 & =50\end{align*}
\tabularnewline
\hline
\end{tabular}
\end{document} 



AFAIK, you cannot use display math in a table cell, and multiline math 
environments like align* count as display math.  (You can use inline 
math in table cells, but that's about it.)


Attached are three less than perfect possible solutions.  The 
multicolumn approach handles the titles nicely, but you have to futz 
with the vertical spacing of the equation environments, and because they 
are two separate environments and equations with fractions eat more 
vertical space than those without, the equations on either side won't 
line up nicely.  The align* approach handles the equations just fine, 
but getting the titles in will be a problem -- using \multicolumn only 
works in array and tabular environments, and apparently align* and its 
siblings don't count as array environments.


The final approach is to use a plain old math array, with \multicolumn 
to do the headings.  Spacing is different -- more space around the equal 
signs, smaller fractions -- but if you're not finicky it might work for 
you.  Note that whereas the headings occupy columns 1-3 and 5-7 
respectively (column 4 is for the vertical spacer), you have to put the 
second \multicolumn in column 3.  This is because LyX doesn't read the 
multicolumn commands and adjust the number of column separators (&) 
accordingly.  LaTeX will apparently ignore the extras if they are at the 
end of the line, but it chokes on them if they occur in the middle of 
the line.


One other tip re the final solution.  When you type '\multicolumn{' LyX 
will recognize you're about to enter an argument, and supply the closing 
brace.  To enter the next two arguments, though, you can't just type the 
braces; LyX will take them as literal text.  Type '\{' or click the TeX 
button and then type '{' to get each additional argument rolling.


/Paul


eqs.lyx
Description: application/lyx


RE: [Totally New] Trying to format mathematical equations in two columns

2007-01-31 Thread Steven Harms \(stharms\)
I actually tried that, but it resulted in getting a bunch of errors from
LaTeX.  It look goot in LyX, but I don't understand how it's breaking
LaTeX in this instance.


%% LyX 1.4.3-5 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}

\makeatletter

%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

\usepackage{babel}
\makeatother
\begin{document}
\begin{tabular}{|c|c|}
\hline 
\begin{align*}
7x+10y & =50\textrm{ for }y=4\\
7x+10(4) & =50\\
7x+40 & =50\\
7x+40-40 & =50-40\\
7x & =10\\
x & =\frac{10}{7}\end{align*}
&
\begin{align*}
 & \textrm{Check:}\\
7x+10y & =50\textrm{ for }y=4\\
7(\frac{10}{7})+10(4) & =50\\
10+40 & =50\\
50 & =50\end{align*}
\tabularnewline
\hline
\end{tabular}
\end{document} 

--

Steven


-Original Message-
From: John Hughes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 11:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [Totally New] Trying to format mathematical equations in
two columns

Hi,

How about using a table? You can set the column widths so that the
equations are as far apart or close together as possible and the rows
will always line up.

Regards

John


>From: "Steven Harms (stharms)" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [Totally New]  Trying to format mathematical equations in two 
>columns
>Date: Wed, 31 Jan 2007 08:27:34 -0800
>
>Hello All,
>
>LyX is great!  It's helped me so much already!  Regrettably, as you 
>learn the power of LyX, the more you can be obsessive about tiny little

>details, so here's mine.
>
>I'm doing some math homework and I've been laying out my homework 
>brilliantly with the Insert->Math->align.  The two cool blue 'type-in'
>areas pop up and I enter "x+y" in the first and "=z" in the 2nd.  With
>CTRL+M I can add more blue pairs and that's how I lay out my equations 
>CTRL+(
>is that the LyX Way (tm) ? ).
>
>But on some homework we're obligated to do a "check".  What I would 
>like to do is have:
>(it's painful to re-lay this out after having the power of LyX ;) )
>
>
>14.
>
>   Problem  Check {titles should be centered over coulmn}
>__
>|x+5=11  | x+5=11{underline} |
>|  x=11-5| 6+5=  |
>|  x=6   |  11 {underline}   |
>--
>
>I looked at the \multicolumn{} directive but that seems only to 'flow'
>text from one col into another.
>
>I also looked at the \{tabbing} environment, but that doesn't seem to 
>play nice with my math equations.
>
>Does anyone have an example of this that I could take a look at, or is 
>there a Better Way?
>
>Thanks!
>
>Steven

_
MSN Hotmail is evolving - check out the new Windows Live Mail
http://ideas.live.com


RE: [Totally New] Trying to format mathematical equations in two columns

2007-01-31 Thread John Hughes

Hi,

How about using a table? You can set the column widths so that the equations 
are as far apart or close together as possible and the rows will always line 
up.


Regards

John



From: "Steven Harms (stharms)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [Totally New]  Trying to format mathematical equations in two 
columns

Date: Wed, 31 Jan 2007 08:27:34 -0800

Hello All,

LyX is great!  It's helped me so much already!  Regrettably, as you
learn the power of LyX, the more you can be obsessive about tiny little
details, so here's mine.

I'm doing some math homework and I've been laying out my homework
brilliantly with the Insert->Math->align.  The two cool blue 'type-in'
areas pop up and I enter "x+y" in the first and "=z" in the 2nd.  With
CTRL+M I can add more blue pairs and that's how I lay out my equations (
is that the LyX Way (tm) ? ).

But on some homework we're obligated to do a "check".  What I would like
to do is have:
(it's painful to re-lay this out after having the power of LyX ;) )


14.

  Problem  Check {titles should be centered over coulmn}
__
|x+5=11  | x+5=11{underline} |
|  x=11-5| 6+5=  |
|  x=6   |  11 {underline}   |
--

I looked at the \multicolumn{} directive but that seems only to 'flow'
text from one col into another.

I also looked at the \{tabbing} environment, but that doesn't seem to
play nice with my math equations.

Does anyone have an example of this that I could take a look at, or is
there a Better Way?

Thanks!

Steven


_
MSN Hotmail is evolving – check out the new Windows Live Mail 
http://ideas.live.com




[Totally New] Trying to format mathematical equations in two columns

2007-01-31 Thread Steven Harms \(stharms\)
Hello All,
 
LyX is great!  It's helped me so much already!  Regrettably, as you
learn the power of LyX, the more you can be obsessive about tiny little
details, so here's mine.
 
I'm doing some math homework and I've been laying out my homework
brilliantly with the Insert->Math->align.  The two cool blue 'type-in'
areas pop up and I enter "x+y" in the first and "=z" in the 2nd.  With
CTRL+M I can add more blue pairs and that's how I lay out my equations (
is that the LyX Way (tm) ? ).
 
But on some homework we're obligated to do a "check".  What I would like
to do is have:
(it's painful to re-lay this out after having the power of LyX ;) )


14.

  Problem  Check {titles should be centered over coulmn}
__
|x+5=11  | x+5=11{underline} |
|  x=11-5| 6+5=  |
|  x=6   |  11 {underline}   |
--

I looked at the \multicolumn{} directive but that seems only to 'flow'
text from one col into another.

I also looked at the \{tabbing} environment, but that doesn't seem to
play nice with my math equations.

Does anyone have an example of this that I could take a look at, or is
there a Better Way?

Thanks!

Steven


  1   2   3   >