GithubHelp home page GithubHelp logo

tex's Introduction

LaTeX source files

LaTeX sources for articles on my website.

If you want to compile these from source, or otherwise use my style file:

  • Put cjquines.sty somewhere where LaTeX can see it. The same folder as the .tex file will work, but you can also put it somewhere more permanent.

  • You might need to install some LaTeX packages. The ones that you might not have installed by default are asymptote, fontawesome5, and relsize.

  • If you want to compile diagrams, you'll need Asymptote. Then cse5.asy, and olympiad.asy in the same folder as the .tex file, or somewhere more permanent.

Some notes on cjquines.sty:

  • You almost always want to use it with KOMA-script, with the scrartcl, scrbook, and scrreprt document classes.

  • By default, it will change the header, page, title, and theorem styling, define some shortcuts for writing math, and include an Asymptote header.

  • wide and thin control page size; the former has wider margins than usual and the latter has thinner margins than usual.

  • alttitle gives a left-aligned title with a line separating it from the body.

  • boxthm adds the exboxed, exrboxed, probboxed, and thmboxed environments, for putting examples, exercises, problems, and theorems in boxes.

  • parskip makes the document spaced with spaces after paragraphs rather than paragraph indents.

  • noimport removes imported packages and some of their dependencies.

  • nodefault removes the header, page, title, and theorem styling.

  • noextlink hides the external link icon for external links. This is the only place fontawesome5 and relsize are used, so you can use this option if these packages aren't available.

  • pset and oly include specific styling for my homework solutions and olympiad papers.

  • linguistics tightens the spacing of trees made by forest, and includes helpful macros:

\begin{exe}
\ex \gll
[\lb{DP} \name{The} ice] will melt \name[t]{$t$.}\\
{} \sc{det} ice will melt {}\\
\move{t}{The}
\end{exe}

\begin{forest}
[TP
  [DP
    [the ice,roof,name=t]
  ]
  [T'
    [T\\will]
    [\vp
      [\vv,name=tt]
      [VP
        [V\\melt,name=ss]
        [\textit{t},name=s]
      ]
    ]
  ]
]
\move{s}{S}{t}{SW}
\move{ss}{W}{tt}{SW}
\end{forest}

tex's People

Contributors

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