Coder Social home page Coder Social logo

jinwen-xu / minimalist Goto Github PK

View Code? Open in Web Editor NEW
25.0 2.0 2.0 25.97 MB

Write your articles or books in a simple and clear way

Home Page: https://ctan.org/pkg/minimalist

License: LaTeX Project Public License v1.3c

TeX 99.46% Shell 0.54%
latex latex-class latex-template latex3 typesetting article book

minimalist's Introduction

minimalist bundle: write you documents in a simple and clear way

New documentations are still being written. For now, only the core code is included in TeX Live 2024 and MiKTeX (old documentations have been removed from the distribution).

Introduction

minimalist is a collection of styles and classes that helps you to typeset articles and books with a simple and clear design.

Package dependencies: amsfonts, amsthm, anyfontsize, bookmark, caption, draftwatermark, embrac, enumitem, extramarks, fancyhdr, float, fontspec, geometry, graphicx, hyperref, imakeidx, lineno, lua-widow-control, indentfirst, mathpazo, mathtools, newpx, nowidow, parskip, pgf, projlib, regexpatch, relsize, silence, tcolorbox, tikzpagenodes, titlesec, titletoc, wrapfig2, ulem.

It mainly consists of two parts.

  • Main part:

    • minimalist.sty : interface of the main style
      • minimalist-plain.sty : the style "plain"
        • The best choice for formal usage.
      • minimalist-default.sty : the default style
        • Slightly fancier than the plain style.
      • minimalist-flow.sty : the style "flow"
        • Suitable for writing course notes: sections and theorems are numbered together to create a storytelling atmosphere; proofs are colored by default.
      • minimalist-stream.sty : the style "stream"
        • Numbers are placed in the left margin; sections and theorems are numbered together to gain a streamlined feeling.
      • minimalist-classical.sty : the style "classical"
        • Originated in the typewriter style, now modernized.
      • minimalist-classicthesis.sty
        • Use your favorite design of ClassicThesis (and its carefully designed styles such as ArsClassica), while still have access to the features provided here, such as preconfigured theorem environments, multilingual support, enhanced author info block, etc.
      • ... and more styles to come (currently on schedule: "elegant", "french", "modern", "typewriter")
    • minimart.cls : class for typesetting articles
    • minimbook.cls : class for typesetting books

    They can be used with any major TeX engine. Currently, they have native support to English, French, German, Italian, Portuguese (European and Brazilian) and Spanish typesetting.

  • Derivative part:

    • einfart.cls : more advanced class for typesetting articles
    • simplivre.cls : more advanced class for typesetting books

    They are similar to the main classes, but have Unicode support, thus can only be used with either XeLaTeX or LuaLaTeX. Currently, they have native support to Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish typesetting, and also use more beautiful fonts.

How to get these files

You can get the .sty and .cls files mentioned above by compiling minimalist.ins:

latex minimalist.ins

Features

Compared with usual document classes, it has the following features:

  • Several carefully designed styles.
  • Native multilingual support: Chinese (simplified and traditional), English, French, German, Italian, Japanese, Portuguese (European and Brazilian), Russian and Spanish.

    In particular, for simplified Chinese, traditional Chinese and Japanese, the fonts of the corresponding glyphs can be automatically switched.

  • Ready-to-use theorem-type environments, with clever referencing supported.
  • Support both the standard and the AMS writing fashion.
  • ... and much more...

License

This work is released under the LaTeX Project Public License, v1.3c or later.

minimalist's People

Contributors

jinwen-xu avatar quark67 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

quark67 yixf-self

minimalist's Issues

Adding a Keyword environment

I believe it would not be too difficult to adapt the code for the abtract (

minimalist/minimalist.dtx

Lines 955 to 994 in 407adcd

%%================================
%% Abstract style
%%================================
\if@minimalist@classical
\renewenvironment{abstract}{%
\LocallyStopLineNumbers%
\vspace{-\baselineskip}%
\begin{center}%
\textsc{\conditionalbfseries\small\abstractname}\\%
\vspace{-.3\baselineskip}%
\begin{minipage}[t]{.833\textwidth}%
\vspace{0pt}%
\color{black!80!paper}%
\footnotesize%
\parindent=2em
}{%
\end{minipage}%
\end{center}%
\medskip%
\ResumeLineNumbers%
}
\else
\renewenvironment{abstract}{%
\LocallyStopLineNumbers%
\begin{flushright}%
\textsc{\conditionalbfseries\small\abstractname}\par%
\vspace{-\parskip}%
\vspace{-.25\baselineskip}%
\begin{minipage}[t]{.833\textwidth}%
\vspace{0pt}%
\color{black!80!paper}%
\footnotesize%
\parindent=2em
}{%
\end{minipage}%
\end{flushright}%
\bigskip%
\ResumeLineNumbers%
}
\fi
) to provide a keyword environment.

I have "hacked" something of the like:

image

and can open a pull request if there is an agreement that this would be a useful feature.

Japanese font is not correctly selected

When a document containing Japanese characters is compiled, Chinese fonts are embedded in the Japanese portion of the document and some characters are not displayed correctly. Is there a way to explicitly specify the language of the document?

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.