{algorithms} is about the presentation, numbering, and layout of algorithms or pseudocode in documents. Popular packages are algorithms, {algorithmicx}, {algorithm2e} and {listings}. For questions about the specific package, use the appropriate tag instead.

learn more… | top users | synonyms (1)

4
votes
0answers
69 views

Ploblems with vertical lines in algorithmicx

I use algorithmicx with verical lines. And code is working good: \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} % Vertical line \makeatletter ...
3
votes
0answers
50 views

Referring to function name in an algorithm

I have a LaTeX code which looks similar to the following example. \documentclass{article} \usepackage{amsmath,algorithm,algpseudocode} \begin{document} \begin{algorithm} \caption{My Algo.} ...
3
votes
0answers
86 views

Is there an algorithm to determine the best layout and font size for a specific screen?

If I have a 4:3 7" tablet with a 200PPI screen (as an example), could you algorithmically make a TeX template that would be readable on the screen fullsize without zooming? It would be great if there ...
2
votes
0answers
60 views

Custom text instead of line numbers in algorithmic

In an algorithm using the algorithmic package, I would like to display for some lines a special symbol (e.g. a +), instead of their line number. Is this possible? Edit: Here's a minimal working ...
2
votes
0answers
83 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
106 views

Help in writing an algorithm in a customized way

I'm a newbie in LaTeX and while writing my thesis I come across a peculiar question. I want to write an algorithm which must look like the given below. Algorithm Do Step one(something ...