Giter Club home page Giter Club logo

markdownlatex's Introduction

MarkdownLatex

Provides a template for making markdown files for nice latex output.

Build Latex Documents

  • Require refs.bib and default.csl files (can get from example1)
pandoc -V geometry:margin=1in -C --bibliography=refs.bib --listings --csl=default.csl -s h.md -o h.pdf --pdf-engine=xelatex 
  • need h.md to have header below (see example1 here)
---
title: Computational Chemistry Example
date: 2023-04-21
author: Austin M. Wallace
reference-section-title: "References"
link-citations: true
link-bibliography: true
header-includes:
  - \usepackage{cancel}
  - \usepackage{fancyvrb}
  - \usepackage{listings}
  - \usepackage{amsmath}
  - \usepackage[version=4]{mhchem}
  - \usepackage{xcolor}
  - \usepackage{chemmacros}
  - \chemsetup{formula=mhchem,modules=newman}

  - \lstset{breaklines=true}
  - \lstset{language=[Motorola68k]Assembler}
  - \lstset{basicstyle=\small\ttfamily}
  - \lstset{extendedchars=true}
  - \lstset{tabsize=2}
  - \lstset{columns=fixed}
  - \lstset{showstringspaces=false}
  - \lstset{frame=trbl}
  - \lstset{frameround=tttt}
  - \lstset{framesep=4pt}
  - \lstset{numbers=left}
  - \lstset{numberstyle=\tiny\ttfamily}
  - \lstset{postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}}
  - \lstset{keywordstyle=\color[rgb]{0.13,0.29,0.53}\bfseries}
  - \lstset{stringstyle=\color[rgb]{0.31,0.60,0.02}}
  - \lstset{commentstyle=\color[rgb]{0.56,0.35,0.01}\itshape}
---

markdownlatex's People

Contributors

awallace3 avatar

Watchers

 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.