Giter Site home page Giter Site logo

xelatex-tenth's Introduction

XeLaTeX Template

Preconfigured template for XeLaTeX documents. Codename tenth used to stand for for Template for English and Thai as it was historically set up for pdfLaTeX, but no more! It even supports more scripts with fontspec package.

Other preconfigurations are according to my own taste, of course. Feel free to look at or modify tenth.sty as you wish.

Diagrams

Please see a separate README on how to use the software called IPE to draw diagrams and embed them in XeLaTeX documents.

Fonts

This template is preconfigured with the following fonts:

In case you are wondering, all fonts mentioned above are released under SIL Open Font License. See below for the exhaustive list of fonts filenames.

However, these font files do not come with this template; you will need to download them either by visiting each link provided above, or simply use the prepared download script:

$ ./download_fonts.py

Next, you have two options of what to do with the downloaded fonts:

  1. Keep them inside fonts/ directory. For this particular case, you will need to supply the localfonts=true to the loading of tenth xelatex package:
    \usepackage[localfonts=true]{tenth}
  2. Install them (located in fonts/ directory) into your computer, and include the following package:
    \usepackage{tenth}

List of font filenames

  • Sarabun-BoldItalic.ttf
  • Sarabun-Bold.ttf
  • Sarabun-ExtraBoldItalic.ttf
  • Sarabun-ExtraBold.ttf
  • Sarabun-ExtraLightItalic.ttf
  • Sarabun-ExtraLight.ttf
  • Sarabun-Italic.ttf
  • Sarabun-LightItalic.ttf
  • Sarabun-Light.ttf
  • Sarabun-MediumItalic.ttf
  • Sarabun-Medium.ttf
  • Sarabun-Regular.ttf
  • Sarabun-SemiBoldItalic.ttf
  • Sarabun-SemiBold.ttf
  • Sarabun-ThinItalic.ttf
  • Sarabun-Thin.ttf
  • FiraGO-BoldItalic.otf
  • FiraGO-Bold.otf
  • FiraGO-BookItalic.otf
  • FiraGO-Book.otf
  • FiraGO-ExtraBoldItalic.otf
  • FiraGO-ExtraBold.otf
  • FiraGO-ExtraLightItalic.otf
  • FiraGO-ExtraLight.otf
  • FiraGO-Italic.otf
  • FiraGO-LightItalic.otf
  • FiraGO-Light.otf
  • FiraGO-MediumItalic.otf
  • FiraGO-Medium.otf
  • FiraGO-Regular.otf
  • FiraGO-SemiBoldItalic.otf
  • FiraGO-SemiBold.otf
  • FiraCode-Bold.ttf
  • FiraCode-Light.ttf
  • FiraCode-Medium.ttf
  • FiraCode-Regular.ttf
  • FiraCode-SemiBold.ttf

xelatex-tenth's People

Contributors

abhabongse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mastericez

xelatex-tenth's Issues

`mdframed` definition needs revision

Currently, using mdframed with standard style gives a weird margin. For example, this code

First paragraph.

\begin{mdframed}[style=standard]
    \textbf{Revised Topic\;} Determining the Safety of Queries in Database Relational Calculus and Datalog with Alloy Analyzer
\end{mdframed}

The problem statement for this project has been revised as written below, based on the findings during the course of study for this project.

yields the following

image

Warning from `fancyhdr` package when document option `twoside` not specified

Here is the issue to fix:

WARNINGS:
tenth.cls:327: Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is useless on input line 327.
tenth.cls:328: Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is useless on input line 328.
tenth.cls:329: Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is useless on input line 329.

Replace `\baselinestretch` with `\setstretch`

This is not straightforward since \setstretch will break the text encoding as-is. It is possible that \setstretch defines a new local encoding. Probably need to look at the source code of setspace package.

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.