There are things called attic trusses:
* https://design.medeek.com/resources/truss/trussgallery.html
You can also use (vaulted) parallel cord truss:
* https://www.dimensions.com/element/truss-vaulted-parallel-ch...
See also various other configurations:
* https://www.menards.com/main/buying-guides/building-material...