LaTex config file (index.tex)

% Welcome to LaTex for Web Developers % !!! README !!! How to LaTex on MacOS with Atom.io in 10 easy steps https://codepad.co/snippet/p2PVN3FT % Documentation https://de.sharelatex.com/learn/ % Documentation for packages: https://ctan.org/pkg/{packagename} % List of packages https://www.namsu.de/Extra/pakete/latex-packages.html % Local storage location /usr/local/texlive/2018/texmf-dist/source % <Header> % document and paper \documentclass[twoside]{book} % defines the documentClass - https://de.wikibooks.org/wiki/LaTeX-W%C3%B6rterbuch:_documentclass \usepackage[a4paper]{geometry} % defines the document geometry (a4, letter, etc.) \usepackage[utf8]{inputenc} % Use utf-8 including umlauts % language \usepackage[ngerman]{babel} % Document language (can have multiple values): comma-separated list, the last element is prioritized. \usepackage{ngerman} % language package ngerman % Images \usepackage{graphicx} % Enable images \usepackage{wrapfig} % Enable text floating around images \usepackage{sidecap} % Enable image captions next to images \graphicspath{ {media/} } \usepackage[absolute]{textpos} % enable absolute positioning of anything inside a text container % Document layout https://en.wikibooks.org/wiki/LaTeX/Page_Layout \footskip = 50pt % space between footnote and text \let\cleardoublepage=\clearpage % remove empty page when opening a new chapter % Chapter Style \usepackage{titlesec} \titleformat{\chapter}[display] {\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge} \titlespacing*{\chapter}{0pt}{0pt}{30pt} % {left}{top}{bottom} % bibliography \usepackage{natbib} \bibliographystyle{agsm} % Quotes \usepackage{dirtytalk} % quotes: usage \say{this is a quote} % Header & Footer with fancyhdr \usepackage{fancyhdr} % Seiten schöner gestalten, insbesondere Kopf- und Fußzeile. \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{wfp} \fancyhead[RE,LO]{Barrieren im Web} \fancyfoot[CE,CO]{\leftmark} \fancyfoot[LE,RO]{\thepage} \setlength{\skip\footins}{30pt} % Multiple columns \usepackage{multicol} \usepackage{color} \definecolor{columnsepcolor}{cmyk}{0,0,0,0.18} \setlength{\columnseprule}{1pt} \setlength{\columnsep}{30pt} \def\columnseprulecolor{\color{columnsepcolor}} % Font \usepackage[default,osfigures,scale=0.95]{opensans} %% Alternatively use the option 'defaultsans' instead of 'default' to replace the sans serif font only. \usepackage[T1]{fontenc} % about this document or meta \author{Author name} \title{My Title} \date{2018} % </Header> \begin{document} % <Body> \input{chapter/title} % insert content (filename.tex) \tableofcontents % Output: table of contents \input{chapter/main} % insert content \bibliography{bib/bibliography} % Output: bibliography, no extension needed for file bibliography.bib \listoffigures % Output: list of figures % \listoftables % Output: list of tables % </Body> \end{document}

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.