ऐसे कई पैकेज हैं जो आप जिन परिणामों को खोज रहे हैं उन्हें प्राप्त करने में आपकी सहायता कर सकते हैं। नीचे दिए गए पैकेज वे हैं जिन्हें मैं पसंद करता हूं, लेकिन ऐसा करने के एक से अधिक तरीके हैं।
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{paulius-article}[2009/02/25 v0.1 Paulius' modified article class]
% Passes and class options to the underlying article class
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
% Load LaTeX's article class with the `titlepage' option so that \maketitle creates a title page, not just a title block
\LoadClass[titlepage]{article}
% Redefine the page margins
% TODO: Adjust margins to your liking
\RequirePackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}
% Remove the numbers from all the headings (\section, \subsection, etc.)
\setcounter{secnumdepth}{-1}
% To modify the heading styles more thoroughly use the titlesec package
%\RequirePackage{titlesec}
% Adjust the title page design
% NOTE: This is the default LaTeX title page -- free free to make it look like whatever you want.
% TODO: Add company name and logo somewhere in here.
\newcommand{\maketitlepage}{%
\null\vfil
\vskip 60\[email protected]
\begin{center}%
{\LARGE \@title \par}%
\vskip 3em%
{\large
\lineskip .75em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1.5em%
{\large \@date \par}% % Set date in \large size.
\end{center}\par
\@thanks
\vfil\null%
\end{titlepage}%
}
% This some before-and-after code that surrounds the title page. It shouldn't need to be modified.
% I've pulled out the part the actually typesets the title page and placed it in the \maketitlepage command above.
\renewcommand\maketitle{\begin{titlepage}%
\let\footnotesize\small%
\let\footnoterule\relax%
\let \footnote \thanks%
\maketitlepage%
\setcounter{footnote}{0}%
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
% TODO: If there are any other article modifications required, add them here.
% That's all, folks!
\endinput
आप हाशिये समायोजित करने के लिए geometry package के लिए दस्तावेज़ को पढ़ने के लिए चाहता हूँ। titlesec package का उपयोग किया जा सकता है यदि आप शीर्षकों की उपस्थिति को संशोधित करना चाहते हैं (केवल संख्याओं को बंद करने के अलावा)।
शीर्षक पृष्ठ लाटेक्स का डिफ़ॉल्ट शीर्षक पृष्ठ है। आपको अपनी कंपनी का नाम और लोगो जोड़ने के लिए इसे संशोधित करने की आवश्यकता होगी। मैंने शीर्षक पृष्ठ से जुड़े सभी अन्य कोडों से "मुद्रित करने के लिए सामान" को अलग कर दिया है। आपको केवल \maketitlepage
कमांड को बदलने की आवश्यकता है। अपने दस्तावेज़ में, शीर्षक पृष्ठ मुद्रित करने के लिए \maketitle
का उपयोग करें।
\documentclass{paulius-article}
\title{My New Document Class}
\author{Paulius}
\usepackage{lipsum}% provides some filler text
\begin{document}
\maketitle% Actually makes a title page
\section{Section Heading}
\subsection{Look no numbers!}
\lipsum[1-10]
\end{document}
मुझे बताएं कि क्या मुझे आपकी कोई भी आवश्यकता याद आई है।
बहुत अच्छा उदाहरण है। मैं अब इस सामान को आजमाउंगा ... धन्यवाद! :) – Paulius