{algorithmicx} provides an improved typesetting environment for algorithmic pseudocode. It is compatible with the algorithms bundle that provides the algorithm and algorithmic environment for typesetting floating {algorithms}.

learn more… | top users | synonyms

2
votes
0answers
160 views

Divide algorithm inside If EndIf

This is a follow-up question to Option in the algorithm with Latex. This is the code: \begin{document} \begin{algorithm} \caption{My algorithme} \begin{algorithmic}[1] \Donnees: My data ...
1
vote
0answers
60 views

Trouble creating custom algorithm environment with separate counter

I am trying to create a custom algorithm environment for CUDA kernel code that runs on the GPU, but have little experience with custom LaTeX. It should have a separate counter, be referenced as Kernel ...
0
votes
0answers
26 views

How to solve the problem in the “algorithm” environment

\documentclass[conference]{IEEEtran} \usepackage{algpseudocode} \usepackage{algorithmicx} ............. \begin{algorithm}[h] \caption{Iterations for risk-sensitive cost} \begin{algorithmic} ...
0
votes
0answers
75 views

how to use \algsetup in latex environment

I am using the "algorithmic" environment and want to use \algsetup. But getting an error. \documentclass{article} \usepackage{algpseudocode} \usepackage{algorithmic} \usepackage{float} ...
0
votes
0answers
15 views

Change the size of algorithm enviroment

I used \algsetup{linenosize=\small} command to scale the size of algorithm environment, but it seems doesn't work! How can I do that?
0
votes
0answers
93 views

How to write this algorithm properly

Here I have attached the current code \begin{document} \begin{flushleft} \begin{picture}(10,5) \put(1,1){\line(1,0){450}} \end{picture} \end{flushleft} \textbf{\textit{Algorithm:}} Curves on ...