Coder Social home page Coder Social logo

add LyX template file about pnaslatex HOT 13 CLOSED

tommy-engels avatar tommy-engels commented on July 27, 2024
add LyX template file

from pnaslatex.

Comments (13)

jefferis avatar jefferis commented on July 27, 2024

Thanks for the interest and suggestion. @ajdm I'll try and make a cut down version of our paper.

from pnaslatex.

tommy-engels avatar tommy-engels commented on July 27, 2024

I really appreciate your community efforts. PNAS is a nightmare, I also struggled quite some time with the official files, without success.

from pnaslatex.

jdmanton avatar jdmanton commented on July 27, 2024

@jefferis Thanks. @tommy-engels Would a blank template, with all environments filled with short placeholders and document settings set also be useful?

from pnaslatex.

jefferis avatar jefferis commented on July 27, 2024

Hi @ajdm, so I tried making a minimal version of our LyX ms:

https://github.com/jefferislab/pnaslatex/compare/lyx-template?expand=1

but I am getting compile errors that a brief inspection couldn't resolve. Any ideas?

from pnaslatex.

tommy-engels avatar tommy-engels commented on July 27, 2024

any example would be fine and useful. it would however be good (my opinion) if it included stuff like affiliations, author footnotes, materials and methods and so on. and references :)

from pnaslatex.

jdmanton avatar jdmanton commented on July 27, 2024

@jefferis It looks like (for reasons I don't understand), LyX is not adding the refstyle package to the LaTeX it outputs, which is necessary for the \newref commands in the preamble (despite the requisite checkbox being ticked in the document settings). Adding an explicit \usepackage{refstyle} to the preamble allows me to compile the LyX file.

from pnaslatex.

tommy-engels avatar tommy-engels commented on July 27, 2024

actually, the example is already quite helpful to me, even though it does not compile.
On my system (fedora with texlive-full), the sidecap package is missing (and I cannot install it from official repos)

I learned the \sloppy command from it

for me, it is the same with the refstyle package. without the figures, it compiles when using the package explictly

from pnaslatex.

jdmanton avatar jdmanton commented on July 27, 2024

@tommy-engels Would the standard PNAS example, recreated using this document class with this LaTeX code to produce this output, but done using the LyX template be useful?

from pnaslatex.

tommy-engels avatar tommy-engels commented on July 27, 2024

that would be the best , I think

from pnaslatex.

jdmanton avatar jdmanton commented on July 27, 2024

Both refstyle and sidecap are available from CTAN.

from pnaslatex.

tommy-engels avatar tommy-engels commented on July 27, 2024

I also prepared an example, maybe I can send it to you by email ? if you like of course.

from pnaslatex.

jdmanton avatar jdmanton commented on July 27, 2024

@tommy-engels That would be useful, thanks. The more examples the better!

from pnaslatex.

jefferis avatar jefferis commented on July 27, 2024

closed by merging #11

from pnaslatex.

Related Issues (12)

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.