diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-03 00:02:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-03 00:02:22 +0000 |
commit | c20b61928150008d080bab09e967fcaebc93da81 (patch) | |
tree | bffa7c8765003c0e8f2a40c72479e5caa6f748bd /Build/source/utils/asymptote/doc/asymptote.texi | |
parent | 9ec802a431dfe1b27063bac2f8dd9bc58cf997b0 (diff) |
asy 1.79
git-svn-id: svn://tug.org/texlive/trunk@14078 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/doc/asymptote.texi')
-rw-r--r-- | Build/source/utils/asymptote/doc/asymptote.texi | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/Build/source/utils/asymptote/doc/asymptote.texi b/Build/source/utils/asymptote/doc/asymptote.texi index 8fb751251b6..1e5443228b7 100644 --- a/Build/source/utils/asymptote/doc/asymptote.texi +++ b/Build/source/utils/asymptote/doc/asymptote.texi @@ -406,9 +406,10 @@ pressing the @code{r} key). @cindex configuration file Configuration variables are most easily set as @code{Asymptote} variables in an optional configuration file (by default, -@code{.asy/config.asy} in the -user's home directory or @code{%USERPROFILE%\.asy\config.asy} under -@code{MSDOS}); @pxref{configuration file}. Here are the default values +@code{.asy/config.asy} in the user's home directory, +@code{$TEXMFCONFIG/asymptote} under @code{TeXLive}, and +@code{%USERPROFILE%\.asy\config.asy} under @code{MSDOS}; +@pxref{configuration file}). Here are the default values of several important configuration variables under @code{UNIX}: @cindex @code{python} @@ -468,28 +469,21 @@ configuration variables @code{paperwidth} and @code{paperheight}. @cindex @code{texpath} @cindex @code{texcommand} -@cindex @code{texdvicommand} @cindex @code{dvips} @cindex @code{convert} @cindex @code{display} @cindex @code{animate} -@cindex @code{xasy} @cindex @code{ImageMagick} The following configuration variables normally do not require adjustment: @verbatim texpath texcommand -texdvicommand dvips convert display animate -xasy @end verbatim @noindent -The @code{texdvicommand} is used for @code{3D} label typesetting, which -requires @code{dvips} output. An empty string indicates the default setting -of @code{latex}/@code{tex}, depending on the setting of @code{texengine}. @cindex command-line options Configuration variables may also be set or overwritten with a @@ -7479,9 +7473,9 @@ maximum screen dimension. The default settings @cindex mouse bindings @verbatim import settings; -leftbutton=new string[] {"rotate","zoom","shift",""}; +leftbutton=new string[] {"rotate","zoom","shift","pan"}; middlebutton=new string[] {"menu"}; -rightbutton=new string[] {"zoom/menu","rotateX","rotateY","rotateZ"}; +rightbutton=new string[] {"zoom","rotateX","rotateY","rotateZ"}; wheelup=new string[] {"zoomin"}; wheeldown=new string[] {"zoomout"}; @end verbatim @@ -7489,7 +7483,8 @@ bind the mouse buttons as follows: @itemize @item Left: rotate @item Shift Left: zoom -@item Ctrl Left: shift +@item Ctrl Left: shift viewport +@item Alt Left: pan @item Middle: menu @item Wheel Up: zoom in @item Wheel Down: zoom out @@ -7514,8 +7509,10 @@ The keyboard shortcuts are: @item c: show camera parameters @item +: expand @item =: expand +@item >: expand @item -: shrink @item _: shrink +@item <: shrink @item q: exit @item Ctrl-q: exit @end itemize @@ -7669,7 +7666,7 @@ along with the surfaces @code{unitdisk}, @code{unitplane}, @code{unitcube}, These projections to two dimensions are predefined: @table @code @item oblique -@item oblique(real angle); +@item oblique(real angle) @cindex @code{oblique} @cindex @code{obliqueZ} The point @code{(x,y,z)} is projected to @code{(x-0.5z,y-0.5z)}. @@ -7696,7 +7693,7 @@ positive @math{y} axis is drawn at this angle in degrees. @cindex @code{target} @cindex @code{showtarget} @cindex @code{center} -@item orthographic(triple camera, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ @ bool showtarget=true, bool center=false) +@item orthographic(triple camera, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ @ real zoom=1, pair viewportshift=0, bool showtarget=true, @*@ @ @ @ @ @ @ @ @ @ @ @ @ bool center=false) This projects from three to two dimensions using the view as seen at a point infinitely far away in the direction @code{unit(camera)}, orienting the camera so that, if possible, the vector @code{up} points upwards. Parallel @@ -7705,12 +7702,14 @@ to include @code{target} if @code{showtarget=true}. If @code{center=true}, the target will be adjusted to the center of the bounding volume. -@item orthographic(real x, real y, real z, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ @ bool showtarget=true, bool center=false) +@item orthographic(real x, real y, real z, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ @ real zoom=1, pair viewportshift=0, bool showtarget=true, @*@ @ @ @ @ @ @ @ @ @ @ @ @ bool center=false) This is equivalent to -@code{orthographic((x,y,z),up,target,showtarget,center)}. +@verbatim +orthographic((x,y,z),up,target,zoom,viewportshift,showtarget,center) +@end verbatim @cindex @code{autoadjust} -@item perspective(triple camera, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ bool showtarget=true, bool autoadjust=true, @*@ @ @ @ @ @ @ @ @ @ @ @ bool center=autoadjust) +@item perspective(triple camera, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ real zoom=1, real angle=0, pair viewportshift=0, @*@ @ @ @ @ @ @ @ @ @ @ @ bool showtarget=true, bool autoadjust=true, @*@ @ @ @ @ @ @ @ @ @ @ @ bool center=autoadjust) @cindex @code{perspective} @cindex @code{NURBS} This projects from three to two dimensions, taking account of @@ -7725,9 +7724,12 @@ for all possible interactive rotations about @code{target}. If @code{center=true}, the target will be adjusted to the center of the bounding volume. -@item perspective(real x, real y, real z, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ bool showtarget=true, bool autoadjust=true, @*@ @ @ @ @ @ @ @ @ @ @ @ bool center=autoadjust) -This is equivalent to @code{perspective((x,y,z),up,target,showtarget, -autoadjust,center)}. +@item perspective(real x, real y, real z, triple up=Z, triple target=O, @*@ @ @ @ @ @ @ @ @ @ @ @ real zoom=1, real angle=0, pair viewportshift=0, @*@ @ @ @ @ @ @ @ @ @ @ @ bool showtarget=true, bool autoadjust=true, @*@ @ @ @ @ @ @ @ @ @ @ @ bool center=autoadjust) +This is equivalent to +@verbatim +perspective((x,y,z),up,target,zoom,angle,viewportshift,showtarget, + autoadjust,center) +@end verbatim @end table @cindex @code{currentprojection} @@ -9231,7 +9233,7 @@ Melenchuk, Martin Wiebusch, and Stefan Knorr. @c LocalWords: usleep currentpatterns trailingzero Orest Shardt DefaultHead @c LocalWords: SimpleHead HookHead TeXHead multipage NURBS inlinemovie dxmax @c LocalWords: simpson NoBox truesize autoscale shadestroke recurses mintimes -@c LocalWords: nonoverlapping texdvicommand texengine maxtimes maxheight pdb +@c LocalWords: nonoverlapping texengine maxtimes maxheight pdb TEXMFCONFIG @c LocalWords: piecewisestraight unitrand graphmarkers antialias nolight newl @c LocalWords: Delaunay Shewchuk convertOptions APPDATA pdfreload tempFile @c LocalWords: pdfreloadOptions deferred OpenGL Phong Blinn renderer unitbox @@ -9256,4 +9258,5 @@ Melenchuk, Martin Wiebusch, and Stefan Knorr. @c LocalWords: vectorfieldsphere RightView FrontView BackView BottomView @c LocalWords: addViews outprefix addAllViews xsplinetype ysplinetype rotateX @c LocalWords: usplinetype vsplinetype leftbutton middlebutton rightbutton -@c LocalWords: rotateY rotateZ wheelup zoomin wheeldown zoomout +@c LocalWords: rotateY rotateZ wheelup zoomin wheeldown zoomout TeXLive +@c LocalWords: viewportshift |