ntjess / wrap-it

wrap text around Typst figures and content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrapping creates phantom bullet points

TheJanzap opened this issue · comments

This code sample generates a phantom bullet point above the last one in Typst 0.11.1

#import "@preview/wrap-it:0.1.0": *

#wrap-content(
  rect(),
  align: top + right,
  columns: (65%, 35%)
)[
Some Text here 
- Starting with my bullet points
- another bullet point
- There's a longer point here with an empty one above
]

grafik

This is mainly a problem with images in my projects
grafik

#wrap-content(
  image("img/bsys/bsys_8.png"),
  align: top + right,
  columns: (65%, 35%)
)[
=== Springen in einer Datei - POSIX API
```c off_t lseek (int fd, off_t offset, int origin)``` setzt den Offset von `fd` auf `offset`. `origin` gibt an, wozu `offset` relativ ist: 
- _`SEEK_SET`:_ Beginn der Datei #hinweis[(absoluter Offset)]
- _`SEEK_CUR`:_ Aktueller Offset #hinweis[(relativer Offset)]
- _`SEEK_END`:_ Ende der Datei #hinweis[(negativer absoluter Offset)]
Gibt neuen Offset zurück oder -1 bei Fehler. 
- _`lseek (fd, 0, SEEK_CUR)`:_ gibt aktuellen Offset zurück
- _`lseek (fd, 0, SEEK_END)`:_ gibt die Grösse der Datei zurück
- _`lseek (fd, n, SEEK_END)`:_ hängt bei nachfolgendem `write` $n$ Nullen an Datei #hinweis[(Um Datei auf bestimmte Grösse zu setzen)]
]

The example above can be fixed by setting columns: (65%, 32%)