#how can i make my title page look like this

49 messages · Page 1 of 1 (latest)

dim pebble
#

(i.e.) have "contents" written large and the sections be in bold and subsectiosns normal font. thank you

current "code"

#outline(fill: repeat(". "))

swift root
dim pebble
#

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

dim pebble
#

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

fiery steeple
#

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
agile flameBOT
dim pebble
#

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 

fiery steeple
#

move the #outline after the #show-rule

#

otherwise its not applied yet

dim pebble
#

oh

#

🙏

#

thank you so much

#

works now

fiery steeple
#

you can also remove the repeat argument since the package already handles that

dim pebble
#

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

fiery steeple
#

no i just wrote down some of your headings

dim pebble
#

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

fiery steeple
#

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

dim pebble
#

finally looks like contents in latex

fiery steeple
#

well besides the horizontal spacing between the numbering and the heading which i had hoped this package would also make easy

dim pebble
#

this is a little something i did in latex 6 months ago

#

finally looks pretty great now man thank you so much !