Module: RubyPost

Defined in:
lib/draw.rb,
lib/graph.rb,
lib/label.rb,
lib/objects.rb,
lib/options.rb,
lib/drawable.rb,
lib/simpleplot.rb

Defined Under Namespace

Classes: AbstractPlot, Arrow, AutoGrid, BaseDrawCommand, BaseGraphData, BaseLabel, Circle, Clip, Color, Colour, Coords, CurvedPlot, CustomDrawable, CustomOption, Dashed, DblArrow, DotLabel, DoubleArrow, Draw, Drawable, Figure, File, Fill, Graph, GraphData, GraphDataOption, GraphFile, GraphLabel, GraphOption, GraphTitle, ImpulsePlot, Label, LinePlot, Macros, Object, Option, Pair, Path, PathOption, Pen, Picture, PicturePrecompiler, Plot, Range, Rotate, Rotated, Scale, Scaled, Shift, Shifted, SimplePlot, Square, StemPlot, Translate, XLabel, YLabel, YLabelRight

Constant Summary collapse

@@picture_precompiler =

module variable to be altered by drawables that need a particular metapost macro input.

PicturePrecompiler.new
@@Inputs =

module variable to be altered by drawables that need a particular metapost macro input.

Macros.new
@@org_picture =

this is the origninal metapost picture that is what actually gets displayed. You shouldn’t use this name for any other picture!

"ORIGINAL_PICTURE"

Instance Method Summary collapse

Instance Method Details

#latex(s) ⇒ Object

return the string s wrapped in btex etex



5
6
7
# File 'lib/options.rb', line 5

def latex(s)
  'btex ' + s + ' etex'
end