General ⇒ Journal form error
-
- Posts: 4
- Joined: Thu Aug 24, 2017 6:02 pm
Journal form error
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
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?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10330
- Joined: Mon Mar 10, 2008 9:44 pm
Journal form error
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}...
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
-
- Posts: 4
- Joined: Thu Aug 24, 2017 6:02 pm
Journal form error
I agree with you 100%
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.