Skip to content
Snippets Groups Projects
Commit e8efbd42 authored by Oskar Sundström's avatar Oskar Sundström
Browse files

Added files.

parents
No related branches found
No related tags found
No related merge requests found
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlo
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# easy-todo
*.lod
# xindy
*.xdy
# xypic precompiled matrices
*.xyc
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# Kile
*.backup
# KBibTeX
*~[0-9]*
# auto folder when using emacs and auctex
/auto/*
# expex forward references with \gathertags
*-tags.tex
$pdflatex = 'pdflatex -shell-escape';
$pdf_mode = 1;
@cus_dep_list = (@cus_dep_list, "md tex 0 md2tex");
sub md2tex {
system("pandoc -t latex -o lintek-rapport-markdown.tex $_[0].md"); }
Makefile 0 → 100644
MAIN=lintek-rapport
all:
latexmk $(MAIN).tex
watch:
latexmk $(MAIN).tex -pvc -view=none
clean:
latexmk -c
rm -f $(MAIN).pdf $(MAIN)-markdown.tex
# LinTek report
Generate LinTek reports using LaTeX and Markdown.
# Gruppen
Nedan följer några frågor om den aktuella gruppen.
## Gruppens uppdrag
*Hello world!*
### Medlemmar
_Foo bar_
* Linus
* Linnea
* Gustaf
$e^{i\pi}=-1$
\documentclass{lintek}
\providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\title{Markdown och \LaTeX}
\author{Oskar Sundström}
\begin{document}
\maketitle\thispagestyle{fancy}
\include{lintek-rapport-markdown}
\end{document}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{lintek}
\LoadClass{article}
\RequirePackage[utf8]{inputenc}
\RequirePackage[swedish]{babel}
\RequirePackage{fourier}
\RequirePackage{fullpage}
\RequirePackage{fancyhdr}
\RequirePackage[yyyymmdd]{datetime}
\RequirePackage{lastpage}
\RequirePackage{graphicx}
\RequirePackage{xcolor}
\RequirePackage{enumerate}
\RequirePackage{amsmath}
\RequirePackage{csquotes}
\AtBeginEnvironment{quote}{\itshape}
\setlength\parindent{0pt}
\pagestyle{fancy}
\renewcommand{\dateseparator}{--}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
%\setlength\headheight{53.15198pt}
\RequirePackage[margin=2.5cm,headheight=60pt,includeheadfoot]{geometry}
\lhead{\includegraphics[width=5cm]{lintek.png}\\}
\rhead{\today\\\thepage\:(\pageref{LastPage})\\}
\cfoot{{\small
\textbf{Postadress} LinTek, Tekniska högskolan, 581 83 Linköping
\textbf{Besöksadress} Tekniska högskolan, Kårallen, plan 3\\
\textbf{Telefon} 070-269 45 82
\textbf{Org.nr} 822001-0683
\textbf{Bankgiro} 515-1493
\textbf{E-post} uas@lintek.liu.se \textbf{Hemsida} www.lintek.liu.se}}
\makeatletter
\def\@maketitle{
\newpage
{\huge Rapportmall för studeranderepresentanter}
\vspace{2cm}
{\Large
\def\arraystretch{1.5}
\setlength\tabcolsep{3em}
\begin{tabular}{ l l }
\textbf{Grupp:} & \@title \\
\textbf{Datum:} & \@date \\
\textbf{Författare:} & \@author \\
\end{tabular}
}
\newpage
}
\makeatother
\makeatletter
\renewcommand{\@seccntformat}[1]{}
\makeatother
lintek.png

5.76 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment