Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.
- \documentclass{article}
- \usepackage{lipsum} % for generating dummy text
- \usepackage{fancyhdr} % for header and footer
- % Header and footer settings
- \pagestyle{fancy}
- \fancyhf{}
- \rhead{Title of Document}
- \lfoot{Vemana Institute of Technology}
- \rfoot{\thepage}
- \begin{document}
- \section{Section1}
- \lipsum[1] % generates dummy text
- \section{Section2}
- \lipsum[2] % generates dummy text
- \end{document}
- 2.
- \documentclass{article}
- % Set page margins
- \usepackage[margin=1in]{geometry}
- \begin{document}
- \title{Sample Abstract}
- \author{Your Name}
- \date{\today}
- \maketitle
- \section*{Abstract}
- An abstract is a short summary of your completed research. It is intended to describe your work without going into great detail. Abstracts should be self-contained and concise, explaining your work as briefly and clearly as possible. An abstract lets readers get the gist or essence of your paper or article quickly, in order to decide whether to read the full paper.
- \textbf{Keywords:} abstract, summary, LaTeX
- \end{document}
- 3.
- \documentclass[12pt]{report}
- \usepackage{graphicx}
- \begin{document}
- \begin{titlepage}
- \centering
- \includegraphics[width=0.15\textwidth]{vtu logo.png}\\[1cm] % University Logo
- \textsc{\LARGE Visvesvaraya Technological University}\\[1.5cm] % University Name
- \textsc{\Large Project Report}\\[0.5cm] % Document Type
- \rule{\linewidth}{0.2 mm} \\[0.4 cm]
- { \huge \bfseries Title of Your Project}\\
- \rule{\linewidth}{0.2 mm} \\[1.5 cm]
- \textsc{\large Your Name}\\[0.5cm] % Author Name
- \textsc{\large Department of Your Department}\\[0.5cm] % Department Name
- \textsc{\large Your College Name}\\[0.5cm] % College Name
- {\large \today}\\[2 cm] % Date
- \vfill
- \end{titlepage}
- \end{document}
- 4.
- \documentclass[16pt]{scrartcl}
- \usepackage[a4paper,left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
- \usepackage{pdflscape,setspace,amsmath,amssymb}
- \usepackage[utf8]{inputenc}
- \usepackage[T1]{fontenc}
- \usepackage{calligra}
- \usepackage{tgschola}
- \usepackage{fourier-orns}
- \usepackage{graphicx}
- \usepackage{wallpaper}
- \usepackage[normalem]{ulem}
- \usepackage{charter}
- \usepackage{microtype}
- \hyphenpenalty 100000
- % Define your certificate content here
- \newcommand{\certificateTitle}{\emph{\LARGE Certificate}}
- \newcommand{\certificateText}{%
- This is to certify that this is a bonafide record of the project presented by the
- students whose names are given below during \textless Monsoon/Winter and
- Year here\textgreater{} in partial fulfillment of the requirements of the degree
- of Bachelor of Technology in Computer Science and Engineering.
- }
- % Define the signature lines
- \def\signature#1#2{%
- \parbox[b]{1in}{\smash{#1}\vskip12pt} \hfill
- \parbox[t]{2.8in}{\shortstack{\vrule width 2.8in height 0.4pt\\\small#2}}}
- \def\sigskip{\vskip0.4in plus 0.1in}
- \def\beginskip{\vskip0.5875in plus 0.1in}
- \begin{document}
- \begin{center}
- \LARGE\textsc{Vemana Institute of Technology }\\[0.5cm]
- \large{Department of Computer Science and Engineering}\\[2.0cm]
- \emph{\certificateTitle}\\[2.5cm]
- \end{center}
- \normalsize
- \certificateText
- \begin{table}[h]
- \centering
- \begin{tabular}{lr}
- Roll No & Names of Students \\
- \hline
- <Roll no here> & <Name here> \\
- <Roll no here> & <Name here> \\
- <Roll no here> & <Name here> \\
- \end{tabular}
- \end{table}
- \vfill
- \begin{flushright}
- Ms. Sneha Zolgikar\\
- (Project Guide)\\[1.5cm]
- Dr. Ramakrishna M\\
- (Course Coordinator)
- \end{flushright}
- \begin{flushleft}
- Date:\today
- \end{flushleft}
- \end{document}
- 5.
- \documentclass{article}
- \usepackage{geometry}
- \usepackage{booktabs}
- \geometry{a4paper, left=2cm, right=2cm, top=2cm, bottom=2cm}
- \begin{document}
- \title{Student Marks Report}
- \author{Your Name}
- \date{\today}
- \maketitle
- \section*{Marks Summary}
- \begin{table}[h]
- \centering
- \begin{tabular}{ccccccc}
- \toprule
- \textbf{S.No} & \textbf{USN} & \textbf{Student Name} &
- \textbf{Subject1} & \textbf{Subject2} & \textbf{Subject3} &
- \textbf{Total Marks} \\
- \midrule
- 1 & 4XX22XX001 & Name 1 & 89 & 60 & 90 & 239 \\
- 2 & 4XX22XX002 & Name 2 & 78 & 45 & 98 & 221 \\
- 3 & 4XX22XX003 & Name 3 & 67 & 55 & 59 & 181 \\
- \bottomrule
- \end{tabular}
- \caption{Student Marks Report}
- \end{table}
- \end{document}
- 6.
- \documentclass{article}
- \usepackage{graphicx}
- \usepackage{caption}
- \begin{document}
- \begin{figure}
- \centering
- \begin{minipage}{.5\textwidth}
- \centering
- \includegraphics[width=.4\linewidth]{f1.jpg}
- \captionof{figure}{A figure}
- \label{fig:test1}
- \end{minipage}%
- \begin{minipage}{.5\textwidth}
- \centering
- \includegraphics[width=.4\linewidth]{f2.jpg}
- \captionof{figure}{Another figure}
- \label{fig:test2}
- \end{minipage}
- \end{figure}
- \end{document}
- 7.
- \documentclass{article}
- \usepackage{amsmath, amssymb}
- \begin{document}
- The quadratic formula:
- \[
- x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
- \]
- Step-wise simplification:
- \[
- = \frac{-2 \pm `\sqrt{2^2 - 4(1)(-8)}}{2 \times 1}
- \]
- \[
- = \frac{-2 \pm \sqrt{4 + 32}}{2}
- \]
- Permutation-related summation:
- \[
- \varphi_{\sigma}^{\lambda} A_t = \sum_{\pi \in C_t} \operatorname{sgn}(\pi) \varphi_{\sigma}^{\lambda} \varphi_{\pi}^{\lambda}
- \]
- \[
- = \sum_{\tau \in C_{\sigma t}} \operatorname{sgn}(\sigma^{-1} \tau \sigma) \varphi_{\sigma}^{\lambda} \varphi_{\sigma^{-1} \tau \sigma}^{\lambda}
- \]
- \[
- = A_{\sigma t} \varphi_{\sigma}^{\lambda}
- \]
- \end{document}
- 8.
- \documentclass{article}
- \usepackage[english]{babel}
- \usepackage{amsthm} % Required for theorem environments
- % Define theorem-like environments
- \newtheorem{theorem}{Theorem}
- \newtheorem{definition}{Definition}
- \newtheorem{corollary}{Corollary}
- \newtheorem{lemma}{Lemma}
- \begin{document}
- \section{Introduction}
- % Example theorem
- \begin{theorem}
- Let \(f\) be a function whose derivative exists in every point, then \(f\) is a
- continuous function.
- \end{theorem}
- % Example corollary (referencing the theorem)
- \begin{corollary}
- There's no right rectangle whose sides measure 3 cm, 4 cm, and 6 cm.
- \end{corollary}
- % Example lemma (also referencing the theorem)
- \begin{lemma}
- Given two line segments whose lengths are \(a\) and \(b\) respectively,
- there is a real number \(r\) such that \(b = ra\).
- \end{lemma}
- \end{document}
- 9.
- \documentclass[10pt]{article}
- \usepackage{cite}
- \title{Bibliography management}
- \author{}
- \date{}
- \begin{document}
- \maketitle
- \section{Introduction}
- In recent years, the study of artificial intelligence (AI) has gained significant
- attention\cite{einstein}. Various fields, such as natural language processing
- (NLP)\cite{dirac},
- computer
- vision\cite{latexcompanion},
- and
- robotics\cite{knuthwebsite}, have seen remarkable advancements. One notable
- development is the creation of large language models like GPT-3 and GPT
- 4\cite{knuth-fa}. These models have shown impressive capabilities in
- understanding and generating human-like text\cite{knuth-acp}.
- \section{Discussion}
- AI is not only transforming industries but also influencing academic
- research\cite{ctan}. Studies have shown that AI can significantly improve the
- efficiency of data analysis and interpretation\cite{Zhang}. Moreover, AI-driven
- tools are being used to tackle complex problems in medicine\cite{Hassouneh} and
- environmental science\cite{Thaher}.
- \begin{thebibliography}{99}
- \bibitem{einstein} Albert Einstein, the electrodynamics of moving bodies, Annalen
- der Physik, 1905.
- \bibitem{dirac} Paul Adrien Maurice Dirac, The Principles of Quantum Mechanics,
- Clarendon Press, 1981.
- \bibitem{latexcompanion} Frank Mittelbach, The \LaTeX\ Companion, Addison
- Wesley, 1993.
- \bibitem{knuthwebsite} Donald Knuth, Knuth: Computers and Typesetting,
- accessed: 01.09.2016, 1992.
- \bibitem{knuth-fa} Donald E. Knuth, Fundamental Algorithms, Addison-Wesley,
- 1973.
- \bibitem{knuth-acp} Donald E. Knuth, The Art of Computer Programming, Four
- volumes, 1968.
- \bibitem{ctan} George D. Greenwade, The {C}omprehensive {T}ex {A}rchive
- {N}etwork ({CTAN}), TUGBoat, 1993.
- \bibitem{Zhang} Min Zhang, The Influence of Deep Learning Algorithms , IEEE
- Access, 2020.
- \bibitem{Hassouneh} Yousef Hassouneh, A Supervised Contrastive Learning
- Approach , IEEE Transactions , 2023.
- \bibitem{Thaher} Thaer Thaher, An Intelligent Ensemble-Based Model, IEEE
- Access, 2021.
- \end{thebibliography}
- \end{document}
- 10.
- \documentclass[border=0.2cm]{standalone}
- \usepackage{tikz}
- \begin{document}
- \begin{tikzpicture}
- [
- level 1/.style = {red, sibling distance = 4cm},
- level 2/.style = {blue, sibling distance = 2.5cm}
- ]
- \node {parent}
- child {node {child 1}
- child {[
- fill] circle (2pt)}
- child {[fill] circle (2pt)}
- edge from parent [dashed]}
- child {node {child 2}
- child {node {grandchild 1}
- child {node {great-grandchild}}}
- child {node {grandchild 2}}
- edge from parent node [right] {x}};
- \end{tikzpicture}
- \end{document}
- 11.
- \documentclass{article}
- \usepackage{algorithm}
- \usepackage{algpseudocode}
- \begin{document}
- \begin{algorithm}
- \caption{An algorithm with caption}\label{alg:cap}
- \begin{algorithmic}
- \Require $n \geq 0$
- \Ensure $y = x^n$
- \State $y \gets 1$
- \State $X \gets x$
- \State $N \gets n$
- \While{$N \neq 0$}
- \If{$N$ is even}
- \State $X \gets X \times X$
- \State $N \gets \frac{N}{2}$ \Comment{This is a comment}
- \ElsIf{$N$ is odd}
- \State $y \gets y \times X$
- \State $N \gets N - 1$
- \EndIf
- \EndWhile
- \end{algorithmic}
- \end{algorithm}
- \end{document}
- 12.
- \documentclass{report}
- \usepackage{fullpage} % Set margins to 1 inch all around
- \renewcommand{\baselinestretch}{2} % Double spacing
- \author{Your Name Here}
- \title{Your Title Here}
- \begin{document}
- \maketitle
- \tableofcontents
- % Add your report content here
- \chapter{Introduction}
- Your introductory text goes here.
- \chapter{Methodology}
- Details about your methodology.
- \chapter{Results}
- Present your findings.
- % Add more chapters or sections as needed
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment