Giter VIP home page Giter VIP logo

zh-beamer's Introduction

Zh-beamer

Create Chinese Beamer & PDF with rmarkdown on Windows.

Requirement

Must have installed MikTex 2.9 and pandoc 1.15. To test whether have installed pandoc ,just run pandoc -v in the Windows Cmd (win+R -> cmd ->Enter).

Usage

For Chinese Beamer:

  1. download this repository
  2. open the test.Rmd
  3. press Ctrl + Shift + K (knit PDF)
  4. wait a minute and see what has been generated.

Just click new R Markdown -> presentation -> PDF(Beamer). Edit the file, then press knit. If you haven't run the code before, it wil take about 2minutes to render Rmd to PDF.

Notice: the beamer_default.tex & _output.yaml & the Rmd file should be in the same fold!

You can also customise the beamer theme in the Output Options, which next to knit PDF. Or you can directly change default theme and fonttheme in the _output.yaml file.

If you encounter a problem, please don't hesitate to creat an issue. You'd better print the error info.

Beamer.pdf,Here are the snapshots:

img2 img3 img4

For Chinese PDF

  1. the Rmd file is in the Chinese-PDF fold
  2. open the code.Rmd
  3. press Ctrl + Shift + K (knit PDF)
  4. you will encounter 43 error.

Notice: it's because that your MikTex lacks some related packages. So you need to open the default.latex and the MikTex Packages Manager to download the packages that are used in the default.latex.

I don't know how many times I have tried, but it worked at last. Good luck, my friend!

Chinese.pdf, Here are the snapshots:

img1 img2 img3

License

Licensed under theApache License, Version 2.0.

zh-beamer's People

Contributors

brucezhaor avatar yihui 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.