Skip to content

Instantly share code, notes, and snippets.

View xiaohk's full-sized avatar
🐐
Mr. King Chivo

Jay Wang xiaohk

🐐
Mr. King Chivo
View GitHub Profile
@xiaohk
xiaohk / paper-revision-markup.md
Last active November 29, 2023 00:05
Mark up paper revisions in LaTeX

How to Mark Up Paper Revisions with LaTeX

Below are three steps to highlight changes made in a paper revision with LaTeX.

Step 1. Generate a submission snapshot

We first take a snapshot of the last version of the LaTeX project before the paper's original submission. If you use Git to version control your project, it is easy to checkout the exact version used for the original submission.

  1. Use latexpand to flatten the LaTeX structure. It combines all LaTeX files into one file.
@xiaohk
xiaohk / how-to-make-taps-happy.md
Last active March 19, 2024 07:50
how-to-make-taps-happy

How To Make ACM TAPS Happy?

Here are some tips and tricks to make ACM TAPS stop complaining about your LaTeX source submission.

1. Only use ACM permitted packages

Remove all packages that are not listed in this webpage.

2. Add short description for \caption commands

@xiaohk
xiaohk / acm-cc.md
Last active January 27, 2023 05:01
How to generate CC copyblock for ACM paper

Create a CC Block for ACM Preprints

Here are two methods to create a nice CC copyright block for your ACM preprint.

First, you need to check your acmart.cls version (you can find it from the first 50 lines of this file).

version >= v1.87

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xiaohk
xiaohk / material-colors.scss
Last active November 25, 2021 02:56
Use Google's Material Design colors as SCSS variables
$red-50: hsl(350, 100.0%, 96.08%);
$red-100: hsl(354, 100.0%, 90.2%);
$red-200: hsl(0, 72.65%, 77.06%);
$red-300: hsl(0, 68.67%, 67.45%);
$red-400: hsl(1, 83.25%, 62.55%);
$red-500: hsl(4, 89.62%, 58.43%);
$red-600: hsl(1, 77.19%, 55.29%);
$red-700: hsl(0, 65.08%, 50.59%);
$red-800: hsl(0, 66.39%, 46.67%);
$red-900: hsl(0, 73.46%, 41.37%);
@xiaohk
xiaohk / deploy.md
Last active February 25, 2023 08:13
Deploy to gh-pages
@xiaohk
xiaohk / octocat.svg
Created October 3, 2020 00:43
Octocat - Icon Animation 🐙
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xiaohk
xiaohk / badge.svg
Last active January 22, 2021 16:29
Badge - Icon Animation 🏅
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xiaohk
xiaohk / twitter.svg
Last active October 5, 2020 15:24
Twitter - Icon Animation 🐦
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@xiaohk
xiaohk / rocket.svg
Last active October 2, 2020 21:09
Rocket - Icon Animation 🚀
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.