LaTeX Template

in #latex6 years ago (edited)

latex-97866_640.png

This is my LaTeX template. A long time ago I spent lots of time to do formatting correctly in LaTeX. The end result is this. Feel free to comment so we can improve.

    %========================================================
    \documentclass[a4paper,12pt]{article}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}    %TURKCE ICIN. Ayrica copy paste  fonksiyonu icin vs ekle.
    \usepackage{charter}        % mathpazo is nice font too.
    \usepackage{graphicx}
    \usepackage{wrapfig}        % wrap figures with text
    \usepackage{float}          % text float
    \usepackage[normalem]{ulem} % Allows longer underline text. usage:  \uline{my underline text}
    \usepackage[colorlinks,urlcolor=blue]{hyperref}
    \hypersetup{colorlinks=true, linkcolor=black} %This line prenvents  tableofcontent page link to become red. 

    %=====PARAGRAPH DESIGN===================================
    %\usepackage{indentfirst}              % INDENT FIRST PARAGRAPH
    %\parindent 0ex                        % DONT INDENT ANY PARAGRAPH
    %\setlength{\parskip}{1em}             % Changes spacing in between paragraphs
    %\renewcommand{\baselinestretch}{1.5}  % Changes space in between lines

    %=====TABLE DESIGN======================================
    %\usepackage[none]{hyphenat} %Stops breaking up words in TABLE
    
    %====PAGE SIZE & MARGINS=================================
    %https://tex.stackexchange.com/questions/61469/pageheight-just-inside-layout-package
    \usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}     % Adjust page layout.

    %===Fancy package -  Header and Footer Stuff=============
    %========================================================
    %\usepackage{fancyhdr} %For page formatting
    %\pagestyle{fancy}       %For page formatting
    %\fancyhead{}            %Clear Header Text 
    %\fancyfoot{}                     %Clear Footer Text
    %\fancyfoot[R]{\thepage} %add page number on right side of the page
    %\renewcommand{\headrulewidth}{0pt} %Remove header line. Change 0 to 1 if you want a line.
    %\renewcommand{\footrulewidth}{0pt} %Remove footer line. Change 0 to 1 if you want a line.

    \begin{document}
    \hypersetup{colorlinks=true ,urlcolor=blue,urlbordercolor={0 1 1}} % make web links color blue

    %===Title Page===========================================
    %========================================================
    %\title{Documents Title Here}
    %\author{Authors Name}
    %\date{\today}
    %\maketitle
    %\thispagestyle{empty}
    %\cleardoublepage

    %===Table of Contents====================================
    %========================================================
    %\tableofcontents
    %\pagenumbering{roman}
    %\clearpage

    %========================================================

    %\pagenumbering{arabic}
    %\setcounter{page}{1}
    


    
    \end{document}