Generaldraftwatermark not on top of pictures

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

draftwatermark not on top of pictures

Post by Cham »

Stefan Kottwitz wrote:You could try the Class revtex4-1.

Stefan
What are the differences, except adding a useless title page ?

EDIT : It appears to solve the previous error messages, though, but I don't want that title page.

Adding the option notitlepage seems to solve the issue.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

draftwatermark not on top of pictures

Post by Cham »

Arrg ! Now just adding an affiliation cause an error :

Code: Select all

\affiliation{Département de physique, collège de Montréal}
Error message :
Missing $ inserted.
What gives !?

Here's the start of the document. What is wrong here with the revetex4-1 document class ??

Code: Select all

\begin{document}

\title{La limite de Chandrasekhar}
\author{Some name}
\affiliation{Département de physique, collège de Montréal}
%\date{}
\maketitle
From the PDF output, the affiliation typesetting is clearly wrong (spaces aren't right). The accents appears to cause a problem here. What the ... !?
Last edited by Cham on Mon May 29, 2017 3:37 pm, edited 2 times in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

draftwatermark not on top of pictures

Post by Stefan Kottwitz »

I think, journal classes such as this one are written to simply match the journal print style. I assume they don't have an interface for settings other than needed for the journal, no re-program interface, even clean coding is not needed. They just work for the journal. They are not really tested against other packages. They are for their authors, rather then published for the world.

My way would be choosing an extensive, flexible, multi-purpose class, then modifying the appearance as needed, rather than taking a random journal class just because of it's visual appearance. A Koma Class has features, where a Journal Class has restrictions. Restrictions and limits make the publishers workflow possible, not having to deal with fancy things.

Just thoughts typed on my mobile phone, returning home to my computer, where I can check things above.

Stefan
LaTeX.org admin
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

draftwatermark not on top of pictures

Post by Cham »

Thanks Stefan.

About the affiliations, with names having accents, there's surrely a simple and natural way, since many searchers are spreaded all around the world.

EDIT : the icomma package appears to be in conflict with the revtex4-1 class. I'll start a new topic on this.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

draftwatermark not on top of pictures

Post by Stefan Kottwitz »

Cham wrote:Arrg ! Now just adding an affiliation cause an error :
\affiliation{Département de physique, collège de Montréal}
It works for me. With pdfLaTeX, you need to load inputenc with an encoding option depending on the operating system or editor, such as:

\usepackage[utf8]{inputenc}

I got:
affiliation.png
affiliation.png (13.61 KiB) Viewed 3978 times
Stefan
LaTeX.org admin
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

draftwatermark not on top of pictures

Post by Cham »

Stefan,

this is what I'm using (utf8 input). Please check my other topic about the icomma package :

http://latex.org/forum/viewtopic.php?f=5&t=29790
Post Reply