Skip to content

Instantly share code, notes, and snippets.


Lars Willighagen larsgw

View GitHub Profile
View incognito.js
var incognito = function(require, module, exports) {
"use strict";
function isWebkitRequestFileSystem() {
return !!window.webkitRequestFileSystem
function isFirefoxIndexedDB() {
return !!window.indexedDB && /Firefox/.test(window.navigator.userAgent)
function isIE10PlusOrEdge() {
if (document.documentMode) {
rbnvrw /
Last active Sep 4, 2018
Adding scalebars to images in LaTeX

Scalebar with background

Scalebar with background

To change the backgroundcolor, adjust the scalebgcolor variable to use the desired color. Add the following code to your preamble:

\usepackage[usenames, dvipsnames]{color}
You can’t perform that action at this time.