command for long text composition

Asked by Francesco Biccari

Dear Xavier,

usually I like to write the "Attachments" of my curriculum with the same style
of the curriculum. To do this I need to write on the right column only.
(Here is a screenshot of the beginning of my PhD thesis summary: http://biccari.altervista.org/screenshotCV.png)

Using \cvline{}{text...} is not very good because it does not support newline command
and especially new paragraph (blank lines). No indentation and so on.
At the moment for such a long text I write on the right column without the moderncv commands,
but simply redefining the text position by the adjustwidth environment of the changepage package.

Why don't you make a new simple command (\cvtext ?) useful to write long texts on the
right column?

Thanks for your great work.
Regards.
Fra

Question information

Language:
English Edit question
Status:
Answered
For:
moderncv Edit question
Assignee:
Xavier Danaux Edit question
Last query:
Last reply:
Revision history for this message
Xavier Danaux (xdanaux) said :
#1

Hi Francesco,

You can actually do this with \cvline. The \\ command is indeed not working inside \cvline, as \\ is fragile (i.e. it gets expanded before \cvline itself is expanded).

To get around this, you can make \\ robust by protecting it, i.e. using \protect\\ (note I haven't tested this, but there is no reason it shouldn't work; please let me know if it doesn't).

Another solution is to use \newline, which is a robust command. This is what I use personally.

Kind regards,

Xavier

Revision history for this message
Francesco Biccari (biccari) said :
#2

Thanks for your reply Xavier,

Yes I always use \newline. But in case of a long text \newline is not very convenient.
But the biggest problem is the impossibility to divide your text in paragraphs.
Therefore I cannot copy and paste part of other works inside cvline because there
are a lot of blank lines.

Regards.
Fra

Can you help with this problem?

Provide an answer of your own, or ask Francesco Biccari for more information if necessary.

To post a message you must log in.