Full Code of milaan9/LaTeX4Everyone for AI

main 3c19e0d822e2 cached
24 files
40.8 KB
13.4k tokens
1 requests
Download .txt
Repository: milaan9/LaTeX4Everyone
Branch: main
Commit: 3c19e0d822e2
Files: 24
Total size: 40.8 KB

Directory structure:
gitextract_u481msev/

├── 001_LaTex_Begin/
│   ├── README.md
│   └── first-doc.tex
├── 002_LaTex_First_Doc/
│   ├── README.md
│   ├── first-doc.tex
│   └── subfile.tex
├── 003_LaTex_Using_Bib_and_Conference_style/
│   ├── README.md
│   ├── bibfile.bib
│   ├── second-doc.tex
│   └── third-doc.tex
├── 004_LaTex_Typesetting_Mathematics/
│   ├── README.md
│   └── math-doc.tex
├── 005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/
│   ├── README.md
│   ├── algorithm-doc.tex
│   ├── fancyvrb-doc.tex
│   ├── listing-doc.tex
│   └── math-graph.tex
├── 006_LaTex_Presentation_beamer/
│   ├── README.md
│   └── beamer-first.tex
├── 007_LaTex_tikz/
│   ├── README.md
│   └── tikz.tex
├── 008_LaTex_Gantt_Chart/
│   ├── README.md
│   └── proposal-gantt-complete.tex
├── LICENSE
└── README.md

================================================
FILE CONTENTS
================================================

================================================
FILE: 001_LaTex_Begin/README.md
================================================
# LaTeX4Everyone

LaTeX4Everyone


================================================
FILE: 001_LaTex_Begin/first-doc.tex
================================================
\documentclass{article}


\begin{document}
	Hello world!
\end{document}

================================================
FILE: 002_LaTex_First_Doc/README.md
================================================
# LaTeX-For-Everyone-and-Everything
LaTeX For Everyone and Everything, published by Packt


================================================
FILE: 002_LaTex_First_Doc/first-doc.tex
================================================
\documentclass{article} 
\usepackage{graphicx}

\begin{document}
\title{My First LaTeX Document}
\author{Dr. Milaan Parmar}

\maketitle
\begin{abstract}
Smartphones are increasingly being used to store personal information as well as to access sensitive data from the Internet and the cloud. Establishment of the identity of a user requesting information from smartphones is a prerequisite for  secure systems in such scenarios. In the past, keystroke-based user identifiation has been successfully deployed on production-level mobile devices to mitigate the risks associated with naive username/password based authentication. However, these approaches have two major limitations: they are not applicable to services where authentication occurs outside the domain of the mobile
device such as web-based services; and they often overly tax the limited computational capabilities of mobile devices.

In this paper, we propose a protocol for keystroke dynamics analysis which allows web-based applications to make use of remote attestation and delegated keystroke analysis. The end result is an efficient keystroke-based user identification mechanism that strengthens traditional password protected services
while mitigating the risks of user profiling by collaborating malicious web
services. We present a prototype implementation of our protocol using
the popular Android operating system for smartphones.
\end{abstract}

\section{Introduction} 
This is going to be a normal paragraph in our introduction. 

\subsection{Some Background} 
Some more stuff. 

\subsubsection{Drilled Down}\label{sec:drilled-down}
More information here. 

\section{Background}\label{sec:background}

\subsection{More Stuff: Tables and Figures}
To insert a figure, you can use the TeXnicecenter menus. 

\begin{figure}
	\centering
		\includegraphics[width=1.00\textwidth]{att-models-base.pdf}
	\caption{My First Figure}
	\label{fig:att-models-base}
\end{figure}

Now for a table! 

\begin{table}
	\centering
		\begin{tabular}{|l|c|c|c|}
		\hline 
		Head 1 & Head 2 & Head 3 & Head 4   \\\hline 
		1      &      2 & 3      & 4 \\			
		\hline
		\end{tabular}
	\caption{My First Table}
	\label{tab:MyFirstTable}
\end{table}

\subsection{More Stuff} 
Some text here that wants to refer to Table~\ref{tab:MyFirstTable}. You can also refer to the Figure~\ref{fig:att-models-base}. When you want to refer to a previous section, you can use the \verb|\ref| command again. Section~\ref{sec:background} and Section~\ref{sec:drilled-down}. 

\input{subfile} 

\end{document} 

================================================
FILE: 002_LaTex_First_Doc/subfile.tex
================================================
\subsection{Sub section through input command}
This comes from a separate file. Notice that I have this subsection included in the Navigator. 

================================================
FILE: 003_LaTex_Using_Bib_and_Conference_style/README.md
================================================
# LaTeX-For-Everyone-and-Everything
LaTeX For Everyone and Everything, published by Packt


================================================
FILE: 003_LaTex_Using_Bib_and_Conference_style/bibfile.bib
================================================
@article{nauman2011using,
  title={Using trusted computing for privacy preserving keystroke-based authentication in smartphones},
  author={Nauman, M. and Ali, T. and Rauf, A.},
  journal={Telecommunication Systems},
  pages={1--13},
  year={2011},
  publisher={Springer}
}

@inproceedings{se-cs-collab:nauman10,
 author = {Nauman, Mohammad and Uzair, Muhammad},
 title = {SE and CS Collaboration: Training Students for Engineering Large, Complex Systems},
 booktitle = {Proceedings of the 20th Conference on Software Engineering Education \& Training},
 year = {2007},
 isbn = {0-7695-2893-7},
 pages = {167--174},
 numpages = {8},
 url = {http://dl.acm.org/citation.cfm?id=1270381.1270618},
 doi = {10.1109/CSEET.2007.44},
 acmid = {1270618},
 publisher = {IEEE Computer Society},
 address = {Washington, DC, USA},
 keywords = {Software engineering, computer science, education, complex systems},
} 

@inproceedings{seo2011user,
  title={User Input Pattern-Based Authentication Method to Prevent Mobile E-Financial Incidents},
  author={Seo, H. and Kim, H.K.},
  booktitle={Parallel and Distributed Processing with Applications Workshops (ISPAW), 2011 Ninth IEEE International Symposium on},
  pages={382--387},
  year={2011},
  organization={IEEE}
}

================================================
FILE: 003_LaTex_Using_Bib_and_Conference_style/second-doc.tex
================================================
\documentclass{article}

\begin{document}
\title{Using Bibliogrpahies in \LaTeX}
\author{Dr. Milaan Parmar}
\maketitle

% -------------------- Main document --------------------------------

\section{Introduction} 
Using and managing bibliographies in \LaTeX\ is very easy. These are the steps required to use them: 

\begin{enumerate}
	\item Create a main document file 
	\item Create a project
	\item Collect bibliography entries in a \verb|.bib| file. For this: 
	   \begin{itemize}
	     \item Get the bibliography from Google Scholar/ACM or whereever (much easier) or 
	     \item Write the entry yourself. 
     \end{itemize}
	\item Add a \verb|\bibliographystyle| and a \verb|\bibliography| command to your document. 
	\item \emph{Cite} the references where you need using the key. 
	\item Build the project a couple of times to get the citations in the main document. 
\end{enumerate}

\section{Some Background Text}
We are going to use this section to put some text in our document and at some points, we are going to inset a reference. This, for example, is going to turn into a reference~\cite{se-cs-collab:nauman10}. This ~\cite{nauman2011using} is yet another reference. And so on.\cite{seo2011user}




% -------------------------------------------------------------------
% add bibliography-related commands here 
\bibliographystyle{plain}
\bibliography{bibfile}

\end{document}

================================================
FILE: 003_LaTex_Using_Bib_and_Conference_style/third-doc.tex
================================================
\documentclass[twocolumn]{article}
\usepackage{latex8}

\begin{document}
\title{Using Conference Styles with \LaTeX}
\author{Dr. Milaan Parmar}
\maketitle

\begin{abstract} 
This is some abstract text. This has been included for demonstration only. This is why it's being kept brief. 
\end{abstract} 


\section{Introduction}
Introduction text here. Smartphones are increasingly being used to store personal information as well as to access sensitive data from the Internet and the cloud. Establishment of the identity of a user requesting information from smartphones is a prerequisite for  secure systems in such scenarios. In the past, keystroke-based user identification has been successfully deployed on production-level mobile devices to mitigate the risks associated with naive username/password based authentication. However, these approaches have two major limitations: they are not applicable to services where authentication occurs outside the domain of the mobile
device such as web-based services; and they often overly tax the limited computational capabilities of mobile devices. In this paper, we propose a protocol for keystroke dynamics analysis which allows web-based applications to make use of remote attestation and delegated keystroke analysis. The end result is an efficient keystroke-based user identification mechanism that strengthens traditional password protected services
while mitigating the risks of user profiling by collaborating malicious web
services. We present a prototype implementation of our protocol using
the popular Android operating system for smartphones.

\section{Background} 
Smartphones are increasingly being used to store personal information as well as to access sensitive data from the Internet and the cloud. Establishment of the identity of a user requesting information from smartphones is a prerequisite for  secure systems in such scenarios. In the past, keystroke-based user identification has been successfully deployed on production-level mobile devices to mitigate the risks associated with naive username/password based authentication. However, these approaches have two major limitations: they are not applicable to services where authentication occurs outside the domain of the mobile
device such as web-based services; and they often overly tax the limited computational capabilities of mobile devices. In this paper, we propose a protocol for keystroke dynamics analysis which allows web-based applications to make use of remote attestation and\cite{nauman2011using} delegated keystroke analysis. The end result is an efficient keystroke-based user identification mechanism that strengthens traditional password protected services
while mitigating the risks of user profiling by \cite{se-cs-collab:nauman10}collaborating malicious web
services. We present a prototype implementation of our protocol using
the popular Android operating system for smartphones.\cite{seo2011user}

\subsection{Some Related Work} 
Establishment of the identity of a user requesting information from smartphones is a prerequisite for  secure systems in such scenarios. In the past, keystroke-based user identification has been successfully deployed on production-level mobile devices to mitigate the risks associated with naive username/password based authentication. However, these approaches have two major limitations: they are not applicable to services where authentication occurs outside the domain of the mobile
device such as web-based services; and they often overly tax the limited computational capabilities of mobile devices. In this paper, we propose a protocol for keystroke dynamics analysis which allows web-based applications to make use of remote attestation and delegated keystroke analysis.

\section{Conclusions}
In the past, keystroke-based user identification has been successfully deployed on production-level mobile devices to mitigate the risks associated with naive username/password based authentication. However, these approaches have two major limitations: they are not applicable to services where authentication occurs outside the domain of the mobile
device such as web-based services.


%\section{Changing Bibliography Styles}
%To change bibliography styles, you need to get a \verb|.bst| file for the style. For example, you can see the IEEE bib style file, ACM bib style file and Springer bib style file in the same directory as this file. 

% -------------------------------------------------------------------
% add bibliography-related commands here 
\bibliographystyle{latex8}
\bibliography{bibfile}   

\end{document}

================================================
FILE: 004_LaTex_Typesetting_Mathematics/README.md
================================================
# LaTeX-For-Everyone-and-Everything
LaTeX For Everyone and Everything, published by Packt


================================================
FILE: 004_LaTex_Typesetting_Mathematics/math-doc.tex
================================================
\documentclass{article}
\usepackage{amsmath}

\newcommand{\flow}{\rightleftharpoons}

\begin{document}
\title{Typesetting Mathematics in \LaTeX}
\author{Dr. Milaan Parmar \\ milaanparmar9@gmail.com}
\maketitle


\section{Introduction} 
\LaTeX\ is extremely powerful when it comes to typesetting mathematics. It's one of the core strengths of this system. 

\section{Displaying Mathematics}
There are two ways of displaying maths. One is \emph{inline} and the other is \emph{display} format -- in which the whole math sits on its own set of lines.


\subsection{Inline Mode}
We are going to insert a mathematics equation inline here using a pair of \$ signs:  $E=mc^2$    . As you can see, the display (such as line spacing) does not get messed up by the mathematics as it does with word processing softwares. 

\subsection{Display Mode}
We can also display equations in their own set of lines. To do this, we can use the equation environment. 

\begin{equation}\label{eq:emc}
E=mc^2
\end{equation}

As you can see, \LaTeX\ inserts the equation number automatically. We can refer to it using the \verb|\ref| command just as we referred to sections, figures and tables. (E.g. Equation~\ref{eq:emc}.) To get rid of the equation number, simply use the \emph{star variant} of the equation environment. (For this, you need the \texttt{amsmath} package.)

\begin{equation*}
E=mc^2
\end{equation*}

Alternatively, we can use the shorthand keys \verb|\[| and \verb|\]|

\[
E=mc^2
\]

\section{Mathematical Features}
\LaTeX\ has many builtin features and you can get many more easily. Here, we'll see some of these features: 

Addition, subtraction, multiplication and division: 

\[
x+2 - 25 \times 35 \div 98 
\]

Superscripts and subscripts: 

\[ x^2  \]
\[ x_{(i)} \]


Summation, union, intersection, big-union, integral: 

\[ \sum_{i=1}^{n}{i^2} \]
\[ x \cup y \cap z \]
\[ \bigcup_{i=1}^{n}{x_i} \]
\[ \int_0^n{x^2} \]

Fractions, brackets, square root: 

\[ \frac{x}{y} \]
\[ \frac{\sum_i{x^2}}{\int_0^n{x^2}} \]
\[ \sqrt{\frac{\sqrt{36}} {x^5}} \]

\[ 2 \times \left( \frac{34}{\frac{124}{356}}    \right)  \]

Greek letters: 

\[
\alpha + \beta + \gamma^* + \Sigma + \Theta + 2_\epsilon 
\]

Matrices and vectors. For this, you need to include the \texttt{amsmath} package and then use the \texttt{bmatrix} or \texttt{pmatrix} environment: 

\[
\begin{pmatrix}
\frac{a}{44} & b \\ 
c & \sqrt{d} 	
\end{pmatrix}
\]

Accents: 

\[ \hat{x} \]
\[ \hat{\imath} \] 
\[ \dot{x} \]

See the \texttt{Math} menu in the IDE for other operations. You can refer to ``Short Math Guide for \LaTeX'' for a lot more examples. 

\section{Using Symbols}
You might come across situations where you need to find new symbols. For this, you can refer to the ``The Comprehensive \LaTeX Symbols List''.  

\[ x \rightleftharpoons  y \]



(Optional) Since this is a long command, we might want to create a shortcut using the \verb|\newcommand| command in the preamble. This also allows us to later change the symbol without having to change the equations. 

\[ x \flow y \]

\end{document}

================================================
FILE: 005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/README.md
================================================
# LaTeX-For-Everyone-and-Everything
LaTeX For Everyone and Everything, published by Packt


================================================
FILE: 005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/algorithm-doc.tex
================================================
\documentclass{article}
\usepackage{algorithm}
\usepackage{algorithmic}

\begin{document}
\title{Algorithms in \LaTeX}
\author{Dr. Milaan Parmar \\ milaanparmar9@gmail.com}
\maketitle



\begin{algorithm}
\begin{algorithmic}[2]
\REQUIRE{Randomly populated array}
\ENSURE{Sorted array}
\IF{$i\leq0$}
  \STATE $i\gets1$
\ELSE 
  \IF{$i\geq0$} \label{line:impline}
   \FOR{$j=0$ \TO $10$}
     \STATE blah()
     \STATE carryOutSomeProcessing() \label{line:mostimp}
   \ENDFOR
  \ENDIF
\ENDIF
\RETURN i
\end{algorithmic}
\caption{My First Simple Algorithm}
\label{algo:first}
\end{algorithm}

And of course, we can refer to the algorithm using \verb|\ref|: See Algorithm~\ref{algo:first} but the good thing is we can also refer to a specific line e.g. Line~\ref{line:impline} or Line~\ref{line:mostimp}.

\end{document}

================================================
FILE: 005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/fancyvrb-doc.tex
================================================
\documentclass{article}
\usepackage{fancyvrb}


\begin{document}
\title{Fancy Verbatim Outputs in \LaTeX}
\author{Dr. Milaan Parmar \\ milaanparmar9@gmail.com}
\maketitle

\begin{figure*}
\begin{Verbatim}[frame=single,label=Sample Label,numbers=left,commandchars=\\\{\}]
First verbatim \emph{line}. 
Second verbatim line. \label{line:impline}
And even more
\end{Verbatim}
\caption{blah}
\end{figure*}

And we can refer to lines as with algorithmic package: Line~\ref{line:impline}.


\end{document}

================================================
FILE: 005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/listing-doc.tex
================================================
\documentclass{article}
%\usepackage{geometry}
\usepackage{listings}

\usepackage[T1]{fontenc}
\usepackage{lmodern}

\begin{document}
\title{Listings Example}
\author{Dr. Milaan Parmar \\ milaanparmar9@gmail.com} 
\maketitle 

\lstset{language=c++}
\lstset{caption=Some C++ Code}
\begin{lstlisting}[frame=single]{}
for(i = 0; i < 10; i++){
    // increment the pointer
    *p++ = i;
}
\end{lstlisting}

\lstset{language=java,frame=single,basicstyle=\ttfamily,numbers=left}
\lstinputlisting[caption=Signing,label=lst:lowertri]{Sign.java}

And we can refer to Listing~\ref{lst:lowertri} in text.
\end{document}

================================================
FILE: 005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/math-graph.tex
================================================
\documentclass{article}
%\usepackage{algorithm}
%\usepackage{algorithmic}
\usepackage{geometry}
\usepackage{tikz}

\usepackage{circuitikz}
\usetikzlibrary{trees,automata,arrows}


\usetikzlibrary{plotmarks}
% The data files, written on the first run.
\begin{filecontents}{div_soft.data}
#MOPS 	Power [mW]
1.33E-02	10.403432
1.33E-01	12.53108
2.66E-01	14.90265
3.99E-01	17.22483
5.31E-01	19.58292
6.64E-01	21.89876
7.97E-01	24.44624
9.30E-01	26.6708
\end{filecontents}

\begin{filecontents}{div_ciu.data}
# MOPS 	Power [mW]
4.35E-02	9.562436
4.35E-01	10.845494
8.69E-01	12.24356
1.30E+00	13.66974
1.74E+00	15.13008
2.17E+00	16.57845
2.61E+00	17.97894
3.04E+00	19.41534
\end{filecontents}

\begin{filecontents}{div_ciu_oscar.data}
#MOPS 	Power [mW]
8.57E-01	11.255013
9.99E-01	11.4804
1.14E+00	11.718
1.29E+00	11.9916
1.64E+00	12.65854
2.00E+00	13.308
2.64E+00	14.484
3.85E+00	16.8
\end{filecontents}

\begin{filecontents}{div_ciu_oscar_extrapolated.data}
# MOPS 	Power [mW]
4.28E+00	17.56312023
5.71E+00	20.21127914
7.14E+00	22.85943805
8.57E+00	25.50759696
9.99E+00	28.15575587
\end{filecontents}

\begin{document}
\begin{tikzpicture}[y=.2cm, x=.7cm,font=\sffamily]
 	%axis
	\draw (0,0) -- coordinate (x axis mid) (10,0);
    	\draw (0,0) -- coordinate (y axis mid) (0,30);
    	%ticks
    	\foreach \x in {0,...,10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};
    	\foreach \y in {0,5,...,30}
     		\draw (1pt,\y) -- (-3pt,\y) 
     			node[anchor=east] {\y}; 
	%labels      
	\node[below=0.8cm] at (x axis mid) {MOPS};
	\node[rotate=90, above=0.8cm] at (y axis mid) {Power [mW]};

	%plots
	\draw plot[mark=*, mark options={fill=white}] 
		file {div_soft.data};
	\draw plot[mark=triangle*, mark options={fill=white} ] 
		file {div_ciu.data};
	\draw plot[mark=square*, mark options={fill=white}]
		file {div_ciu_oscar.data};
	\draw plot[mark=square*]
		file {div_ciu_oscar_extrapolated.data};  
    
	%legend
	\begin{scope}[shift={(4,4)}] 
	\draw (0,0) -- 
		plot[mark=*, mark options={fill=white}] (0.25,0) -- (0.5,0) 
		node[right]{soft};
	\draw[yshift=\baselineskip] (0,0) -- 
		plot[mark=triangle*, mark options={fill=white}] (0.25,0) -- (0.5,0)
		node[right]{ciu};
	\draw[yshift=2\baselineskip] (0,0) -- 
		plot[mark=square*, mark options={fill=white}] (0.25,0) -- (0.5,0)
		node[right]{ciu + oscar};
	\draw[yshift=3\baselineskip] (0,0) -- 
		plot[mark=square*, mark options={fill=black}] (0.25,0) -- (0.5,0)
		node[right]{ciu + oscar extrapolated};
	\end{scope}
\end{tikzpicture}

\newpage

\begin{tikzpicture}[scale=3,cap=round]
  % Local definitions
  \def\costhirty{0.8660256}

  % Colors
  \colorlet{anglecolor}{green!50!black}
  \colorlet{sincolor}{red}
  \colorlet{tancolor}{orange!80!black}
  \colorlet{coscolor}{blue}

  % Styles
  \tikzstyle{axes}=[]
  \tikzstyle{important line}=[very thick]
  \tikzstyle{information text}=[rounded corners,fill=red!10,inner sep=1ex]

  % The graphic
  \draw[style=help lines,step=0.5cm] (-1.4,-1.4) grid (1.4,1.4);

  \draw (0,0) circle (1cm);

  \begin{scope}[style=axes]
    \draw[->] (-1.5,0) -- (1.5,0) node[right] {$x$};
    \draw[->] (0,-1.5) -- (0,1.5) node[above] {$y$};

    \foreach \x/\xtext in {-1, -.5/-\frac{1}{2}, 1}
      \draw[xshift=\x cm] (0pt,1pt) -- (0pt,-1pt) node[below,fill=white]
            {$\xtext$};

    \foreach \y/\ytext in {-1, -.5/-\frac{1}{2}, .5/\frac{1}{2}, 1}
      \draw[yshift=\y cm] (1pt,0pt) -- (-1pt,0pt) node[left,fill=white]
            {$\ytext$};
  \end{scope}

  \filldraw[fill=green!20,draw=anglecolor] (0,0) -- (3mm,0pt) arc(0:30:3mm);
  \draw (15:2mm) node[anglecolor] {$\alpha$};

  \draw[style=important line,sincolor]
    (30:1cm) -- node[left=1pt,fill=white] {$\sin \alpha$} +(0,-.5);

  \draw[style=important line,coscolor]
    (0,0) -- node[below=2pt,fill=white] {$\cos \alpha$} (\costhirty,0);

  \draw[style=important line,tancolor] (1,0) --
    node [right=1pt,fill=white]
    {
      $\displaystyle \tan \alpha \color{black}=
      \frac{{\color{sincolor}\sin \alpha}}{\color{coscolor}\cos \alpha}$
    } (intersection of 0,0--30:1cm and 1,0--1,1) coordinate (t);

  \draw (0,0) -- (t);

  \draw[xshift=1.85cm] node [right,text width=6cm,style=information text]
    {
      The {\color{anglecolor} angle $\alpha$} is $30^\circ$ in the
      example ($\pi/6$ in radians). The {\color{sincolor}sine of
        $\alpha$}, which is the height of the red line, is
      \[
      {\color{sincolor} \sin \alpha} = 1/2.
      \]
      By the Theorem of Pythagoras we have ${\color{coscolor}\cos^2 \alpha} +
      {\color{sincolor}\sin^2\alpha} =1$. Thus the length of the blue
      line, which is the {\color{coscolor}cosine of $\alpha$}, must be
      \[
      {\color{coscolor}\cos\alpha} = \sqrt{1 - 1/4} = \textstyle
      \frac{1}{2} \sqrt 3.
      \]%
      This shows that {\color{tancolor}$\tan \alpha$}, which is the
      height of the orange line, is
      \[
      {\color{tancolor}\tan\alpha} = \frac{{\color{sincolor}\sin
          \alpha}}{\color{coscolor}\cos \alpha} = 1/\sqrt 3.
      \]%
    };
\end{tikzpicture}

\newpage

\def\iangle{35} % Angle of the inclined plane

\def\down{-90}
\def\arcr{0.5cm} % Radius of the arc used to indicate angles

\begin{tikzpicture}[
    force/.style={>=latex,draw=blue,fill=blue},
    axis/.style={densely dashed,gray,font=\small},
    M/.style={rectangle,draw,fill=lightgray,minimum size=0.5cm,thin},
    m/.style={rectangle,draw=black,fill=lightgray,minimum size=0.3cm,thin},
    plane/.style={draw=black,fill=blue!10},
    string/.style={draw=red, thick},
    pulley/.style={thick},
]

\matrix[column sep=1cm] {
    %% Sketch
    \draw[plane] (0,-1) coordinate (base)
                     -- coordinate[pos=0.5] (mid) ++(\iangle:3) coordinate (top)
                     |- (base) -- cycle;
    \path (mid) node[M,rotate=\iangle,yshift=0.25cm] (M) {};
    \draw[pulley] (top) -- ++(\iangle:0.25) circle (0.25cm)
                   ++ (90-\iangle:0.5) coordinate (pulley);
    \draw[string] (M.east) -- ++(\iangle:1.5cm) arc (90+\iangle:0:0.25)
                  -- ++(0,-1) node[m] {};

    \draw[->] (base)++(\arcr,0) arc (0:\iangle:\arcr);
    \path (base)++(\iangle*0.5:\arcr+5pt) node {$\alpha$};
    %%

&
    %% Free body diagram of M
    \begin{scope}[rotate=\iangle]
        \node[M,transform shape] (M) {};
        % Draw axes and help lines

        {[axis,->]
            \draw (0,-1) -- (0,2) node[right] {$+y$};
            \draw (M) -- ++(2,0) node[right] {$+x$};
            % Indicate angle. The code is a bit awkward.

            \draw[solid,shorten >=0.5pt] (\down-\iangle:\arcr)
                arc(\down-\iangle:\down:\arcr);
            \node at (\down-0.5*\iangle:1.3*\arcr) {$\alpha$};
        }

        % Forces
        {[force,->]
            % Assuming that Mg = 1. The normal force will therefore be cos(alpha)
            \draw (M.center) -- ++(0,{cos(\iangle)}) node[above right] {$N$};
            \draw (M.west) -- ++(-1,0) node[left] {$f_R$};
            \draw (M.east) -- ++(1,0) node[above] {$T$};
        }

    \end{scope}
    % Draw gravity force. The code is put outside the rotated
    % scope for simplicity. No need to do any angle calculations. 
    \draw[force,->] (M.center) -- ++(0,-1) node[below] {$Mg$};
    %%

&
    %%%
    % Free body diagram of m
    \node[m] (m) {};
    \draw[axis,->] (m) -- ++(0,-2) node[left] {$+$};
    {[force,->]
        \draw (m.north) -- ++(0,1) node[above] {$T'$};
        \draw (m.south) -- ++(0,-1) node[right] {$mg$};
    }

\\
};
\end{tikzpicture}

\newpage

\begin{tikzpicture}[domain=0:4]
    \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
    \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
    \draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
    \draw[color=red] plot[id=x] function{x} 
        node[right] {$f(x) =x$};
    \draw[color=blue] plot[id=sin] function{sin(x)} 
        node[right] {$f(x) = \sin x$};
    \draw[color=orange] plot[id=exp] function{0.05*exp(x)} 
        node[right] {$f(x) = \frac{1}{20} \mathrm e^x$};
\end{tikzpicture}

\newpage 


\begin{tikzpicture}[level/.style={sibling distance=60mm/#1}]
\node [circle,draw] (z){$n$}
  child {node [circle,draw] (a) {$\frac{n}{2}$}
    child {node [circle,draw] (b) {$\frac{n}{2^2}$}
      child {node {$\vdots$}
        child {node [circle,draw] (d) {$\frac{n}{2^k}$}}
        child {node [circle,draw] (e) {$\frac{n}{2^k}$}}
      } 
      child {node {$\vdots$}}
    }
    child {node [circle,draw] (g) {$\frac{n}{2^2}$}
      child {node {$\vdots$}}
      child {node {$\vdots$}}
    }
  }
  child {node [circle,draw] (j) {$\frac{n}{2}$}
    child {node [circle,draw] (k) {$\frac{n}{2^2}$}
      child {node {$\vdots$}}
      child {node {$\vdots$}}
    }
  child {node [circle,draw] (l) {$\frac{n}{2^2}$}
    child {node {$\vdots$}}
    child {node (c){$\vdots$}
      child {node [circle,draw] (o) {$\frac{n}{2^k}$}}
      child {node [circle,draw] (p) {$\frac{n}{2^k}$}
        child [grow=right] {node (q) {$=$} edge from parent[draw=none]
          child [grow=right] {node (q) {$O_{k = \lg n}(n)$} edge from parent[draw=none]
            child [grow=up] {node (r) {$\vdots$} edge from parent[draw=none]
              child [grow=up] {node (s) {$O_2(n)$} edge from parent[draw=none]
                child [grow=up] {node (t) {$O_1(n)$} edge from parent[draw=none]
                  child [grow=up] {node (u) {$O_0(n)$} edge from parent[draw=none]}
                }
              }
            }
            child [grow=down] {node (v) {$O(n \cdot \lg n)$}edge from parent[draw=none]}
          }
        }
      }
    }
  }
};
\path (a) -- (j) node [midway] {+};
\path (b) -- (g) node [midway] {+};
\path (k) -- (l) node [midway] {+};
\path (k) -- (g) node [midway] {+};
\path (d) -- (e) node [midway] {+};
\path (o) -- (p) node [midway] {+};
\path (o) -- (e) node (x) [midway] {$\cdots$}
  child [grow=down] {
    node (y) {$O\left(\displaystyle\sum_{i = 0}^k 2^i \cdot \frac{n}{2^i}\right)$}
    edge from parent[draw=none]
  };
\path (q) -- (r) node [midway] {+};
\path (s) -- (r) node [midway] {+};
\path (s) -- (t) node [midway] {+};
\path (s) -- (l) node [midway] {=};
\path (t) -- (u) node [midway] {+};
\path (z) -- (u) node [midway] {=};
\path (j) -- (t) node [midway] {=};
\path (y) -- (x) node [midway] {$\Downarrow$};
\path (v) -- (y)
  node (w) [midway] {$O\left(\displaystyle\sum_{i = 0}^k n\right) = O(k \cdot n)$};
\path (q) -- (v) node [midway] {=};
\path (e) -- (x) node [midway] {+};
\path (o) -- (x) node [midway] {+};
\path (y) -- (w) node [midway] {$=$};
\path (v) -- (w) node [midway] {$\Leftrightarrow$};
\path (r) -- (c) node [midway] {$\cdots$};
\end{tikzpicture}



\newpage 


\begin{tikzpicture}
[->,>=stealth',shorten >=1pt,auto,node distance=2.8cm,semithick]

  \tikzstyle{every state}=[draw=black,fill=white]
  \tikzstyle{initial}=[double]
  
  \node[initial,state] (A)                    {$q_a$};
  \node[state]         (B) [above right of=A] {$q_b$};
  \node[state]         (D) [below right of=A] {$q_d$};
  \node[state]         (C) [below right of=B] {$q_c$};
  \node[state]         (E) [below of=D]       {$q_e$};

  \path (A) edge              node {0,1,L} (B)
            edge              node {1,1,R} (C)
        (B) edge [loop above] node {1,1,L} (B)
            edge              node {0,1,L} (C)
        (C) edge              node {0,1,L} (D)
            edge [bend left]  node {1,0,R} (E)
        (D) edge [loop below] node {1,1,R} (D)
            edge              node {0,1,R} (A)
        (E) edge [bend left]  node {1,0,R} (A);
\end{tikzpicture}

\end{document}


================================================
FILE: 006_LaTex_Presentation_beamer/README.md
================================================
# LaTeX-For-Everyone-and-Everything
LaTeX For Everyone and Everything, published by Packt


================================================
FILE: 006_LaTex_Presentation_beamer/beamer-first.tex
================================================
\documentclass{beamer}
\usepackage[utf8]{inputenc}

\usetheme{Madrid}
\usecolortheme{default}

%------------------------------------------------------------
%This block of code defines the information to appear in the
%Title page
\title[About Beamer] %optional
{About the Beamer class in presentation making}

\subtitle{A short story}

\author[Milaan, Nina] % (optional)
{P.~Milaan\inst{1} \and P.~Nina\inst{2}}

\institute[VFU] % (optional)
{
  \inst{1}%
  Faculty of Physics\\
  Very Famous University
  \and
  \inst{2}%
  Faculty of Chemistry\\
  Very Famous University
}

\date[VLC 2021] % (optional)
{Very Large Conference, August 2021}

%\logo{\includegraphics[height=1cm]{overleaf-logo}}

%End of title page configuration block
%------------------------------------------------------------



%------------------------------------------------------------
%The next block of commands puts the table of contents at the 
%beginning of each section and highlights the current section:

\AtBeginSection[]
{
  \begin{frame}
    \frametitle{Table of Contents}
    \tableofcontents[currentsection]
  \end{frame}
}
%------------------------------------------------------------


\begin{document}

%The next statement creates the title page.
\frame{\titlepage}


%---------------------------------------------------------
%This block of code is for the table of contents after
%the title page
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents
\end{frame}
%---------------------------------------------------------


\section{First section}

%---------------------------------------------------------
%Changing visivility of the text
\begin{frame}
\frametitle{Sample frame title}
This is a text in second frame. For the sake of showing an example.

\begin{itemize}
    \item<1-> Text visible on slide 1
    \item<2-> Text visible on slide 2
    \item<3> Text visible on slides 3
    \item<4-> Text visible on slide 4
\end{itemize}
\end{frame}

%---------------------------------------------------------


%---------------------------------------------------------
%Example of the \pause command
\begin{frame}
In this slide \pause

the text will be partially visible \pause

And finally everything will be there
\end{frame}
%---------------------------------------------------------

\section{Second section}

%---------------------------------------------------------
%Highlighting text
\begin{frame}
\frametitle{Sample frame title}

In this slide, some important text will be
\alert{highlighted} because it's important.
Please, don't abuse it.

\begin{block}{Remark}
Sample text
\end{block}

\begin{alertblock}{Important theorem}
Sample text in red box
\end{alertblock}

\begin{examples}
Sample text in green box. The title of the block is ``Examples".
\end{examples}
\end{frame}
%---------------------------------------------------------


%---------------------------------------------------------
%Two columns
\begin{frame}
\frametitle{Two-column slide}

\begin{columns}

\column{0.5\textwidth}
This is a text in first column.
$$E=mc^2$$
\begin{itemize}
\item First item
\item Second item
\end{itemize}

\column{0.5\textwidth}
This text will be in the second column
and on a second tought this is a nice looking
layout in some cases.
\end{columns}
\end{frame}
%---------------------------------------------------------


\end{document}

================================================
FILE: 007_LaTex_tikz/README.md
================================================
# LaTeX-For-Everyone-and-Everything
LaTeX For Everyone and Everything, published by Packt


================================================
FILE: 007_LaTex_tikz/tikz.tex
================================================
\documentclass[tikz, border=0.2cm]{standalone}

\begin{document}
	
\begin{tikzpicture}
\tikzset{
	node/.style = {
		draw, circle, 
		fill=blue!5
	},
	hmid/.style={
		fill=gray!5
	},
	every edge/.style={
		draw, thin
	},
}

% manual labor
\node [node, hmid] (h1) at (2, 3) {  $h^1$ };
\node [node, hmid] (h2) at (4, 3) {  $h^2$ };

\node [node] (x1) at (2, 0) {$x_1$};
\node [node] (x2) at (4, 0) {$x_2$};

\path (h1) edge [draw] (x1);
\path (h1) edge [draw] (x2);
\path (h2) edge [draw] (x1);
\path (h2) edge [draw] (x2);


% draw the nodes 
\foreach \i in {1,...,3}
{
  \node[node, hmid] (h\i) at (\i*2, 3) {$h^\i$};
  \node[node] (x\i) at (\i*2, 0) {$x_\i$};
}


% attach them 
\foreach \i in {1,...,3}{
  \foreach \v in {1,...,3}{
    \path (h\i) edge (x\v);
  }
}


\end{tikzpicture}
	
	
\end{document}


================================================
FILE: 008_LaTex_Gantt_Chart/README.md
================================================
# LaTeX-For-Everyone-and-Everything
LaTeX For Everyone and Everything, published by Packt


================================================
FILE: 008_LaTex_Gantt_Chart/proposal-gantt-complete.tex
================================================
\documentclass[border=12pt]{standalone}
\usepackage{gantt}

\newcommand{\defcolor}{red}

\begin{document}

 \begin{gantt}[drawledgerline=true]{11}{24}
 	% vertical, horizontal 'boxes'

    \begin{ganttitle}
      \numtitle{2012}{3}{2012}{10}
      % start, label, width 
      \numtitle{2013}{1}{2013}{12}
      \numtitle{2014}{1}{2014}{2}
    \end{ganttitle}

    \begin{ganttitle}
      \numtitle{3}{1}{12}{1}
      % start, skip, end, width 
      
      \numtitle{1}{1}{12}{1}
      \numtitle{1}{1}{2}{1}
    \end{ganttitle}

    \ganttmilestone{Proposal Defense}{0} % Label, position
    
    %=======================================
    \ganttgroup{Background Study}{0}{6} % start, width 
    \ganttbar[color=\defcolor]{Android Security}{0}{3}
    \ganttbarcon[color=\defcolor]{Code Analysis}{3}{2}
    \ganttbarcon[color=\defcolor]{Policy Mechanisms}{5}{1}
    \ganttmilestonecon{Literature Review Complete}{6}
    % notice the 'con' at the end -- for continue 
    
    %=======================================
    
    \ganttbarcon[color=\defcolor]{
    	\textbf{Formal Specification} % can format labels!
    }{6}{6}
    \ganttmilestonecon{Spec Document}{12}
	


    %=======================================
    \ganttbar[color=blue]{Thesis and Paper Writing}{0}{24}
  \end{gantt}
  
\end{document}

================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2021 milaan9

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


================================================
FILE: README.md
================================================
<p align="center"> 
<a href="https://github.com/milaan9"><img src="https://img.shields.io/static/v1?logo=github&label=maintainer&message=milaan9&color=ff3300" alt="Last Commit"/></a> 
<!--<img src="https://badges.pufler.dev/created/milaan9/LaTeX4Everyone" alt="Created"/>-->
<!--<a href="https://github.com/milaan9/LaTeX4Everyone/graphs/commit-activity"><img src="https://img.shields.io/github/last-commit/milaan9/LaTeX4Everyone.svg?colorB=ff8000&style=flat" alt="Last Commit"/> </a>-->
<a href="https://github.com/milaan9/LaTeX4Everyone/pulse" alt="Activity"><img src="https://img.shields.io/github/commit-activity/m/milaan9/LaTeX4Everyone.svg?colorB=teal&style=flat" /></a> 
<a href="https://hits.seeyoufarm.com"><img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fmilaan9%2FLaTeX4Everyone&count_bg=%231DC92C&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=views&edge_flat=false"/></a>
<a href="https://github.com/milaan9/LaTeX4Everyone/stargazers"><img src="https://img.shields.io/github/stars/milaan9/LaTeX4Everyone.svg?colorB=1a53ff" alt="Stars Badge"/></a>
<a href="https://github.com/milaan9/LaTeX4Everyone/network/members"><img src="https://img.shields.io/github/forks/milaan9/LaTeX4Everyone" alt="Forks Badge"/> </a>
<img src="https://img.shields.io/github/repo-size/milaan9/LaTeX4Everyone.svg?colorB=CC66FF&style=flat" alt="Size"/>
<a href="https://github.com/milaan9/LaTeX4Everyone/pulls"><img src="https://img.shields.io/github/issues-pr/milaan9/LaTeX4Everyone.svg?colorB=yellow&style=flat" alt="Pull Requests Badge"/></a>
<a href="https://github.com/milaan9/LaTeX4Everyone/issues"><img src="https://img.shields.io/github/issues/milaan9/LaTeX4Everyone.svg?colorB=yellow&style=flat" alt="Issues Badge"/></a>
<img src="https://img.shields.io/github/languages/top/milaan9/LaTeX4Everyone.svg?colorB=996600&style=flat" alt="Language"/></a>
<a href="https://github.com/milaan9/LaTeX4Everyone/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-blueviolet.svg" alt="MIT License"/></a> 
</p> 
<!--<img src="https://badges.pufler.dev/contributors/milaan9/01_Python_Introduction?size=50&padding=5&bots=true" alt="milaan9"/>-->

<p align="center"> 
<a href="https://mybinder.org/v2/gh/milaan9/LaTeX4Everyone/HEAD"><img src="https://mybinder.org/badge_logo.svg" alt="binder"/></a>
<a href="https://githubtocolab.com/milaan9/LaTeX4Everyone"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="colab"/></a> 
</p>     
 
# LaTeX4Everyone - A document preparation system
**[![LaTex](https://img.shields.io/badge/LaTeX-47A141?style=flat&logo=LaTeX&logoColor=white)](https://www.latex-project.org/)** is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents. LaTeX is available as **[free software](https://www.latex-project.org/lppl/)**.

## Introduction 👋

With LaTeX, you can also create professional documents and presentations. If you are a student, researcher, Data Scientist, or any kind of scientist or professional in general, then it is not bad idea if you have things documented with LaTeX. Yes, every scientist or engineer needs to know math, and there isn't anything better for writing math than LaTeX.

---

## Table of contents 📋

| **No.** | **Name** | 
| ------- | -------- | 
| 01 | **[LaTex_Begin](https://github.com/milaan9/LaTeX4Everyone/tree/main/001_LaTex_Begin)** - Basics of creating a document |
| 02 | **[LaTex_First_Doc](https://github.com/milaan9/LaTeX4Everyone/tree/main/002_LaTex_First_Doc)** - Including Graphics and Tables |
| 03 | **[LaTex_Using_Bib_and_Conference_style](https://github.com/milaan9/LaTeX4Everyone/tree/main/003_LaTex_Using_Bib_and_Conference_style)** - Citations and references | 
| 04 | **[LaTex_Typesetting_Mathematics](https://github.com/milaan9/LaTeX4Everyone/tree/main/004_LaTex_Typesetting_Mathematics)** - Mathematics and algorithm | 
| 05 | **[LaTex_Algorithm_FancyVerbatimOutput_ListingOutput](https://github.com/milaan9/LaTeX4Everyone/tree/main/005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput)** - Tips to make your documents stand out | 
| 06 | **[LaTex_Presentation_beamer](https://github.com/milaan9/LaTeX4Everyone/tree/main/006_LaTex_Presentation_beamer)** - Presentations in LaTeX | 
| 07 | **[LaTex_tikz](https://github.com/milaan9/LaTeX4Everyone/tree/main/007_LaTex_tikz)** - TikZ (Drawing figures in LaTeX) |
| 08 | **[LaTex_Gantt_Chart](https://github.com/milaan9/LaTeX4Everyone/tree/main/008_LaTex_Gantt_Chart)** - Time line | 
|    | **[LaTeX4Everyone](https://github.com/milaan9/LaTeX4Everyone/blob/main/LaTeX4Everyone.zip)** - All complete files |


These are online **read-only** versions. However you can **`Run ▶`**  all the codes **online** by clicking here ➞ <a href="https://mybinder.org/v2/gh/milaan9/LaTeX4Everyone/HEAD"><img src="https://mybinder.org/badge_logo.svg" alt="binder"/></a>

---

## Frequently asked questions ❔

### How can I thank you for writing and sharing this tutorial? 🌷

You can <img src="https://img.shields.io/static/v1?label=%E2%AD%90 Star &message=if%20useful&style=style=flat&color=blue" alt="Star Badge"/> and <img src="https://img.shields.io/static/v1?label=%E2%B5%96 Fork &message=if%20useful&style=style=flat&color=blue" alt="Fork Badge"/> Starring and Forking is free for you, but it tells me and other people that it was helpful and you like this tutorial.

Go [**`here`**](https://github.com/milaan9/06_Python_Object_Class) if you aren't here already and click ➞ **`✰ Star`** and **`ⵖ Fork`** button in the top right corner. You'll be asked to create a GitHub account if you don't already have one.

---

### How can I read this tutorial without an Internet connection? <img alt="GIF" src="https://github.com/TheDudeThatCode/TheDudeThatCode/blob/master/Assets/hmm.gif" width="20" />

1. Go [**`here`**](https://github.com/milaan9/06_Python_Object_Class) and click the big green ➞ **`Code`** button in the top right of the page, then click ➞ [**`Download ZIP`**](https://github.com/milaan9/06_Python_Object_Class/archive/refs/heads/main.zip).

    ![Download ZIP](img/dnld_rep.png)

2. Extract the ZIP and open it. Unfortunately I don't have any more specific instructions because how exactly this is done depends on which operating system you run.
    
If you have git and you know how to use it, you can also clone the repository instead of downloading a zip and extracting it. An advantage with doing it this way is that you don't need to download the whole tutorial again to get the latest version of it, all you need to do is to pull with git and run ipython notebook again.

---

## Authors ✍️

I'm Dr. Milaan Parmar and I have written this tutorial. If you think you can add/correct/edit and enhance this tutorial you are most welcome🙏

See [github's contributors page](https://github.com/milaan9/06_Python_Object_Class/graphs/contributors) for details.

If you have trouble with this tutorial please tell me about it by [Create an issue on GitHub](https://github.com/milaan9/04_Python_Functions/issues/new). and I'll make this tutorial better. This is probably the best choice if you had trouble following the tutorial, and something in it should be explained better. You will be asked to create a GitHub account if you don't already have one.

If you like this tutorial, please [give it a ⭐ star](https://github.com/milaan9/06_Python_Object_Class).

---

## Licence 📜

You may use this tutorial freely at your own risk. See [LICENSE](./LICENSE).


Download .txt
gitextract_u481msev/

├── 001_LaTex_Begin/
│   ├── README.md
│   └── first-doc.tex
├── 002_LaTex_First_Doc/
│   ├── README.md
│   ├── first-doc.tex
│   └── subfile.tex
├── 003_LaTex_Using_Bib_and_Conference_style/
│   ├── README.md
│   ├── bibfile.bib
│   ├── second-doc.tex
│   └── third-doc.tex
├── 004_LaTex_Typesetting_Mathematics/
│   ├── README.md
│   └── math-doc.tex
├── 005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/
│   ├── README.md
│   ├── algorithm-doc.tex
│   ├── fancyvrb-doc.tex
│   ├── listing-doc.tex
│   └── math-graph.tex
├── 006_LaTex_Presentation_beamer/
│   ├── README.md
│   └── beamer-first.tex
├── 007_LaTex_tikz/
│   ├── README.md
│   └── tikz.tex
├── 008_LaTex_Gantt_Chart/
│   ├── README.md
│   └── proposal-gantt-complete.tex
├── LICENSE
└── README.md
Condensed preview — 24 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (46K chars).
[
  {
    "path": "001_LaTex_Begin/README.md",
    "chars": 33,
    "preview": "# LaTeX4Everyone\n\nLaTeX4Everyone\n"
  },
  {
    "path": "001_LaTex_Begin/first-doc.tex",
    "chars": 71,
    "preview": "\\documentclass{article}\n\n\n\\begin{document}\n\tHello world!\n\\end{document}"
  },
  {
    "path": "002_LaTex_First_Doc/README.md",
    "chars": 90,
    "preview": "# LaTeX-For-Everyone-and-Everything\nLaTeX For Everyone and Everything, published by Packt\n"
  },
  {
    "path": "002_LaTex_First_Doc/first-doc.tex",
    "chars": 2541,
    "preview": "\\documentclass{article} \n\\usepackage{graphicx}\n\n\\begin{document}\n\\title{My First LaTeX Document}\n\\author{Dr. Milaan Parm"
  },
  {
    "path": "002_LaTex_First_Doc/subfile.tex",
    "chars": 142,
    "preview": "\\subsection{Sub section through input command}\nThis comes from a separate file. Notice that I have this subsection inclu"
  },
  {
    "path": "003_LaTex_Using_Bib_and_Conference_style/README.md",
    "chars": 90,
    "preview": "# LaTeX-For-Everyone-and-Everything\nLaTeX For Everyone and Everything, published by Packt\n"
  },
  {
    "path": "003_LaTex_Using_Bib_and_Conference_style/bibfile.bib",
    "chars": 1284,
    "preview": "@article{nauman2011using,\r\n  title={Using trusted computing for privacy preserving keystroke-based authentication in sma"
  },
  {
    "path": "003_LaTex_Using_Bib_and_Conference_style/second-doc.tex",
    "chars": 1393,
    "preview": "\\documentclass{article}\n\n\\begin{document}\n\\title{Using Bibliogrpahies in \\LaTeX}\n\\author{Dr. Milaan Parmar}\n\\maketitle\n\n"
  },
  {
    "path": "003_LaTex_Using_Bib_and_Conference_style/third-doc.tex",
    "chars": 4604,
    "preview": "\\documentclass[twocolumn]{article}\n\\usepackage{latex8}\n\n\\begin{document}\n\\title{Using Conference Styles with \\LaTeX}\n\\au"
  },
  {
    "path": "004_LaTex_Typesetting_Mathematics/README.md",
    "chars": 90,
    "preview": "# LaTeX-For-Everyone-and-Everything\nLaTeX For Everyone and Everything, published by Packt\n"
  },
  {
    "path": "004_LaTex_Typesetting_Mathematics/math-doc.tex",
    "chars": 3064,
    "preview": "\\documentclass{article}\n\\usepackage{amsmath}\n\n\\newcommand{\\flow}{\\rightleftharpoons}\n\n\\begin{document}\n\\title{Typesettin"
  },
  {
    "path": "005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/README.md",
    "chars": 90,
    "preview": "# LaTeX-For-Everyone-and-Everything\nLaTeX For Everyone and Everything, published by Packt\n"
  },
  {
    "path": "005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/algorithm-doc.tex",
    "chars": 816,
    "preview": "\\documentclass{article}\n\\usepackage{algorithm}\n\\usepackage{algorithmic}\n\n\\begin{document}\n\\title{Algorithms in \\LaTeX}\n\\"
  },
  {
    "path": "005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/fancyvrb-doc.tex",
    "chars": 498,
    "preview": "\\documentclass{article}\n\\usepackage{fancyvrb}\n\n\n\\begin{document}\n\\title{Fancy Verbatim Outputs in \\LaTeX}\n\\author{Dr. Mi"
  },
  {
    "path": "005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/listing-doc.tex",
    "chars": 608,
    "preview": "\\documentclass{article}\n%\\usepackage{geometry}\n\\usepackage{listings}\n\n\\usepackage[T1]{fontenc}\n\\usepackage{lmodern}\n\n\\be"
  },
  {
    "path": "005_LaTex_Algorithm_FancyVerbatimOutput_ListingOutput/math-graph.tex",
    "chars": 11937,
    "preview": "\\documentclass{article}\r\n%\\usepackage{algorithm}\r\n%\\usepackage{algorithmic}\r\n\\usepackage{geometry}\r\n\\usepackage{tikz}\r\n\r"
  },
  {
    "path": "006_LaTex_Presentation_beamer/README.md",
    "chars": 90,
    "preview": "# LaTeX-For-Everyone-and-Everything\nLaTeX For Everyone and Everything, published by Packt\n"
  },
  {
    "path": "006_LaTex_Presentation_beamer/beamer-first.tex",
    "chars": 3347,
    "preview": "\\documentclass{beamer}\n\\usepackage[utf8]{inputenc}\n\n\\usetheme{Madrid}\n\\usecolortheme{default}\n\n%------------------------"
  },
  {
    "path": "007_LaTex_tikz/README.md",
    "chars": 90,
    "preview": "# LaTeX-For-Everyone-and-Everything\nLaTeX For Everyone and Everything, published by Packt\n"
  },
  {
    "path": "007_LaTex_tikz/tikz.tex",
    "chars": 807,
    "preview": "\\documentclass[tikz, border=0.2cm]{standalone}\n\n\\begin{document}\n\t\n\\begin{tikzpicture}\n\\tikzset{\n\tnode/.style = {\n\t\tdraw"
  },
  {
    "path": "008_LaTex_Gantt_Chart/README.md",
    "chars": 90,
    "preview": "# LaTeX-For-Everyone-and-Everything\nLaTeX For Everyone and Everything, published by Packt\n"
  },
  {
    "path": "008_LaTex_Gantt_Chart/proposal-gantt-complete.tex",
    "chars": 1308,
    "preview": "\\documentclass[border=12pt]{standalone}\n\\usepackage{gantt}\n\n\\newcommand{\\defcolor}{red}\n\n\\begin{document}\n\n \\begin{gantt"
  },
  {
    "path": "LICENSE",
    "chars": 1064,
    "preview": "MIT License\n\nCopyright (c) 2021 milaan9\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof"
  },
  {
    "path": "README.md",
    "chars": 7624,
    "preview": "<p align=\"center\"> \n<a href=\"https://github.com/milaan9\"><img src=\"https://img.shields.io/static/v1?logo=github&label=ma"
  }
]

About this extraction

This page contains the full source code of the milaan9/LaTeX4Everyone GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 24 files (40.8 KB), approximately 13.4k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!