LyXAlgorithm Float Style Issue

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
ctorrisi
Posts: 2
Joined: Thu Jun 30, 2011 8:40 am

Algorithm Float Style Issue

Post by ctorrisi »

Hi,
I am currently writing my Thesis in LyX and I have been struggling with the issue to get the style of the algorithm float to change. I am using LyX version 2.0 and the algorithm floats automatically take a style like this:
LyX Default Algorithm Style
LyX Default Algorithm Style
Screen shot 2011-06-30 at 4.42.33 PM.png (12.5 KiB) Viewed 2304 times
I need them to just have a number in bracket to the right of the algorithm without the box around it or anything like that, or perhaps a dash and the number to the right of the algorithm. Surely there's an easier way to do this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

ctorrisi
Posts: 2
Joined: Thu Jun 30, 2011 8:40 am

Re: Algorithm Float Style Issue

Post by ctorrisi »

Turns out it was a case of: you're doing it wrong.

I was unaware that by labeling equations, the equation numbers would also appear. So I removed all Algorithm Floats and replaced them all with generic equations and labelled the equations, voila the equation numbers appeared in a standard form.
Post Reply