Chapter title in one condition and no title in the other. Is it possible?
I think that the solution might be a very simple one but I spent at least half an hour on this one with no result so I'm asking the experts. A certain document in my book has to have a chapter title in condition A and no title in condition B (The title for condition B is present on another document which won't be used in book A).
First of all, I couldn't find a way to create a line with a title in it for one condition which gets removed for the other condition. Then I thought to create an empty line for the other condition (I was OK with an empty line on top of the page at that time). This causes very complex problems which I can't even describe.
Right now I'm thinking of either creating a line with some empty spaces in it to be used as an anchor for the empty line or maybe utilizing tables just for the purpose of this simple task.
Is there some other simple solution to this issue or am I missing something?
