Skip to content

fix: respect style-algorithm scope and placement#34

Open
Pencilcaseman wants to merge 1 commit into
typst-community:mainfrom
Pencilcaseman:fix-algorithm-style
Open

fix: respect style-algorithm scope and placement#34
Pencilcaseman wants to merge 1 commit into
typst-community:mainfrom
Pencilcaseman:fix-algorithm-style

Conversation

@Pencilcaseman
Copy link
Copy Markdown

Hi,

If a template has a set figure(scope: "parent", placement: top) rule (or similar), the options set in the style-algorithm method are overwridden by the values taken from the figure.

Removing the lines that default the placement and scope of the block to the values from the figure fixes this.

Hope this helps :)

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

Successfully merging this pull request may close these issues.

1 participant