Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[ms,twoside, 12pt]{thesis}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % The following file defines the inclusion of packages and some other required commands
- input{setting}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % The following file defines the settings for including List of Abbreviations
- input{set_loa}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % The following file defines the list of abbreviations
- input{loa}
- begin{document}
- begin{preamble}
- %Printing list of symbols and abbreviations
- %setting the width of the labels the same as 2.5cm as required by DGS template
- setlist[description]{leftmargin=!, labelwidth=2.5cm, font=normalfont} %
- {setstretch{1.5}%
- %
- newpage
- phantomsection
- printglossary[title=LIST OF SYMBOLS, toctitle=LIST OF SYMBOLS, nogroupskip] %
- %
- newpage%
- phantomsection
- printglossary[title=LIST OF ABBREVIATIONS, toctitle=LIST OF ABBREVIATIONS,type=acronymtype,
- nogroupskip] %
- setstretch{2}%
- }%
- setlist[description]{style=standard} %
- %
- % The following file defines the Thesis abstract
- end{preamble}
- end{document}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %% The following is the list of most commonly used packages. If more / other packages are needed they are
- %% to be added immediately after the following list.
- usepackage{graphicx}
- usepackage{latexsym}
- usepackage{amsmath,epsfig}
- usepackage{epstopdf}
- usepackage{graphicx}
- usepackage{epsfig}
- usepackage{graphicx}
- usepackage{latexsym}
- usepackage{amsmath}
- usepackage{amssymb}
- usepackage{mhsetup}
- usepackage{mathtools}
- usepackage{mathrsfs}
- usepackage{float}
- usepackage{xfrac}
- usepackage{epsfig}
- %The polyglossia package allows for using Arabic and English together in one document.
- %IMPORTANT: polyglossia is only compatible with XeLaTeX
- usepackage{polyglossia}%
- setmainlanguage{english}%
- %This handles a bug due to polyglossia which corrupts the maketitle command in hyperref
- letkeptmaketitlemaketitle%
- %This allows navigation using links
- usepackage{hyperref}
- hypersetup{
- colorlinks,
- citecolor=blue,
- filecolor=blue,
- linkcolor=blue,
- urlcolor=blue,
- hidelinks=false %use this to change color of hyperlinks
- }
- %This package is used to get the correct formatting of the list of abbreviations and list of symbols using glossaries
- usepackage{enumitem}
- %--------------------------------------------------
- % Needed to insert empty page between title and committe page in double sided document
- newcommand{clearemptydoublepage}{%
- clearpage
- {pagestyle{empty}cleardoublepage}%
- }
- %--------------------------------------------------
- %% The following is required for References
- addto{captionsenglish}{%
- renewcommand{bibname}{REFERENCES}
- }
- %% Thefollowing are the most common figure file extensions
- DeclareGraphicsExtensions{.pdf,.png,.jpg, .eps}
- %glossaries package for list of symbols and list of abbreviations
- usepackage[xindy,toc,acronym,nonumberlist,nopostdot]{glossaries}
- renewcommand*{glsclearpage}{}% to remove empty pages before the list of abbreviations and list of symbols
- %to use the glossaries package, the symbols and acronyms have to be defined first
- %SYMBOLS: Symbols can be defined using the following code
- newcommand{sym}[4]{%This command can be used to define a symbol as explain below
- newglossaryentry{#1}{%
- name={#2},
- description={#3},
- symbol={#2},
- sort={#4}
- }%
- }%
- %The format for defining a symbol is as follows
- %sym{label}{symbol}{description}{alphabetical sorting name}
- %label: This will be used later on in the main body to use the symbol
- %symbol: The actual symbol to be used
- %description: The description of the symbol
- %alphabetical sorting name: This name will be used to sort the symbol in alphabetical order if desired
- %example symbol definition
- sym{mysymbol}{ensuremath{Gamma}}{This is a symbol}{gamma}
- %An acronym or abbreviation can be defined as follows
- %newacronym{label}{short}{long}
- %label: this will be used to call the acronym in the main body
- %short: the acronym
- %long: the full form of the acronym
- %example acronym
- newacronym{phd}{Ph.D.}{Doctor of Philosophy}
- makeglossaries
Add Comment
Please, Sign In to add comment