Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

LaTeX



මුලින්ම මෙන්න මේ සබැදියට ගිහින් basic-miktex බාගතකරගෙන ඉන්ස්ටෝල් කරගන්න, එහිදි package install කියන තැන ask me දෙන්න එපා, on the fly කියල ටික් එක දෙන්න.

http://miktex.org/download


ඉන්පසු මෙන්න මේකත්(texmaker) install කරගෙන කරගන්න. පහත ලින්ක් එක වැඩ නැති උනොත් ගූගල් සර්ච් කරල texmaker ගන්න.
http://www.softpedia.com/get/Programming/File-Editors/Texmaker.shtml

ඉන්පසු texmaker open කර Option ->configure TeXMaker->
Commands යටතේ Embed වෙත ටික් කරන්න.
Quick build යටතේ PDFLAteX +view PDF

දමා save කරන්න.







ඔනෑතරම් templates සර්ච් කර ලබාගන්න, මෙහිදී ප්‍රොජෙcට් එකකට ෆයිල් 5ක් අඩංගුවේ. යම් හෙයකින් බාගත කල .tex ෆයිල් එක ඔපන් කරද්දී package නොමැති බව පවසාවි. එවිට MikTex->Maintains->package Manager වෙත ගොස් අදාල package file name එක filter වෙත යොදා search කර install කරගන්න.

LaTeX ඉගෙන ගන්න පහත වෙබ් පිටුව භාවිත කරන්න.
https://www.sharelatex.com/learn


Example report
Left Margin – 40mm
Right Margin - 25mm
Top Margin – 25mm
Bottom Margin – 40mm
Font - Times New Roman
All main headings uppercase 14 (Bold)
All Sub main headings uppercase 12 (Bold)
Matter 12 (Regular)
Line Spacing – 1.5
Paragraph Spacing 1.5


--------------------------------------------------

\documentclass[12pt]{article} % 12pt: main font size
\usepackage{geometry}
\geometry{
a4paper,
total={210mm,297mm},
left=40mm,
right=25mm,
top=25mm,
bottom=40mm,
}
% dimensions of text block
% font family: Times Roman
\usepackage{newtxtext,newtxmath} % or: mathptmx
\usepackage[T1]{fontenc} % important if your docs contain special characters
\usepackage[utf8]{inputenc}
% size and weight of font to be used in section headers
\usepackage{sectsty}
\sectionfont{\large\bfseries}
\subsectionfont{\normalsize\bfseries}
% line spacing
\usepackage[nodisplayskipstretch]{setspace}
\setstretch{1.5} % or: \onehalfspacing -- opinions vary...
% If you use the table and figure environments along with
% \caption commands, the floats will be numbered automatically
\usepackage{lipsum} % filler text
\begin{document}
\onehalfspacing
\section{A first section}
\subsection{A first subsection}
hasaranga prasad hasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasad
\section{Another section}
hasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasad
\subsection{Another subsection}
hasaranga prasad hasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasadhasaranga prasad
\end{document}





-------------------------------------------------
another example













arabic – Arabic numerals

roman – Lowercase roman numerals

Roman – Uppercase roman numerals

alph – Lowercase letters

Alph – Uppercase letters% preliminaries %


---------------------------------------------
\documentclass{article}
\title{Example Document}
\author{Tim Murphy --- http://timmurphy.org}

% front matter %
\begin{document}
\maketitle
\thispagestyle{empty}
\newpage

% display page numbers in the headings. Start with roman numerals %
\pagestyle{headings}
\setcounter{page}{1}
\pagenumbering{roman}

% page i %
\section*{Foreward}
Foreward described here ...
\newpage

% page ii %
\tableofcontents
\newpage

% page iii %
\listoftables
\newpage

% set the page numbers to be arabic, starting at page 1 %
\setcounter{page}{1}
\pagenumbering{arabic}

% page 1 %
\section{The First Section}
The details of the first section ...

\end{document}



---------------------------------------------------------------------

\usepackage{graphicx}


\graphicspath{ {images/} }




after begin


\includegraphics{universe}






% \graphicspath{ {images/} } tells LATEX that the images are kept in a folder namedimages under the current directory.









%\includegraphics[width=6cm, height=4cm]{uni}
%\usepackage{float} to exact location with figure then use [H] insted of [h]


\begin{figure}[h]
\centering
\includegraphics[width=0.25\textwidth]{uni}
\caption{a nice plot}
\label{fig:mesh1}
\end{figure}









-----------------------------------



title spacing\usepackage{lipsum} % filler text
\usepackage{titlesec}

\titlespacing*{\section}
{0pt}{0pt}{12pt}
\titlespacing*{\subsection}
{0pt}{12pt}{12pt}

-------------------------------------

bullet and numbering


\begin{itemize}
\item Some text
\item Some more text
\item blah, blah.
\end{itemize}

\begin{enumerate}
\item Some text
\item Some more text
\item blah, blah.
\end{enumerate}

No comments:

Post a Comment