GeneralLaTeX Error: File 'vgtc.cls' not found

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
SuzuBell
Posts: 14
Joined: Sat Dec 13, 2014 7:08 am

LaTeX Error: File 'vgtc.cls' not found

Post by SuzuBell »

I am trying to convert a .Rnw file into .pdf. I get an error:

Code: Select all

Line 7: LaTeX Error: File 'vgtc.cls' not found
Line 7 is the blank line below:

Code: Select all

% !TeX program = pdfLaTeX
\documentclass[journal]{vgtc}                % final (journal style)
%\documentclass[review,journal]{vgtc}         % review (journal style)
% \documentclass[widereview]{vgtc}             % wide-spaced review
%\documentclass[preprint,journal]{vgtc}       % preprint (journal style)
%\documentclass[electronic,journal]{vgtc}     % electronic version, journal

\usepackage{mathptmx}
\usepackage{graphicx}
\usepackage{times}
I saw other posts on the topic, and believe my syntax is correct. I am not sure what could cause this problem? thanks for any advice.
Last edited by Stefan Kottwitz on Sat Dec 13, 2014 5:14 pm, edited 1 time in total.

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

LaTeX Error: File 'vgtc.cls' not found

Post by Stefan Kottwitz »

Hi SuzuBell,

welcome to the forum!

The syntax is fine. You just need to install the document class file. Download the file vgtc.cls from the publisher's website, install it or at least put it into the same folder as your main document.

Or change the class vgtc to a standard class, such as article.

Stefan
LaTeX.org admin
SuzuBell
Posts: 14
Joined: Sat Dec 13, 2014 7:08 am

Re: LaTeX Error: File 'vgtc.cls' not found

Post by SuzuBell »

Thank you so much, Stefan!
Post Reply