\documentclass{buIE47x}
%\documentclass[print]{buIE47x}
%\documentclass[nocoverpage,print]{buIE47x}
%\documentclass[nocoverpage]{buIE47x}
% You can give the following options inside [...] before {...}
% nocoverpage: removes the cover page. cover page contains project short name and team number.
% print      : removes the hyperlink colors

% Use in paper preamble \addtitlepagetop, \addtitlepagebottom, \addtitlepageleft, \addtitlepageright with negative lengths
% (e.g., \addtitlepagetop{-1cm}) to enlarge titlepage margins if necessary (e.g., to fit all material into one page)

% Project name
\projectname{Design and Application of Inspection System for Mechanics Department}

% Company name
\company{Arçelik Dishwasher Factory}

% Team numbers
\teamno{10}

% Project short name
\projectshortcode{ARMEK}  

% Team members
\teammembers{%
  Kudret Arman \\
  Alper Ayhan \\
  A. Burcu Çolak \\
  Ali Hüseyin Demirci \\
  Fatih Ergen \\
  Dilek Ölez 
}

% Industrial advisors
% Use optional form \IA[team]{...} if you have two or more IAs
\IA{%
N. Tanzer Tunçalp, Arçelik Dishwasher Factory,\\
Automatisation and Information Systems Manager
}

% Academic advisor(s)
% Use optional form \AA[team]{...} if you have two or more AAs
\AA{%
Asst. Prof. M. Murat Fadıloğlu, Bilkent University\\
Department of Industrial Engineering
}

% Uncomment the next command and change information to acknowledge TÜBİTAK support you may have received. 
%\ack{This project was supported by TÜBİTAK BİDEB 2209/B Program under Grant 1234C123456789.}

% Abstract
\abstract{%
In the Arçelik Dishwasher Factory, lack of control system to calculate the performance of processes and the quality of products affects the productivity process negatively. The aim of this project is to prevent the data loss and to prepare the necessary infrastructure for the quality and improvement workers by designing and implementing a fast and user-friendly control system. The system is developed on Microsoft.NET platform using VisualBasic.NET programming language and Oracle 9.2 database.
  By the help of this system a sample efficiency improvement study was conducted and the efficiency is improved by 8\% in terms of time and 3\% in terms of productivity. 
}

% Keywords
\keywords {
  GUI (Graphical User Interface), grid ergonomics, quality and performance improvement, process analysis.
}

% Bibliography file name
\bibfilename{report.bib}

\begin{document}

\section{Introduction}
\label{sec:introduction}

Section \ref{sec:latex} illustrates how to create tables, figures, refer to them, and cite others' work. Section \ref{sec:format} describes the report format. Follow it along with \href{https://www.latex-project.org/}{LaTeX} code to learn how to produce the desired format.

\section{LaTeX}
\label{sec:latex}

To begin using LaTeX, one needs a LaTeX engine and a LaTeX editor. Download and install 
\begin{itemize}
	\item \href{http://www.tug.org/mactex/}{MacTeX} for Mac,
	\item \href{https://miktex.org/}{MikTeX} for Windows	
\end{itemize}
as your LaTeX engine. Both engines come with some LaTeX editors, but one popular cross-platform editor is \href{https://www.texstudio.org/}{TEXstudio}. We encourage you to use TEXstudio. Start by watching YouTube video \href{https://www.youtube.com/watch?v=TqwgNRbd-2I}{Write your first LaTeX document using TeXstudio} and reading four-page TEXstudio tutorial by \cite{K16}. 


\subsection{Including Plots}
\label{sec:including-plots}

You can include figures like Figure \ref{fig:pressure} along with its data in a table as in Table \ref{tab:pressure}.
\begin{table}[!h]
  \centering
    \caption{The first six records of pressure versus temperature}
  \label{tab:pressure}
  \begin{tabular}{cc}
    \toprule
    temperature & pressure \\
    \midrule             
    0 & 2e-4 \\
    20 & 0.0012 \\
    40 & 0.006 \\
    60 & 0.03 \\
    80 & 0.09 \\
    100 & 0.27 \\
     \bottomrule
  \end{tabular}
\end{table}


\begin{figure}[!h]
  \centering
  \includegraphics[width=.95\textwidth]{figures/pressure.png}
  \caption{Pressure vs. temperature}
  \label{fig:pressure}
\end{figure}
If you expect to work with the underlying data closely; for example, if you are expecting to fit different models, then writing the report with \href{https://rmarkdown.rstudio.com/}{R Markdown} at the same time that you do your statistical analysis can be better. 

\subsection{Including Long Tables}

For long tables resuming over more than a page, you can use \texttt{longtable} environment. You can assign labels to tables and refer them anywhere in the report. \href{http://users.sdsc.edu/~ssmallen/latex/longtable.html}{For example}, Table \ref{tbl:longexample} lists multiple solutions to a problem.
\begin{longtable}{lll}
	\caption[Feasible triples for a highly variable Grid]{Feasible triples for 
		highly variable Grid, MLMMH.} \label{grid_mlmmh}
	\label{tbl:longexample} \\
	
	\toprule 
	\multicolumn{1}{c}{\textbf{Time (s)}} & 
	\multicolumn{1}{c}{\textbf{Triple chosen}} & 
	\multicolumn{1}{c}{\textbf{Other feasible triples}} \\ 
	\midrule
	\endfirsthead
	
	\multicolumn{3}{l}%
	{{\tablename\ \thetable{} -- continued from previous page}} \\
	\toprule
	\multicolumn{1}{c}{\textbf{Time (s)}} &
	\multicolumn{1}{c}{\textbf{Triple chosen}} &
	\multicolumn{1}{c}{\textbf{Other feasible triples}} \\
	\midrule
	\endhead
	
	\midrule
	\multicolumn{3}{r}{{Continued on next page}} \\ 
	\endfoot
	
	\midrule
	\endlastfoot
	
	0 & (1, 11, 13725) & (1, 12, 10980), (1, 13, 8235), (2, 2, 0), (3, 1, 0) \\
	2745 & (1, 12, 10980) & (1, 13, 8235), (2, 2, 0), (2, 3, 0), (3, 1, 0) \\
	5490 & (1, 12, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	8235 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	10980 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	13725 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	16470 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	19215 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	21960 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	24705 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	27450 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	30195 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	32940 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	35685 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	38430 & (1, 13, 10980) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	41175 & (1, 12, 13725) & (1, 13, 10980), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	43920 & (1, 13, 10980) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	46665 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	49410 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	52155 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	54900 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	57645 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	60390 & (1, 12, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	63135 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	65880 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	68625 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	71370 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	74115 & (1, 12, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	76860 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	79605 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	82350 & (1, 12, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	85095 & (1, 12, 13725) & (1, 13, 10980), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	87840 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	90585 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	93330 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	96075 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	98820 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	101565 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	104310 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	107055 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	109800 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	112545 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	115290 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	118035 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	120780 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	123525 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	126270 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	129015 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	131760 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	134505 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	137250 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	139995 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	142740 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	145485 & (1, 12, 16470) & (1, 13, 13725), (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	148230 & (2, 2, 2745) & (2, 3, 0), (3, 1, 0) \\
	150975 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	153720 & (1, 12, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	156465 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	159210 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	161955 & (1, 13, 16470) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
	164700 & (1, 13, 13725) & (2, 2, 2745), (2, 3, 0), (3, 1, 0) \\
\end{longtable}


Table \ref{tbl:materials} is another longtable example, where we control the second column width, which forces long texts in the cells to wrap and continue on a new line. 
\begin{longtable}{c p{6cm}}
	\caption{Materials stored in Aselsan inventory. There are 23 critical materials and ...} 
	\label{tbl:materials} \\
	\toprule
	Material & Description \\
	\midrule
	% Everything above \endhead will repeat on every new page that table extends to.
	\endhead
	MA &  Devices, systems, software purchased from subcontractor \\
	MB & Electronic modulers \\
	MC & Capacitators \\
	MD & ... \\
	ME & ... \\
	MF & ... \\
	MG & ... \\
	MI & Another very very very very very very long description \\
	MH & ... \\
	MW & RF and microwave elements \\
	\bottomrule
\end{longtable}


\subsection{Including Computer Code Listings}

Use \texttt{lstlisting} environment to list codes. 

\begin{lstlisting}[language=C, numbers=left, xleftmargin=3ex, breaklines=true, frame=single,
	caption = {An example C code to illustrate with lstlisting environment from Wikipedia},
	label = lst:cexample]
	#include <stdio.h>
	#define N 10
	/* Block
	* comment */
	
	int main()
	{
		int i;
		
		// Line comment.
		puts("Hello world!");
		
		for (i = 0; i < N; i++)
		{
			puts("LaTeX is also great for programmers!");
		}
		
		return 0;
	}
\end{lstlisting}


Anywhere in the report you can refer to a listing by using label assigned to that listing. For example, Listing \ref{lst:apriori} shows the pseudo code of Apriori algorithm while Listing \ref{lst:cexample} displays a C code.

\subsubsection{An Example of Pseudo Code Listing}
%You can also write pseudo codes. use "breaklines=true" option to wrap long lines
% Apriori code example borrowed from https://titanwolf.org/Network/Articles/Article?AID=18c0da64-b54d-49d3-9648-022590b55b3c
\begin{lstlisting}[numbers=left, 
	xleftmargin=3ex,
	breaklines=true, 
	frame=single, 
	extendedchars=true, 
	keywords = {For, each, If, if, Return,},
	caption = {Pseudo code for Apriori algorithm},
	label=lst:apriori]
Pseudo code description:
//Find frequent 1 item set
L1 = find_frequent_1-itemsets (D); 
For (k = 2; Lk-1! = Null; k ++) {
	//generate candidates and prunes
	Ck = apriori_gen (Lk-1); 
	//Scan D to count candidates
	For each transaction t in D { 
		Ct = subset (Ck, t);//get a subset of t
		For each candidate c belongs to Ct
		c.count ++;
	}
	//Return the item set in the candidate set that is not less than the minimum support
	Lk = {c belongs to Ck | c.count> = min_sup}
}
Return L = all frequent sets;
The first step: join
Procedure apriori_gen (Lk-1: frequent (k-1) -itemsets)
For each item set l1 belongs to Lk-1
For each item set l2 belongs to Lk-1
If ((l1 [1] = l2 [1]) && (l1 [2] = l2 [2]) &&... && (l1 [k-2] = l2 [k-2]) && (l1 [k- 1] <l2 [k-1])) 
then {
	c = l1 connect l2//connect step: generate candidate
	//If the subset c already exists in the k-1 item set, pruning
	if has_infrequent_subset (c, Lk-1) then
	delete c;//pruning step: delete infrequent candidates
	else add c to Ck;
}
Return Ck;
Step Two: Prune 
Procedure has_infrequent_sub (c: candidate k-itemset; Lk-1: frequent (k-1) -itemsets)
For each (k-1) -subset s of c
If s does not belong to Lk-1 then
Return true;
Return false;
\end{lstlisting}

\subsubsection{Another pseudocode example}

You can specify the keywords that you want to be typeset bold; see Listing \ref{lst:intdiv}, with optional keywords argument to \emph{lstlisting} environment.

%https://tex.stackexchange.com/questions/111116/what-is-the-best-looking-pseudo-code-package

\begin{lstlisting}[numbers=left,
	mathescape=true, 
	xleftmargin=3ex,
	breaklines=true, 
	frame=tb, 
%	frame=tB, 
	extendedchars=true, 
	keywords={input, output, return, datatype, function, in, if, else, foreach, while, begin, end},
	caption = {Integer division},
	label=lst:intdiv]	
input: int N, int D
output: int

begin
 res $\gets$ 0
 while N $\geq$ D 
   N $\gets$ N - D
   res $\gets$ res + 1      
 end
 return respdfla
end  
\end{lstlisting}
	

\subsubsection{Include a Computer Code File}

If the code is in a separate file, then you can it with \texttt{\textbackslash lstinputlisting}. 

\lstinputlisting[language=Python,numbers=left, xleftmargin=3ex, breaklines=true, 
frame=single, caption = {Python program to find the area of triangle},
label=lst:triangle]{triangle.py}


\subsection{Further Reading}
\label{sec:further-reading}

\cite{lshort} wrote a short introduction to LaTeX which is a good place to start learning LaTeX. \cite{wickham2017r} and \cite{xie2018r} describe with plenty examples how to use R Markdown. All three books are available online. Follow the links in the bibliography section.

\textbf{By the way, LaTeX is pronounced ``Lay-tech'' or ``Lah-tech.''} If you do not want to sound like a business person in \href{https://en.wikipedia.org/wiki/Latex}{rubber industry}, then learn how to the pronounce LaTeX. As a matter of fact, the last letter in ``TeX'' is supposed to be not an ``X'', but Greek letter ``$\chi$'' as in $\chi^2$ test of independence.

\begin{quote}
	We are aware that there are online LaTeX services, but they do not strictly follow LaTeX standards. For the final project fair booklet, we will collect your LaTeX and BibTeX files. Therefore, it is crucial that you learn how to create acceptable LaTeX documents and share them with us---starting with your proposal report coming less than a month.
\end{quote}

\section{Report Format}
\label{sec:format}

The text must be written 12 pt and single spaced and justified. The first paragraphs in each section/subsection/... should not be indented. All others should be indented 1 cm. There must be no line blanking between paragraphs. LaTeX used with buIE47x document class will take care of all these and the remaining formatting requirements.

\subsection{Margins}
\label{sec:margins}

Top and bottom margins must be 3 cm, right and left margins must be 3.50 cm width.
All headings, tables, figures, texts and appendices must be between the spacing limits that are determined by margins, there must no text outside of these limits. Please ensure that all tables and figures that you used in the text and appendix are  between the margins.

\subsection{Headings}
\label{sec:headings}

 The first character of each word must be a capital letter. In the headings of reports written in Turkish, conjunctions like ‘ve’, 'ile' must be written in lowercase. In the headings of reports written in English, auxiliary words like ‘the’, ‘on’, ‘for’ must be written in lowercase. All headings must be enumerated. 

\subsection{Subheading}
\label{sec:subheading}

 The first character of a subheading must be uppercase, and other characters must be lowercase. There must be no dot after the last character of any headings or subheadings. 

Headings should not be  chained without any remarks in between. When a new section or sub section or sub sub section is created, greet the reader with the purpose of section and give a brief review of its content and the contents of its sub sections.

\subsubsection{Sub sub heading}
\label{sec:sub-sub-heading}

The same subheading rules apply. A fourth subheading should not be used like 3.2.2.1. 
Use \verb*|\subsubsection*{...}| to create unnumbered subsub sections, in which case the next text starts in a new paragraph. If you want to write a paragraph with a title, then use \verb*|\paragraph{...}| command. See the tex file for the code for the following effects:

\subsubsection*{This is an unnumbered subsubsection title}

Following text goes into a new paragraph.

\paragraph{This is a paragraph with a title.} Text follows the paragraph title.


\paragraph{Headings and definitions:} If there is a heading, definition etc.\ that you do not want to enumerate, it must be written in italic and there must be ``:” (double dot) after that. \emph{Example:}

\begin{description}
\item[MDB:] Main distribution base.
\item[MDB network:] the network that is created by main distribution bases and their connection.
\end{description}

\subsection{Bulleting and Indexing}
\label{sec:bulleting-indexing}

\subsubsection{Bulleting}
\label{sec:bulleting}

Use \texttt{itemize} environment to create bullet lists. \emph{Example:}

The objectives can be listed in more detail as follows:

\begin{itemize}
\item Measuring the performance of molds, operators and press machines
  where products are produced, in line with the expectations of the
  enterprise.

  \begin{itemize}
  \item Measuring the molds in which the products are produced, in
    line with the expectations of the enterprise.
  \item Measuring the molds in which the products are produced, in
    line with the citations of the enterprise.
  \end{itemize}
  
\item A system design that will allow the measurement of the quality
  of all kinds of raw materials, semi-finished products and espacially
  the materials from the supplier companies that are processed in
  press machines.

\item All performance analysis reports are designed to be available to
  senior management in an intranet environment and include multiple
  user levels (senior management, system management and operators),
  allowing all units to access the data in the fastest way.
\end{itemize}


\subsubsection{Indexing}
\label{sec:indexing}
 
Numbering should be written in the same format as the bulleting, an
example is as follows. \emph{Example:}

The objectives can be listed in more detail as follows:

\begin{enumerate}
\item Measuring the performance of molds, operators and press machines
  where products are produced, in line with the expectations of the
  enterprise.
  \begin{enumerate}
  \item Measuring the molds in which the products are produced, in
    line with the expectations of the enterprise.
  \item Measuring the molds in which the products are produced, in
    line with the expectations of the enterprise.
\end{enumerate}

\item A system design that will allow the measurement of the quality
  of all kinds of raw materials, semi-finished products and especially
  the materials from the supplier companies that are processed in
  press machines.

\item All performance analysis reports are designed to be available to
  senior management in an intranet environment and include multiple
  user levels (senior management, system management and operators),
  allowing all units to access the data in the fastest way.

\item Establishing a database that will prepare the infrastructure for
  the total quality management activities that are being carried out
  in the enterprise, and providing the opportunity to obtain a healthy
  data for these studies.
\end{enumerate}


\subsubsection{Figures and Tables}
\label{sec:figures-tables}

\subsubsection*{Tables}

Tables should be within the specified writing range and should not protrude in any way. The title of the table should be numbered; see Table \ref{tab:materials} as an example, centered on the table and there should be one empty line before and after the table.
\begin{table}[!h]
  \centering
    \caption{Daily average intermediate stock levels in mechanical production.}
    \label{tab:materials}
    \begin{tabular}{ll}
      \toprule
      Material Name & Material Level   \\
      \midrule
      Chasis        & 5,000            \\
      Side Wall     & 15,000-17,000    \\
      Door          & 15,000-17,000    \\
      TOTAL         & 35,000-39,000    \\
      \bottomrule
    \end{tabular}
\end{table}

\subsubsection*{Figures}

Figures should be within the specified writing range and should not protrude in any way. All graphics and photographs except tables should be presented as figures.  Figures should be included in the text and should be legible. The title of the figure should be numbered, centered below the figure; see Figure \ref{fig:ui} as an example, and an empty line should be left before and after the figure.
\begin{figure}[!h]
  \centering
  \includegraphics[width=0.95\textwidth]{figures/ui.png}
  \caption{User interface example}
  \label{fig:ui}
\end{figure}

\subsubsection*{Referencing the tables and figures}

When referring to the figures and tables, the name of the figure and the table can be written in parentheses (Table \ref{tab:materials}), or in the sentence ``as shown in Figure \ref{fig:pressure}''. All the other uses (see table-\ref{tab:materials}, figure: \ref{fig:pressure}) are not correct.

\subsubsection{Numbers and punctuation marks}
\label{sec:numb-punct-marks}

In Turkish spelling, ``,'' (comma) is used as the fractional number separator and ``.'' (dot) is used as the separator for thousands of digits (three zeros). \emph{Examples:} 2.23; 12356.2.

In English spelling, ``.'' (dot) is used as a fractional number separator and ``,'' (comma) is used as a separator for thousands of digits (three zeros). \emph{Examples:} 2.23; 12,356.2.
%Thousands of digits are used for numbers with five or more digits. Four-digit numbers do not use thousands separators. \emph{Example:} 4234 (four thousand two hundred and thirty-four).

In Turkish writing, the percent sign (\%) is before the number (\emph{Example:} \%15). In the English spelling, the percentage (\%) sign is located after the number (\emph{Example:} 15\%).
Numbers from one to nine are written in text and numbers greater than or equal to 10 are written as numbers.

The letters and symbols in mathematical expressions are as inline or displayed math environments \cite{lshort}. Inline and displayed math example Wikipedia (\citeyear{wiki:news}):

\begin{quote}
The standard newswender profit function is $f(p) = E[p \min(p, D)] - c p$, where $D$ is the random demand with cdf $F$, each unit is sold for price $p$ and purchased for price $c$, the number of units stocked (decision variable) is $q$. The stocking quantity of the newsvendor that maximizes expected profit is given by
$$
q^* = F^{-1}\left( \frac{p-c}{p}\right).
$$

Fertilizer linear programming example \citep{wiki:lin}:
\begin{alignat*}{5}
\text{Maximize} \quad S_1 &x_1 + S_2 &x_2 &&&\quad(\text{maximize the revenue}) \\
\text{s.t} \qquad\\
    & x_1 +  \phantom{} & x_2 &\le L & &\quad (\text{limit on total area}) \\
 F_1& x_1 +         F_2 & x_2 &\le F & &\quad (\text{limit on fertilize}) \\
 P_1& x_1 +         P_2 & x_2 &\le P & &\quad (\text{limit on pesticide}) \\
    & x_1 \ge 0,        & x_2 &\ge 0 & &\quad (\text{cannot plant a negative area}).
\end{alignat*}
\end{quote}

\noindent Another example. This time objective function and constraints are numbered and labeled, so they can be referred in the text without having to remember the equation numbers:
\begin{quote}
	The decision variables are
\begin{align*}
	x_{ij}= 
	\begin{cases}
		1, &\quad \text{if task i is assigned agent $j$},\\
		0, &\quad \text{otherwise,}
	\end{cases}
\end{align*}
for every $i\in I,\;j\in J$, and the model is
\begin{align}
	\min        & \quad \sum_{i \in I}\sum_{j \in J}c_{ij}x_{ij}, \\
	\text{s.t.} & \notag \\
	&\quad \sum_{j \in J}x_{ij} = 1 \quad  \forall i\in I \label{eq:assignconst}\\
	&\quad \sum_{i \in I}a_{ijk}x_{ij} \leq b_{jk} \quad \forall k\in K \quad \forall j\in J, \label{eq:budgetconst}\\
	&\quad x_{ij} \in\{0,1\}\quad\forall i\in I,\; j\in J, \label{eq:binaryconst}
\end{align}
where $I$ is the index set of tasks, $J$ is the index set of agents, and $K$ is the index set of resources used by agents to perform these tasks. $a_{ijk}$ is the amount of resource $k$ used by agent $j$ in performing task $i$, $b_{jk}$ is the amount of resource $k$ available to agent $j$, and $c_{ij}$ is the cost of assigning task $i$ to agent $j$. Constraint \eqref{eq:assignconst} is assigned to exactly one agent, whereas \eqref{eq:budgetconst} is the budget constraint.
\end{quote}
You can use \texttt{eqnarray, multline, gather, gathered, cases, aligned, split} environments and their \texttt{*}-versions for numbered and unnumbered displayed equations, respectively. You may consult user’s guide for the \texttt{amsmath} package \citep{Society2002} for examples.

\subsubsection{Common mistakes}
\label{sec:common-mistakes}


The English word ‘data’ is plural (singular form is 'datum'), so there is no ‘datas’ in English, ‘veriler’ is the corresponding Turkish word. In Turkish, ‘veri’ or ‘veriler’ words should be preferred. 

The word "heuristic" in English can be used as both a noun and an adjective. The Turkish equivalent of the word, ‘sezgisel’ is an adjective. Therefore, whether or not the word ‘heuristic’ is used as a noun or adjective in an English text or speech, for the Turkish equivalents, ‘sezgisel algoritma’ or ‘sezgisel yöntem’ should be used.

"Agenda" or "Outline" titles may be used in English to indicate the content of the presentation at the beginning of a presentation. Some of the Turkish words that correspond to these words may be ‘gündem’ or ‘içerik’. The use of the word ‘Ajanda’ in this sense is incorrect.

GAMS, CPLEX, AMPL, EXPRESS, EXCEL have different functions for modeling and solution of developed mathematical models. These functions must be correctly expressed in the text. Software such as GAMS and AMPL are interface software where mathematical models can be algebraically expressed with their own syntax and can communicate with a solver. The mathematical models encoded with these software are optimized by a decoder program such as CPLEX and EXPRESS. 

Similarly, mathematical models can be expressed in Excel worksheets with Excel software. These models can be optimized with Solver, an Excel add-on. Therefore, in Turkish (English) texts, statements such as 

\begin{quote}
 ``Matematiksel modelimizi GAMS’de çözdürdük'' (``We solved our mathematical model by GAMS''), 

``Bir GAMS modeli geliştirdik'' (``We developed a GAMS model''), 

 ``Problemimizi GAMS'de modelledik'' (``We formulated our problem in GAMS'') 
\end{quote}

\noindent are false. Correct expressions in the Turkish (English) text as follows: 

\begin{quote}
 ``Problemimiz için bir matematiksel model geliştirdik.'' (``We developed a mathematical model for our problem''), 

 ``Matematiksel modelimizi GAMS ile kodladık ve CPLEX ile çöz\-dür\-dük.'' (``We coded our mathematical model in GAMS and optimized with CPLEX''), 

 ``EXPRESS programı ile modelimizi kod\-la\-dık ve optimal değerleri bulduk.'' (``We coded our model and optimized in EXPRESS.''), 

 ``AMPL arayüzünü kullanarak modellediğimiz problemimizin optimal çözümünü bulabilmek için CPLEX çö\-zü\-cü\-sü\-nü kul\-lan\-dık.'' (``We used AMPL interface to optimize our model by CPLEX solver.'') 
\end{quote}



\subsubsection{Bibliography}
\label{sec:bibliography}

Bibliography should be included at the end of the report before the appendices. The title of the bibliography should not be numbered and should be written in bold and 12-point. LaTeX will again take care of these requirements.

All articles, books, internet pages etc.\ citations should be included in the text and listed in the bibliography. \textbf{Studies not referred to in the text should not be included in the bibliography.}

In the bibliography, the authors should be mentioned primarily using their last name, followed by the first letters of their names. The bibliography should be prepared alphabetically by the last name of the authors and chronologically for each author.

Turkish texts should not contain any English words except the title of the source in the bibliography. (E.g. and, volume (vol.), number (no.), page (p.) do not use words such as.)

One way to avoid the hassle of formatting bibliographic entries is this:
\begin{enumerate}
\item find BibTeX entries for books from Google Books,
  \href{https://www.bibsonomy.org/}{BibSonomy} and for articles from
  journal web sites (try googling the article title and ``bibtex''
  together),
\item  save them in a .bib file, 
\item give the .bib file name across \texttt{bibliography} field in the R
  Markdown file if you are using R Markdown or inside \verb|\bibfilename{}| command in your LaTeX (inspect report.bib file), and cite the work with its
  bibtex identifier.
\end{enumerate}
File \texttt{report.bib} included with this package contains examples. Include an in-text citation when you refer to, summarize, paraphrase, or quote from another source. For every in-text citation in your report, there must be a corresponding entry in your bibliography.

APA in-text citation style uses the author's last name and the year of publication, for example: \cite{porteus2002foundations}. This is the case if the source is single authored. If it has two authors, write two authors’ last names using ``and'', and the year of publication again, for example: \cite{CS04}.  If it is more than two authors, write as, for example: \cite{CIBBA06}. If you use \verb|\cite{}| command of LaTeX, you do not need to worry.

When referring to a source in a sentence, the structure of the sentence must be established as if it does not refer to the source itself but to its authors. A \emph{correct} example in Turkish text: 
\begin{quote}
 ``Özellikle, \cite{A00} ve \cite{Hoc00} form ergonomileri üzerine yapılan çalışmaların gerekliliğini göstermiştir.''
\end{quote}
\noindent An \textbf{incorrect} example in Turkish text: 
\begin{quote}
 ``Form ergonomileri üzerine yapılan çalışmaların gerekliliği \cite{A00} ve \cite{Hoc00}'da gösterilmiştir.''
\end{quote}
\noindent A \emph{correct} example in English text: 
\begin{quote}
``\cite{CS04} characterize optimal ordering policies for an uncapacitated serial inventory system.''
\end{quote}
\noindent An \textbf{incorrect} example in English text:  
\begin{quote}
``Optimal ordering policies for an uncapacitated serial inventory system is characterized in \cite{CS04}.''
\end{quote}
For multiple works of an author that have appeared in the same year, the distinction is made with letters after the year, respectively. Example: \cite{wiki:lin,wiki:news}. A similar path is followed for internet addresses.

\emph{Example:} the internet addresses given in the bibliography below should be referred to as \cite{BS05} and Turkish Statistical Institute (\citeyear{Tuik06}). 

For direct quotations, include the page number as well, for example: \cite[pg. 14]{CS04}. For sources such as websites and e-books that have no page numbers, use a paragraph number. More information on citing sources without pagination is given on the \href{http://www.apastyle.org/learn/faqs/cite-website-material.aspx}{APA Style web page}. \emph{Example paragraph with in-text citation:}

\begin{quote}
A few researchers in the linguistics field have developed training programs designed to improve native speakers' ability to understand accented speech \citep{DRM02,T04}. Their training techniques are based on the research described above indicating that comprehension improves with exposure to non-native speech. \cite{DRM02} conducted their training with students preparing to be social workers, but note that other professionals who work with non-native speakers could benefit from a similar program. See the examples in the bibliography section at the end.
\end{quote}

% if there is only one appendix, use \appendix[<title of appendix>] and \subsection* if needed
\appendix

Each appendix starts on a separate page. The title should be written in bold and capital letters.

All appendices should be labeled consecutively and each one must have a title. If an appendix has subheadings, they should be numbered as well (e.g., Appendix A.1). 
Appendix can be referenced just as an ordinary section; for example, Figure \ref{fig:flowfig} in Appendix \ref{sec:flowapp}, consult Appendix \ref{sec:methodapp}, \ref{sec:uiapp}. For example, ``organization chart of the company can be seen in Appendix \ref{sec:locat-distr-cent}.''

Appendices should be included in the same file as the continuation of the report. Appendices should not have a landscape layout. (However, pictures and tables can be positioned horizontally as shown in Appendix \ref{sec:locat-distr-cent}.) The appendices must not exceed the specified document margins.

\section{Raw Material Flow Chart}
\label{sec:flowapp}

\begin{figure}[!h]
  \centering
  \includegraphics[width=0.95\textwidth]{figures/flow.png}
  \caption{Raw Material Flow Chart shows that ...}
  \label{fig:flowfig}
\end{figure}

\clearpage

\subsection{Routing Plan Obtained From the Heuristic Method}
\label{sec:methodapp}

\begin{figure}[!h]
  \centering
  \includegraphics[width=0.95\textwidth]{figures/routing.png}
  \caption{Routing Plan was obtained with the heuristic method developed in Section \ref{sec:format})}
  \label{fig:routingfig}
\end{figure}

\clearpage
\subsection{Sample Report in the User Interface}
\label{sec:uiapp}

\begin{figure}[!h]
  \centering
  \includegraphics[width=0.95\textwidth]{figures/ui2.png}
  \caption{This report shows that ...}
  \label{fig:uifig}
\end{figure}

\begin{figure}[!h]
  \centering
  \includegraphics[width=0.95\textwidth]{figures/ui3.png}
  \caption{Connecting with other computers}
  \label{fig:uifig3}
\end{figure}

\clearpage

\section{Locations of the Distribution Centers}
\label{sec:locat-distr-cent}

\begin{figure}[!h]
  \centering
  \includegraphics[height=0.75\textheight]{figures/location.png}
  \caption{Solid triangles show the hubs whereas solid circles are the demand points}
  \label{fig:locfig}
\end{figure}


\end{document}

