We are the guys guys collaborating on writing a report. I'm responsible for the layout and since the two other guys don't know to much about LateX either, I want to make it simple. We use the report documentclass, but I'd like to modify it a bit. What I what to do is:
1. Remove the chapter heading and replace it with the chapter title:
from:
1 Chapter
Chapter title
to:
1 Chapter title
2. and in appendix: Appendix I - appendix name
from:
Appendix A
appendix title
to:
APPENDIX I - appendix title
Made a .cls file in which i have written:
Code: Select all
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mastersreport}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
\ProcessOptions
\LoadClass{report}
\renewcommand*\@makechapterhead[1]{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\huge\bfseries
\thechapter\space
\fi
#1\par\nobreak
\vskip 40\p@
}}
So, anyone know how to remove the Chapter heading, but not in Appendix and how to rearrange the Appendix layout?
preamble:
Code: Select all
\documentclass[pdftex,10pt,b5paper,twoside]{report}
\usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry}
\usepackage[comma]{natbib}
\usepackage{lmodern}
\usepackage{setspace}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{graphics}
\usepackage{color}
\usepackage{hyperref}