Initial commit
This commit is contained in:
		
						commit
						374de3292e
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| build | ||||
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | ||||
| all: | ||||
| 	mkdir -p build && typst compile main.typ build/main.pdf | ||||
							
								
								
									
										5
									
								
								main.typ
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								main.typ
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| #import "template.typ" | ||||
| 
 | ||||
| #show: doc => template.apply(doc) | ||||
| 
 | ||||
| = Hello world | ||||
							
								
								
									
										18
									
								
								template.typ
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								template.typ
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| #let apply(doc) = { | ||||
|   set page(paper: "a4", numbering: "1") | ||||
|   set par(justify: true) | ||||
|   set text(lang: "fr") | ||||
|   set heading(numbering: "1.") | ||||
| 
 | ||||
|   show cite: content => { | ||||
|     set text(fill: blue) | ||||
|     content | ||||
|   } | ||||
| 
 | ||||
|   show ref: content => { | ||||
|     set text(fill: blue) | ||||
|     content | ||||
|   } | ||||
| 
 | ||||
|   doc | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user