// Comments are styled like this

/*
 * You can comment like this as well, but the language server doesn't always
 * pick them up.
*/

// Document directives
//#import "science-template.typ": template
//#show: doc => template(
//  title: [
//    Practicing templates
//  ],
//  authors: (
//    (
//      name: "<NAME>",
//      affiliation: "Wacky University",
//      email: "<EMAIL>",
//    ),
//  ),
//  abstract: lorem(81), 
//  doc,
//)

//#import "more-pretty.typ" : template
//#show: doc => template(doc)

#align(center, text(18pt)[
  *Typst Example*
])

#align(center, text(14pt)[
  By: Ted
])

//#pagebreak()

//#outline()
//
//#pagebreak()

/*
= Basic Text Formatting
I can align things with the `align()` function.

#align(left, text(12pt)[
  _i am on the left_
])

#align(center, text(12pt)[
  *middle here*
])

#align(right, text(12pt)[
  _*im always write*_
])
*/

/*
= Playing with tables
tables look pretty good, but they can be a lot to handle sometimes

#table(
  columns: 2,
  table.header[*Letter*][*Best Word*],
  [A], [Ascent], 
  [T], [Texas], 
  [Q], [#link("https://search.brave.com/images?q=quetzal")[Quetzal]]
)
*/

/*
#heading()[Pictures, anyone?]
#figure(
  caption: [
    im not even a cat person
    ],
  image("cat.jpg", width: 70%)
)
*/

/*
= Headings
== auto subheadings are nice
=== especially when you
=== need to talk a lot about
=== one particular
==== subject that has 
===== a lot
=== of 
== other detail
*/

/*
= Me gustan las matemáticas
$ A = pi r^2 $
$ "area" = pi dot "radius"^2 $
$ cal(A) :=
     {x in RR | x "is natural" } $
#let x = 5
$ #x < 17 $
*/

/*
= include different files in main file
#include "extra-file.typ"
*/