Articles, Essays, and Journal TemplatesRevision History for Stylish Article Template

IEEE, Elsevier, ACM, ACE, Science, AGU, PNAS, PLOS, RSoC, Springer, Stylish articles and Essays
Post Reply
esantin
Posts: 3
Joined: Tue Mar 22, 2016 10:07 am

Revision History for Stylish Article Template

Post by esantin »

Dear all,

I am using the "stylish article" template available at LaTeX Templates website (link).

I have been using it for documentation (i.e. datasheets) instead of scientific publications. Since I am using it for this type of documentation, I am trying to include a Revision History (RH) by using the "vhistory" package (I got the idea for this Stack Exchange question). However, when I include the package in the preamble and add some basic RH entries, I got several compile errors. Maybe, there are conflicting issues with the vhistory package and the other packages used within the "stylish article" template.

If you could help me, even thought this is not a question related to the original purpose of the template, I would be very happy. I have set up a Overleaf project with the stylish article template and a very basic RH entry, which, of course, does not compile correctly. If you could help, you may access the project with this link.

Thank you in advance for any help,
esantin

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
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Revision History for Stylish Article Template

Post by Johannes_B »

Can you show us a minimal working example to reproduce your problem?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
esantin
Posts: 3
Joined: Tue Mar 22, 2016 10:07 am

Revision History for Stylish Article Template

Post by esantin »

Hi Johannes,

You may find a working example by accessing the Overleaf project I have specifically created for it, i.e., at this link. I am not sure it is the "minimal" example, but it is indeed the original stylish article template (as referred in my previous post) with the following changes:

i. In the preamble, the following package added:
\usepackage[tocentry, tablegrid]{vhistory}

ii. In the document, the following adds:
\begin{versionhistory}
\vhEntry{1.0}{22.01.04}{JPW|KW}{created}
\vhEntry{1.1}{23.01.04}{DP|JPW}{correction}
\vhEntry{1.2}{03.02.04}{DP|JPW}{revised after review}
\end{versionhistory}

If you comment the changes i and ii above, you get the original stylish article template.

If I am not clear enough, please, let me know since I am new here ;)

Regards,
esantin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Revision History for Stylish Article Template

Post by Johannes_B »

You can only use a version history in a onecolumn document (or part of a document).

Move the block to the very end and put \onecolumn before it.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
esantin
Posts: 3
Joined: Tue Mar 22, 2016 10:07 am

Re: Revision History for Stylish Article Template

Post by esantin »

Dear Johannes,

Thank you very much for your feedback. Now I understand the problem and can work on it ;)

Regards,
esantin
Post Reply