I am trying to create a document style for a large grant proposal. Such a proposal is organized into workpackages and for each workpackage, there need to be 3 sections: "Objectives", "Description" and "Deliverables". Now each of these sections should be framed (I have to follow design guidelines). Hence, I created commands for each of the three sections, for example:
Code: Select all
\newcommand{\workpackageobjectives}[1]{
\fbox{\parbox{\textwidth}{{\bf Objectives}
#1
}}}
I am aware of the way LaTeX handles boxes and that it won't work as described above. I just don't know any other way in which I could solve the problem.
Here are some subproblems, which might also help me on my way to a solution:
1. Is there any way to modify the looks of sections - i.e. framed (surprise!) sections?
2. Is there any way to detect in LateX whether a box would fit on a page (preferably the current)?
3. Is it at all possible to split the text passed as an argument to a command? (I guess not...)
4. Is there a way to modify what the "compiler" does when starting a new line? (Then I could do something like "whenever a new line is started, draw a vertical bar..." or so)
Well, I know this is a lot to ask. But any small hint is very welcome!
Cheers,
Dennis