#how can i make my title page look like this
49 messages · Page 1 of 1 (latest)
Take a look at outrageous: https://typst.app/universe/package/outrageous/
It does a good job of replicating the latex outline look
thanks
hey @swift root
chatgpt gave me this but its not working
can you have a look please
// Modify the preset for Table of Contents
outrageous-toc: (
font-size: (18pt, 16pt), // 18pt for the title "Contents", 16pt for other entries
font-weight: (bold, auto), // Bold for sections, auto (default) for subsections
vspace: (none, 10pt), // Add space between title and the rest of the content
font-style: (none, auto), // No italic style for sections and subsections
)
#show outline.entry: outrageous.show-entry.with(
..outrageous.presets.outrageous-toc,
font-size: (18pt, 16pt), // Increase font size for the "Contents" title
font-weight: (bold, auto), // Bold for sections, auto for subsections
vspace: (none, 10pt) // Add vertical space after the "Contents" title
)```
i just want to
make my title of contents larger "contents"
and how can i make the section name bold and subsections not bold
and have a space between my title and rest of contents
pretty much found a way around using outrageous for a bit
#align( text(20pt)[
*Contents*
])
#v(1cm)
#outline(title: none, fill: repeat(". "), indent: auto)```
doesn't fix the issue of bolded sections
please dont use chatgpt for something like this, try to understand what the package is doing yourself
chatgpt also doesnt have any typst training data really, so its pretty useless
really, the default style of this package should already do what u want with one line
?r t=l pagesize=default
#import "@preview/outrageous:0.3.0"
#set heading(numbering: "1.1")
#show outline.entry: outrageous.show-entry
#outline(indent: auto)
= Linear models
== Ordinary least squares
=== Orthogonal projection
== Normal errors
=== ANOVA
= Specific regression problems
== Binomial regression
== Poisson regression
Render succeeded with warnings:
Warning: unknown font family: noto sans
╭─[@preview/outrageous:0.3.0/outrageous.typ:120:20]
│
120 │ set text(font: font) if font not in (auto, none)
─────╯
wow
thank you !!
@fiery steeple hey man
for some reason it's still a bit iffy for me
// this is just to start the numbering from 0 (someone on this server told me this)
#outline(title: none, fill: repeat(". "), indent: auto)
#show outline.entry: outrageous.show-entry
// this is what you gave me
you can also remove the repeat argument since the package already handles that
yeah perfect it works
@fiery steeple do you do much stats
you seem to have a good knowledge of it
by the contents page lol
no i just wrote down some of your headings
oh lmao
is there any way to get the "introduction" a bit smaller
idk what the default font is for typst
not sure what its called
and get it in the same font as the rest of the document
change the show rule to
#show outline.entry: outrageous.show-entry.with(font: (none,))
for some reason, the default preset uses a different font for level 1 headings
this disables it and should use whatever the current text font is
finally looks like contents in latex
well besides the horizontal spacing between the numbering and the heading which i had hoped this package would also make easy