Skip to content

Prefigure tweaks #942

Description

@siwelwerd

Documenting a couple Prefigure best practice tips I received from David Austin here:

  • PreTeXt HTML is 600 pixels wide, so if you're planning a diagram to sit inside an #image with @width="100%", you can set @Dimensions="(600, ...)" in your PreFigure source. Likewise, @width="50%" works well with @Dimensions="(300, ...)" and so on. This will ensure the label size matches the surrounding text
  • It is preferable for points to sit on top of the diagram so that, say, a triangle will be painted first before its vertices. I think this reduces some visual clutter and is particularly important in tactile diagrams, where the outlining of the triangle could easily hide a vertex.

I haven't yet searched through to see how many things need to be changed in these ways.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    library-wideImpacts multiple books in the librarystyleTypesetting, formatting, or styling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions