7
votes
2answers
135 views

Where can I find definition of starred version of \chapter command to redefine it

General question I need to redefine how starred version of \chapter command (that is \chapter*) works in book class. I found definition of not-starred version of \chapter command in book class: ...
3
votes
1answer
56 views

Issue with custom styles

I am in the middle of writing a much needed report template and have hit more than a wall and cannot seem to figure out why some of the macros aren't loading. The two main files are massive and I ...
1
vote
0answers
139 views

how to add a document class to texstudio

I want to add a new document class to TexStudio. the document class is named "AEA" and is available in this link(the first .zip file below "Please note:") The code will look like this ...
1
vote
0answers
26 views

Classes for profiles

I'd like to create some handouts and documents with keywords for my daily presentations in school. As opposed to the tufte layouts theses documents are only one or two pages long. The handout should ...
4
votes
2answers
148 views

What type of .sty or document class will be good for thesis? [closed]

I am writing my thesis but i want to write it with Latex as my University do not have a document class or .sty as i used to see other university. Could any one know the the .sty that has the under ...
3
votes
0answers
104 views

Row spacing of multi-line paragraph cell in `tabular` in the `res` document class

I was trying to compose my CV (as a mathematician) in LaTeX, and found the document class res on CTAN that appealed to me aesthetically. The cls file for this document class can be found here: ...
1
vote
0answers
167 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 ...
3
votes
0answers
95 views

Class available for law Reports?

Has anyone used LaTeX for writing Expert Witness reports or similar for UK Courts? These have to follow a particular format which would be ideal in Latex but I am a relative newcomer to Latex and ...
5
votes
1answer
126 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}{% ...
2
votes
0answers
141 views

Document class with table in the header

I'm trying to write a document class in which the header of the first page has a table. The header of the following pages should have another table. Well, I solved this problem in the .tex file (user ...
5
votes
1answer
72 views

Is there any other margin I must set to reduce margin to zero?

I have basic class file and I would like to set margins of an a4paper to 0mm. Here is the markup of some-class.cls: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{some-class}[2013/07/29] ...
4
votes
0answers
91 views

Loading a class within a class [duplicate]

I'm trying to develop a set of custom classes. They are all very similar, but each do slightly different things (a custom letter, article and report for example. Since they share things in common, I ...
7
votes
2answers
251 views

New class base on book class with options

I created a class of my own that uses book as base class. \NeedsTeXFormat{LaTeX2e} \ProvidesClass{manuscript}[2013/03/23 Creative writing manuscripts class] \LoadClass[a4paper,12pt,oneside]{book} ...
4
votes
1answer
77 views

Display text on begin document [duplicate]

I'm developing my own documentclass. How can I make some text appear on the beginning of each document with this class? For now I'm working with this in the class: \newcommand{\showAtBegin}{Text} ...
14
votes
3answers
566 views

LaTeX document without \documentclass

I need to create a really simple document template for other people to fill in and compile (e.g., they need to provide a name and email address). I could distribute it as a .cls file and a template ...
2
votes
1answer
560 views

Document Class for Briefing Notes

I was wondering whether there was a document class for briefing notes/memos in LaTeX. If there is not any what is the easiest way of making my own? PS: Sorry, I should have given an example. Here are ...
0
votes
1answer
410 views

modular title pages

How to achieve having modular title pages in latex (xelatex), to only have to change one word in the .tex file and have it changed? All the files must be defined in the project's directory, not ...
6
votes
1answer
125 views

Detect number of pages in custom class

How can I make a conditional in my custom documentclass (based on article) for when the document is only one page long? I need this because when it is only one page, I don't want to put the page ...
2
votes
2answers
255 views

Using \usebox inside a \newcommand

I have this code: %Abstracts \newcommand{\@spanishabstractname}{{\bfseries Resumen}} \newsavebox\@sabstract \newenvironment{spanishabstract}{% ...
3
votes
1answer
736 views

Using fleqn option in a new LaTeX class

I am creating a new LaTeX class, necessarily the equations must be aligned to the left so I use the file fleqn.clo in the class code. The problem is that when using the equation environment the result ...
18
votes
3answers
1k views

Customizing LaTeX - create a document class or a package?

Are there general rules for when to create a document class vs. creating a package to customize LaTeX? Does one have benefits over the other? My specific need is to create a customized page layout, ...
4
votes
2answers
777 views

How to define a table in documentclass?

Consider a simple table in the document: \begin{tabular}{ l c r } 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \\ \end{tabular} How we can define this table within the ...
4
votes
1answer
3k views

How to customize a document class?

In LaTeX, we modify a predefined documentclass to fit our need. I wonder how we can edit the original documentclass (e.g. article) to have our customized properties? I mean which file is responsible ...
22
votes
5answers
6k views

How to write a LaTeX class file for my thesis

I want to design a new LaTeX for my college thesis, so that all students could use it. I have decent understanding of how LaTeX works. I am looking for some nice article explaining how to write a ...
0
votes
1answer
550 views

DocumentClass Writing [duplicate]

Possible Duplicate: Style/class tutorials I am a newbie at LaTeX. But I need start from my own text style in LaTeX. I want to setup page format, margins, paragraphs style, fonts, etc. Can ...
43
votes
5answers
8k views

A cookbook in LaTeX?

I am interested in making a cookbook in LaTeX. Each page will contain a recipe, including ingredients, instructions, and a photo of the finished food. Has this been done previously? Where do I ...