init
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
MIT No Attribution
|
||||
|
||||
Copyright 2025 Torstein Nordgård-Hansen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
Binary file not shown.
@@ -0,0 +1,57 @@
|
||||
#import "@preview/simple-ntnu-report:0.1.2": ntnu-report, un
|
||||
#import "@preview/zero:0.5.0": num
|
||||
|
||||
#let text-size = 12pt
|
||||
#let white = rgb("#F8F8F2")
|
||||
#let black = rgb("#282A36")
|
||||
#let red = rgb("#FF5555")
|
||||
#let orange = rgb("#FFB86C")
|
||||
#let yellow = rgb("#F1FA8C")
|
||||
#let green = rgb("#50FA7B")
|
||||
#let cyan = rgb("#8BE9FD")
|
||||
#let purple = rgb("#BD93F9")
|
||||
#let pink = rgb("#FF79C6")
|
||||
|
||||
#set page(fill: black)
|
||||
|
||||
#set text(size: text-size, fill: white)
|
||||
|
||||
#show: ntnu-report.with(
|
||||
length: "short",
|
||||
|
||||
title: "assignment 2",
|
||||
subtitle: "tdt4125 - algorithm construction",
|
||||
authors: (
|
||||
(
|
||||
name: "fredrik robertsen",
|
||||
),
|
||||
),
|
||||
|
||||
date: datetime.today(),
|
||||
|
||||
language: "english",
|
||||
column-number: 2,
|
||||
|
||||
number-headings: false,
|
||||
|
||||
show-toc: false,
|
||||
show-figure-index: false,
|
||||
show-table-index: false,
|
||||
show-listings-index: false,
|
||||
)
|
||||
|
||||
#set text(size: text-size, fill: white)
|
||||
|
||||
#show heading: set text(style: "italic")
|
||||
#show heading: it => {box(
|
||||
height: 14pt,
|
||||
width: 90%,
|
||||
outset: 5%,
|
||||
radius: 25%,
|
||||
fill: green,
|
||||
align(horizon, text(fill: black, it.body))
|
||||
)}
|
||||
|
||||
== task 1
|
||||
|
||||
hello world
|
||||
Reference in New Issue
Block a user