Commit 4defd549 authored by Harsh's avatar Harsh

new files

parents
set parametric
f(t) = cos(t)
g(t) = sin(t)
plot [0:2*pi] f(t),g(t) lt rgb "#008000" lw 2
\ No newline at end of file
1.png

65.3 KB

set xrange [-10:10]
set yrange [-10:10]
poly(x) = 0
poly1(x) = x**2 - 2 * x
poly2(x) = x**2 - 4 * x
poly3(x) = x**2 - 6 * x
plot [-10:10] poly(x) lt rgb "#A9A9A9" lw 2 dt (2,5,2,5), poly1(x) lt rgb "#8B008B" lw 2, poly2(x) lt rgb "#2E8B57" lw 2, poly3(x) lt rgb "#1E90FF" lw 2
\ No newline at end of file
2.png

70.8 KB

set grid
set xtics 1
set xlabel "Roll No. -->"
set xrange [0:21]
set yrange [3:11]
set style textbox opaque
set ylabel "Gradepoint -->"
f(x) = x<=39 ? 4 : \
x>=40 && x<=44 ? 5 : \
x>=45 && x<=49 ? 6 : \
x>=50 && x<=54 ? 7 : \
x>=55 && x<=59 ? 8 : \
x>=60 && x<=69 ? 9 : 10
set datafile separator ","
plot 'test.csv' using 1:(f($2)) title "Grade Chart" with lines lw 3, \
'' using 1:(f($2)):(sprintf("%d", $2)) with labels center boxed notitle
\ No newline at end of file
5.png

89.8 KB

File added
\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{csquotes}
\usepackage{listings}
\usepackage{alltt}
\usepackage{qtree}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\title{\textbf{\huge{Software Systems Lab : Inlab\\Advanced Latex}}}
\author{\LARGE \textbf{HuffleClaw}\\\\160050011\\160050012\\160010056}
\begin{document}
\maketitle
\newpage
\tableofcontents
\newpage
\section{Itemize, Enumerate and Description}
\subsection{Itemize}
\begin{itemize}
\item \LaTeX typesets a file of text using the TEX program.
\item \LaTeX is widely used in academia for the communication and publication
of scientific documents in many fields, including mathematics, physics,
computer science, statistics, economics and political science.
\item \LaTeX can be used as a standalone document preparation system or as an
intermediate format.
\item \textbf{Have used renewcommand for the bullets to be bigger.}
\end{itemize}
\subsection{Enumerate}
\begin{enumerate}
\item \LaTeX typesets a file of text using the TEX program.
\item \LaTeX widely used in academia for the communication and publication
of scientific documents in many fields, including mathematics, physics,
computer science, statistics, economics and political science.
\item \LaTeX can be used as a standalone document preparation system or as an
intermediate format.
\item \LaTeX is intended to provide a high-level language that accesses the power
of TeX in an easier way for writers.
\end{enumerate}
\subsection{Descripton}
\begin{itemize}
\item \textbf{Red} A colour at the end of the spectrum next to orange and opposite violet,
as of blood, fire, or rubies. program.
\item \textbf{Blue} A colour intermediate between green and violet, as of the sky or sea on
a sunny day.
\item \textbf{White} The colour of milk or fresh snow, due to the reflection of all visible
rays of light; the opposite of black.
\item \textbf{Black} The darkest colour owing to the absence of or complete absorption of
light; the opposite of white.
\end{itemize}
\newpage
\section{Mathematical formulas and notations}
\subsection{Matrix}
\begin{table}[h!]
\begin{minipage}[b]{0.5\linewidth}
\includegraphics[height = 6cm width = 6cm]{diagramSection2.jpeg}
\end{minipage}
\vline
\begin{minipage}[b]{0.5\linewidth}
\[
\begin{tabular}{c c c c c c c c c}
& & & \textbf{1} & \textbf{2} & \textbf{3} & \textbf{4} & \textbf{5} & \textbf{6}
\end{tabular}
\]
\begin{minipage}[b]{0.25\linewidth}
\[
\begin{tabular}{c c c c c c}
\textbf{1} \\ \textbf{2} \\ \textbf{3} \\ \textbf{4} \\ \textbf{5} \\ \textbf{6}
\end{tabular}
\]
\end{minipage}
\begin{minipage}[b]{0.25\linewidth}
\[
\left (
\begin{tabular}{c c c c c c}
0 & 1 & 1 & 0 & 0 & 1\\
1 & 0 & 1 & 1 & 0 & 0\\
1 & 1 & 0 & 1 & 0 & 1\\
0 & 1 & 1 & 0 & 0 & 1\\
0 & 1 & 0 & 0 & 1 & 0\\
0 & 1 & 1 & 1 & 2 & 1
\end{tabular}
\right )
\]
\end{minipage}
\end{minipage}
\end{table}
\subsection{Equation Array}
\begin{align}
cos2\theta &= cos^2\theta - sin^2\theta \\
\begin{split}
&=2cos^2\theta - 1
\end{split}
\end{align}
\subsection{Prepositional Formulae using Various Operators}
$\neg (\forall x)(\varphi (x)) \leftrightarrow (\exists x) \neg \varphi (x)\\\\
(\forall x)(\psi (x)\Lambda \psi (x)) \leftrightarrow ((\forall x) \varphi (x) \Lambda
(\forall x) \varphi (x))$\\\\
\boxed{
Greek Letters :
\vline
\hspace{0.1cm} \alpha \textbf{A}\hspace{0.1cm} \beta \textbf{B} \hspace{0.1cm} \gamma \Gamma \hspace{0.1cm} \rho \rho \textbf{P} \hspace{0.1cm} \sigma \Sigma \hspace{0.1cm} \delta \Delta \hspace{0.1cm} \epsilon \epsilon \textbf{E}
}
\subsection{Mathematical Formulas}
\begin{enumerate}
\item \begin{flalign*}
%\begin{aligned}
&\frac{\pi}{4} = \sum_{n=0}^{\infty} \frac{\overbrace{(-1)^n \ast (1+1+\ldots + 1}^{n}}{(2n+1)\ast n}&
%\end{aligned}
\end{flalign*}
\end{enumerate}
\newpage
\section{Quote}
\subsection{Quote}
The margins of the quote environment are indented on both the left and the
right. The text is justified at both margins. Leaving a blank line between text
produces a new paragraph.The package csquotes offers a multilingual solution
to quotations, with integration to citation mechanisms offered by BibTeX.
\begin{displayquote}
“Unlike the quotation environment, paragraphs are not indented. It’s
important to remark that even if you are typing quotes on English
there are different quotation marks used in English (UK) and English
(US).”
\end{displayquote}
\section{Algorithm and Pseudo Code}
\subsection{Tabbing}
\begin{lstlisting}
//Breadth First Search Function
void BFS(list<longlong int> queue,long long int length)
long long int v;
if(queue.empty())
return;
list<long long int>::iterator i;
list<long long int> queue temp;
while(!queue.empty()){
v=queue.front();
queue.pop front();
for(i=adj[v].begin();i!=adj[v].end();i++){
if(!pro ver[*i]){
result[*i]=length;
queue temp.push back(*i);
pro ver[*i]=true;
adj[*i].remove(v);
}
\end{lstlisting}
\newpage
\section{Tree}
\Tree [.{If-statement} If exp {\emph{then}} [.S [.if if exp {\emph{then}} S ] ] ]
\end{document}
harshcse
------------------
Team HuffleClaw
------------------
Roll no.s - 160050011, 160050012, 160010056
Contributions :-
160050011 - Q. 1,2,3
160050012 - Q. 3, LATEX
160010056 - LATEX
Citations :-
1. https://stackoverflow.com/questions/29949876/exact-meaning-of-dashtype-index-in-the-gnuplot-5-0
2. http://gnuplot.10905.n7.nabble.com/plotting-polynomials-td4104.html
3. https://www2.uni-hamburg.de/Wiss/FB/15/Sustainability/schneider/gnuplot/colors.htm
4. http://web.maths.unsw.edu.au/~potapov/2111_2015/week-1/curves-and-surfaces.pdf
5. http://gnuplot.sourceforge.net/docs_4.2/node188.html
6. https://stackoverflow.com/questions/15789249/specifying-axiss-step-sizes-in-graph
7. http://www.gnuplotting.org/defining-piecewise-functions/
8. https://www.cs.hmc.edu/~vrable/gnuplot/using-gnuplot.html
9. http://gnuplot.sourceforge.net/demo/datastrings.html
10. https://stackoverflow.com/questions/14741893/naming-the-legend-entry-in-gnuplot-while-plotting-from-a-data-file
LATEX -
https://www.sharelatex.com/learn/Line_breaks_and_blank_spaces
https://www.sharelatex.com/learn/Positioning_images_and_tables
https://www.sharelatex.com/learn/Brackets_and_Parentheses
https://www.sharelatex.com/learn/Typesetting_quotations
https://tex.stackexchange.com/questions/265889/table-and-figure-side-by-side-with-minipages
Roll,Marks
1,56
2,34
3,37
4,49
5,52
6,27
7,48
8,51
9,54
10,50
11,65
12,43
13,57
14,76
15,44
16,61
17,27
18,58
19,55
20,53
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment