#achieving vfill within grids only

2 messages · Page 1 of 1 (latest)

versed reef
#

?r
emulating desired result

#set page(width: auto, height: auto)
//#set page(width: auto, height: 12cm)

#grid(
  columns: (5cm, 5cm),
  column-gutter: 2em,
  align: (left + top, left + top),
  [I want this part to align at the top: 
  
  #lorem(20)
  #v(1fr) // this pushes it all the way to the bottom of the page, but I am just looking for it to consume the rest of the space in the grid; to see what this looks like uncomment the first line which will set the page height to auto to simulate this.
  I want this part to align at the bottom],
  [I want this part to align at the top: 
    
  #lorem(40)
  
  I want this part to align at the bottom]
)

// Not looking for a solution where another grid row has to be added, as this is to solve a much more substantial problem using subfigures and caption alignment, using the grid function, which this emulates.