Skip to content

Instantly share code, notes, and snippets.

Lars Willighagen larsgw

Block or report user

Report or block larsgw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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}
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) {
You can’t perform that action at this time.