Skip to content

When there are multiple lines in such as For or If head, the indent guide lines should starts from the bottom of head. #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
note286 opened this issue Apr 18, 2023 · 0 comments

Comments

@note286
Copy link
Contributor

note286 commented Apr 18, 2023

\documentclass{article}
\usepackage{algpseudocodex}
\begin{document}
\begin{algorithmic}[1]
\For{
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
}
\State tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
\State quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
\State consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
\EndFor
\end{algorithmic}
\end{document}

image

I checked the source code and found that multiple lines were not processed. It should start drawing from the bottom ② instead of the top ①.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant