Any assistance would be appreciated.I have something like:
Part I
Preliminary
Part II
Principles
BUT, I want to have it like
Part I Preliminary
Part II Principles
etc.
How do I do this?
Thanks.
Tanu
Text Formatting ⇒ Part and Title
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Part and Title
Hi and welcome, can you show a minimal working example with us? A solution t your problem depends on the class and packages related to the formatting.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Part and Title
Code: Select all
\documentclass[11pt]{article} % use larger type; default would be 10pt
\usepackage{amssymb,amsmath}
\usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
%%% PAGE DIMENSIONS
\usepackage{geometry} % to change the page dimensions
\geometry{a4paper} % or letterpaper (US) or a5paper or....
\geometry{margin=0.9in} % for example, change the margins to 2 inches all round
%\geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
\usepackage{graphicx} % support the \includegraphics command and options
\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
%%% PACKAGES
\usepackage{booktabs} % for much better looking tables
\usepackage{array} % for better arrays (eg matrices) in maths
\usepackage{paralist} % very flexible & customisable lists (eg. enumerate/itemize, etc.)
\usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
\usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
\usepackage[singlespacing]{setspace}
% These packages are all incorporated in the memoir class to one degree or another...
%%% HEADERS & FOOTERS
\usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
\pagestyle{fancy} % options: empty , plain , fancy
\renewcommand{\headrulewidth}{1.5pt} % customise the layout...
\lhead {BPS310: Corporate Governance - Fit and Proper Requirements}\chead{}\rhead {June 2016}
\lfoot{}\cfoot{}\rfoot{BPS310-\thepage}
\renewcommand{\footrulewidth}{1.5pt} % customise the layout...
%%% ToC (table of contents) APPEARANCE
\usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
\usepackage[titles,subfigure]{tocloft} % Alter the style of the Table of Contents
\renewcommand{\cftsecfont}{\rmfamily\mdseries\upshape}
\renewcommand{\cftsecpagefont}{\rmfamily\mdseries\upshape} % No bold!
\renewcommand\contentsname{\bf\rmfamily\large ARRANGEMENT OF SECTIONS}
%formatting the table of contents
\setcounter{secnumdepth}{5}
\usepackage[tocflat]{tocstyle}
\settocstylefeature[0]{entryhook}{\rmfamily}
\settocstylefeature[1]{entryhook}{\rmfamily}
\begin{document}
\hrule
\tableofcontents
\newpage
\vspace{-0.5cm}
\part{\bf\rmfamily\large{Preliminary}}
\part{\bf\rmfamily\large{Principles}}
\part{\bf\rmfamily\large{Statement of Policy}}
\part{\bf\rmfamily\large{Effective Date}}
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Part and Title
I am really not sure why you are using parts for this. There might be a much better and simpler solution, that keeps you from trouble later on.
Code: Select all
\documentclass[11pt]{article}
\usepackage{amssymb,amsmath}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{a4paper}
\geometry{margin=0.9in,
headheight=14pt, %JB Added to avoid bad typesetting and the warning
}
\usepackage{graphicx}
\usepackage[parfill]{parskip}
\usepackage{booktabs}
\usepackage{array}
\usepackage{paralist}
\usepackage{verbatim}
\usepackage{subfig}
\usepackage[singlespacing]{setspace}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{1.5pt}
\lhead {BPS310: Corporate Governance - Fit and Proper Requirements}\chead{}\rhead {June 2016}
\lfoot{}\cfoot{}\rfoot{BPS310-\thepage}
\renewcommand{\footrulewidth}{1.5pt}
\usepackage[nottoc,notlof,notlot]{tocbibind}
\usepackage[titles,subfigure]{tocloft}
\renewcommand{\cftsecfont}{\rmfamily\mdseries\upshape}
\renewcommand{\cftsecpagefont}{\rmfamily\mdseries\upshape}
\renewcommand\contentsname{\bf\rmfamily\large ARRANGEMENT OF SECTIONS}
%JB: tocloft customized the toc and other lists, but so does package tocstyle.
% everything you have defined before is overridden.
\setcounter{secnumdepth}{5}
\usepackage[tocflat]{tocstyle}
\settocstylefeature[0]{entryhook}{\rmfamily}
\settocstylefeature[1]{entryhook}{\rmfamily}
\usepackage{titlesec}
\titleformat{\part}{\bfseries\large}{\partname~\thepart}{1em}{}{}
\begin{document}
\hrule
\tableofcontents
\newpage
\vspace{-0.5cm}
\part{Preliminary}
\part{Principles}
\part{Statement of Policy}
\part{Effective Date}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Part and Title
Thanks for the help.
Greatly appreciated.
Greatly appreciated.