GithubHelp home page GithubHelp logo

japorized / tex_notes Goto Github PK

View Code? Open in Web Editor NEW
8.0 0.0 0.0 141.52 MB

๐Ÿ“” My personal notes for my studies

Home Page: https://japorized.gitlab.io/TeX_notes

License: The Unlicense

TeX 98.79% Shell 0.16% HTML 0.15% CSS 0.28% Ruby 0.10% Gnuplot 0.05% Vim Snippet 0.47%

tex_notes's Introduction

Japorized's Personal Study Notes

You can also see most of the files on https:/tex.japorized.ink.

Page uses tufte-css for styling


Most of the contents are compiled from my lecture notes and recommended reading materials, or perhaps from my personal studies and further reading. Citations will be provided wherever necessary.

If you wish to get a copy of these documents, please retain a copy of the license.

My main editor is neovim. I have a setup for Sublime Text as well, but I have not updated it in a long while.


Setups

  • Class notes
    • Uses tufte-latex with some modifications to how chapter, section and subsection is presented
    • Personalized theorem (& co.) environments through ntheorem and xcolor
    • Uses pdflatex
  • Special setup - Japanese notes
    • Mostly the same setup as the above, except that it uses LuaLaTeX for the sake of staying sane while dealing with unicode
  • Assignments
    • Standard white background, black foreground
    • Uses pdflatex

LaTeX Template

My commonly used LaTeX templates are saved in setup-nvim/.

For (n)vim users, I am using my own utterly naive plugin that simply grabs my templates and writes them into my buffer, just so that I don't have to perform a cp command every time I create a new document.

For Sublime Text users, copy the appropriate contents from setup-subl and create a new snippet, so that you may fetch the template via Shift + Ctrl/Cmd + p (on macOS). Be sure to have the following in your snippet under scopes.

<scope>text.tex.latex</scope>

Preamble

Use the bootstrap shell script to symlink the .sty files and preambles sitting in tex-common/ to your TEXMFHOME path, as determined by kpsewhich --var-value=TEXMFHOME. Sorry Windows users, bootstrap only works for UNIX-like systems using the POSIX standard.


Snippets

My TeX snippet for nvim is in the tex.snippet and texmath.snippet file, and I use UltiSnip for completion. My autocompletion plugin in coc. coc.nvim requires a non-trivial installation, but I recommend it for the speed because it deals with completion in an asynchronous manner.

My Sublime Text snippet is provided in the file setup-subl/tex.sublime-completions. Put it in your $SUBLIME_PATH/Packages/User/ folder to get it working (a bootstrapping shell script is available in the setup folder).


Other Notes

  • gnuplot and minted requires --shell-escape in the compiler.
    • If you use latexmk, then add to a local latexmkrc located in the base directory of the TeX project.
      $pdflatex = 'pdflatex  %O  --shell-escape %S';
      
      Replace pdf with lua if you use lualatex.
  • I am looking at llmk, hoping that it'll serve as a more well-documented and simpler LaTeX make program.

tex_notes's People

Contributors

japorized avatar lugarun avatar

Stargazers

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