Giter VIP home page Giter VIP logo

tbl.typ's People

Contributors

maxcrees avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tbl.typ's Issues

More sophisticated text block width realization

  • Column modifiers e and x should constrain text block width.
  • Minimum width modifier w(...) should not be applied to spanned text blocks? Currently it is applied; investigate further and supply spec argument to cell-width-at if necessary. tbl.1 suggests that it is ignored unless a width is provided for all spanned columns (likewise with x above, but not e?). Is this behavior worth keeping?
  • Shrink text block width if it does not wrap. This is closer to the behavior of text blocks in groff tbl. Choose minimum of determined width (minimum or based on table's max width) versus width of unconstrained text block? May also need to determine if wrapping is occurring (check height before / after constraining width).
  • Text that is NOT in text blocks seems over eager to wrap itself, which can cause tables to display strangely. I think traditional behavior here is that such text should NEVER wrap on its own. If we can figure out how tell Typst to NOT wrap text, maybe this can be a new region option? Perhaps by replacing #pad(...) with #box(inset: (...), clip: true).

Support region option `expand`

This could be implemented in a straightforward manner similar to 843c9d1 (distribute excess width to each column proportionally), but I think it would be semantically different than how it works in traditional tbl which adjusts column separations instead.

Documentation changes

  • Difference: vertical alignment changes from modifiers t and d apply to any corresponding cell, not just those that are row-spanned.
  • Spaces before a leading period on a line of table data may not be sufficient to escape it (investigate)
  • Add examples for class "A"
  • Difference: document other extensions?
  • Version history section

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.