New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@paperist/remark-preset-latex

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paperist/remark-preset-latex

LaTeX preset for wooorm/remark

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

remark-preset-latex

standard-readme compliant LICENSE NPM CircleCI

LaTeX preset for wooorm/remark

Table of Contents

Install

npm i remark remark-cli @paperist/remark-preset-latex

Usage

$ remark index.md -p @paperist/remark-preset-latex -o index.tex

Syntax

Inspired by pandoc-crossref.

Image labels

![Caption](file.ext){#fig:label}

Equation labels

$$ math $$ {#eq:label}

Table labels

|  a  |  b  |  c  |
|:---:|:---:|:---:|
|  1  |  2  |  3  |

: Caption {#tbl:label}

Section labels

# Section {#sec:section}

Code Block labels

Not implemented

```{#lst:code .haskell caption="Listing caption"}
main :: IO ()
main = putStrLn "Hello World!"
```

References

[@fig:label1] or [@fig:label1;@fig:label2;...]
[@jones99] or [@jones99;@smith06;...]

YAML

Templates

You can use ejs template.

%% TeX Template written by ejs format.

\author{<%= author %>}
\title{<%= title %>}

\begin{document}

\maketitle

<%= body %>

\end{document}
latex:
  baseTemplateFile: ./template.tex
  documentInfo:
    author: 3846masa
    title: Document Title
Bibliography

Not implemented

Contribute

PRs accepted.

License

MIT © 3846masa

Keywords

FAQs

Package last updated on 27 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc