Re: algorithm in beamer slide?

2024-10-10 Thread Jürgen Spitzmüller
Am Donnerstag, dem 10.10.2024 um 10:44 -0400 schrieb Neal Becker: > Thank you for your help.  > Please see attached MWE. Oh, I forgot: You need to check "Custom: Here definitely" either in Document > Settings > Float Settings > Position on page or in the settings dialog of the individual float --

Re: algorithm in beamer slide?

2024-10-10 Thread Neal Becker
On Thu, Oct 10, 2024 at 9:29 AM Jürgen Spitzmüller wrote: > Am Donnerstag, dem 10.10.2024 um 08:56 -0400 schrieb Neal Becker: > > Doesn't seem to work. I added the local layout as you suggested. > > Then I tried insert float/algorithm. I'm guessing this is how I use

Re: algorithm in beamer slide?

2024-10-10 Thread Jürgen Spitzmüller
Am Donnerstag, dem 10.10.2024 um 08:56 -0400 schrieb Neal Becker: > Doesn't seem to work.  I added the local layout as you suggested.  > Then I tried insert float/algorithm.  I'm guessing this is how I use > the algorithm?  This gives an error: not in outer par mode.  Am &g

Re: algorithm in beamer slide?

2024-10-10 Thread Neal Becker
Doesn't seem to work. I added the local layout as you suggested. Then I tried insert float/algorithm. I'm guessing this is how I use the algorithm? This gives an error: not in outer par mode. Am I missing something? On Thu, Oct 10, 2024 at 3:09 AM Jürgen Spitzmüller wrote: >

Re: algorithm in beamer slide?

2024-10-10 Thread Jürgen Spitzmüller
Am Mittwoch, dem 09.10.2024 um 09:25 -0400 schrieb Neal Becker: > How do I write an algorithm in a LyX beamer slide? tl;dr Put the following in Document > Settings > Local Layout: Float Type algorithm GuiName Algorithm

algorithm in beamer slide?

2024-10-09 Thread Neal Becker
How do I write an algorithm in a LyX beamer slide? -- *Those who don't understand recursion are doomed to repeat it* -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: long algorithm

2021-07-28 Thread Herbert Voss
Am 28.07.21 um 16:47 schrieb Wolfgang Engelmann: Back to the long algorithm: but being a float it cannot have a pagebreak Listings as an alternative? a listing can be a float, too but again: being a float it cannot have a pagebreak sure, but a listing can have a caption with a number

long algorithm

2021-07-28 Thread Wolfgang Engelmann
Back to the long algorithm: but being a float it cannot have a pagebreak Listings as an alternative? a listing can be a float, too but again: being a float it cannot have a pagebreak it is broken, if too long, same as a too long algorithm Wolfgang -- lyx-users mailing list lyx-users

Re: long algorithm

2021-07-27 Thread Herbert Voss
Am 27.07.21 um 08:49 schrieb Wolfgang Engelmann: Am 24.07.21 um 20:37 schrieb Herbert Voss: Am 24.07.21 um 14:57 schrieb Wolfgang Engelmann: How could one handle a long algorithm in a float which is too long for a page? Listings would be a bad alternative. A float cannot have a

Re: long algorithm

2021-07-26 Thread Wolfgang Engelmann
Am 24.07.21 um 20:37 schrieb Herbert Voss: Am 24.07.21 um 14:57 schrieb Wolfgang Engelmann: How could one handle a long algorithm in a float which is too long for a page? Listings would be a bad alternative. A float cannot have a pagebreak. Use a non floating environment. Why is

Re: long algorithm

2021-07-24 Thread Herbert Voss
Am 24.07.21 um 14:57 schrieb Wolfgang Engelmann: How could one handle a long algorithm in a float which is too long for a page? Listings would be a bad alternative. A float cannot have a pagebreak. Use a non floating environment. Why is litings a "bad" alternative? Herbert --

long algorithm

2021-07-24 Thread Wolfgang Engelmann
How could one handle a long algorithm in a float which is too long for a page? Listings would be a bad alternative. Wolfgang -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: Change Algorithm Numbering

2018-09-21 Thread Pascal Francq (Mailing lists)
gt; On 09/20/2018 10:14 AM, Pascal Francq (Mailing lists) wrote: >>> Hi, >>> I try to change the change the numbering schema of algorithms in the >>> form 'A1', 'A2', etc. >>> So I add the following command in the preamble of the document

Re: Change Algorithm Numbering

2018-09-21 Thread Steve Hnizdur
27;A1', 'A2', etc. So I add the following command in the preamble of the document: \renewcommand{\thealgorithm}{A\arabic{algorithm}} But LyX says it "thealgorithm" is undefined. Any one an idea? Thanks in advance. Can you post a minimal example showing the current version of

Re: Change Algorithm Numbering

2018-09-21 Thread Pascal Francq (Mailing lists)
Thank for you answer, but it doesn't work either. To recapitulate: 1. I have a LyX document using the "algorithm2e" module. 2. Each time, I add new algorithm float in my document, it's label is an increasing number (1 for the first algorithm, 2 for the second, etc.). 3. I

Re: Change Algorithm Numbering

2018-09-21 Thread Steve Hnizdur
ommand{\thealgorithm}{A\arabic{algorithm}} But LyX says it "thealgorithm" is undefined. Any one an idea? Thanks in advance. Can you post a minimal example showing the current version of what you are trying to change, and then indicate in it somewhere "I want to change this piece he

Re: Change Algorithm Numbering

2018-09-20 Thread Paul A. Rubin
On 09/20/2018 10:14 AM, Pascal Francq (Mailing lists) wrote: Hi, I try to change the change the numbering schema of algorithms in the form 'A1', 'A2', etc. So I add the following command in the preamble of the document: \renewcommand{\thealgorithm}{A\arabic{algorit

Change Algorithm Numbering

2018-09-20 Thread Pascal Francq (Mailing lists)
Hi, I try to change the change the numbering schema of algorithms in the form 'A1', 'A2', etc. So I add the following command in the preamble of the document: \renewcommand{\thealgorithm}{A\arabic{algorithm}} But LyX says it "thealgorithm" is undefined. Any

algorithm float placed too high?

2016-01-13 Thread Neal Becker
I'm preparing camera ready version for IEEE conference, and I've hit a snag. I inserted an algorithm float, and it got placed at the top of a column. But the top of the 2 columns don't align! Any ideas? I've included a snapshot showing the problem area.

Re: float algorithm

2015-12-20 Thread Sajjad
Hello forum, I think I found kind of a solution to the issue. Instead of having program listing inside floating algorithm , I am having just the program listing and now the code snippets are split automatically. But I am encountering another issue. How do I enter some kind of caption to the

float algorithm

2015-12-20 Thread Sajjad
Hello forum, I am trying to insert float algorithm into the report I am writing. I did the following: 1. Insert->Float->Algorithm 2. Inside Algorithm I inserted program listing 3. Wrote down the procedure. When I generate the pdf , the algorithm is over-lapping the page number . Is it po

indenting the algorithm

2015-09-23 Thread Sajjad
Hello forum, I am trying the write algorithm by using the insert->float->algorithm. But I cannot insert indentation while writing down the algorithm. Ant reference/hint to resolve this issue? Thanks

Re: Insert->Float->Algorithm is missing!

2014-09-08 Thread Jürgen Spitzmüller
Am Montag 08 September 2014, 12:58:33 schrieb Китов Виктор: > I have two versions of Lyx simultaneously: Lyx 2.0.4 and Lyx 2.1.1 under > Windows 7. Neigher of them has menu option to insert an algorithm - if I go > to Insert->Float there is no option to insert an algorithm! Please te

Insert->Float->Algorithm is missing!

2014-09-08 Thread Китов Виктор
Hello all,I have two versions of Lyx simultaneously: Lyx 2.0.4 and Lyx 2.1.1 under Windows 7.Neigher of them has menu option to insert an algorithm - if I go to Insert->Float there is no option to insert an algorithm! Please tell what to do, because visualising algorithms is a very conveni

Re: simple algorithm float numbering (1, 2, 3,...)

2014-01-17 Thread Matěj Šmíd
I found out the solution. Just insert in the Latex Preamble: \usepackage{chngcntr} \counterwithout{figure}{chapter} \counterwithout{equation}{chapter} \counterwithout{algorithm}{chapter} and you got simple (1, 2, 3, ...) numbering of figures, equations and algorithms. Cheers, Matej. On

simple algorithm float numbering (1, 2, 3,...)

2014-01-10 Thread Matěj Šmíd
Hello, I would like to have simple document-wide numbering of the algorithm floats (1, 2, 3, ...). Currently the algorithm floats are defined as: \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa}[chapter] \providecommand{\algorithmname}{Algorithm} \floatname{algorithm}{\protect\algorithmname

Re: Custom algorithm format

2013-02-15 Thread Paul A . Rubin
Start with an algorithm float (Help > Embedded Objects, section 3.2). Inside the float, I would try the Listings package (Help > Embedded Objects, section 8). Listings has a boatload of options; you'll want to consult its user manual to get the precise format you desire. Paul

Re: svjour3 & algorithm float broken in 2.0.3

2013-01-10 Thread Scott Kostyshak
On Tue, Sep 4, 2012 at 8:23 AM, Ivo Couckuyt wrote: > Hi, > > I found the problem in the layout files: > The actual problem lies in numreport.inc which adds a chapter counter to the > algorithm float. > > numreport.inc is included in svcommon.inc (after all std*.inc includes

Re: Insert->Float->Algorithm results in Latex errors

2012-12-28 Thread José Matos
On 12/27/2012 05:23 PM, Regina Anger wrote: > Hi, > > Updating memoir helped, it works now like a charme. Thanks a lot! > I wonder however, how can Fedora distribute packages *that* old. > > Thx, Regi There are two reasons: * due to the license of texlive packages (the license was incorrect or

RE: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Regina Anger
Hi again, > http://fedoraproject.org/wiki/Features/TeXLive (search for the > instructions regarding Fedora 17) > If you follow the instructions there you can update the packages to > newer versions. > > For Fedora 18 (to be released in January) and newer the packages there > are the default. Gla

RE: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Regina Anger
Hi, Updating memoir helped, it works now like a charme. Thanks a lot! I wonder however, how can Fedora distribute packages *that* old. Thx, Regi

Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread José Matos
On 12/27/2012 04:07 PM, Regina Anger wrote: > Does this mean I manually have to update my latex installation? Is > there any way you can recommend, without re-compiling my whole > software-stack? > The whole situation is a bit sad, as I am sitting behind a ~100kBit/s > GPRS line :/ > > Thx, Reggi

Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Richard Heck
On 12/27/2012 11:07 AM, Regina Anger wrote: Hello Jürgen, > Your file compiles fine here. This is with most recent TL 2012 and LyX > 2.0.6dev. Maybe some of your packages are outdated. The versions are printed > to the log file if you enter \listfiles into the preamble. Here's mine: I am usi

Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Jürgen Spitzmüller
Regina Anger wrote: > Does this mean I manually have to update my latex installation? Is there any > way you can recommend, without re-compiling my whole software-stack? The > whole situation is a bit sad, as I am sitting behind a ~100kBit/s GPRS line > :/ Probably updating memoir will suffice. Yo

RE: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Regina Anger
Hello Jürgen, > Your file compiles fine here. This is with most recent TL 2012 and LyX > 2.0.6dev. Maybe some of your packages are outdated. The versions are printed > to the log file if you enter \listfiles into the preamble. Here's mine: I am using the most recent packages (lyx, latex, ...)

Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread Jürgen Spitzmüller
Regina Anger wrote: > Hi folks, > > I would like to insert an algorithm float in my document. > However, even for empty documents, doing so results in: > > LaTeX Error: Command \newfloat already defined. > LaTeX Error: Missing \begin{document}. > > > Any idea w

Re: svjour3 & algorithm float broken in 2.0.3

2012-09-04 Thread Ivo Couckuyt
Hi, I found the problem in the layout files: The actual problem lies in numreport.inc which adds a chapter counter to the algorithm float. numreport.inc is included in svcommon.inc (after all std*.inc includes) which in its turn is included by svglobal.layout/svglobal3.layout etc. Of course

Re: svjour3 & algorithm float broken in 2.0.3

2012-08-31 Thread Ivo Couckuyt
add one algorithm float (it's the float that generates the error, not the algorithm itself). - generate pdf I obviously could downgrade again, but I have read somewhere that lyx 2.0.4 includes better sprinter (svjour3/svglobal) layouts. Any idea on how I can fix this quickly ? If there is no sim

svjour3 & algorithm float broken in 2.0.3

2012-03-29 Thread John Perry
Hello The svjour3 class used to work fine in Lyx 2.0, even with the algorithm float. I just upgraded to Lyx 2.0.3 on two different computers, and I get the error, ! LaTeX Error: No counter 'chapter' defined. See the LaTeX manual or LaTeX Companion for explanation. Type H for imme

Re: Confusion algorithm vs. listing

2012-03-09 Thread Neal Becker
Guenter Milde wrote: > On 2012-03-07, Neal Becker wrote: >> I can insert my code listing as a float in 2 ways, it appears. > >> I can insert an algorithm float, then insert a program listing into it. This >> results in a caption 'Algorithm ...' > >>

Re: Confusion algorithm vs. listing

2012-03-08 Thread Guenter Milde
On 2012-03-07, Neal Becker wrote: > I can insert my code listing as a float in 2 ways, it appears. > I can insert an algorithm float, then insert a program listing into it. This > results in a caption 'Algorithm ...' > Else, I can insert a program listing, enter the setti

Confusion algorithm vs. listing

2012-03-07 Thread Neal Becker
I can insert my code listing as a float in 2 ways, it appears. I can insert an algorithm float, then insert a program listing into it. This results in a caption 'Algorithm ...' Else, I can insert a program listing, enter the settings dialog, and select float. I can then add a capti

Re: Rename "algorithm" to "program listing" – How to get my program listings into my article?

2011-02-10 Thread Manveru
2011/1/26 Niko Schwarz : > Hi, I'm using LyX with the springer LNCS article class. In my previous > work, all the program listings I had to write could reasonably well be > called "algorithms," so I used the algorithm class in a float. This > time, they aren't

Re: Rename "algorithm" to "program listing" – How to get my program listings into my article?

2011-01-26 Thread Paul Rubin
Niko Schwarz googlemail.com> writes: > > Hi, I'm using LyX with the springer LNCS article class. In my previous > work, all the program listings I had to write could reasonably well be > called "algorithms," so I used the algorithm class in a float. This > ti

Rename "algorithm" to "program listing" – How to get my program listings into my article?

2011-01-26 Thread Niko Schwarz
Hi, I'm using LyX with the springer LNCS article class. In my previous work, all the program listings I had to write could reasonably well be called "algorithms," so I used the algorithm class in a float. This time, they aren't really algorithms, they're just prog

Re: multi page Algorithm Floats ?

2009-08-28 Thread Helge Hafting
Jaime Huerta Cepas wrote: Hi all, I wonder if there is any way of allowing Algorithm Float boxes to start in the middle of one page, and end in the next one. I'm using these kind of floats to include pieces of highlighted source code, so I guess text could be perfectly splitted. Then a

Re: multi page Algorithm Floats ?

2009-08-26 Thread Jaime Huerta Cepas
True. It seems that Floats, by definition, cannot be split into two pages. Given that I don't need a real float for inserting my example code snippets, I found a better solution than manual separation of content. I'm now using an environment that mimics an algorithm float: \newco

Re: multi page Algorithm Floats ?

2009-08-26 Thread Luca Carlon
Jaime Huerta Cepas writes: > > Hi all, > > I wonder if there is any way of allowing Algorithm Float boxes to start in > the middle of one page, and end in the next one. I'm using these kind of > floats to include pieces of highlighted source code, so I guess text could

multi page Algorithm Floats ?

2009-08-25 Thread Jaime Huerta Cepas
Hi all, I wonder if there is any way of allowing Algorithm Float boxes to start in the middle of one page, and end in the next one. I'm using these kind of floats to include pieces of highlighted source code, so I guess text could be perfectly splitted. Thanks! Jaime

Algorithm float on more pages

2009-05-21 Thread Vito De Tullio
Hi all. I'm using LyX, and I'm stucked in a problem: I'm inserting pseudo-code (with some math elements inside) in a algorithm float. When I print / create a pdf the float it's bigger than the page, but it doesn't automatically "split" itself. Is there a way

Re: Caption for Algorithm?

2009-02-23 Thread Uwe Stöhr
bigblop schrieb: When I insert and algorithm float the text in the caption appears as the title (in the top) of the algorithm. I like having this title but would also like to have a caption. Is it possible to get both the title at the top and a caption in the bottom? The thing you call title

Caption for Algorithm?

2009-02-23 Thread bigblop
When I insert and algorithm float the text in the caption appears as the title (in the top) of the algorithm. I like having this title but would also like to have a caption. Is it possible to get both the title at the top and a caption in the bottom? -- View this message in context: http://n2

Re: algorithm2e in LyX 1.5.6: algorithm already defined

2008-10-03 Thread Jürgen Spitzmüller
t file and change the algorithm float definition. Somewhere below the line Input stdfloats.inc add the definition Float Type algorithm GuiName Algorithm Placement tbp Extension loa NumberWithin

Re: algorithm2e in LyX 1.5.6: algorithm already defined

2008-10-01 Thread Juergen Spitzmueller
A. Scottedward Hodel wrote: > After further testing, I duplicated the problem by using  Insert -> > Float -> algorithm to create a float inset: in this circumstance the > code above is written.  When the LaTeX code was imported, the > algorithm environment was recogn

Re: algorithm2e in LyX 1.5.6: algorithm already defined

2008-10-01 Thread A. Scottedward Hodel
kage: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX

Re: algorithm2e in LyX 1.5.6: algorithm already defined

2008-09-29 Thread A. Scottedward Hodel
2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file:

Re: algorithm2e in LyX 1.5.6: algorithm already defined

2008-09-24 Thread Nicolás
dent's PhD dissertation into LyX to use the "track changes" function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, se

algorithm2e in LyX 1.5.6: algorithm already defined

2008-09-22 Thread A. Scottedward Hodel
I'm importing a student's PhD dissertation into LyX to use the "track changes" function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined.

Algorithm - line numbering

2008-08-15 Thread bolton
Hi, Please can you tell me how I can number the lines in an algorithm? Also, I have an algorithm that spans more than a page, but just disappears after the 1st page? Many thanks, Thomas Bolton

Problem with Algorithm Floats: Undefined Control Sequence

2008-08-06 Thread Ryan Cross
Hello, I'm having a weird problem with Algorithm Floats. I am using a master document with several child documents (one for each chapter). The odd thing is that when I compile/pdf the child document by itself, the algorithm floats seem to work just fine. However, when I try to compile/pd

[Lyx] undefined control sequence su algorithm

2008-05-22 Thread FalcoG
Salve a tutti, ho un problema con Lyx. Utilizzo i comandi del package algorithm2e per la scrittura di algoritmi, ma alla compilazione, vengono fuori tanti errori quanti sono i comandi di algorithm2e utilizzati. Tutti i messaggi di errori sono del tipo "Undefined control sequence". Premetto che ho

Re: Problem using pseudocode using algorithm/algpseudocode and Lyx

2008-01-28 Thread Paul A. Rubin
Ok, I found the problem (I think). LyX makes an error importing the raw LaTeX. (I pasted your code into an algorithm the first time, which is why it worked for me.) - LaTeX Error: Something's wrong--perhaps a missing item. ...uclid} \

Re: Problem using pseudocode using algorithm/algpseudocode and Lyx

2008-01-28 Thread Paul A. Rubin
[EMAIL PROTECTED] wrote: Sorry if this is obvious, but I've been searching for quite a while without luck. Basically I would like to use Lyx and edit pseudocode using packages algorithm/algorithmic/algpseudocode. Preferably the notation using arrows for assignment, as demonstrated i

Problem using pseudocode using algorithm/algpseudocode and Lyx

2008-01-24 Thread erwin
Sorry if this is obvious, but I've been searching for quite a while without luck. Basically I would like to use Lyx and edit pseudocode using packages algorithm/algorithmic/algpseudocode. Preferably the notation using arrows for assignment, as demonstrated in the .tex file. This .tex

Re: Getting LyX to translate Algorithm floats

2007-11-02 Thread Helge Hafting
Daniel Janzon wrote: Hi, When setting language to Swedish, LyX automatically translates Abstract, Table, Figure and References without problems. However, LyX doesn't seem to be able to translate Algorithm. How can I add the capability to translate Algorithm floats? Document->

Getting LyX to translate Algorithm floats

2007-11-01 Thread Daniel Janzon
Hi, When setting language to Swedish, LyX automatically translates Abstract, Table, Figure and References without problems. However, LyX doesn't seem to be able to translate Algorithm. How can I add the capability to translate Algorithm floats? / Daniel

Re: Algorithm TOC creates strange mistake

2007-08-28 Thread Uwe Stöhr
Thomas Schmidt schrieb: \newfloat{Xalgorithm}{tbp}{loa} \floatname{Xalgorithm}{Algorithmus} \newcommand{\theHalgorithm}{\theHXalgorithm} \renewenvironment{algorithm}[1][tbp] {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}} \numberwithin{Xalgorithm}{chapter} It is unclear to me what you are getting

Re: Re[2]: Algorithm TOC creates strange mistake

2007-08-27 Thread Thomas Schmidt
On Mon, 27 Aug 2007 23:26:11 +0200, Alan G Isaac <[EMAIL PROTECTED]> wrote: > On Mon, 27 Aug 2007, Thomas Schmidt apparently wrote: >>> \newfloat{Xalgorithm}{tbp}{loa} >>> \floatname{Xalgorithm}{Algorithmus} >>> \newcommand{\theHalgorithm}{\theHXalgorithm} >

Re: Re[2]: Algorithm TOC creates strange mistake

2007-08-27 Thread Thomas Schmidt
Damn your right. I changed the \listof{algorithm} to \listof{Xalgorithm} because i defined the algorithm box new for hyperref. After this change all goes well.. From now i will call myself a guy how doesn't see the trees because there is so much forest. ;) Thanks Alan for your

Re[2]: Algorithm TOC creates strange mistake

2007-08-27 Thread Alan G Isaac
On Mon, 27 Aug 2007, Thomas Schmidt apparently wrote: >> \newfloat{Xalgorithm}{tbp}{loa} >> \floatname{Xalgorithm}{Algorithmus} >> \newcommand{\theHalgorithm}{\theHXalgorithm} >> \renewenvironment{algorithm}[1][tbp] >> {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}

Re[2]: Algorithm TOC creates strange mistake

2007-08-27 Thread Alan G Isaac
First problem is that I do not see: \usepackage{float} First problem is that I do not see: \listof{Xalgorithm} Follow the example at the bottom of http://www.andy-roberts.net/misc/latex/latextutorial6.html and then look at the float.sty documentation www.tug.org/TeXnik/floats/newFloat.pdf hth,

Re: Algorithm TOC creates strange mistake

2007-08-27 Thread Thomas Schmidt
Can nobody help me? I have just to days for my thesis and there has to be an algorithm toc. Regards Thomas On Fri, 24 Aug 2007 12:07:04 +0200, Thomas Schmidt <[EMAIL PROTECTED]> wrote: > Hello > > I have to ask for the Algorithm TOC (Table of Contents) field which creat

Algorithm TOC creates strange mistake

2007-08-24 Thread Thomas Schmidt
Hello I have to ask for the Algorithm TOC (Table of Contents) field which creates a strange mistake i can't reproduce. I tried to build a lyx file which has also this failure but there it works. if im inserting a algorithm toc or via Menü point (Insert -> TOC -> Algorithm...

Re: cross reference to Algorithm float object does not work

2007-08-21 Thread Uwe Stöhr
Thomas Schmidt schrieb: For me a algorithm float object is a normal float object like the other ones. Why i have to insert so many instructions to the preambel of lyx just for this float object? Can users expect a better solution for future Versions of lyx? The problem is the underlying

Re: cross reference to Algorithm float object does not work

2007-08-21 Thread Thomas Schmidt
On Mon, 20 Aug 2007 18:39:16 +0200, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > Thomas Schmidt schrieb: > >> I defined a algorithm float object and inserted a cation and a label to >> ist, because i want to reference to this algorithm box. > > With referencing to t

Re: cross reference to Algorithm float object does not work

2007-08-20 Thread Uwe Stöhr
Thomas Schmidt schrieb: I defined a algorithm float object and inserted a cation and a label to ist, because i want to reference to this algorithm box. > With referencing to this box, lyx can translate the file to a pdf. But if i'm referencing from my text with the cross r

cross reference to Algorithm float object does not work

2007-08-20 Thread Thomas Schmidt
Hello. today i have a problem on working with lyx. I defined a algorithm float object and inserted a cation and a label to ist, because i want to reference to this algorithm box. . With referencing to this box, lyx can translate the file to a pdf. But if i'm referencing from my text wit

Re: algorithm document?

2007-07-10 Thread Bo Peng
Docs (including examples) are at http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/ if you're curious. Bo's suggestions resonate with me for code listings, but for mathematical statements of algorithms, I prefer algorithmicx. I have not used listings to write pseudocode, but I g

Re: algorithm document?

2007-07-10 Thread Paul A. Rubin
Neal Becker wrote: What do you like for documenting an algorithm? I'm thinking of something like an itemize environment (displaying structure via indentation), but without bullets. I'm writing from limited experience, but for expressing an algorithm (rather than actual comput

Re: algorithm document?

2007-07-10 Thread Bo Peng
Cool. Looking at listings.dvi (the original latex package doc), I see in that things like 'a <= b' were printed as 'a \le b'. Does listings do this automatically? (Doesn't seem be be doing that in my test)? Or, maybe this used mathescape? This is an advanced feature of listings called literat

Re: algorithm document?

2007-07-10 Thread Neal Becker
Bo Peng wrote: > On 7/10/07, Neal Becker > <[EMAIL PROTECTED]> wrote: >> What do you like for documenting an algorithm? >> >> I'm thinking of something like an itemize environment (displaying >> structure via indentation), but without bullets. > >

Re: algorithm document?

2007-07-10 Thread Bo Peng
On 7/10/07, Neal Becker <[EMAIL PROTECTED]> wrote: What do you like for documenting an algorithm? I'm thinking of something like an itemize environment (displaying structure via indentation), but without bullets. verbatim or lyx-code environment, or preferably the newly introduc

algorithm document?

2007-07-10 Thread Neal Becker
What do you like for documenting an algorithm? I'm thinking of something like an itemize environment (displaying structure via indentation), but without bullets.

Re: Problem with reference to algorithm

2007-06-29 Thread Uwe Stöhr
Gustavo Felisberto schrieb: I inserted a float algorithm, added a label and when trying to cross reference it and then export to pdf I get an error: " \vref{alg:TCP-Connection} The control sequence at the end of the top line of your error message was never \def'ed. The reason f

Problem with reference to algorithm

2007-06-29 Thread Gustavo Felisberto
I inserted a float algorithm, added a label and when trying to cross reference it and then export to pdf I get an error: " \vref{alg:TCP-Connection} shows the steps that are taken when a computer The control sequence at the end of the top line of your

Re: Algorithm listing

2007-05-31 Thread Graham Griffiths
Hi Helge, Thanks for the information and clrification regarding floats. I will be updating to the new version of LyX soon and will try out the insert program listing feature. Regards, graham

Re: Algorithm listing

2007-05-31 Thread Helge Hafting
Graham Griffiths wrote: Is there a way of getting code listings to continue onto another page using float algorithm. If not, does the latest beta version support a multi-page float algorithm. There is no such thing as a multi-page float. If it isn't a float - then it can continue ont

Re: Algorithm listing

2007-05-30 Thread Graham Griffiths
Thanks Bo, I will upgrade and try your suggestion. Regards, Graham

Re: Algorithm listing

2007-05-30 Thread Bo Peng
On 5/30/07, Graham Griffiths <[EMAIL PROTECTED]> wrote: Is there a way of getting code listings to continue onto another page using float algorithm. If not, does the latest beta version support a multi-page float algorithm. You can use the new listings inset (and child document)

Algorithm listing

2007-05-30 Thread Graham Griffiths
Is there a way of getting code listings to continue onto another page using float algorithm. If not, does the latest beta version support a multi-page float algorithm. Thanks

Re: 'Algorithm' float in a multiple-file document

2007-05-19 Thread Uwe Stöhr
John Pye schrieb: Can anyone tell me if any of those things (lmodern, url, listings, hyperref) cause problems with Algorithm floats? There are some redefinitions needed to get algorithms perfectly work with hyperref, see the EmbeddedObjects manual. I hope you find there a solution. regards

'Algorithm' float in a multiple-file document

2007-05-19 Thread John Pye
Hi all I have recently tried to put an 'Algorithm' float into one chapter of my thesis (each chapter being a separate file). When I render that chapter by itself in pdflatex, it works OK. But when I attempt to render the whole thesis, it doesn't work. I presume there is some

Re: Problem with Algorithm label language

2006-09-25 Thread Ares
my document, thank you, it should be ok for the moment, I'll go back to the algorithm-float later. By now I will press the devel people to solve the problem by writing to the list... I'm sorry not to be a TeXnician, there's many little things I would be glad to be helpful with (even th

Re: Problem with Algorithm label language

2006-09-24 Thread Juergen Spitzmueller
feature. In your case: Don't use the algorithm float. Instead, write in ERT \begin{algorithm} \end{algorithm} Then you can load all packages manually in the preamble by entering: \usepackage{float} \usepackage{hyperref} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algor

Re: Problem with Algorithm label language

2006-09-23 Thread Ares
The hyperref README says: 6 PACKAGE COMPATIBILITY === Currently only package loading orders are available: [...] algorithm - \usepackage{float} \usepackage{hyperref} \usepackage[chapter]{algorithm } So float (which is modified by hyperref) and hyperref have

Re: Problem with Algorithm label language

2006-09-22 Thread Juergen Spitzmueller
Ares wrote: > there's not much to play with. The hyperref README says: 6 PACKAGE COMPATIBILITY === Currently only package loading orders are available: [...] algorithm - \usepackage{float} \usepackage{hyperref} \usepackage[chapter]{algorithm} So floa

Re: Problem with Algorithm label language

2006-09-22 Thread Ares
egin_layout Caption \begin_inset LatexCommand \label{fig:Sample-figure} \end_inset Sample figure \end_layout \end_inset \end_layout \begin_layout Standard This is an algorithm \begin_inset LatexCommand \ref{alg:Test} \end_inset . \end_layout \begin_layout Standard \begin_inset Float algorithm

Re: Problem with Algorithm label language

2006-09-21 Thread Jean-Marc Lasgouttes
> "Ares" == Ares <[EMAIL PROTECTED]> writes: Ares> I made some tests and I guess the problem is definetly related Ares> to package hyperref: \usepackage[bookmarks]{hyperref} Could you try to play with the ordering of the various bits in the preamble of the TeX file? One reason why we do not

Re: Problem with Algorithm label language

2006-09-20 Thread Ares
ables \addcontentsline{toc}{chapter}{Elenco delle tabelle} I think there's something that messes up things with the algorithm stuff... Regards, Diego

Re: Problem with Algorithm label language

2006-09-19 Thread Juergen Spitzmueller
Ares wrote: > I can attach the preamble, or the whole document if you think it helps. I still don't understand. Please send me a stripped down version of the document privately. Jürgen

  1   2   3   >