All Projects → muzimuzhi → latex-examples

muzimuzhi / latex-examples

Licence: other
small (la)tex files showing features, solutions and attempts

Programming Languages

TeX
3793 projects

Projects that are alternatives of or similar to latex-examples

tudscr
TUD-Script
Stars: ✭ 69 (+27.78%)
Mutual labels:  latex, latex-examples
dicy
A builder for LaTeX, knitr, literate Agda, literate Haskell and Pweave that automatically builds dependencies.
Stars: ✭ 22 (-59.26%)
Mutual labels:  latex
hfmath
Render LaTeX math with Hershey Fonts
Stars: ✭ 76 (+40.74%)
Mutual labels:  latex
typora-latex-theme
将Typora伪装成LaTeX的中文样式主题,本科生轻量级课程论文撰写的好帮手。This is a theme disguising Typora into Chinese LaTeX style.
Stars: ✭ 2,239 (+4046.3%)
Mutual labels:  latex
pandoc-amsthm
provide a syntax to use amsthm environments in pandoc, with output in LaTeX and HTML
Stars: ✭ 19 (-64.81%)
Mutual labels:  latex
l2kurz
German short introduction to LaTeX
Stars: ✭ 19 (-64.81%)
Mutual labels:  latex
purple-pi
💜 LaTeX math wherever you want
Stars: ✭ 31 (-42.59%)
Mutual labels:  latex
wikitopdf
Export a repo's wiki as a PDF ebook.
Stars: ✭ 14 (-74.07%)
Mutual labels:  latex
ParsedownMath
LaTeX support in Parsedown
Stars: ✭ 13 (-75.93%)
Mutual labels:  latex
latex-template
南方科技大学 LaTeX 模板目录 SUSTech LaTeX templates
Stars: ✭ 72 (+33.33%)
Mutual labels:  latex
cdcalendar
A customisable, multilingual calendar with 3 different sizes. With LaTeX.
Stars: ✭ 62 (+14.81%)
Mutual labels:  latex
PythonTipsDS
Python Tips for Data Scientist
Stars: ✭ 23 (-57.41%)
Mutual labels:  latex
ads2bibdesk
ads2bibdesk helps you add astrophysics articles listed on NASA/ADS to your BibDesk database using the new ADS Developer API
Stars: ✭ 32 (-40.74%)
Mutual labels:  latex
rfc-bibtex
A command line tool that creates bibtex entries for IETF RFCs and Internet Drafts.
Stars: ✭ 43 (-20.37%)
Mutual labels:  latex
xdupgthesis
西安电子科技大学研究生学位论文XeLaTeX模板
Stars: ✭ 271 (+401.85%)
Mutual labels:  latex
rulex
A ruby environment for Latex files
Stars: ✭ 14 (-74.07%)
Mutual labels:  latex
fitchjs
Fitch style proof constructor
Stars: ✭ 19 (-64.81%)
Mutual labels:  latex
hustreport
📓 An Unofficial Graduate Report Template in LaTeX for Huazhong University of Science and Technology
Stars: ✭ 18 (-66.67%)
Mutual labels:  latex
snipmate-snippets-bib
Snipmate.vim support for BibTeX files
Stars: ✭ 13 (-75.93%)
Mutual labels:  latex
awsome-list-of-cv-and-resume-templetes
a collection of cv and resume styles
Stars: ✭ 78 (+44.44%)
Mutual labels:  latex

LaTeX examples

utilities/code-with-output.tex

User Interface

  • \begin{example}[tcb options]{title}, code followed by output, numbered
  • \begin{example*}[tcb options]{title}, unnumbered variant

Typical configured usage

  • side by side, \begin{example}[sidebyside]{title}
  • change code language, \begin{example}[minted options app={language=python}]{title}

Internals

  • direct dependencies:
    • tcolorbox, with libraries hooks, minted, skins and xparse loaded
    • accsupp
  • environments are based on tcolorbox's minted library, -shell-escape required
  • added
    • \emptyaccsupp
    • tcolorbox options example options and example title
  • modified
    • \theFancyVerbLine

utilities/print-definition.tex

User Interface

  • \printDef{csname}, print definition of \cs{csname}
  • \printAndRunCode{code}

Internals

  • direct dependencies:
    • fvextra
    • xcolor with no package options
  • added
    • \toString

utilities/pgfkeys-handler-patch.tex

User Interface

  • \pgfkeys{<key>/.patch={<search>}{<replace>}}
  • \pgfkeyspatchvalue{<key path>}{<search>}{<replace>}

Internals

  • direct dependency: xpatch

utilities/pgfkeys-handler-store-in.tex

User Interface

  • after <key>/.store in=<macro> (or .estore in), handlers .get, .add, .prefix, and .append will act on <macro>, not the key itself

Internals

  • <macro> is stored in new subkey .@store, which will be cleared by .initial
  • for the above four handlers, .@store has higher precedence than the key itself (set by .initial)

utilities/hyperref-autonameref.tex

User Interface

  • \autonameref{<label key>} and \autonameref*{<label key>}
  • 1-arg \HyRef@autonameref@style which controls the extra output style (see test file)

Internals

  • direct dependency: hyperref
  • \HyRef@autonameref and \HyRef@autonamesetref

utilities/tikz-auto-mark-nodes.tex

User Interface

  • scope options auto mark and no auto mark
  • styles every auto mark and every auto <shape> mark that accept pin options
  • zero-arg macro \tikzAutoMarkText that controls the mark text
    • In the definition of the above styles and macro, \tikzNodeName and \tikzNodeShape can be used as placeholders of node name and shape, respectively.

Initial values

```tex
\tikzset{
  every auto mark/.style={
    font=\ttfamily, rotate=45,
    red, anchor=west, pin position=45,
  },
  every auto coordinate mark/.style={
    blue, anchor=east, pin position=180+45,
  },
}
\newcommand\tikzAutoMarkText{\tikzNodeName}
```

Internals

  • Every auto mark is a node pin drawn by
    \node also[pin={[every auto mark/.try, every auto <shape> mark/.try]{\tikzAutoMarkText}}] (\tikzNodeName);
    at the end of every tikzpicture.
    • maybe draw in execute at end path?
  • direct dependency: tikz and etoolbox (for \patchcmd)
  • tikz options used: execute at begin scope and execute at end picture
  • patched: \tikz@node@finish to append node info to \tikzNodeList
  • added:
    • \tikzNodeList, A comma-separated list of elements {<node_name>, <node_shape>}
    • \newif\iftikz@lib@automark@on
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].