Git Product home page Git Product logo

Comments (1)

ttscoff avatar ttscoff commented on July 26, 2024

cheat.html is only for the demo, it excludes quite a few. You should be
using index.html to build your custom set.

I've saved the cheatsheet to look over, but I know very little about
LaTeX. I can't easily tell if the escaped characters are all supposed to
be escaped and vice versa. Have you tested this fully in Cheaters and
confirmed that the output is as expected?

Thanks,
Brett

On 25 Aug 2015, at 3:00, jsmm wrote:

Hi,
<li><a href="cheatsheets/JavaScript.md">JavaScript</a></li> is
missing in cheat.html.

I also copy a draft for a conversion of citations from MultiMarkDown 4
to LaTeX cheatsheet, in case you find it convenient to edit and
include it.

Thank you.

### Conversion of citations from MultiMarkDown 4 to LaTeX

<!--
### Move
(← moves in the opposite direction. Use xSHIFT to hightlight)

| Command | Description|
| -- | -- |
| xOPT → |Next word|
| xCTRL → |Next subword |
| xCMD → |End of line|

-->

### Parenthetical citations
| MMD4 | natbib | Output |
| --|--|
| [#jon90] | \citep{jon90} | (Jones et al., 1990) |
| [#jon90][] | \citep{jon90} |
| [chap. 2][#jon90] | \citep[chap. 2]{jon90} | (Jones et al., 1990, 
chap. 2) |
| [chap. 2\]\[véase][#jon90] | \citep[chap. 2][véase]{jon90} | 
(véase Jones et al., 1990, chap. 2) |
| | \citep[véase][]{jon90} | (véase Jones et al., 1990) |

### Textual citations
| MMD4 | natbib | Output |
|--|--|
| [#jon90;] | \citet{jon90} | Jones et al. (1990) |
| [#jon90;][] ] | \citet{jon90} | |
| [chap. 2][#jon90;] | \citet[chap. 2]{jon90} | Jones et al. (1990, 
chap. 2) |
| [chap. 2\]\[véase][#jon90;] | \citet[chap. 2][véase]{jon90} | |

### Full author list
| MMD4 | natbib | Output |
|--|--|
| | \citep\ *{jon90} | (Jones, Baker, et Williams, 1990) |
| | \citet\*{jon90} | Jones, Baker, et Williams (1990) |

### Multiple citations
| MMD4 | natbib | Output |
|--|--|
| [#jon90,james91] | \citep{jon90,jam91} | (Jones et al., 1990; James 
et al. 1991) [1] |
| | \citep{jon90,jon91} | (Jones et al., 1990, 1991) |
| | \citep{jon90a,jon90b} | (Jones et al., 1990a,b) |
| | \citet{jon90,jam91} | Jones et al. (1990); James et al. (1991) |

[1] In Scrivener, it is possible to write _[][#jon90],[][james91]_ if 
we add to the Compile | Replacements dialog:
][],[# --> ,
],[][# --> ,

### Partial citations
| MMD4 | natbib | Output |
| --|-- |
| | \citeauthor{jon90} | Jones et al. |
| | \citeauthor*{jon90} | Jones, Baker, et Williams |
| | \citeyear{jon90} | 1990 |
| | \citeyearpar{jon90} | (1990) |


### Forcing upper cased names
| MMD4 | natbib | Output |
| --|-- |
| | \Citep{dRob98} | (Della Robbia, 1998) |
| | \Citet{dRob98} | Della Robbia (1998) |
| | \Citeauthor{dRob98} | Della Robbia |

### Including a source in bibliography that was not cited
| MMD4 | natbib | Output |
| --|-- |
| [Not cited][#jon90] | |

Reply to this email directly or view it on GitHub:
#22

from cheaters.

Related Issues (9)

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.