Open pi8027 opened 2 years ago
I ran into the need to have wide algorithm, then I iterated to this workaround:
\begin{table*}[h!]
\begin{tabular}{ c }
\begin{algorithm}[H]
....
\caption{Example code}
\end{algorithm}\\
\end{tabular}
\caption{Meta-Coal Algorithm}
\end{table*}
This displays as:
Is this not sufficient?
@taqtiqa-mark Having both "Table 2.1" and "Algorithm 1" seems weird to me. (This shouldn't be the case with my patch, but this PR is from two years ago, so I don't remember what I did.)
Having both "Table 2.1" and "Algorithm 1" seems weird to me.
Agreed. But that should be configurable without too much difficulty. I left it in for the use case where you have multiple algorithms you want to display - possibly with a different label, say "Set Algorithms", etc.
Any way I'll leave this here for anyone who needs this without patching in this PR.
This PR depends on #225. I will provide an example if needed.