段落样式

段落样式

尝试设置模仿 USC 格式的 部分:问题 - 有没有办法设置个人段落样式。即。paragraph section;;paragraph subsection等在每个级别设置(标题(不是)和(未显示)除外)。clauseIndents2emLaTex titles

在此处输入图片描述

可以做类似的事情吗:创建一个paragraph style

"\makeparagraphstyle{secheader}{
    \medskip 
    \leftskip{0pt}}" [  Sec. 2. Definitions ]
"\makeparagraphstyle{sectext}{
    \medskip 
    \leftskip{2em}}" [  In this Act... ]


clause etc..


\documentclass[a4paper,10pt]{book}
\usepackage{fancyhdr}


\usepackage{makeidx}



\begin{document}

\thispagestyle{empty}

\noindent
 \hrulefill
\begin{center}
\textbf{Department of Homeland Security Interoperable Communications Act}
\\(Public  Law 114-29)



This law has not been amended

 \hrulefill
\end{center}
\medskip 
\textsc{\small {AN ACT To amend the Homeland Security Act of 2002 \index{Homeland Security Act of 2002}to require the Under Secretary for Management of the Department of Homeland Security to take administrative action to achieve and maintain interoperable communications capabilities among the components of the Department of Homeland Security, and for other purposes.}}
\medskip 
\\
\textit{Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled, }  
\medskip 

\pagestyle{fancy}
\markright{Sec. 1\hfill DHS Interoperable Communications Act\hfill \thepage}


\medskip 
\setlength{\leftskip}{0pt}}
\noindent
\textsc{\textbf{SECTION 1. Short Title.}}

\setlength{\leftskip}{0pt}}This Act may be cited as the ``Department of Homeland Security Interoperable Communications Act'' or the ``DHS Interoperable Communications Act''. \index{DHS Interoperable Communications Act} \index{Department of Homeland Security Interoperable Communications Act} \index{Interoperable Communications Act}

\pagestyle{fancy}
\markright{Sec. 2\hfill DHS Interoperable Communications Act\hfill \thepage}


\medskip 
\setlength{\leftskip}{0pt}}
\noindent
\textsc{\textbf{Sec. 2. Definitions.}}

In this Act\textemdash

\setlength{\leftskip}{2em}(1) the term ``Department'' means the Department of Homeland Security; \index{Department of Homeland Security}

\setlength{\leftskip}{2em}(2) the term ``interoperable communications'' has the meaning given that term in section 701(d) of the Homeland Security Act of 2002, as added by section 3; and

\setlength{\leftskip}{2em}(3) the term ``Under Secretary for Management'' means the Under Secretary for Management of the Department of Homeland Security. \index{Department of Homeland Security!Under Secretary of Management}

\pagestyle{headings}
\markright{Sec. 3\hfill DHS Interoperable Communications Act\hfill \thepage}


\medskip 
\setlength{\leftskip}{0pt}}
\noindent
\textsc{\textbf{Sec. 3.  Inclusion of Interoperable Communications Capabilities in Responsibilities of Under Secretary for Management.}}

\setlength{\leftskip}{2em}Section 701 of the Homeland Security Act of 2002 (6 U.S.C. 341) \index{6 U.S.C. ! 341} is amended\textemdash
\end{document}

相关内容