Installing new class. cls files

Andrew Parsloe ajparsloe at gmail.com
Tue Jul 28 06:36:04 UTC 2020


On 28/07/2020 11:55 am, Rich Shepard wrote:
> On Tue, 28 Jul 2020, Mike Reeks wrote:
>
>> Can anyone help me out here? I’m trying to install a class file for ASME
>> journals using Miktex console.
>
> Mike,
>
> Last time I used windoze was 1997 and NT4. I know nothing about it.
>
> Rich

 From the MiKTeX console Welcome! window, choose whether you want to 
install the package in administrator mode or not. (I prefer to do things 
in Admin mode, but I'm the only person using my machine.) Choose the 
Packages option from the left-hand column of the console window. In the 
filter window type asme and click the filter icon. I find two packages 
listed, asmeconf, and asmejour. If you select either and click on the 
info icon, you will see that it includes a class file. Select the 
relevant one (or both). Click the + icon, click OK on the dialogue that 
then shows, and wait while MiKTeX installs the package. Installation is 
complete when the Cancel button changes to Close. The console window 
will then think for a moment before displaying a list of all packages 
available. If you search for  asmejour or asmeconf you will find it now 
displays today's date in the Installed on column.

Whether LyX can use it "intelligently" is another matter. In LyX look 
under Help > LaTeX Configuration > Additional document classes to see 
some additional classes. ASME is not included but looking at the example 
documents for some of the ones that are included may be helpful. On my 
computer the examples can be found in C:\Program Files (x86) > LyX 2.3 > 
Resources > examples.

Andrew



More information about the lyx-users mailing list