GithubHelp home page GithubHelp logo

jvasco323 / lyx_pnas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carlobaldassi/lyx_pnas

0.0 0.0 0.0 118 KB

LyX template and layout for PNAS, derived from the PNAS Overleaf template

TeX 100.00%

lyx_pnas's Introduction

LyX template and layout for PNAS

This repository provides all necessary files to use the LyX editor, version 2.2 or later, in the preparation of a LaTeX file for submission to the Proceedings of the National Academy of Sciences of the USA (PNAS), following the latest (as of May 2019) template provided by PNAS.

In particular, it provides the following:

  • A LyX layout file pnas-new.layout: this was originally derived from the layout file found here, but it was heavily modified and adapted to the new template and classes introduced by PNAS in 2016.
  • A template lyx file, pnas-new-template.lyx, and several accompanying files (figures, LaTeX classes, an example bibliography, etc.): this file is directly derived from the original template files, which are available at this link. The original template is distributed under the terms of the LaTeX Project Public License 1.3c. The template was adapted to work under LyX 2.2 or later and it is released under the same license as the original; except for the title and a few LyX notes, no other modifications were performed over the content of the original template. All auxiliary files were left unchanged, except for a small fix in "pnas-new.bst" (a function definition was moved to avoid an error).

NOTE: This is not an official repository, I am not the author nor the maintainer of the original PNAS template.

Installation

After you have downloaded the contents of the repository, you should install the LyX layout file and the LaTeX bst, sty and cls files.

Installing the LaTeX files

First, you need to locate your system directories for LaTeX files. To do this, open LyX and go to Tools->TeX information. Check the Show path option, and look at the directories where the other files are installed. For example, LaTeX classes and styles may be installed in the /usr/share/texlive/texmf-dist/tex/latex/ directory, and BibTeX styles may be installed in the /usr/share/texlive/texmf-dist/bibtex/bst/ directory. I suggest creating a directory called pnas-new under the LaTeX classes/styles system directory, and copying all the *.cls, *.sty and *.ldf files from this repository there; then, you should copy the pnas-new.bst file under the BibTeX directory.

After you copied all files, you should update the LaTeX package information, running the command sudo texhash.

Then, you should update the LyX information: open LyX and choose Tools->reconfigure from the menu.

Installing the LyX layout file

Find out what is your LyX user directory: open LyX and run Help->About LyX from the menu, and read it from the information displayed there. For example, on Linux it should be ~/.lyx.

Copy the pnas-new.layout file under the layouts subdirectory (e.g. ~/.lyx/layouts/ on Linux). Then run Tools->reconfigure from LyX. The new layout should be available upon restarting LyX.

Usage

Just edit the template under LyX. When you are ready, you can simply export the resulting file using File->Export->LaTeX (pdflatex) and it should work with the PNAS submission system.

lyx_pnas's People

Contributors

carlobaldassi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.