Created
December 29, 2013 16:11
-
-
Save dohyunkim/8171931 to your computer and use it in GitHub Desktop.
test file for transparency. Current (Dec. 2013) luaotfload-colors.lua conflicts with luamplib package on the development.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \input luaotfload.sty | |
| \input luamplib.sty | |
| \mplibsetformat{metafun} | |
| \mplibcode | |
| beginfig(0); | |
| path p; p:= unitcircle scaled 2cm; | |
| fill p withcolor transparent("normal",0.5,red); | |
| fill p xshifted 1cm withcolor transparent("normal",0.5,blue) ; | |
| endfig; | |
| \endmplibcode | |
| \font\redtr ={file:lmroman12-bold.otf:color=ff000077} at 40pt | |
| \font\bluetr={file:lmroman12-bold.otf:color=0000ff77} at 40pt | |
| \redtr A\kern-0.5em \bluetr B | |
| \bye |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment