GeneralJournal form error

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Leonardo100
Posts: 4
Joined: Thu Aug 24, 2017 6:02 pm

Journal form error

Post by Leonardo100 »

Hi :

First of all, sorry if this post is not in the right section.

I'm trying to send a paper to Natural Sciences Publishing. They give a latex format to follow. But, when I try to generate their original file, it always give me errors like these
Screen Shot 2017-08-24 at 7.10.38 PM.png
Screen Shot 2017-08-24 at 7.10.38 PM.png (26.3 KiB) Viewed 2195 times
Screen Shot 2017-08-24 at 7.10.28 PM.png
Screen Shot 2017-08-24 at 7.10.28 PM.png (26.64 KiB) Viewed 2195 times
And other errors.

I asked the journal editor about these errors. She said for me the error with your programs, I'm using TexShop, I tried also using Winedit on different computers. it always give the same errors.

Here is the link for the original file that I got it from them :

http://www.naturalspublishing.com/files ... 62v72i.zip

please,may you help to fix these errors?

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Journal form error

Post by Stefan Kottwitz »

Hi Leonardo,

welcome to the forum!

The error is caused by the original template paper.tex. The class loads the color package via:

\RequirePackage{color}

But it should load the xcolor package with a color naming option, such as:

\RequirePackage[dvipsnames]{xcolor}

You could tell this th the journal editor.

You can fix it by inserting this line right at the top of your own document, before \documentclass{...}:

Code: Select all

\RequirePackage[dvipsnames]{xcolor}
\documentclass[10pt]{NSP1}
...
A general remark: this template uses obsolete syntax, it's not a good example that should be recommended. For example the faulty eqnarray environment, equations by $$...$$ instead of \[...\], manual formatting and manual numbering of theorems, such as in \textbf{Theorem 3.1.}. And there are obsolete font commands that just don't work this way. See:

\titlefigurecaption{{\large \bf \rm Applied Mathematics \& Information Sciences }

That's not bold as obviously intended, as the \rm (roman, serif font) overrides the \bf (bold font). it is not bold in the document.

This part in the option would work:

\large \bf \rmfamily Applied Mathematics \& Information Sciences }

but better

\large \bfseries \rmfamily Applied Mathematics \& Information Sciences }
Just as remarks. You can talk with us about formatting details, if you like, maybe we can help you even with the bad template, since a journal requires to use its template.

Stefan
LaTeX.org admin
Leonardo100
Posts: 4
Joined: Thu Aug 24, 2017 6:02 pm

Journal form error

Post by Leonardo100 »

Thanks Stefan, It works fine with me now...I will send them a link for this page in this forum to fix the problem.

A general remark: this template uses obsolete syntax, it's not a good example that should be recommended. For example the faulty eqnarray environment, equations by $$...$$ instead of \[...\], manual formatting and manual numbering of theorems, such as in \textbf{Theorem 3.1.}. And there are obsolete font commands that just don't work this way. See:

\titlefigurecaption{{\large \bf \rm Applied Mathematics \& Information Sciences }

That's not bold as obviously intended, as the \rm (roman, serif font) overrides the \bf (bold font). it is not bold in the document.

This part in the option would work:

\large \bf \rmfamily Applied Mathematics \& Information Sciences }

but better

\large \bfseries \rmfamily Applied Mathematics \& Information Sciences }
Just as remarks. You can talk with us about formatting details, if you like, maybe we can help you even with the bad template, since a journal requires to use its template.
I agree with you 100%
Post Reply