Tagged Questions
5
votes
2answers
95 views
3 Algorithms in the same column with algorithmic
I have 3 algorithms that I want to be displayed in the same column of a 2-column document. They are all slight variations of each other, so it is important that they be displayed right next to each ...
4
votes
1answer
117 views
Floatrow package causing missing algorithm lines
Hi I started using floatrow and noticed that it is breaking functionality of my algorithm code, both the algorithm header and footer have disappeared. Here is a picture of before and after:
Here ...
1
vote
1answer
80 views
Order of `float` and `caption` packages in preamble
I am using float and caption packages in my document, and also packages like tabularx, listings, algorithm... that (as far as I know) define floating elements or elements that have captions ...
3
votes
1answer
611 views
How to insert algorithm inside multicols environment [duplicate]
Possible Duplicate:
Placing figures inside a two-column document
Here is my MWE:
\documentclass{article}
\usepackage{multicol}
\usepackage{algorithm}
\usepackage{algpseudocode}
...
8
votes
1answer
1k views
IEEE-Template: Algorithm over both columns
I'm currently working on a paper using the IEEEtran template. I do have a pseudocode I would like to put into this paper. In a former paper I saw that it is possible to put this algorithm in a box ...
8
votes
2answers
500 views
How to put an algorithm and a tikz drawing (objects of different type) side-by-side in the same float environment?
I am trying to put an algorithm and a tikz' drawing side-by-side inside a figure environment. I am aware of this question but I would like to have a single caption for them. For instance, in the text, ...
3
votes
2answers
1k views
Algorithm tag and page break
I'm starting my experiment with LaTeX, i'm writing an article and all that I want is to embed an algorithm inside normal text, this is my code:
\documentclass{article}
\usepackage{algorithmic}
...
4
votes
3answers
1k views
How to create an unnumbered algorithm with a caption?
I want to do something like:
\begin{algorithm*}
\caption{My unnumbered algorithm}
% etc. etc.
\end{algorithm*}
or
\begin{algorithm}
\nonumbercaption{My unnumbered algorithm}
% etc. etc.
...
5
votes
1answer
3k views
Algorithm over 2 pages
I am writing a few rather large pseudocode functions using algorithm and algorithmic, i.e. my code looks something like:
\begin{algorithm}
\caption{Coolest Algorithm ever} ...
5
votes
1answer
402 views
How to place a float at the top of a floats-only page?
I just got a short algorithm on my page, and it keeps getting aligned at the center of the page. But I want to have it aligned at the top, what do I have to do?
5
votes
3answers
4k views
Rename “Algorithm” to “Listing”
Background
Syntax-highlighted source code image listings are being used as Algorithm floats with the lst: prefix for captions.
Problem
The following LaTeX code in the preamble renames the caption ...
5
votes
1answer
2k views
Floating an algorithm?
I'm typesetting an algorithm using the algorithmx package as follows:
\begin{algorithm}
\caption{\textsc{Whatever}}
\begin{algorithmic}[1]
...
\end{algorithm}
However, I would like it to ...
6
votes
2answers
2k views
Number Algorithm floats with dependency (subalgorithms environment)
What I have: 3 algorithms, like so:
\begin{algorithm}
\caption{Caption One}
...
\label{alg:one}
\end{algorithm}
\begin{algorithm}
\caption{Caption Two}
...
\label{alg:two}
\end{algorithm}
...
4
votes
2answers
381 views
Which package for In-line and float algorithms?
I am using LyX to describe algorithms. A common scenario is that I have a snippet of pseudo code (in a float, for example) and a block of text which makes references to keywords in that pseudo code. ...