Skip to content

Instantly share code, notes, and snippets.

View megothss's full-sized avatar

Sérgio Saquetim megothss

View GitHub Profile
@megothss
megothss / AntlrCharStream.java
Created July 10, 2014 02:34
Implementation of interface CharStream from Antlr4 to be integrated into the Netbeans IDE
/**
* AntlrCharStream
*
* Code based on Daniel's implementation of Antlr4 CharStream interface found on
* http://stackoverflow.com/questions/16152666/netbeans-platform-language-and-antlr-lexer
*
* I've modified the proposed implementation to deal with the tracking of index position in a different way and to
* implement the function getText
*/
package org.antlr;
% FontAwesome (http://fortawesome.github.com/Font-Awesome/) bindings for (Xe)LaTeX
% Author: Honza Ustohal <[email protected]>
%
% Translation of FontAwesome's private range characters into XeTeX symbols. All icons are camel-cased and prefixed with 'fa', i.e. what was .icon-align-center the CSS version of FontAwesome becomes \faAlignCenter
% This might be reworked into a full blown package in the near future
%
% Prerequisite:
% XeLaTeX, FontAwesome installed as a system font accessible by XeLaTeX
%
% Usage: