Skip to content

Algorithm Figure Width be Entire Page #26

@balltar

Description

@balltar

If I use the example:

#figure(
  kind: "algorithm",
  supplement: [Algorithm],

  pseudocode-list(booktabs: true, numbered-title: [My cool algorithm])[
    + do something
    + do something else
    + *while* still something to do
      + do even more
      + *if* not done yet *then*
        + wait a bit
        + resume working
      + *else*
        + go home
      + *end*
    + *end*
  ]
) <cool>

Then is there some way to make the algorithm:

  1. left aligned
  2. have the horizontal lines span the entire page? I think it looked a little weird in my setting to have some empty space to the right of the algorithm.

However, I really love the idea of the package so I'd love to get this resolved to continue using it! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions