3
votes
1answer
76 views

Article class complaining about missing \title

I'm making a custom Latex class which I am basing on the article class. When compiling a document I get ! LaTeX Error: No \title given., even though I use \title in the document. How can I solve this ...
1
vote
0answers
176 views

Can I make documentclass{book} look more like a book? [closed]

I am fairly new to LaTeX and am trying to write a book. Being a newbie I plumped for \documentclass{book} because that seemed like the obvious choice but I can't get it to look like a book. I'm fairly ...
2
votes
1answer
222 views

Custom \maketitle in my custom class not working when I use report class

I am trying to write a new class using the report class. In my custom class I have used a custom \maketitle. But it is not working. But it works, if I use article class as my base. My class file is ...
8
votes
1answer
84 views

How to access \@title from a custom class

I was trying to write a custom LaTeX class where I need to access the value of \@title. I wrote \newcommand{\makeack}{Hello World \@title World} But the value of \@title is not printed when I use ...
5
votes
1answer
129 views

Access \@email in a custom LaTeX class

I am trying to customize an article class for my needs. I want to access \email{} in my class but without any success. This is my \maketitlepage section in cls file, \newcommand{\maketitlepage}{% ...
3
votes
2answers
996 views

Default values in \newcommand & renewing \maketitle

I am working on customizing a thesis document class according to my needs. I am trying to renew the \maketitle command to modify my title page, and I am facing two problems: I wish to define a ...
4
votes
1answer
743 views

Access title and author in custom class [duplicate]

Possible Duplicate: Use the values of \title, \author and \date on a custom title page How can I access the title and author in my custom class based on article, so that I can insert them ...
14
votes
1answer
701 views

How does “missing \begin{document}” work?

I would like to know how does LaTeX invoke the error Missing \begin{document}. I would like to reproduce it in the sense of the following MWE (it will become a part of my own document class): ...
4
votes
2answers
697 views

How to make onecolumn/twocolumn parts in a document class?

I have a simple document class adapted from article, but independent (.cls file). The document is twocolumn, but when I add a title with \newcommand\maketitle{\begin{titlepage}% \begin{center}% ...
5
votes
1answer
4k views

Removing extra vertical space in \maketitle with titling package

Consider the following two LaTeX source files: First, manually producing a title using a new environment (eww): \documentclass[a4paper,10pt]{article} \parindent0cm% ...
0
votes
2answers
2k views

Problem with defining a titlepage

I am writing a LaTeX 2e class with two options msc and phd for my department theses/dissertations. In this class, I need to define a titlepage for the first page of the theses/dissertations which ...