Ronald E. Kumon:
Software

DISCLAIMER

You use these codes at your own risk-- no warranty is given or implied, and no support is available. Comments about the files may be sent to s o f t w a r e at k u m o n w e b . c o m .


SOFTWARE INDEX


LATEX STYLE FILES FOR JASA

I have several style files which I have found useful for preparing manuscripts for J. Acoust. Soc. Am. (JASA) using LaTeX. Note: These files are not endorsed by the Acoustical Society of America and by downloading them you accept all risk for use.

If you find these files useful, please contact the author at the email address listed above (spaces removed). Please include your TeX distribution (teTeX, MikTeX, OzTeX, etc.), platform (Linux, Windows XP, Macintosh, etc.), and whether you would like to be contacted regarding updates to these files.

  • BibTeX bibliographic style files.
    These files read in citations from a BibTeX bibliographic database and write out the results in the proper format for JASA. The file jasasty.bst should used for generating references in textual footnote style [superscripted numbers for footnotes and citations together]. The file jasasty-ay.bst should be used for generating references in alphabetical bibliographic style [(Author,Year) citations with numbered footnotes in a separate section]. These files should be placed in the same directory as other .bst files.
    [NEW! Added alphabetical list style file, 06 December 2004]
    jasasty.bst  Textual footnote style file
    jasasty-ay.bst  Alphabetical bibliographic list style file (courtesy of Werner Goebl)

  • Preprint style file for LaTeX 2e.
    This file can be used to output in a preprint format suitable for submission to JASA. See the example file for usage. For more sophisticated features like galley-style output, automated figure list generation, and citations in the alphabetical bibliographic style, see the REVTeX for JASA package below.
    [Updated file to Version 3.5, 06 December 2004; see comments in JASA2e.sty for changes.]
    JASA2e.sty  LaTex 2e style file
    example.tex  Example LaTeX file
    example.pdf  Preprint PDF

  • Style files for REVTeX 4.0.
    Unfortunately, documents generated using REVTeX alone do not conform to JASA standards for submission. By using these "REVTeX for JASA" style files, you can retain the advantages of REVTeX while also (mostly) maintaining compliance with JASA. For example, "REVTeX for JASA" can produce both preprint and galley style output from the same source document. The former is useful for submitting to the journal, while the latter is useful for roughly seeing how the article will look in the journal.

    To use "REVTeX for JASA," REVTeX 4.0 and all its requisite files need to be installed on your system. The class file and REVTeX file listed below should be put in the same directory as revtex4.cls and aps.rtx. The .bib and .eps files should be placed in the same directory as the .tex file. See the example files for usage. Note that the BibTeX style files are not required, but may be useful for automatically generating bibliographies via the \bibliography and \bibliographystyle commands in the example files.

    Warning: LaTeX files that use "REVTeX for JASA" should not be uploaded directly during electronic submission via Peer X-press. Only upload Postscript or PDF versions (without the figures included). Peer X-press does not use revtex4asa.cls or asa.rtx, and thus cannot process "REVTeX for JASA" files.

    [Updated all files to Version 1.4, 06 December 2004; see CHANGELOG]
    revtex4asa.cls  LaTeX 2e class file
    asa.rtx  ASA REVTeX file

    Several example files are provided. The first example shows the default use of the textual footnote bibliographic style (superscript numbers). This example requires the use of the endnotes package for proper functioning. The PDF files show the resulting output with figures suppressed in the main document (as required for electronic submission; generated with the nofigs option), with figures included (as previously required), and in galley mode. All three PDF files are generated from the same LaTeX file. [The BibTeX style file jasasty.bib can be used to generate the bibliographic entries for this style.]
    apssamp-asa.tex  Example LaTeX file
    apssamp-asa-preprint-nofigs.pdf  Preprint PDF without figures
    apssamp-asa-preprint-figs.pdf  Preprint PDF with figures
    apssamp-asa-galley.pdf  Galley PDF

    "REVTeX for JASA" also now supports the use of the alphabetical bibliographic style (Author, Year) via the the authoryear option. The PDF files show the resulting output with figures suppressed in the main document (as required for electronic submission; generated with nofigs option), with figures included (as previously required), and in galley-like mode. All three PDF files are generated from the same LaTeX file. [The BibTeX style file jasasty-ay.bib can be used to generate the bibliographic entries for this style.]
    apssamp-asa-authyear.tex  Example LaTeX file
    apssamp-asa-authyear-preprint-nofigs.pdf  Preprint PDF without figures
    apssamp-asa-authyear-preprint-figs.pdf  Preprint PDF with figures
    apssamp-asa-authyear-galley.pdf  Galley PDF

    These are some auxiliary files for use with the example files.
    apssamp-asa.bib  BibTeX database
    fig1.eps  Encapsulated Postscript Figure 1
    fig2.eps  Encapsulated Postscript Figure 2


LATEX POSTER STYLE FILE (WITH SLIDES OPTION)

I have developed a LaTeX 2e class file which allows you to produce poster and then output the results in either on full-sized paper or in sections on letter-sized paper. The latter may be useful for making overhead slides for a presentation based on the poster or for having a for a backup ``mosaic'' style poster in case the big poster is damaged or lost. The class file is based on the a0poster.cls. The LaTeX file is assumed to use the textpos package to layout the text and figures into text boxes. See the example files for usage.

a0posterslides.cls  A0PosterSlides LaTeX 2e class file
a0size.sty  Poster/Slides LaTeX 2e class file
posterslides-example.tex  Example LaTeX file
IEEE-2002-UltrasonicSymp-poster.pdf  Example of poster output
IEEE-2002-UltrasonicSymp-slides.pdf  Example of slides output

Note that this approach is based upon an amalgamation of LaTeX style files for making posters. See these sites for alternatives and further inspiration:


LATEX STYLE FILE: 2002 IEEE ULTRASONICS SYMPOSIUM PROCEEDINGS

I have developed a "plug-in" style file which allows you to produce output appropriate for the 2002 IEEE Ultrasonics Symposium Proceedings. This package requires the IEEEtran_v15 LaTeX 2e class file to work correctly. Note: This style file is not endorsed by the IEEE or the IEEE Ultrasonics, Ferroelectrics, and Frequency Control Society, and by downloading it you accept all risk for its use. See the example file for usage.
ieeeultrasymp.sty  IEEEUltraSymp style file
ultra-example.tex  Example LaTeX file
figure.eps  Figure for example file
ieeesamp.bib  BibTeX database for use with example file
IEEEbib.bst  IEEE BibTeX style file (may be out-of-date; use with caution)
ultra-example.pdf  PDF version of example file
ultra-example-draft.pdf  PDF draft version of example file


BURGERS EQUATION SOLVER

Several versions of codes used to solve the Burgers equation are given below.  I have tested the MATLAB and C++ versions below and believe that they give correct results.  A FORTRAN version is also included, although I have not tested it myself.  In any case, you should review the codes thoroughly, and verify them for yourself. See the article "Computational Methods" by Jerry H. Ginsberg and Mark F. Hamilton in Nonlinear Acoustics [Mark F. Hamilton and David T. Blackstock, eds. (Academic Press, New York, 1998)] for information about how the codes are constructed. Source code may be dowloaded for:
  • FORTRAN

  • This code uses a 2nd order, fixed step size, Runge-Kutta routine to perform the numerical integration.  This code is untested and may contain errors.
    burgers.f main routine and all subroutines
  • MATLAB

  • This code uses a 2nd order, fixed step size, Runge-Kutta routine to perform the numerical integration.
    burgers.m main integration routine
    F.m Burgers equation routine
    PconvP.m convolving routine
    abstv.m thermoviscous absorption routine
    absrel.m relaxation dispersion routine
    absbl.m boundary layer dispersion routine
    ptime.m time waveform reconstruction routine
  • C++

  • This code uses a 4th order, fixed step size, Runge-Kutta routine to perform the numerical integration.  It uses the graphics library PGPLOT to plot the spectrum in real-time as it evolves.  I have compiled it using gcc 2.7.2.2, make 3.75, pgplot 5.2 under Linux 2.0.30 but it should work on other platforms and version as well.  The first code RKintBtest performs the numerical integration and then writes the spectra out to files.  The second code CalcMainB reconstructs the time waveforms from the spectra.  Not for the faint of heart!
    RKintBtest.cc main routine
    makefile sample makefile
    derivs.cc Burgers equation routine
    RKtest.cc numerical integration routines
    RKtest.h associated header file
    RKintsubtest.cc other auxiliary routines
    RKinttest.h associated header file
    Nrutil.cc numerical utilities routines
    Nrutil.h associated header file
     
    CalcMainB.cc main routine
    makefile.cmb sample makefile
    CalcB.cc time reconstruction routine
    Calc.h associated header file
    Nrutil.cc numerical utilities routines
    Nrutil.h associated header file

Ronald E. Kumon, Ph.D. / Created 4 June 2002

Comments about this page may be sent to the webmaster.