Tagged Questions
7
votes
2answers
82 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
49 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}
...
11
votes
3answers
314 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
282 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
327 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 ...
4
votes
1answer
380 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 ...
6
votes
1answer
99 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
173 views
Using \usebox inside a \newcommand
I have this code:
%Abstracts
\newcommand{\@spanishabstractname}{{\bfseries Resumen}}
\newsavebox\@sabstract
\newenvironment{spanishabstract}{%
...
3
votes
1answer
441 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 ...
15
votes
3answers
769 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
337 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 ...
3
votes
1answer
1k 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 ...
17
votes
5answers
3k 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
324 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 ...
33
votes
5answers
4k 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 ...