Search found 7 matches

by mychi
Mon Jun 14, 2010 11:32 pm
Forum: General
Topic: listings package: defining own language
Replies: 0
Views: 5641

listings package: defining own language

I want to define rules for the programming language XQuery that build on top of the already defined rules for XML. The User's Guide already helped a lot in certain things I wanted to do with the listings package. But now I'm at a loss with the following problem (simplified as much as possible ...
by mychi
Fri Jun 11, 2010 8:02 pm
Forum: General
Topic: Capitalizing the first letter of each word
Replies: 6
Views: 11393

Capitalizing the first letter of each word

Thanks sschuberth! It was worth posting an answer even 3 years later since there could always be people asking themselves the same question 3 years later, like me :D

Unfortunately I didn't manage to get it working in connection with \autoref. Here is a minimal example:


\documentclass{article ...
by mychi
Tue Mar 02, 2010 11:00 pm
Forum: Document Classes
Topic: moderncv: how to "repair" section definition
Replies: 9
Views: 7050

Re: moderncv: how to "repair" section definition

Glad to hear that I could make myself clear now :-)

Of course it's not such a big deal in this case, because a CV usually doesn't/shouldn't have too many pages anyway. But it's still something additional you have to care about, that's why I tried to find a solution -- but apparently it's not that ...
by mychi
Tue Mar 02, 2010 10:17 pm
Forum: Document Classes
Topic: moderncv: how to "repair" section definition
Replies: 9
Views: 7050

Re: moderncv: how to "repair" section definition

Yes, that's what I said in my reply, it does break the page at the position of the \pagebreak command. But as soon as the preceding section gets shorter (change \lipsum[2-8] to \lipsum[2]) the page breaks although it doesn't have to.
So \pagebreak is forcing a pagebreak.

From another point of view ...
by mychi
Tue Mar 02, 2010 9:51 pm
Forum: Document Classes
Topic: moderncv: how to "repair" section definition
Replies: 9
Views: 7050

Re: moderncv: how to "repair" section definition

Actually I have this problems with my own CV and I tried to provide a minimalistic example to make it easier to pinpoint the problem. But I'll try to provide an example based on one of the sample documents, or based on my own CV. Thanks so far for your help!

Best regards
Mike
by mychi
Tue Mar 02, 2010 9:28 pm
Forum: Document Classes
Topic: moderncv: how to "repair" section definition
Replies: 9
Views: 7050

Re: moderncv: how to "repair" section definition

Thanks for your suggestion. Unfortunately both of them don't work as expected.
Inserting \clubpenalty10000 and \widowpenalty10000 does not change anything in the specified example (does it on your setup?).

Inserting a \pagebreak works, but unfortunately still causes a pagebreak if the first section ...
by mychi
Tue Mar 02, 2010 5:18 am
Forum: Document Classes
Topic: moderncv: how to "repair" section definition
Replies: 9
Views: 7050

moderncv: how to "repair" section definition

Unfortunately the sections in the (otherwise great) moderncv package don't behave like normal sections should. For example do section titles not stick to their "bodies", which results in section titles standing alone on the bottom of a page.

Here is an example to see what I mean:
\documentclass ...