computorg / computo-quarto-extension

Quarto extension for Computo template
https://computorg.github.io/computo-quarto-extension/
MIT License
16 stars 4 forks source link

algpseudocode \Return #25

Open durandg12 opened 4 months ago

durandg12 commented 4 months ago

In LaTeX when using algpseudocode, \Return has to be preceded by a \State command, or it won't appear on a new line. Problem is, this insert a blank line in html rendering.

So either I get the html render proper, without a blank line, but the \Return statement does not appear on a newline in pdf render:

Capture d’écran 2024-07-04 à 18 06 34

either I get it right in pdf but with a blank line in html :

Capture d’écran 2024-07-04 à 18 04 54
jchiquet commented 3 months ago

Thanks,

We will update asap the pseudocode extension, hoping it will solve the problem.

fradav commented 1 month ago

I updated the extension, is the problem still there?

durandg12 commented 1 month ago

To test and compare the pdf output with the html output, I will have to also correct the tikz sections of my code (because of #24) before running it again

durandg12 commented 4 days ago

Hello @fradav, yes the problem is still there