Last active
          May 28, 2024 12:13 
        
      - 
      
- 
        Save MikaelFangel/1e39d17c5e9e2bfe450d936e3d71b402 to your computer and use it in GitHub Desktop. 
    Set figure image counter in typst
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #let set_image_counter(n: 0) = { | |
| counter(figure.where(kind: image)).update(n) | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment