Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
TeX - LaTeX

Questions tagged [algpseudocode]

Ask Question

The {algpseudocode} package provides a algorithmic environment and some useful commands.

79 questions
Filter by
Sorted by
Tagged with
1vote
1answer
83views

I encountered an issue with the cleveref package.I'm using an algorithm environment with a \label{line} at a given line, and I'd like to reference the line number in the text using \Cref{line}.You'...
2votes
1answer
426views

I want to generate a pseudo-code similar to the image: Here's what I tried (I modified a bit the content of the code, but the idea is clear). In Inputs, splitting components in different lines with ...
1vote
1answer
109views

I've been trying to pretty print an algorithm that is quite long and overlaps to the next page.I could manage that with algpsudocodex and breakablealgorithm, but I do not like the looks.With ...
0votes
0answers
103views

\begin{algorithm}\caption{LexBFS Algorithm}\begin{algorithmic}[1]\Function{LexBFS}{$G=(V, E)$}\State Let $P$ be an empty list \Comment{Initialize the permutation}\State Let $Q$ be an empty queue \...
n.y's user avatar
0votes
2answers
96views

In this pseudo-code excerpt, is it feasible to add a new argument for the variable v with a syntax like \ForAll {$v$}{$v \in V(G)$} to get the output next v?\documentclass{article}\usepackage{...
1vote
0answers
33views

I'm using the algpseudocodex package with the option noEnd=True since I don't like the EndFor/EndWhile, etc, at the end of each loop.The problem is that I would like to remove the small horizontal ...
Zio Franco's user avatar
0votes
0answers
171views

I am using these two package: \usepackage{algorithm} and \usepackage{algpseudocode}.This is my latex code and I am using overleaf: \documentclass{article}\usepackage{graphicx} % Required for ...
j.doe's user avatar
1vote
1answer
159views

When using the revtex4-2 document class with the twocolumn option,the algorithmic environment of the algpseudocodex packagehas a right margin which extends too far.How do I fix thisso the right ...
0votes
2answers
363views

I want to refer to algorithm lines with the hyperref package's \autoref{} command. To do so, I am using this patch. This indeed prints the correct line number for each referenced label, but the link ...
2votes
1answer
215views

I am using the code from How may I remove \EndIf and \EndFor in algorithmicx?The code, as is, works in article class. But in standalone it fails. I searched and found one needs to add [H] to ...
1vote
1answer
169views

How to exactly produce this part in the picture?What I can do is like this:\documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm}...
Knt's user avatar
  • 186
2votes
0answers
197views

When I want to reference to a line using algpseudocode, clicking the links given by \ref send me to the beginning of the algorithm instead of sending me to the line in question.Do you know whether ...
Etienne dM's user avatar
0votes
1answer
132views

I would like to get the following output, but the code given below produces a different output.Here is my code.\documentclass[10pt,journal,compsoc]{IEEEtran}\usepackage{algorithm}\usepackage{...
Learner's user avatar
1vote
1answer
356views

I am writing a pseudocode/an algorithm. When writings comments, they are aligned to the right. This is really inconvenient as some of my comments are very long and take multiple lines. In addition, it ...
1vote
1answer
191views

Is there a way to use the newer \(...\) math syntax in arguments for any commands from algpseudocode (algorithmicx)? The documentation and virtually any other tutorial uses the TeX-primitive $...$....

153050per page
1
23456

Hot Network Questions

more hot questions
Newest algpseudocode questions feed

[8]ページ先頭

©2009-2025 Movatter.jp