refactor(latex): remove duplicate package imports from preamble
This commit is contained in:
parent
d1e4dddf1e
commit
c29d0e7748
@ -1,171 +0,0 @@
|
|||||||
% !TEX root = ./HSRTReport.cls
|
|
||||||
|
|
||||||
% ==== Imports ====
|
|
||||||
|
|
||||||
% calc package
|
|
||||||
\RequirePackage{calc}
|
|
||||||
|
|
||||||
% fp package
|
|
||||||
\RequirePackage[nomessages]{fp}% http://ctan.org/pkg/fp
|
|
||||||
|
|
||||||
% Glossaries package
|
|
||||||
\RequirePackage[acronym, savenumberlist=true]{glossaries}
|
|
||||||
|
|
||||||
% Babel for language support
|
|
||||||
\RequirePackage[ngerman]{babel}
|
|
||||||
|
|
||||||
% Bibliography management with biber backend and IEEE style
|
|
||||||
\RequirePackage[
|
|
||||||
backend=biber,
|
|
||||||
sorting=none,
|
|
||||||
style=ieee
|
|
||||||
]{biblatex}
|
|
||||||
|
|
||||||
% Context-sensitive quotation marks
|
|
||||||
\RequirePackage{csquotes}
|
|
||||||
|
|
||||||
% Geometry for setting page dimensions and margins
|
|
||||||
\RequirePackage[a4paper, margin=2cm]{geometry}
|
|
||||||
|
|
||||||
% Tabularx for tables with fixed width columns
|
|
||||||
\RequirePackage{tabularx}
|
|
||||||
|
|
||||||
% Longtable for tables that span multiple pages
|
|
||||||
\RequirePackage{longtable}
|
|
||||||
|
|
||||||
% Graphics support
|
|
||||||
\RequirePackage{graphicx}
|
|
||||||
|
|
||||||
% Enumitem for customized lists
|
|
||||||
\RequirePackage{enumitem}
|
|
||||||
|
|
||||||
% Verbatim for including literal text
|
|
||||||
\RequirePackage{verbatim}
|
|
||||||
|
|
||||||
% Captions for customizing figure and table captions
|
|
||||||
\RequirePackage{caption}
|
|
||||||
|
|
||||||
% Floatrow for advanced float customization
|
|
||||||
\RequirePackage{floatrow}
|
|
||||||
|
|
||||||
% Subcaption for subfigures within a figure
|
|
||||||
\RequirePackage[subrefformat=parens]{subcaption}
|
|
||||||
|
|
||||||
% Blindtext for generating dummy text
|
|
||||||
\RequirePackage{blindtext}
|
|
||||||
|
|
||||||
% Listings for including source code with syntax highlighting
|
|
||||||
\RequirePackage{listings}
|
|
||||||
|
|
||||||
% Hyphenation support for monospaced fonts
|
|
||||||
\RequirePackage[htt]{hyphenat}
|
|
||||||
|
|
||||||
% Color package for text coloring
|
|
||||||
\RequirePackage{color}
|
|
||||||
|
|
||||||
% Additional options for captions
|
|
||||||
\RequirePackage{caption,xparse}
|
|
||||||
|
|
||||||
% Multirow for table cells spanning multiple rows
|
|
||||||
\RequirePackage{multirow}
|
|
||||||
|
|
||||||
% Mathematical symbols and fonts
|
|
||||||
\RequirePackage{amssymb}
|
|
||||||
|
|
||||||
% Pifont for dingbat symbols
|
|
||||||
\RequirePackage{pifont}
|
|
||||||
|
|
||||||
% Epigraph for quotations
|
|
||||||
\RequirePackage{epigraph}
|
|
||||||
|
|
||||||
% Lipsum for generating dummy text
|
|
||||||
\RequirePackage{lipsum}
|
|
||||||
|
|
||||||
% Setspace for line spacing
|
|
||||||
\RequirePackage{setspace}
|
|
||||||
|
|
||||||
% Lmodern for scalable font
|
|
||||||
\RequirePackage{lmodern}
|
|
||||||
|
|
||||||
% Anyfontsize for using arbitrary font sizes
|
|
||||||
\RequirePackage{anyfontsize}
|
|
||||||
|
|
||||||
% For dotted lines in tables
|
|
||||||
\RequirePackage{arydshln}
|
|
||||||
|
|
||||||
% Boxes (for Info, Warning, etc.)
|
|
||||||
\RequirePackage[framemethod=TikZ]{mdframed}
|
|
||||||
|
|
||||||
% Emojis
|
|
||||||
\RequirePackage{twemojis}
|
|
||||||
|
|
||||||
% Euro Symbol
|
|
||||||
\RequirePackage{eurosym}
|
|
||||||
|
|
||||||
% To add a watermark
|
|
||||||
\RequirePackage{draftwatermark}
|
|
||||||
|
|
||||||
% Unicode Symbols
|
|
||||||
\RequirePackage{utfsym}
|
|
||||||
|
|
||||||
% For the \textsubscript command
|
|
||||||
\RequirePackage{accsupp}
|
|
||||||
|
|
||||||
% Modify TOC formatting
|
|
||||||
\RequirePackage{tocloft}
|
|
||||||
|
|
||||||
% Fontawesome for icons
|
|
||||||
\RequirePackage{fontawesome5}
|
|
||||||
|
|
||||||
% For better environment definitions
|
|
||||||
\RequirePackage{environ}
|
|
||||||
|
|
||||||
% http://ctan.org/pkg/keyval
|
|
||||||
\RequirePackage{keyval}
|
|
||||||
|
|
||||||
% For justified text
|
|
||||||
\RequirePackage{ragged2e}
|
|
||||||
|
|
||||||
% FPeval for floating point calculations
|
|
||||||
\RequirePackage{xfp}
|
|
||||||
|
|
||||||
% TikZ for drawing
|
|
||||||
\RequirePackage{tikz}
|
|
||||||
|
|
||||||
% To refer to page text area
|
|
||||||
\RequirePackage{tikzpagenodes}
|
|
||||||
|
|
||||||
% Pie Chart
|
|
||||||
\RequirePackage{pgf-pie}
|
|
||||||
|
|
||||||
% Transparent images
|
|
||||||
\RequirePackage{transparent}
|
|
||||||
|
|
||||||
% SVG images
|
|
||||||
\RequirePackage{svg}
|
|
||||||
|
|
||||||
% Fontenc for font encoding
|
|
||||||
\RequirePackage[T1]{fontenc}
|
|
||||||
|
|
||||||
% Fontspec for font selection
|
|
||||||
\RequirePackage{fontspec}
|
|
||||||
|
|
||||||
% For the IfThenElse command
|
|
||||||
\RequirePackage{ifthen}
|
|
||||||
|
|
||||||
% Bophook for hooks
|
|
||||||
\RequirePackage{bophook}
|
|
||||||
|
|
||||||
% For Arrays
|
|
||||||
\RequirePackage{arrayjobx}
|
|
||||||
|
|
||||||
% For Headers and Footers
|
|
||||||
\RequirePackage{fancyhdr}
|
|
||||||
|
|
||||||
% Command Patching
|
|
||||||
\RequirePackage{etoolbox}
|
|
||||||
|
|
||||||
% Change counter
|
|
||||||
\RequirePackage{chngcntr}
|
|
||||||
|
|
||||||
% ==== /Imports ====
|
|
||||||
@ -1,14 +1,8 @@
|
|||||||
% !TEX root = ../Main.tex
|
% !TEX root = ../Main.tex
|
||||||
|
|
||||||
% ==== Imports ====
|
% ==== Document-specific configuration ====
|
||||||
\usepackage{hyperref}
|
% Bibliography resource
|
||||||
\usepackage[acronym, savenumberlist=true]{glossaries}
|
|
||||||
\usepackage[nameinlink, noabbrev]{cleveref}
|
|
||||||
% ==== /Imports ====
|
|
||||||
|
|
||||||
% ==== Glossary and Bib ====
|
|
||||||
\addbibresource{Main.bib}
|
\addbibresource{Main.bib}
|
||||||
% ==== /Glossary and Bib ====
|
|
||||||
|
|
||||||
% ==== Settings ====
|
% ==== Settings ====
|
||||||
\input{TeX/Settings/General}
|
\input{TeX/Settings/General}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user