Program 2: Develop a script to create a document that displays the
sample Abstract/Summary
• \documentclass{article} — Specifies the type of document. "article" is used
for shorter documents like articles, papers, or short reports.
• \usepackage{lipsum} — Imports the "lipsum" package, which generates
dummy text .
• \title{Sample Document with Abstract/Summary} — Defines the title of the
document.
• \author{Name} — Specifies the author's name.
• \date{\today} — Sets the date to the current date automatically. You can also
specify a custom date.
• \begin{document} — Starts the content of the document. Everything after
this will appear in the final output.
• \maketitle — Generates the title section using the defined title, author, and
date.
• \begin{abstract} — Starts the abstract section, typically a brief summary of
the document.
• \lipsum[1] —dummy text. Replace this with your actual abstract.
• \end{abstract} — Ends the abstract section.
• \end{document} — Marks the end of the document.