├── .gitignore ├── Asymptote ├── Asymptote-zh │ ├── CDlabel.asy │ ├── CLEAN.bat │ ├── Coons.asy │ ├── Gouraud.asy │ ├── MAKEPDF.bat │ ├── Pythagoras.asy │ ├── asycolors.sty │ ├── asymptote-zh.pdf │ ├── asysyntex.tex │ ├── axialshade.asy │ ├── bezier2.asy │ ├── beziercurve.asy │ ├── bigdiagonal.asy │ ├── bigsquare.asy │ ├── cleantmp │ ├── clippath.asy │ ├── colons.asy │ ├── colors.asy │ ├── cube.asy │ ├── diagonal.asy │ ├── dots.asy │ ├── fzfonts.tex │ ├── hatch.asy │ ├── join.asy │ ├── labelalign.asy │ ├── labelsquare.asy │ ├── latticeshading.asy │ ├── linecap.asy │ ├── linejoin.asy │ ├── linetype.asy │ ├── logo.asy │ ├── main.tex │ ├── makepdf │ ├── makepen.asy │ ├── mexicanhat.asy │ ├── quartercircle.asy │ ├── shadedtiling.asy │ ├── shadestroke.asy │ ├── square.asy │ ├── subpictures.asy │ ├── superpath.asy │ ├── tile.asy │ ├── transparency.asy │ └── windingnumber.asy ├── AsymptoteByExample │ ├── AsymptoteByExample.pdf │ ├── CLEAN.bat │ ├── MAKEPDF.bat │ ├── asy.bib │ ├── asymptote.sty │ ├── asysyntex.sty │ ├── automata.pdf │ ├── automata.tex │ ├── automata_hand.pdf │ ├── cct.ist │ ├── cleantmp │ ├── figure-src │ │ ├── CJKmove.sty │ │ ├── area.asy │ │ ├── automata.asy │ │ ├── automata_hand.asy │ │ ├── ballfill.asy │ │ ├── convexhull.asy │ │ ├── digraph.asy │ │ ├── hanoi.asy │ │ ├── hsvinter.asy │ │ ├── hyper.asy │ │ ├── movie15.sty │ │ ├── node.asy │ │ ├── recplot.asy │ │ ├── simplenode.asy │ │ ├── stars.asy │ │ ├── tiling.asy │ │ └── xiantu.asy │ ├── gpl-3.0.tex │ ├── main.tex │ ├── makepdf │ ├── myfonts.sty │ ├── stars.pdf │ ├── stars.tex │ ├── tiling.pdf │ ├── tiling.tex │ ├── xasy.png │ ├── xiantu-ancient.pdf │ ├── xiantu.pdf │ └── xiantu.tex └── NotesOnAsy │ ├── 20.asy │ ├── 3D-Fonts.asy │ ├── 3D-Label.asy │ ├── Angle-Mark.asy │ ├── Another-Parametric-Surface.asy │ ├── Arc.asy │ ├── Arrows.asy │ ├── Axes3-Test.asy │ ├── Background-another.asy │ ├── Background.asy │ ├── Bezier-Patch-Complex.asy │ ├── Bezier-Patch-Principle.asy │ ├── Bezier-Patch-Shading.asy │ ├── Bezier-Patch-Simple.asy │ ├── Bezier-Principle-1.asy │ ├── Bezier-Principle-2.asy │ ├── Bezier-Surface-Principle.asy │ ├── Bezier-Surface-Tangent-Plane.asy │ ├── Bezier-Surface.asy │ ├── Bounds-1.asy │ ├── Bounds-2.asy │ ├── Box-Circle-Ellipse.asy │ ├── C60.asy │ ├── Chinese-Label.asy │ ├── Circle-3.asy │ ├── Circle-XY-YZ-ZX.asy │ ├── Circle.asy │ ├── Circle2.asy │ ├── Circle3.asy │ ├── CircleXYYZZX.asy │ ├── Clip-1.asy │ ├── Clip-2.asy │ ├── Clip-3.asy │ ├── Compass-1.asy │ ├── Compass-2.asy │ ├── Compass.asy │ ├── Complex-Re-Im.asy │ ├── Complex-Shading.asy │ ├── Cone.asy │ ├── Contour-2D.asy │ ├── Contour-Curve.asy │ ├── Contour-Other.asy │ ├── Contour-levels.asy │ ├── Contour-lines.asy │ ├── Contour-proj.asy │ ├── Contour3-Cheese.asy │ ├── Contour3-Ellipsoid.asy │ ├── Contour3-Sphere.asy │ ├── Contour3-Spherical-Harmonic.asy │ ├── Cube-Shading.asy │ ├── Curve-Torus.asy │ ├── Curve.asy │ ├── Curve3.asy │ ├── Cyclic-Star.asy │ ├── Cylinder-Coordinate.asy │ ├── Dashed-Line.asy │ ├── Data.asy │ ├── Domain.asy │ ├── Ellipsoid-1.asy │ ├── Elliptic-Paraboloid.asy │ ├── Erfc.asy │ ├── EvenOdd.asy │ ├── Example.asy │ ├── Extrude-Contour.asy │ ├── Extrude-Hyperbolic.asy │ ├── Extrude-LaTeX.asy │ ├── Extrude-test-1.asy │ ├── Extrude-test-2.asy │ ├── Extrude-test-3.asy │ ├── FillDraw.asy │ ├── Flows.asy │ ├── FootBall-backup.asy │ ├── FootBall.asy │ ├── For-Circle.asy │ ├── For-Dots.asy │ ├── For-Ellipses.asy │ ├── For-Grid.asy │ ├── For-Label.asy │ ├── For-Square.asy │ ├── For-Star.asy │ ├── Fractal-Another.asy │ ├── Fractal.asy │ ├── Function-Shading.asy │ ├── Graph-Test-1.asy │ ├── Graph-Test-2.asy │ ├── Graph-Test-3.asy │ ├── Graph-Ticks.asy │ ├── Graph-of-Function-1.asy │ ├── Graph-of-Function-2.asy │ ├── GraphTheory.asy │ ├── GreatRhombicuboctahedron.asy │ ├── Grids-3D.asy │ ├── Grids-Surface.asy │ ├── Hatch.asy │ ├── Heart.asy │ ├── Hyperbolic-Paraboloid.asy │ ├── Hyperbolic-WireFrame-another.asy │ ├── Hyperbolic-WireFrame.asy │ ├── Hyperboloid-of-One-Sheet-Parametric.asy │ ├── Hyperboloid-of-One-Sheet.asy │ ├── Hyperboloid-of-Two-Sheets.asy │ ├── Impact-Modified.asy │ ├── InTick-OutTicks.asy │ ├── Interp.asy │ ├── Intersection-of-Two-Surfaces.asy │ ├── Intersection.asy │ ├── Koch-Cube.asy │ ├── LICENSE │ ├── Label-Curve-1.asy │ ├── Label-Curve-2.asy │ ├── Label-Curve-3.asy │ ├── LiftingFontsto3D.asy │ ├── LiftingTeXto3D-2.asy │ ├── LiftingTeXto3D.asy │ ├── List-Plot-3D-Spline.asy │ ├── List-Plot-3D.asy │ ├── List-Points-3D-Surface.asy │ ├── List-Points-3D.asy │ ├── MAI │ ├── book-one │ │ ├── 0-1.asy │ │ ├── 0-1.pdf │ │ ├── 0-2.asy │ │ ├── 0-2.pdf │ │ ├── 0-3.asy │ │ ├── 0-3.pdf │ │ ├── 0-4.asy │ │ ├── 0-4.pdf │ │ ├── 1-1.asy │ │ ├── 1-1.pdf │ │ ├── 1-11.asy │ │ ├── 1-11.pdf │ │ ├── 1-12.asy │ │ ├── 1-12.pdf │ │ ├── 1-14.asy │ │ ├── 1-14.pdf │ │ ├── 1-15.asy │ │ ├── 1-15.pdf │ │ ├── 1-16.asy │ │ ├── 1-16.pdf │ │ ├── 1-17.asy │ │ ├── 1-17.pdf │ │ ├── 1-18.asy │ │ ├── 1-18.pdf │ │ ├── 1-19.asy │ │ ├── 1-19.pdf │ │ ├── 1-2.asy │ │ ├── 1-2.pdf │ │ ├── 1-20.asy │ │ ├── 1-20.pdf │ │ ├── 1-21.asy │ │ ├── 1-21.pdf │ │ ├── 1-22.asy │ │ ├── 1-22.pdf │ │ ├── 1-23.asy │ │ ├── 1-23.pdf │ │ ├── 1-24.asy │ │ ├── 1-24.pdf │ │ ├── 1-25.asy │ │ ├── 1-25.pdf │ │ ├── 1-26.asy │ │ ├── 1-26.pdf │ │ ├── 1-27.asy │ │ ├── 1-27.pdf │ │ ├── 1-28.asy │ │ ├── 1-28.pdf │ │ ├── 1-29.asy │ │ ├── 1-29.pdf │ │ ├── 1-3.asy │ │ ├── 1-3.pdf │ │ ├── 1-30.asy │ │ ├── 1-30.pdf │ │ ├── 1-31.asy │ │ ├── 1-31.pdf │ │ ├── 1-4.asy │ │ ├── 1-4.pdf │ │ ├── 1-8.asy │ │ ├── 1-8.pdf │ │ ├── 1-9.asy │ │ ├── 1-9.pdf │ │ ├── 2-1.asy │ │ ├── 2-1.pdf │ │ ├── 2-2.asy │ │ ├── 2-2.pdf │ │ ├── 2-3.asy │ │ ├── 2-3.pdf │ │ ├── 2-5.asy │ │ ├── 2-5.pdf │ │ ├── 2-6.asy │ │ ├── 2-6.pdf │ │ ├── 2-8.asy │ │ ├── 2-8.pdf │ │ ├── 3-1.asy │ │ ├── 3-1.pdf │ │ ├── 3-2.asy │ │ ├── 3-2.pdf │ │ ├── 3-3.asy │ │ ├── 3-3.pdf │ │ ├── 3-4.asy │ │ ├── 3-4.pdf │ │ ├── 3-5.asy │ │ ├── 3-5.pdf │ │ ├── 3-6.asy │ │ ├── 3-6.pdf │ │ ├── 3-8.asy │ │ ├── 3-8.pdf │ │ ├── 4-10.asy │ │ ├── 4-10.pdf │ │ ├── 4-11.asy │ │ ├── 4-11.pdf │ │ ├── 4-12.asy │ │ ├── 4-12.pdf │ │ ├── 4-2.asy │ │ ├── 4-2.pdf │ │ ├── 4-5.asy │ │ ├── 4-5.pdf │ │ ├── 4-6.asy │ │ ├── 4-6.pdf │ │ ├── 4-7.asy │ │ ├── 4-7.pdf │ │ ├── 4-9.asy │ │ ├── 4-9.pdf │ │ ├── 5-1.asy │ │ ├── 5-1.pdf │ │ ├── 5-10.asy │ │ ├── 5-10.pdf │ │ ├── 5-11.asy │ │ ├── 5-11.pdf │ │ ├── 5-12.asy │ │ ├── 5-12.pdf │ │ ├── 5-13.asy │ │ ├── 5-13.pdf │ │ ├── 5-14.asy │ │ ├── 5-14.pdf │ │ ├── 5-15.asy │ │ ├── 5-15.pdf │ │ ├── 5-16.asy │ │ ├── 5-16.pdf │ │ ├── 5-17.asy │ │ ├── 5-17.pdf │ │ ├── 5-18.asy │ │ ├── 5-18.pdf │ │ ├── 5-19.asy │ │ ├── 5-19.pdf │ │ ├── 5-2.asy │ │ ├── 5-2.pdf │ │ ├── 5-3.asy │ │ ├── 5-3.pdf │ │ ├── 5-4.asy │ │ ├── 5-4.pdf │ │ ├── 5-6.asy │ │ ├── 5-6.pdf │ │ ├── 5-7.asy │ │ ├── 5-7.pdf │ │ ├── 5-9.asy │ │ ├── 5-9.pdf │ │ ├── 6-10.asy │ │ ├── 6-10.pdf │ │ ├── 6-11.asy │ │ ├── 6-11.pdf │ │ ├── 6-12.asy │ │ ├── 6-12.pdf │ │ ├── 6-3.asy │ │ ├── 6-3.pdf │ │ ├── 6-4.asy │ │ ├── 6-4.pdf │ │ ├── 6-5.asy │ │ ├── 6-5.pdf │ │ ├── 6-6.asy │ │ ├── 6-6.pdf │ │ ├── 6-7.asy │ │ ├── 6-7.pdf │ │ ├── 6-9.asy │ │ └── 6-9.pdf │ └── book-two │ │ ├── 7-2.asy │ │ ├── 7-2.pdf │ │ ├── 8-11.asy │ │ ├── 8-11.pdf │ │ ├── 8-5.asy │ │ └── 8-5.pdf │ ├── Material-Invisible.asy │ ├── Mathematica-Costa.nb │ ├── Mathematica-Label.asy │ ├── Mathematica-Obj.asy │ ├── MengerSponge-20091213.asy │ ├── Midpoint.asy │ ├── Mobius-Band.asy │ ├── Mobius-Principle.asy │ ├── Moubius-Strip.asy │ ├── Multi-View.asy │ ├── NURBStest.asy │ ├── NotePad++0.png │ ├── NotePad++a.png │ ├── NotePad++b.png │ ├── NotePad++c.png │ ├── NotePad++x.png │ ├── NotePad++y.png │ ├── NotesOnAsy.tex │ ├── ObliqueX.asy │ ├── Orthographic.asy │ ├── Parabolic-Cylinder.asy │ ├── Parameter-Curve-1.asy │ ├── Parameter-Curve-2.asy │ ├── Parameter-Curve.asy │ ├── Parameter-Curve3.asy │ ├── Parameter-Surface.asy │ ├── Path3-Surface.asy │ ├── Perpendicular.asy │ ├── Perspective.asy │ ├── Piecewise-Function.asy │ ├── Pipeintersection-New.asy │ ├── Planar-True.asy │ ├── PlaneCurve-SurfaceCurve.asy │ ├── PlaneProject.asy │ ├── Polar-Coordinate.asy │ ├── Polygon.asy │ ├── Polyhedron-20-1.asy │ ├── Polyhedron-20-2.asy │ ├── Polyhedron-20.asy │ ├── Precontrol-Postcontrol.asy │ ├── PseudoSphere.asy │ ├── PythagoreanTree-new.asy │ ├── Random.asy │ ├── Revolution-x2.asy │ ├── Revolution.asy │ ├── Rotation.asy │ ├── Schwarz-Example.asy │ ├── SciTE.png │ ├── Segment-Points.asy │ ├── Series-1.asy │ ├── Series-2.asy │ ├── Shading-abs.asy │ ├── Shading-zpart.asy │ ├── Shift.asy │ ├── SierpinskiSponge-1-1.asy │ ├── SierpinskiSponge-1.asy │ ├── SierpinskiSponge-2-2.asy │ ├── SierpinskiSponge-2.asy │ ├── SierpinskiSponge-3-3.asy │ ├── SierpinskiSponge-3.asy │ ├── Silhouette.asy │ ├── Simple-Example.asy │ ├── Skeleton.asy │ ├── Slant.asy │ ├── Slide-MultiMedia.asy │ ├── Slide-test.asy │ ├── Sphere-1.asy │ ├── Sphere-2.asy │ ├── Sphere-Shading.asy │ ├── Sphere-Vector-Field-1.asy │ ├── Sphere-Vector-Field-2.asy │ ├── Sphere-Vector-Field-3.asy │ ├── Spherical-3.asy │ ├── Spherical-4.asy │ ├── Spherical-Coordinate-Example.asy │ ├── Spherical-Coordinate.asy │ ├── Spherical-Graph.asy │ ├── Spherical-Harmonic.asy │ ├── Spherical-Region.asy │ ├── Spherical-Steiner-Surface.asy │ ├── Spherical-Triangle.asy │ ├── Sub-Picture-1.asy │ ├── Sub-Picture-2.asy │ ├── Subfigure.asy │ ├── Surface-Local-2.asy │ ├── Surface-Local-Enneper.asy │ ├── Surface-Local-Section.asy │ ├── Surface-Local.asy │ ├── Tensor-Shade.asy │ ├── Three-Views.asy │ ├── Torus.asy │ ├── Tree.asy │ ├── Tremble.asy │ ├── Tube-Fonts.asy │ ├── Tube-polygon.asy │ ├── Tube-unitcircle.asy │ ├── Two-Surfaces.asy │ ├── UnitSphere-Longitude.asy │ ├── UnitSphere.asy │ ├── Vase.asy │ ├── Viviani-Curve.asy │ ├── Viviani-Solid.asy │ ├── Viviani.asy │ ├── Wave-Shading.asy │ ├── XY-YZ-ZX-PlaneProject.asy │ ├── XY-YZ-ZX-unitsquare3.asy │ ├── Xasy.asy │ ├── animations │ ├── 99-animation.asy │ ├── Animations-test.asy │ ├── Bezier-Animation.asy │ ├── GIF-Animation.asy │ ├── Mobius-Animation.asy │ ├── OpenGL-Animation.asy │ ├── PDF-Animation.asy │ ├── Random-Numbers.asy │ ├── little-k-k.asy │ ├── qiqi.asy │ └── tuyouyou-2014.asy │ ├── asy.api │ ├── asy4cn.asy │ ├── asyapi.asy │ ├── asysyntax.tex │ ├── asyxml.asy │ ├── context.asy │ ├── data-1.txt │ ├── data.txt │ ├── filegraph.asy │ ├── fzfonts.tex │ ├── generator.asy │ ├── hole.asy │ ├── main.tex │ ├── octahedron.asy │ ├── ollydbg │ ├── config_asy_highlight.swf │ ├── exe.txt │ ├── test.asy │ ├── userCodeComplete.asy │ └── userDefineLangxml.asy │ ├── path3-Bezier.asy │ ├── scatter.txt │ ├── secondary.asy │ ├── sf1.obj │ ├── sf2.obj │ ├── shadow.asy │ ├── test.asy │ ├── unitbox.asy │ └── userDefineLangxml.asy ├── BIBLaTeX └── biblatex-zh-cn │ ├── .gitignore │ ├── Appendix.tex │ ├── AuthorGuide.tex │ ├── DatabaseGuide.tex │ ├── Introduction.tex │ ├── README.md │ ├── UserGuide.tex │ ├── biblatex-localcnstring.tex │ ├── biblatex-zh-cn.pdf │ ├── biblatex-zh-cn.tex │ ├── format-biblatex-zh-cn.sty │ ├── makeclear.bat │ └── makefile.bat ├── BIBTeX ├── tamethebeast.zip ├── ttb-zh-cn.pdf └── ttb-zh-cn.zip ├── README.md ├── amsmath-zh └── UsersGuideForamsmathpackage-zh-cn.pdf ├── beamer └── beamer用户手册(V3.24)中译版.pdf ├── caption ├── .gitignore ├── caption-chs.pdf ├── caption-eng.pdf ├── caption-eng.tex ├── caption-zh-cn.tex ├── cat.eps └── elephant.eps ├── cls-guide └── clsguide-zh-cn.pdf ├── fancyhdr └── fancyhdr_chs.pdf ├── geometry └── geometry_trans2.0.pdf ├── hyperref └── hyperref-zh-cn.pdf ├── metapost ├── CHANGES ├── README ├── manual │ ├── Makefile │ ├── README │ ├── TODO │ ├── agepop91.d │ ├── agepopm.d │ ├── charts.mp │ ├── clean.bat │ ├── cm2lm.map │ ├── countries.d │ ├── ctabbing.sty │ ├── demo.ms │ ├── energy.d │ ├── figs.1 │ ├── figs.mp │ ├── grdemo-doc.ms │ ├── grdemo-doc.ps │ ├── grdemo.eps │ ├── grdemo.mp │ ├── grdemo.ms │ ├── lead.d │ ├── makePDF.bat │ ├── matmul.d │ ├── mpboxes.bib │ ├── mpboxes.mp │ ├── mpboxes.tex │ ├── mpgraph.bib │ ├── mpgraph.mp │ ├── mpgraph.tex │ ├── mplibapi.tex │ ├── mpman-app-legacy.tex │ ├── mpman-app-numbersystems.tex │ ├── mpman-app-optab.tex │ ├── mpman-app-refman.tex │ ├── mpman-charts.mp │ ├── mpman.bib │ ├── mpman.ist │ ├── mpman.mp │ ├── mpman.tex │ └── timepop.d └── tutorial │ ├── Makefile │ ├── abstract.tex │ ├── annulus.mp │ ├── arrows.tex │ ├── biblio.tex │ ├── circles.mp │ ├── clean.bat │ ├── commands.tex │ ├── compilation.tex │ ├── conclusion.tex │ ├── data.d │ ├── data.mp │ ├── data.tex │ ├── draw.mp │ ├── draw.tex │ ├── fill.mp │ ├── fill.tex │ ├── graph.tex │ ├── inclusion.tex │ ├── intro.tex │ ├── label.mp │ ├── label.tex │ ├── makePDF.bat │ ├── mpintro.bib │ ├── mpintro.tex │ ├── paperclip.mp │ ├── parabola.mp │ └── previewer.png ├── natbib └── natbib-zh-银俊成.pdf ├── optidef ├── Optidef-ZH-CN.pdf └── Optidef-ZH-CN.tex ├── paralist ├── paralist.pdf └── paralist.rar ├── pgfmanual ├── README.md ├── doc-zh │ ├── AUTHORS │ ├── README │ ├── images │ │ ├── brave-gnu-world-logo-mask.bb │ │ ├── brave-gnu-world-logo-mask.jpg │ │ ├── brave-gnu-world-logo.25.bb │ │ ├── brave-gnu-world-logo.25.eps │ │ ├── brave-gnu-world-logo.25.jpg │ │ ├── brave-gnu-world-logo.bb │ │ ├── brave-gnu-world-logo.eps │ │ ├── brave-gnu-world-logo.jpg │ │ ├── brave-gnu-world-logo.xbb │ │ ├── pgfmanual-mindmap-1.pdf │ │ └── pgfmanual-mindmap-2.pdf │ ├── macros │ │ └── pgfmanual-en-macros.tex │ ├── text-en │ │ ├── auto │ │ │ └── pgfmanual-en-introduction.el │ │ ├── pgfmanual-en-base-actions.tex │ │ ├── pgfmanual-en-base-arrows.tex │ │ ├── pgfmanual-en-base-decorations.tex │ │ ├── pgfmanual-en-base-design.tex │ │ ├── pgfmanual-en-base-external.tex │ │ ├── pgfmanual-en-base-images.tex │ │ ├── pgfmanual-en-base-internalregisters.tex │ │ ├── pgfmanual-en-base-layers.tex │ │ ├── pgfmanual-en-base-matrices.tex │ │ ├── pgfmanual-en-base-nodes.tex │ │ ├── pgfmanual-en-base-paths.tex │ │ ├── pgfmanual-en-base-patterns.tex │ │ ├── pgfmanual-en-base-plots.tex │ │ ├── pgfmanual-en-base-points.tex │ │ ├── pgfmanual-en-base-quick.tex │ │ ├── pgfmanual-en-base-scopes.tex │ │ ├── pgfmanual-en-base-shadings.tex │ │ ├── pgfmanual-en-base-transformations.tex │ │ ├── pgfmanual-en-base-transparency.tex │ │ ├── pgfmanual-en-drivers.tex │ │ ├── pgfmanual-en-dv-axes.tex │ │ ├── pgfmanual-en-dv-backend.tex │ │ ├── pgfmanual-en-dv-examples.tex │ │ ├── pgfmanual-en-dv-formats.tex │ │ ├── pgfmanual-en-dv-introduction.tex │ │ ├── pgfmanual-en-dv-main.tex │ │ ├── pgfmanual-en-dv-polar.tex │ │ ├── pgfmanual-en-dv-stylesheets.tex │ │ ├── pgfmanual-en-dv-visualizers.tex │ │ ├── pgfmanual-en-gd-algorithm-layer.tex │ │ ├── pgfmanual-en-gd-algorithms-in-c.tex │ │ ├── pgfmanual-en-gd-binding-layer.tex │ │ ├── pgfmanual-en-gd-circular.tex │ │ ├── pgfmanual-en-gd-display-layer.tex │ │ ├── pgfmanual-en-gd-edge-routing.tex │ │ ├── pgfmanual-en-gd-examples.tex │ │ ├── pgfmanual-en-gd-force.tex │ │ ├── pgfmanual-en-gd-layered.tex │ │ ├── pgfmanual-en-gd-misc.tex │ │ ├── pgfmanual-en-gd-ogdf.tex │ │ ├── pgfmanual-en-gd-overview.tex │ │ ├── pgfmanual-en-gd-overview_translated.tex │ │ ├── pgfmanual-en-gd-phylogenetics.tex │ │ ├── pgfmanual-en-gd-trees.tex │ │ ├── pgfmanual-en-gd-usage-pgf.tex │ │ ├── pgfmanual-en-gd-usage-tikz.tex │ │ ├── pgfmanual-en-gd-usage-tikz_translating.tex │ │ ├── pgfmanual-en-guidelines.tex │ │ ├── pgfmanual-en-installation.tex │ │ ├── pgfmanual-en-introduction.log │ │ ├── pgfmanual-en-introduction.tex │ │ ├── pgfmanual-en-library-3d.tex │ │ ├── pgfmanual-en-library-angles.tex │ │ ├── pgfmanual-en-library-arrows.tex │ │ ├── pgfmanual-en-library-automata.tex │ │ ├── pgfmanual-en-library-babel.tex │ │ ├── pgfmanual-en-library-backgrounds.tex │ │ ├── pgfmanual-en-library-calc.tex │ │ ├── pgfmanual-en-library-calendar.tex │ │ ├── pgfmanual-en-library-chains.tex │ │ ├── pgfmanual-en-library-circuits.tex │ │ ├── pgfmanual-en-library-decorations.tex │ │ ├── pgfmanual-en-library-edges.tex │ │ ├── pgfmanual-en-library-er.tex │ │ ├── pgfmanual-en-library-external.tex │ │ ├── pgfmanual-en-library-fadings.tex │ │ ├── pgfmanual-en-library-fit.tex │ │ ├── pgfmanual-en-library-fixedpoint.tex │ │ ├── pgfmanual-en-library-folding.tex │ │ ├── pgfmanual-en-library-fpu.tex │ │ ├── pgfmanual-en-library-lsystems.tex │ │ ├── pgfmanual-en-library-math.tex │ │ ├── pgfmanual-en-library-matrices.tex │ │ ├── pgfmanual-en-library-mindmaps.tex │ │ ├── pgfmanual-en-library-patterns.tex │ │ ├── pgfmanual-en-library-petri.tex │ │ ├── pgfmanual-en-library-plot-handlers.tex │ │ ├── pgfmanual-en-library-plot-marks.tex │ │ ├── pgfmanual-en-library-profiler.tex │ │ ├── pgfmanual-en-library-shadings.tex │ │ ├── pgfmanual-en-library-shadows.tex │ │ ├── pgfmanual-en-library-shapes.tex │ │ ├── pgfmanual-en-library-spy.tex │ │ ├── pgfmanual-en-library-svg-path.tex │ │ ├── pgfmanual-en-library-through.tex │ │ ├── pgfmanual-en-library-trees.tex │ │ ├── pgfmanual-en-library-turtle.tex │ │ ├── pgfmanual-en-license.tex │ │ ├── pgfmanual-en-main-body.tex │ │ ├── pgfmanual-en-main-preamble.tex │ │ ├── pgfmanual-en-main.tex │ │ ├── pgfmanual-en-math-algorithms.tex │ │ ├── pgfmanual-en-math-commands.tex │ │ ├── pgfmanual-en-math-design.tex │ │ ├── pgfmanual-en-math-numberprinting.tex │ │ ├── pgfmanual-en-math-parsing.tex │ │ ├── pgfmanual-en-module-parser.tex │ │ ├── pgfmanual-en-oo.tex │ │ ├── pgfmanual-en-pages.tex │ │ ├── pgfmanual-en-pgfcalendar.tex │ │ ├── pgfmanual-en-pgffor.tex │ │ ├── pgfmanual-en-pgfkeys.tex │ │ ├── pgfmanual-en-pgfkeysfiltered.tex │ │ ├── pgfmanual-en-pgfsys-commands.tex │ │ ├── pgfmanual-en-pgfsys-overview.tex │ │ ├── pgfmanual-en-pgfsys-paths.tex │ │ ├── pgfmanual-en-pgfsys-protocol.tex │ │ ├── pgfmanual-en-tikz-actions.tex │ │ ├── pgfmanual-en-tikz-arrows.tex │ │ ├── pgfmanual-en-tikz-coordinates.tex │ │ ├── pgfmanual-en-tikz-decorations.tex │ │ ├── pgfmanual-en-tikz-design.tex │ │ ├── pgfmanual-en-tikz-graphs.tex │ │ ├── pgfmanual-en-tikz-matrices.tex │ │ ├── pgfmanual-en-tikz-paths.tex │ │ ├── pgfmanual-en-tikz-pics.tex │ │ ├── pgfmanual-en-tikz-plots.tex │ │ ├── pgfmanual-en-tikz-scopes.tex │ │ ├── pgfmanual-en-tikz-shapes.tex │ │ ├── pgfmanual-en-tikz-transformations.tex │ │ ├── pgfmanual-en-tikz-transparency.tex │ │ ├── pgfmanual-en-tikz-trees.tex │ │ ├── pgfmanual-en-tutorial-Euclid.tex │ │ ├── pgfmanual-en-tutorial-chains.tex │ │ ├── pgfmanual-en-tutorial-map.tex │ │ ├── pgfmanual-en-tutorial-nodes.tex │ │ ├── pgfmanual-en-tutorial.tex │ │ ├── pgfmanual-en-xxcolor.tex │ │ └── plots │ │ │ ├── pgf-asymptotic-example.gnuplot │ │ │ ├── pgf-asymptotic-example.table │ │ │ ├── pgf-exp.gnuplot │ │ │ ├── pgf-exp.table │ │ │ ├── pgf-parametric-example.gnuplot │ │ │ ├── pgf-parametric-example.table │ │ │ ├── pgf-sin.gnuplot │ │ │ ├── pgf-sin.table │ │ │ ├── pgf-tan-example.gnuplot │ │ │ ├── pgf-tan-example.table │ │ │ ├── pgf-x.gnuplot │ │ │ ├── pgf-x.table │ │ │ ├── pgfmanual-sine.gnuplot │ │ │ ├── pgfmanual-sine.table │ │ │ ├── pgfplotgnuplot-example.gnuplot │ │ │ └── pgfplotgnuplot-example.table │ └── version-for-xetex │ │ ├── en │ │ ├── Makefile │ │ └── pgfmanual.tex │ │ └── pgfmanual-xetex.cfg └── old-zh │ ├── pgfmanual-ch1-7.pdf │ └── pgfmanual-ch8.pdf ├── pstricks └── CreateTreesandFiguresinGraphTheorywithPSTricks.pdf ├── subfiles-zh ├── LICENSE ├── README.md ├── figures │ └── pic1.png ├── subfiles-zh.pdf └── subfiles-zh.tex ├── tabu └── tabu-zh-cn.pdf ├── titlesec └── titlesec_c.pdf └── 插图指南 ├── epslatex-cn.pdf └── src ├── epslatex-cn.tex ├── images ├── captiondef.pdf ├── golfer.pdf ├── golfer.ps ├── graphic.eps ├── graphic2.pdf ├── illusion.eps ├── latex-box.pdf ├── left.eps ├── left.pdf ├── leftright.pdf ├── leftright.tex ├── mass.pdf ├── orig-point.eps ├── orig-point.pdf ├── pend.eps ├── pend.pdf ├── psfrag-ex1.pdf ├── psfrag-ex2.pdf ├── psfrag-ex3.pdf ├── recycle.pdf ├── right.eps ├── right.pdf ├── rosette.eps ├── rosette.pdf ├── rosette.ps ├── rosettebox.eps ├── rosettebox.pdf ├── rotat-box.pdf ├── tiger.eps ├── tux-black.eps ├── tux-color.pdf ├── w.eps ├── w.pdf ├── wide.eps └── wide.pdf ├── makefiles.bat ├── part1.tex ├── part2.tex ├── part3.tex ├── part4.tex ├── part5.tex ├── preface.tex ├── ref.bib └── title.tex /Asymptote/Asymptote-zh/CDlabel.asy: -------------------------------------------------------------------------------- 1 | size(11.7cm,11.7cm); 2 | asy(nativeformat(),"logo"); 3 | fill(unitcircle^^(scale(2/11.7)*unitcircle), 4 | evenodd+rgb(124/255,205/255,124/255)); 5 | label(scale(1.1)*minipage( 6 | "\centering\scriptsize \textbf{\LARGE {\tt Asymptote}\\ 7 | \smallskip 8 | \small The Vector Graphics Language}\\ 9 | \smallskip 10 | \textsc{Andy Hammerlindl, John Bowman, and Tom Prince} 11 | http://asymptote.sourceforge.net\\ 12 | ",8cm),(0,0.6)); 13 | label(graphic("logo."+nativeformat(),"height=7cm"),(0,-0.22)); 14 | clip(unitcircle^^(scale(2/11.7)*unitcircle),evenodd); 15 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/CLEAN.bat: -------------------------------------------------------------------------------- 1 | del *.???~ *.bak *.log *.toc *.aux *.out *.xdv *.ind *.ilg *.idx -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/Coons.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | 3 | pen[] p={red,green,blue,magenta}; 4 | path g=(0,0){dir(45)}..(1,0)..(1,1)..(0,1)..cycle; 5 | tensorshade(g,p); 6 | dot(g); 7 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/Gouraud.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | 3 | pen[] p={red,green,blue,magenta}; 4 | pair[] z={(-1,0),(0,0),(0,1),(1,0)}; 5 | int[] edges={0,0,0,1}; 6 | gouraudshade(z[0]--z[2]--z[3]--cycle,p,z,edges); 7 | 8 | draw(z[0]--z[1]--z[2]--cycle); 9 | draw(z[1]--z[3]--z[2],dashed); 10 | 11 | dot(Label,z[0],W); 12 | dot(Label,z[1],S); 13 | dot(Label,z[2],N); 14 | dot(Label,z[3],E); 15 | 16 | label("0",z[0]--z[1],S,red); 17 | label("1",z[1]--z[2],E,red); 18 | label("2",z[2]--z[0],NW,red); 19 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/MAKEPDF.bat: -------------------------------------------------------------------------------- 1 | if not exist logo.pdf asy -noV -tex xelatex -f pdf logo.asy 2 | for %%I in (*.asy) do ( 3 | if not exist %%~nI.pdf ( 4 | asy -noV -tex xelatex -f pdf -noprc -render=0 %%I 5 | ) 6 | ) 7 | xelatex main 8 | makeindex main 9 | xelatex main 10 | xelatex main 11 | move /y main.pdf asymptote-zh.pdf -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/Pythagoras.asy: -------------------------------------------------------------------------------- 1 | size(0,150); 2 | import geometry; 3 | 4 | real a=3; 5 | real b=4; 6 | real c=hypot(a,b); 7 | 8 | pair z1=(0,b); 9 | pair z2=(a,0); 10 | pair z3=(a+b,0); 11 | perpendicular(z1,NE,z1--z2,blue); 12 | perpendicular(z3,NW,blue); 13 | draw(square((0,0),z3)); 14 | draw(square(z1,z2)); 15 | 16 | real d=0.3; 17 | pair v=unit(z2-z1); 18 | draw(baseline("$a$"),-d*I--z2-d*I,red,Bars,Arrows,PenMargins); 19 | draw(baseline("$b$"),z2-d*I--z3-d*I,red,Arrows,Bars,PenMargins); 20 | draw("$c$",z3+z2*I-d*v--z2-d*v,red,Arrows,PenMargins); 21 | draw("$a$",z3+d--z3+z2*I+d,red,Arrows,Bars,PenMargins); 22 | draw("$b$",z3+z2*I+d--z3+z3*I+d,red,Arrows,Bars,PenMargins); 23 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/asymptote-zh.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/Asymptote-zh/asymptote-zh.pdf -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/axialshade.asy: -------------------------------------------------------------------------------- 1 | unitsize(1cm); 2 | path g = ellipse((0,0), 4, 1); 3 | axialshade(g, green, (-4,0), yellow, (4,0)); 4 | axialshade(shift(0,-2.5)*g, stroke=true, 5 | green+linewidth(2mm), (-4,0), yellow, (4,0)); 6 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/bezier2.asy: -------------------------------------------------------------------------------- 1 | import beziercurve; 2 | 3 | pair midpoint(pair a, pair b) {return interp(a,b,0.5);} 4 | 5 | pair m0=midpoint(z0,c0); 6 | pair m1=midpoint(c0,c1); 7 | pair m2=midpoint(c1,z1); 8 | 9 | draw(m0--m1--m2,dashed); 10 | dot("$m_0$",m0,NW,red); 11 | dot("$m_1$",m1,N,red); 12 | dot("$m_2$",m2,red); 13 | 14 | pair m3=midpoint(m0,m1); 15 | pair m4=midpoint(m1,m2); 16 | pair m5=midpoint(m3,m4); 17 | 18 | draw(m3--m4,dashed); 19 | dot("$m_3$",m3,NW,red); 20 | dot("$m_4$",m4,NE,red); 21 | dot("$m_5$",m5,N,red); 22 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/beziercurve.asy: -------------------------------------------------------------------------------- 1 | size(400); 2 | pair z0=(0,0); 3 | pair c0=(1,1); 4 | pair c1=(2,1); 5 | pair z1=(3,0); 6 | draw(z0..controls c0 and c1 .. z1,blue); 7 | 8 | draw(z0--c0--c1--z1,dashed); 9 | dot("$z_0$",z0,W,red); 10 | dot("$c_0$",c0,NW,red); 11 | dot("$c_1$",c1,NE,red); 12 | dot("$z_1$",z1,red); 13 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/bigdiagonal.asy: -------------------------------------------------------------------------------- 1 | size(0,100.5); 2 | draw((0,0)--(2,1),Arrow); 3 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/bigsquare.asy: -------------------------------------------------------------------------------- 1 | size(0,3cm); 2 | draw(unitsquare); 3 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/cleantmp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rm *.???~ *.bak *.log *.toc *.aux *.out *.xdv *.ind *.ilg *.idx 3 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/clippath.asy: -------------------------------------------------------------------------------- 1 | picture pic; 2 | path C1 = circle((0,0), 1cm), C2 = circle((1cm,0), 1cm); 3 | fill(C1, paleblue); draw(pic, C2, linewidth(2mm)); 4 | fill(pic, C1, heavyblue); clip(pic, C2); 5 | add(pic); 6 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/colons.asy: -------------------------------------------------------------------------------- 1 | draw((0,0){up}::(100,25){right}::(200,0){down}); 2 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/cube.asy: -------------------------------------------------------------------------------- 1 | import three; 2 | dotgranularity=0; // Render dots as spheres. 3 | 4 | currentprojection=orthographic(5,4,2,center=true); 5 | 6 | size(5cm); 7 | size3(3cm,5cm,8cm); 8 | 9 | draw(unitbox); 10 | 11 | dot(unitbox,red); 12 | 13 | label("$O$",(0,0,0),NW); 14 | label("(1,0,0)",(1,0,0),S); 15 | label("(0,1,0)",(0,1,0),E); 16 | label("(0,0,1)",(0,0,1),Z); 17 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/diagonal.asy: -------------------------------------------------------------------------------- 1 | draw((0,0)--(100,100)); 2 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/dots.asy: -------------------------------------------------------------------------------- 1 | draw((0,0){up}..(100,25){right}..(200,0){down}); 2 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/hatch.asy: -------------------------------------------------------------------------------- 1 | size(0,100); 2 | import patterns; 3 | 4 | add("hatch",hatch()); 5 | add("hatchback",hatch(NW)); 6 | add("crosshatch",crosshatch(3mm)); 7 | 8 | real s=1.25; 9 | filldraw(unitsquare,pattern("hatch")); 10 | filldraw(shift(s,0)*unitsquare,pattern("hatchback")); 11 | filldraw(shift(2s,0)*unitsquare,pattern("crosshatch")); 12 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/join.asy: -------------------------------------------------------------------------------- 1 | size(300,0); 2 | pair[] z=new pair[10]; 3 | 4 | z[0]=(0,100); z[1]=(50,0); z[2]=(180,0); 5 | 6 | for(int n=3; n <= 9; ++n) 7 | z[n]=z[n-3]+(200,0); 8 | 9 | path p=z[0]..z[1]---z[2]::{up}z[3] 10 | &z[3]..z[4]--z[5]::{up}z[6] 11 | &z[6]::z[7]---z[8]..{up}z[9]; 12 | 13 | draw(p,grey+linewidth(4mm)); 14 | 15 | dot(z); 16 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/labelsquare.asy: -------------------------------------------------------------------------------- 1 | size(3cm); 2 | draw(unitsquare); 3 | label("$A$",(0,0),SW); 4 | label("$B$",(1,0),SE); 5 | label("$C$",(1,1),NE); 6 | label("$D$",(0,1),NW); 7 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/latticeshading.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | 3 | pen[][] p={{white,grey,black}, 4 | {red,green,blue}, 5 | {cyan,magenta,yellow}}; 6 | 7 | latticeshade(unitsquare,p); 8 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/linecap.asy: -------------------------------------------------------------------------------- 1 | // 线端(line cap)测试 2 | // milksea 3 | 4 | string[] capname = {"squarecap", "roundcap", "extendcap"}; 5 | for (int i = 0; i < 3; ++i) { 6 | path p = shift(0,-i*.5cm) * ((0,0) -- (5cm,0)); 7 | draw(p, linewidth(3mm)+linecap(i)+mediumgray); 8 | draw(p, linewidth(0.6pt)+squarecap); 9 | label(Label(capname[i], BeginPoint), p, 2W, 10 | fontsize(7.5bp/pt)+fontcommand("\ttfamily")); // 六号字 11 | } 12 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/linejoin.asy: -------------------------------------------------------------------------------- 1 | // 线连接(line join)测试 2 | // milksea 3 | 4 | string[] capname = {"miterjoin", "roundjoin", "beveljoin"}; 5 | for (int i = 0; i < 3; ++i) { 6 | path p = shift(i*3cm,0) * ((0,0) -- (-1cm,.5cm) -- (0,1cm)); 7 | draw(p, linewidth(3mm)+linejoin(i)+mediumgray); 8 | draw(p, linewidth(0.6pt)+squarecap); 9 | label(Label(capname[i], MidPoint), p, 4W, 10 | fontsize(7.5bp/pt)+fontcommand("\ttfamily")); // 六号字 11 | } 12 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/linetype.asy: -------------------------------------------------------------------------------- 1 | void testline(real y) { 2 | draw((0,y)--(100,y),currentpen+solid); 3 | draw((0,y-10)--(100,y-10),currentpen+dotted); 4 | draw((0,y-20)--(100,y-20),currentpen+dashed); 5 | draw((0,y-30)--(100,y-30),currentpen+longdashed); 6 | draw((0,y-40)--(100,y-40),currentpen+dashdotted); 7 | draw((0,y-50)--(100,y-50),currentpen+longdashdotted); 8 | draw((0,y-60)--(100,y-60),currentpen+Dotted); 9 | } 10 | 11 | currentpen=linewidth(0.5); 12 | testline(100); 13 | 14 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/logo.asy: -------------------------------------------------------------------------------- 1 | size(140,80,IgnoreAspect); 2 | 3 | picture logo(pair s=0, pen q) 4 | { 5 | picture pic; 6 | pen p=linewidth(2)+fontsize(24pt)+q; 7 | real a=-0.4; 8 | real b=0.95; 9 | real y1=-5; 10 | real y2=-3y1/2; 11 | path A=(a,0){dir(10)}::{dir(89.5)}(0,y2); 12 | draw(pic,A,p); 13 | draw(pic,(0,y1){dir(88.3)}::{dir(20)}(b,0),p); 14 | real c=0.5*a; 15 | pair z=(0,2.5); 16 | label(pic,"{\it symptote}",z,0.25*E+0.169S,p); 17 | pair w=(0,1.7); 18 | draw(pic,intersectionpoint(A,w-1--w)--w,p); 19 | draw(pic,(0,y1)--(0,y2),p); 20 | draw(pic,(a,0)--(b,0),p); 21 | return shift(s)*pic; 22 | } 23 | 24 | pair z=(-0.015,0.08); 25 | for(int x=0; x < 10; ++x) 26 | add(logo(0.1*x*z,gray(0.04*x))); 27 | 28 | add(logo(red)); 29 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/makepdf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | asy -noV -tex xelatex -f pdf logo.asy 3 | asy -noV -tex xelatex -f pdf -noprc -render=0 *.asy 4 | xelatex main 5 | makeindex main 6 | xelatex main 7 | xelatex main 8 | mv main.pdf asymptote-zh.pdf 9 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/makepen.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | pen convex=makepen(scale(10)*polygon(8))+grey; 3 | draw((1,0.4),convex); 4 | draw((0,0)---(1,1)..(2,0)--cycle,convex); 5 | 6 | pen nonconvex=scale(10)* 7 | makepen((0,0)--(0.25,-1)--(0.5,0.25)--(1,0)--(0.5,1.25)--cycle)+red; 8 | draw((0.5,-1.5),nonconvex); 9 | draw((0,-1.5)..(1,-0.5)..(2,-1.5),nonconvex); 10 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/mexicanhat.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | 3 | real mexican(real x) {return (1-8x^2)*exp(-(4x^2));} 4 | 5 | int n=30; 6 | real a=1.5; 7 | real width=2a/n; 8 | 9 | guide hat; 10 | path solved; 11 | 12 | for(int i=0; i < n; ++i) { 13 | real t=-a+i*width; 14 | pair z=(t,mexican(t)); 15 | hat=hat..z; 16 | solved=solved..z; 17 | } 18 | 19 | draw(hat); 20 | dot(hat,red); 21 | draw(solved,dashed); 22 | 23 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/quartercircle.asy: -------------------------------------------------------------------------------- 1 | size(100,0); 2 | draw((1,0){up}..{left}(0,1),Arrow); 3 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/shadedtiling.asy: -------------------------------------------------------------------------------- 1 | size(0,100); 2 | import patterns; 3 | 4 | real d=4mm; 5 | picture tiling; 6 | path square=scale(d)*unitsquare; 7 | axialshade(tiling,square,white,(0,0),black,(d,d)); 8 | fill(tiling,shift(d,d)*square,blue); 9 | add("shadedtiling",tiling); 10 | 11 | filldraw(unitcircle,pattern("shadedtiling")); 12 | 13 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/shadestroke.asy: -------------------------------------------------------------------------------- 1 | size(100); 2 | 3 | radialshade(W..N..E--(0,0),stroke=true, 4 | red+linewidth(30),(0,0),0.25,yellow,(0,0),1); 5 | 6 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/square.asy: -------------------------------------------------------------------------------- 1 | size(100,100); 2 | draw((0,0)--(1,0)--(1,1)--(0,1)--cycle); 3 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/subpictures.asy: -------------------------------------------------------------------------------- 1 | picture pic1; 2 | real size=50; 3 | size(pic1,size); 4 | fill(pic1,(0,0)--(50,100)--(100,0)--cycle,red); 5 | 6 | picture pic2; 7 | size(pic2,size); 8 | fill(pic2,unitcircle,green); 9 | 10 | picture pic3; 11 | size(pic3,size); 12 | fill(pic3,unitsquare,blue); 13 | 14 | picture pic; 15 | add(pic,pic1.fit(),(0,0),N); 16 | add(pic,pic2.fit(),(0,0),10S); 17 | 18 | add(pic.fit(),(0,0),N); 19 | add(pic3.fit(),(0,0),10S); 20 | 21 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/superpath.asy: -------------------------------------------------------------------------------- 1 | size(0,100); 2 | path unitcircle=E..N..W..S..cycle; 3 | path g=scale(2)*unitcircle; 4 | filldraw(unitcircle^^g,evenodd+yellow,black); 5 | 6 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/tile.asy: -------------------------------------------------------------------------------- 1 | size(0,90); 2 | import patterns; 3 | 4 | add("tile",tile()); 5 | add("filledtilewithmargin",tile(6mm,4mm,red,Fill),(1mm,1mm),(1mm,1mm)); 6 | add("checker",checker()); 7 | add("brick",brick()); 8 | 9 | real s=2.5; 10 | filldraw(unitcircle,pattern("tile")); 11 | filldraw(shift(s,0)*unitcircle,pattern("filledtilewithmargin")); 12 | filldraw(shift(2s,0)*unitcircle,pattern("checker")); 13 | filldraw(shift(3s,0)*unitcircle,pattern("brick")); 14 | -------------------------------------------------------------------------------- /Asymptote/Asymptote-zh/transparency.asy: -------------------------------------------------------------------------------- 1 | size(0,150); 2 | 3 | if(settings.outformat == "") 4 | settings.outformat="pdf"; 5 | 6 | begingroup(); 7 | fill(shift(1.5dir(120))*unitcircle,green+opacity(0.75)); 8 | fill(shift(1.5dir(60))*unitcircle,red+opacity(0.75)); 9 | fill(unitcircle,blue+opacity(0.75)); 10 | endgroup(); 11 | -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/AsymptoteByExample.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/AsymptoteByExample.pdf -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/CLEAN.bat: -------------------------------------------------------------------------------- 1 | del main-??.pdf main.asy 2 | del *.bak *.???~ 3 | del *.log *.aux *.toc *.out *.ilg *.ind *.idx *.bbl *.blg -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/MAKEPDF.bat: -------------------------------------------------------------------------------- 1 | xelatex main 2 | asy -compact -divisor 4 main 3 | xelatex main 4 | iconv -f utf-8 -t gbk main.idx | cctmkind -C mixed -s cct.ist| iconv -f gbk -t utf-8 > main.ind 5 | bibtex main 6 | xelatex main 7 | xelatex main 8 | move /y main.pdf AsymptoteByExample.pdf -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/automata.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/automata.pdf -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/automata_hand.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/automata_hand.pdf -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/cct.ist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/cct.ist -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/cleantmp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rm main-??.pdf main.asy 3 | rm *.bak *.???~ 4 | rm *.log *.aux *.toc *.out *.ilg *.ind *.idx *.bbl *.blg 5 | -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/figure-src/CJKmove.sty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/figure-src/CJKmove.sty -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/makepdf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xelatex main 3 | asy main 4 | xelatex main 5 | # makeindex main 6 | iconv -f utf-8 -t gbk main.idx | cctmkind -C mixed -s cct.ist| iconv -f gbk -t utf-8 > main.ind 7 | bibtex main 8 | xelatex main 9 | xelatex main 10 | mv main.pdf AsymptoteByExample.pdf 11 | -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/stars.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/stars.pdf -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/tiling.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/tiling.pdf -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/xasy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/xasy.png -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/xiantu-ancient.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/xiantu-ancient.pdf -------------------------------------------------------------------------------- /Asymptote/AsymptoteByExample/xiantu.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/AsymptoteByExample/xiantu.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/3D-Fonts.asy: -------------------------------------------------------------------------------- 1 | settings.tex="xelatex"; 2 | settings.prc=false; 3 | texpreamble("\usepackage{xeCJK}"); 4 | texpreamble("\setCJKmainfont{SimSun}"); 5 | import graph3 ; 6 | size(200); 7 | currentprojection=orthographic(39.4,-264.6,121) ; 8 | real f(pair z) {return 0.5+exp(-abs(z)^2);} 9 | draw(surface(f,(-2.5,-2.5),(2.5,2.5),20,Spline),lightgray); 10 | path[] china=scale(0.2)*texpath("中国"); 11 | guide[][] gui; 12 | for(int i=0;i v.z);}),Rainbow())); 11 | draw(s); 12 | draw(lift(f,contour(f,(0,0),(5,10),levels)),2bp+red); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Contour-lines.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import contour; 3 | size(7.5cm,0); 4 | size3(7.5cm,IgnoreAspect); 5 | real f(pair z) { 6 | return 2z.x^2-z.x+z.y^2; 7 | } 8 | real[] values={50,100,150,200,250}; 9 | currentprojection=orthographic(-10,-10,200); 10 | limits((0,0,0),(10,10,300)); 11 | Label[] L=sequence(new Label(int i) { 12 | return scale(0.75)*Label(format("$z=%g$",values[i]),align=E,BeginPoint); 13 | },values.length); 14 | draw(L,lift(f,contour(f,(0,0),(10,10),values)),1bp+red); 15 | draw(surface(f,(0,0),(10,10),nx=10,Spline), 16 | lightgray,meshpen=black+thick(),nolight); 17 | xaxis3("$x$",Arrow3); 18 | yaxis3("$y$",Arrow3); 19 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Contour-proj.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import contour; 3 | import palette; 4 | size(8cm,7cm,IgnoreAspect); 5 | currentprojection=orthographic(0,0,4); 6 | real f(pair z) {return (z.x+z.y)/(2+cos(z.x)*sin(z.y));} 7 | real[] levels={2,4,6,8}; 8 | surface s=surface(f,(0,0),(5,10),20,Spline); 9 | s.colors(palette(s.map(zpart),Rainbow())); 10 | draw(planeproject(unitsquare3)*s,nolight); 11 | guide[][] pl=contour(f,(0,0),(5,10),levels); 12 | for(int i=0;i0){ 20 | draw(box(w1(A),w1(B)),blue); 21 | draw(box(w2(A),w2(B)),blue); 22 | draw(box(w3(A),w3(B)),blue); 23 | recur(w1(A),w1(B),level-1); 24 | recur(w2(A),w2(B),level-1); 25 | recur(w3(A),w3(B),level-1); 26 | } 27 | else{ 28 | draw(A--B,red); 29 | } 30 | } 31 | recur((0,0),(1,1),3); 32 | 33 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Fractal.asy: -------------------------------------------------------------------------------- 1 | size(300,0); 2 | defaultpen(linewidth(1pt)+fontsize(20)); 3 | real shortening=0.5; 4 | void tree(pair A,pair B,int n){ 5 | pair C,D,M; 6 | C=B+shortening*(rotate(90,B)*A-B); 7 | D=B+shortening*(rotate(-90,B)*A-B); 8 | M=B+shortening*(rotate(180,B)*A-B); 9 | if(n>0){ 10 | draw(A--B); 11 | tree(B,C,n-1); 12 | tree(B,D,n-1); 13 | tree(B,M,n-1); 14 | } 15 | else{ 16 | draw(A--B); 17 | draw(B--C); 18 | draw(B--D); 19 | draw(B--M); 20 | } 21 | } 22 | tree((0,0),(0,1),4); 23 | tree((0,0),(1,0),4); 24 | tree((0,0),(-1,0),4); 25 | tree((0,0),(0,-1),4); 26 | draw(Label("$a$",EndPoint,NW),(0,0)--(1,0),red+2pt); 27 | draw(Label("$b$",EndPoint,SE),(0,0)--(0,1),blue+2pt); 28 | label("$e$",(0,0),NE); 29 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Graph-Test-1.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(10cm,0); 3 | import patterns; 4 | pen helpline = linewidth(0.5bp); 5 | add("hatch",hatch(helpline)); 6 | real r=30; 7 | path rec=box((-50,-50),(180,80)); 8 | path c1=circle((0,0),r); 9 | path c2=shift(2*r+50,0)*c1; 10 | pair a=(r+10,0),b=(r+40,0),z=(0,3); 11 | path rec2=box(a-z,b+z); 12 | fill((rec^^c1^^rec2),evenodd+pattern("hatch")); 13 | draw(c1^^c2^^rec2,red); 14 | draw((0,0)--r*dir(45),Arrow); 15 | label("$\theta$",r/2*dir(20)); 16 | label("$R_0$",2*r/3*dir(70)); 17 | label("$r_1$",a-3*z); 18 | label("$r_2$",b-3*z); 19 | xaxis(Label("$X$",align=NE),Arrow); 20 | yaxis(Label("$Y$",align=NE),Arrow); 21 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Graph-Test-2.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | unitsize(4cm,8cm); 3 | defaultpen(1.5pt+fontsize(20pt)+Helvetica()); 4 | real f(real x){return sin(2pi*x)^2*exp(-x);} 5 | real g(real x){return cos(2pi*x)^2*exp(-x);} 6 | 7 | draw(graph(f,0,4,operator..),red,Label("$\phi_{f_1}$ vs $\phi_{f_{11}}$")); 8 | draw(graph(g,0,4,operator..),blue+linetype("2 2"),Label("$\phi_{f_6}$ vs $\phi_{f_{11}}$")); 9 | 10 | xaxis("Frequency(kHz)",BottomTop,LeftTicks); 11 | yaxis("Cross Power(a.u.)",LeftRight,RightTicks()); 12 | 13 | xequals(1,blue+Dotted); 14 | xequals(2,blue+Dotted); 15 | xequals(3,blue+Dotted); 16 | yequals(0.5,blue+Dotted); 17 | 18 | add(legend(),point((0)),NE,UnFill); 19 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Graph-Test-3.asy: -------------------------------------------------------------------------------- 1 | size(200,IgnoreAspect); 2 | import graph; 3 | import patterns; 4 | 5 | add("hatch",hatch(H=2mm,dir=NE,gray)); 6 | real f(real t ) {return 1/2+atan(t-2)/pi;} 7 | real a=-4; 8 | real b=2; 9 | real c=6; 10 | path p=(a,0)--(0,0)--(0,1)--(b,1)--(b,f(b))..(graph(f,b,a))..(a,f(a))--cycle; 11 | fill(p,pattern("hatch")); 12 | 13 | draw(graph(f,a,c,operator ..),linewidth(1bp)); 14 | draw((0,1)--(c,1)); 15 | draw((b,0)--(b,1),dashed); 16 | draw((b,f(b))--(0,f(b)),dashed); 17 | label("$t=F^{-1}(p)$",(b,0),S); 18 | label("$p=F(t)$",(0,f(b)),W); 19 | label("$0$",(0,0),S); 20 | label("$1$",(0,1),W); 21 | 22 | xaxis(Label("$x$",align=2E),Arrow(HookHead,5)); 23 | yaxis(Label("$u$",align=2N),0,1.1,Arrow(HookHead,5)); 24 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Graph-Ticks.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import contour; 3 | size(7.5cm,0); 4 | size3(7.5cm,IgnoreAspect); 5 | real f(pair z) { 6 | return 2z.x^2-z.x+z.y^2; 7 | } 8 | currentprojection=orthographic(-10,-10,200); 9 | limits((0,0,0),(10,10,300)); 10 | xaxis3(Label("$x$",position=MidPoint,align=SE),OutTicks(Step=2)); 11 | yaxis3(Label("$y$",position=MidPoint,align=SW),OutTicks(Step=2)); 12 | zaxis3(Label("$z=2x^2-x+y^2$",position=EndPoint,align=3N+E), 13 | Bounds(Min,Max),InTicks(Step=100,Label(align=Y))); 14 | draw(surface(f,(0,0),(10,10),nx=5,Spline),lightgray,meshpen=black+thick(),nolight); 15 | 16 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Graph-of-Function-1.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(200); 3 | real f(real x){return x^2;} 4 | path p=graph(f,-2,2,operator..); 5 | draw(p,red); 6 | xaxis("$x$",Arrow); 7 | yaxis("$y$",Arrow); 8 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Graph-of-Function-2.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(200,0); 3 | real f1(real x){return x;} 4 | real f2(real x){return x^2;} 5 | real f3(real x){return x^3;} 6 | guide f1=graph(f1,0,1.5,operator..); 7 | guide f2=graph(f2,0,1.5,operator..); 8 | guide f3=graph(f3,0,1.5,operator..); 9 | draw(f1,green); 10 | draw(f2,red); 11 | draw(f3,blue); 12 | label(Label("$y=x$",position=EndPoint,align=E),f1); 13 | label(Label("$y=x^2$",EndPoint,E),f2); 14 | label(Label("$y=x^3$",EndPoint,E),f3); 15 | xaxis("$x$",Arrow); 16 | yaxis("$y$",Arrow); 17 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/GraphTheory.asy: -------------------------------------------------------------------------------- 1 | size(300); 2 | int n=12; 3 | int k=5; 4 | defaultpen(linewidth(1)+fontsize(20)+font("OT1","cmtt","bx","it")); 5 | 6 | pair P(int i){return dir(90+k*(360/n)*i);} 7 | Label L(int i){return Label(format("$A_{%d}$",i+1),align=P(i));} 8 | 9 | pair[] star=sequence(P,n); 10 | Label[] starlabel=sequence(L,n); 11 | dot(starlabel,star); 12 | 13 | path[] p2p(pair[] p){return operator--(...p)--cycle;} 14 | draw(p2p(star)); 15 | 16 | shipout("star",bbox(10,Fill(paleyellow)),"png"); 17 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Grids-3D.asy: -------------------------------------------------------------------------------- 1 | import grid3; 2 | size(200,0,IgnoreAspect); 3 | currentprojection=orthographic(0.25, 1, 0.25); 4 | limits((-2,-2,0), (0,2,2)); 5 | grid3(pic=currentpicture,gridroutine=XYZgrid(pos=Relative(0)), 6 | N=0,n=0,Step=0,step=0,begin=true,end=true,pGrid=grey,pgrid=lightgrey, 7 | above=false); 8 | //grid3(XYZgrid); 9 | xaxis3(Label("$x$",position=EndPoint,align=S), Bounds(Min,Min), OutTicks()); 10 | yaxis3(Label("$y$",position=EndPoint,align=S), Bounds(Min,Min), OutTicks()); 11 | zaxis3(Label("$z$",position=EndPoint,align=(0,0.5)+W), 12 | Bounds(Min,Min), OutTicks(beginlabel=false)); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Hatch.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import patterns; 3 | add("name",hatch(NW)); 4 | fill(unitsquare,pattern("name")); 5 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Heart.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | draw((0,0)--(2.5,2.5),linewidth(1),Arrow); 3 | filldraw((0,1)..(1,2)..(2,0)..(1,-2)..(0,-3) 4 | ..(0,-3)..(-1,-2)..(-2,0)..(-1,2)..(0,1)..cycle, 5 | pink,red+linewidth(3)); 6 | draw((-3,-3)--(0,0),linewidth(1)); 7 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Hyperbolic-Paraboloid.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import contour3; 3 | import palette; 4 | real f(real x, real y, real z){ 5 | return x^2-y^2-z; 6 | } 7 | size(10cm); 8 | currentprojection=orthographic(2.5,5,5); 9 | surface sf=surface(contour3(f,(-5,-5,-5),(5,5,5),15)); 10 | sf.colors(palette(sf.map(zpart),Rainbow())); 11 | draw(sf,nolight); 12 | axes3("$x$", "$y$", "$z$", Arrow3()); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Hyperboloid-of-One-Sheet-Parametric.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import palette; 3 | size(0,200); 4 | currentprojection=perspective(10,10,10); 5 | limits((-10,-10,-20),(10,10,20)); 6 | real a=4; 7 | real b=3; 8 | real c=5; 9 | triple f(pair t) { 10 | return (a*cosh(t.x)*cos(t.y),b*cosh(t.x)*sin(t.y), c*sinh(t.x)); 11 | } 12 | surface sf=surface(f,(-2,0),(2,2pi),30,Spline); 13 | sf.colors(palette(sf.map(abs),Wheel())); 14 | draw(sf); 15 | axes3("$x$","$y$","$z$",Arrow3()); 16 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Hyperboloid-of-One-Sheet.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import palette; 3 | size(0,200); 4 | currentprojection=perspective(10,10,10); 5 | limits((-10,-10,-20),(10,10,20)); 6 | triple f(pair t) { 7 | real a=4; 8 | real b=3; 9 | real c=5; 10 | real r=t.x; 11 | real theta=t.y; 12 | real x=a*r*cos(theta); 13 | real y=b*r*sin(theta); 14 | //real z=sqrt(c^2*(x^2/a^2+y^2/b^2-1)); 15 | real z=sqrt(r^2-1)*c; 16 | return (x,y,z); 17 | } 18 | surface s=surface(f,(1,0),(3,2pi),50,Spline); 19 | s.colors(palette(s.map(abs),Wheel())); 20 | 21 | draw(surface(s,zscale3(-1)*s)); 22 | 23 | axes3("$x$","$y$","$z$",Arrow3()); 24 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Hyperboloid-of-Two-Sheets.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import palette; 3 | size(0,200); 4 | currentprojection=perspective(10,10,10); 5 | limits((-10,-10,-20),(10,10,20)); 6 | triple f(pair t){ 7 | real a=4; 8 | real b=3; 9 | real c=5; 10 | real r=t.x; 11 | real theta=t.y; 12 | real x=a*r*cos(theta); 13 | real y=b*r*sin(theta); 14 | //real z=sqrt(c^2*(x^2/a^2+y^2/b^2+1)); 15 | real z=sqrt(r^2+1)*c; 16 | return (x,y,z); 17 | } 18 | surface s=surface(f,(0,0),(5,2pi),40,40,Spline); 19 | s.colors(palette(s.map(zpart),Rainbow())); 20 | draw(surface(s,zscale3(-1)*s)); 21 | axes3("$x$","$y$","$z$",Arrow3()); 22 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/InTick-OutTicks.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | size(8cm,0); 3 | currentprojection=orthographic(1,1,1); 4 | limits((0,-2,0),(2,2,2)); 5 | xaxis3("$x$", InTicks()); 6 | yaxis3("$y$", InTicks(Label,5,2)); 7 | zaxis3("$z$",OutTicks(beginlabel=false),p=red,arrow=Arrow3); 8 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Interp.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | pair A,B,C,D; 3 | A=(0,0);B=(1,0);C=(1,1);D=(0,1); 4 | real t=1/5; 5 | pair X=interp(A,B,t); 6 | pair Y=interp(B,C,t); 7 | pair Z=interp(C,D,t); 8 | pair W=interp(D,A,t); 9 | draw(A--B--C--D--cycle); 10 | draw(X--Y--Z--W--cycle,red); 11 | arrow("$t=\frac{1}{5}$",X,SE); 12 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Intersection-of-Two-Surfaces.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | import contour; 3 | size(200,IgnoreAspect); 4 | currentprojection=perspective(-2,-2,2); 5 | triple f(pair t){ 6 | real x=t.x; 7 | real y=x^2; 8 | real z=t.y; 9 | return (x,y,z); 10 | } 11 | real g(pair t){ 12 | real x=t.x; 13 | real y=t.y; 14 | return x^3; 15 | } 16 | draw(surface(f,(-2,-3),(2,3),Spline),red); 17 | draw(surface(g,(-2,-3),(2,3),Spline),blue); 18 | real h(pair t){ 19 | real x=t.x; 20 | real y=t.y; 21 | return y-x^2; 22 | } 23 | draw(lift(g,contour(h,(-2,-2),(2,2),new real[]{0})),linewidth(4bp)+yellow); 24 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Intersection.asy: -------------------------------------------------------------------------------- 1 | size(7.5cm,0); 2 | import three; 3 | currentprojection=obliqueX; 4 | currentlight=light((8,10,2),(8,0,8)); 5 | triple v1=(4,0,0), 6 | v2=(0,6,0), 7 | p0=(-2,-3,0); 8 | path3 pl1=plane(v1,v2,p0); 9 | path3 pl2=rotate(45,Y)*pl1; 10 | draw(surface(pl1),yellow); 11 | draw(surface(pl2),blue+opacity(.5)); 12 | draw(-v2/2--v2/2,2bp+red); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Label-Curve-1.asy: -------------------------------------------------------------------------------- 1 | texpreamble("\usepackage{CJKutf8} 2 | \AtBeginDocument{\begin{CJK*}{UTF8}{gbsn}} 3 | \AtEndDocument{\clearpage\end{CJK*}}"); 4 | size(200); 5 | import labelpath; 6 | path p=reverse(rotate(-90)*yscale(2)*xscale(4)*unitcircle); 7 | labelpath("中华人民共和国万岁",p,red); 8 | //draw(p); 9 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Label-Curve-2.asy: -------------------------------------------------------------------------------- 1 | texpreamble("\usepackage{CJKutf8} 2 | \AtBeginDocument{\begin{CJK}{UTF8}{gbsn}} 3 | \AtEndDocument{\clearpage\end{CJK}}"); 4 | size(200); 5 | path p=reverse(arc((0,0),1,20,160)); 6 | string[] fonts={"中","华","人","民","共","和","国","万","岁"}; 7 | pen[] colors={cyan,magenta,yellow,green,blue,red}; 8 | colors.cyclic=true; 9 | for(int i=0;i1$",position=Relative(0.95),align=W),f,linewidth(1)); 11 | draw(Label("$0<\alpha<1$",position=EndPoint,align=2S),g,linewidth(1)); 12 | draw(Label("$\alpha<0$",position=Relative(0.9),align=1.5S),h,linewidth(1)); 13 | draw(Label("$y=x$",position=Relative(0.9),align=E),(0,0)--(2,2),linewidth(1)); 14 | draw((1,0)--(1,1)--(0,1),dashed); 15 | 16 | label("$1$",1,S); 17 | label("$1$",(0,1),W); 18 | label("$O$",(0,0),SW); 19 | xaxis("$x$",Arrow()); 20 | yaxis(Label("$y$",align=E),Arrow()); 21 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-16.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-16.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-17.asy: -------------------------------------------------------------------------------- 1 | size(0,200); 2 | import graph; 3 | real f(real x){return 2^x;} 4 | guide f=graph(f,-3,3); 5 | 6 | real g(real x){return (1/2)^x;} 7 | guide g=graph(g,-3,3); 8 | draw(Label("$\alpha>0$",position=Relative(0.9),align=W),f,linewidth(1)); 9 | draw(Label("$\alpha<0$",position=Relative(0.1),align=E),g,linewidth(1)); 10 | xlimits(-4,4); 11 | label("$O$",(0,0),SW); 12 | xaxis("$x$",Arrow()); 13 | yaxis(Label("$y$",align=E),Arrow()); 14 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-17.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-17.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-18.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return log(x)/log(2);} 4 | real g(real x){return -log(x)/log(2);} 5 | guide f=graph(f,0.1,6); 6 | guide g=graph(g,0.1,6); 7 | draw(Label("$a>1$",position=Relative(0.95),align=S),f,linewidth(1)); 8 | draw(Label("$a<1$",position=Relative(0.95),align=2N),g,linewidth(1)); 9 | label("$1$",1,S); 10 | 11 | label("$O$",(0,0),SW); 12 | 13 | ylimits(-log(0.1)-6,log(0.1)+6); 14 | xaxis("$x$",Arrow()); 15 | yaxis(Label("$y$",align=E),Arrow()); 16 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-18.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-18.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-19.asy: -------------------------------------------------------------------------------- 1 | size(0,100); 2 | import graph; 3 | import geometry; 4 | real f(real x){return sin(x);} 5 | draw(graph(f,-pi/2,2pi+pi/2),linewidth(1)); 6 | xtick("$\frac{\pi}{2}$",pi/2,N); 7 | xtick("$2\pi$",2pi,N); 8 | xtick("$\frac{3\pi}{2}$",3pi/2,N); 9 | xtick("$\pi$",pi,N); 10 | xtick("$-\frac{\pi}{2}$",-pi/2,N); 11 | label("$O$",(0,0),SE); 12 | label("$1$",(0,1),NW); 13 | label("$-1$",(0,-1),SW); 14 | draw(line((0,1),(1,1)),dashed); 15 | draw(line((0,-1),(1,-1)),dashed); 16 | xlimits(0,2pi+2); 17 | ylimits(-1.5,1.5); 18 | 19 | xaxis("$x$",Arrow()); 20 | yaxis(Label("$y$",align=E),Arrow()); 21 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-19.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-19.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-2.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return abs(x);} 4 | draw(graph(f,-1,1)); 5 | label("$y=|x|$",(0.5,0.5),E); 6 | label("$O$",(0,0),SW); 7 | limits((-1.2,-0.5),(1.2,1.2)); 8 | axes("$x$","$y$",Arrow()); 9 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-2.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-20.asy: -------------------------------------------------------------------------------- 1 | size(0,100); 2 | import graph; 3 | import geometry; 4 | real f(real x){return cos(x);} 5 | draw(graph(f,-pi/2,2pi+pi/2),linewidth(1)); 6 | xtick("$\frac{\pi}{2}$",pi/2,N); 7 | xtick("$2\pi$",2pi,N); 8 | xtick("$\frac{3\pi}{2}$",3pi/2,N); 9 | xtick("$\pi$",pi,N); 10 | xtick("$-\frac{\pi}{2}$",-pi/2,N); 11 | label("$O$",(0,0),SE); 12 | label("$1$",(0,1),NW); 13 | label("$-1$",(0,-1),SW); 14 | draw(line((0,1),(1,1)),dashed); 15 | draw(line((0,-1),(1,-1)),dashed); 16 | xlimits(0,2pi+2); 17 | ylimits(-1.5,1.5); 18 | 19 | xaxis("$x$",Arrow()); 20 | yaxis(Label("$y$",align=E),Arrow()); 21 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-20.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-20.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-21.asy: -------------------------------------------------------------------------------- 1 | size(0,200); 2 | import graph; 3 | import math; 4 | real f(real x){return tan(x);} 5 | real c=pi/2-0.2; 6 | guide f=graph(f,-c,c); 7 | draw(f^^shift(pi)*f^^shift(-pi)*f,linewidth(1)); 8 | path p=(pi/2,-f(c)-0.5)--(pi/2,f(c)+0.5); 9 | draw(p^^shift(pi)*p^^shift(-pi)*p^^shift(-2pi)*p,dashed); 10 | label("$O$",(0,0),SE); 11 | label("$\frac{\pi}{2}$",pi/2,SE); 12 | label("$-\frac{\pi}{2}$",-pi/2,SW); 13 | ylimits(-tan(c)-1,tan(c)+1); 14 | xlimits(-pi-pi/2-1,pi+pi/2+1); 15 | xaxis("$x$",Arrow()); 16 | yaxis(Label("$y$",align=E),Arrow()); 17 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-21.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-21.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-22.asy: -------------------------------------------------------------------------------- 1 | size(0,200); 2 | import graph; 3 | import math; 4 | real f(real x){return cot(x);} 5 | real c=pi-0.2; 6 | guide f=graph(f,0.2,c); 7 | draw(f^^shift(pi)*f^^shift(-pi)*f,linewidth(1)); 8 | path p=(pi,-f(c)+0.5)--(pi,f(c)-0.5); 9 | draw(p^^shift(pi)*p^^shift(-2pi)*p,dashed); 10 | label("$O$",(0,0),SE); 11 | label("$\pi$",pi,SE); 12 | ylimits(-cot(c)-1,cot(c)+1); 13 | xlimits(-pi-1,2pi+1); 14 | xaxis("$x$",Arrow()); 15 | yaxis(Label("$y$",align=NE),Arrow()); 16 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-22.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-22.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-23.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | import math; 4 | real f(real x){return asin(x);} 5 | 6 | draw(graph(f,-1,1),linewidth(1)); 7 | 8 | real g(real x){return sin(x);} 9 | 10 | guide g1=graph(g,pi/2,pi/2+0.8); 11 | guide g2=graph(g,-pi/2-0.8,-pi/2); 12 | draw(reflect((0,0),(1,1))*(g1^^g2),dashed+1); 13 | 14 | draw((1,pi/2+0.8)--(1,-pi/2-0.8),dashed); 15 | draw((-1,pi/2+0.8)--(-1,-pi/2-0.8),dashed); 16 | ytick("$\frac{\pi}{2}$",(0,pi/2),E); 17 | ytick("$-\frac{\pi}{2}$",(0,-pi/2),E); 18 | label("$O$",(0,0),SE); 19 | label("$1$",1,SW); 20 | label("$-1$",-1,SE); 21 | xlimits(-1.4,1.4); 22 | ylimits(-pi/2-1,pi/2+1); 23 | xaxis("$x$",Arrow()); 24 | yaxis(Label("$y$",align=E),Arrow()); 25 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-23.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-23.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-24.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return acos(x);} 4 | draw(graph(f,-1,1),linewidth(1)); 5 | real g(real x){return cos(x);} 6 | guide g=graph(g,pi,pi+1); 7 | draw(reflect((0,0),(1,1))*g,dashed+1); 8 | draw((1,0)--(1,pi+1),dashed); 9 | draw((-1,0)--(-1,pi+1),dashed); 10 | label("$-1$",-1,S); 11 | label("$1$",1,S); 12 | label("$\pi$",(0,pi),E); 13 | label("$\frac{\pi}{2}$",(0,pi/2),NE); 14 | label("$O$",(0,0),SW); 15 | xlimits(-1.6,1.6); 16 | ylimits(-0.5,pi+1.3); 17 | xaxis("$x$",Arrow()); 18 | yaxis(Label("$y$",align=E),Arrow()); 19 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-24.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-24.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-25.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | import math; 4 | real f(real x){return atan(x);} 5 | draw(graph(f,-5,5),linewidth(1)); 6 | drawline((0,pi/2),(1,pi/2),dashed); 7 | drawline((0,-pi/2),(1,-pi/2),dashed); 8 | label("$\frac{\pi}{2}$",(0,pi/2),SW); 9 | label("$-\frac{\pi}{2}$",(0,-pi/2),SW); 10 | label("$O$",(0,0),SE); 11 | xaxis("$x$",Arrow()); 12 | ylimits(-pi/2-1,pi/2+1); 13 | yaxis(Label("$y$",align=E),Arrow()); 14 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-25.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-25.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-26.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | import math; 4 | real f(real x){return 1/tan(x);} 5 | draw(reflect((0,0),(1,1))*graph(f,0.2,pi-0.2),linewidth(1)); 6 | 7 | drawline((0,pi),(1,pi),dashed); 8 | label("$O$",(0,0),SW); 9 | label("$\pi$",(0,pi),SW); 10 | ylimits(-0.5,pi+1); 11 | xaxis("$x$",Arrow()); 12 | yaxis(Label("$y$",align=E),Arrow()); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-26.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-26.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-27.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return 2*sin(pi*x);} 4 | draw(graph(f,0,2),linewidth(1)); 5 | draw((0.5,2)--(0,2),dashed); 6 | draw((1.5,-2)--(0,-2),dashed); 7 | label("$2$",2,SE); 8 | label("$2$",(0,2),W); 9 | label("$-2$",(0,-2),W); 10 | xlimits(-0.5,2.5); 11 | ylimits(-2.2,2.2); 12 | xaxis("$x$",Arrow()); 13 | yaxis(Label("$y$",align=E),Arrow()); 14 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-27.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-27.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-28.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return 1+2*sin(pi*x);} 4 | draw(graph(f,0,2),linewidth(1)); 5 | draw((0.5,3)--(0,3),dashed); 6 | draw((1.5,-1)--(0,-1),dashed); 7 | draw((2,0)--(2,f(2)),dashed); 8 | label("$2$",2,SE); 9 | label("$1$",(0,1),W); 10 | label("$3$",(0,3),W); 11 | label("$-1$",(0,-1),W); 12 | label("$O$",(0,0),SW); 13 | xlimits(-0.5,2.5); 14 | ylimits(-1.2,3.4); 15 | xaxis("$x$",Arrow()); 16 | yaxis(Label("$y$",align=E),Arrow()); 17 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-28.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-28.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-29.asy: -------------------------------------------------------------------------------- 1 | size(0,100); 2 | import graph; 3 | real f(real x){return sin(x+pi/4);} 4 | draw(graph(f,-pi/4,2pi-pi/4),linewidth(1)); 5 | label("$2\pi-\frac{\pi}{4}$",2pi-pi/4,N); 6 | label("$-\frac{\pi}{4}$",-pi/4,S); 7 | label("$O$",(0,0),SW); 8 | xlimits(-1,2pi); 9 | ylimits(-1.2,1.2); 10 | 11 | xaxis("$x$",Arrow()); 12 | yaxis(Label("$y$",align=E),Arrow()); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-29.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-29.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-3.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real c=1; 4 | 5 | draw((-2,c)--(2,c),linewidth(1)); 6 | label("$y=c$",(1,c),SE); 7 | label("$O$",(0,0),SW); 8 | label("$c$",(0,c),SE); 9 | xlimits(-2.5,2.5); 10 | ylimits(-1,2); 11 | axes("$x$","$y$",Arrow()); 12 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-3.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-30.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | draw((-1,-1)--(1,1),linewidth(1)); 4 | label("$y=g(f(x))$",(0.5,-0.5)); 5 | limits((-1.2,-1.2),(1.2,1.2)); 6 | label("$O$",(0,0),SE); 7 | xaxis("$x$",Arrow()); 8 | yaxis(Label("$y$",align=E),Arrow()); 9 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-30.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-30.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-31.asy: -------------------------------------------------------------------------------- 1 | size(0,100); 2 | import graph; 3 | real a=pi/2; 4 | pair A=(a,a); 5 | pair B=-A; 6 | path p=A--B; 7 | draw(p^^shift(2a)*p^^shift(-2a)*p,linewidth(1)); 8 | 9 | path q=(-a,a)--(-a,0); 10 | draw(q^^shift(2a)*q^^shift(4a)*q,dashed); 11 | 12 | path r=(-3a,-a)--(-3a,0); 13 | draw(r^^shift(2a)*r^^shift(4a)*r,dashed); 14 | 15 | dot(A,UnFill); 16 | dot(shift(-2a)*A,UnFill); 17 | dot(shift(2a)*A,UnFill); 18 | dot(B,UnFill); 19 | dot(shift(-2a)*B,UnFill); 20 | dot(shift(2a)*B,UnFill); 21 | label("$O$",(0,0),SE); 22 | label("$\frac{\pi}{2}$",a,NE); 23 | label("$-\frac{\pi}{2}$",-a,NE); 24 | label("$y=f(g(x))$",(1.5a,-a),NE); 25 | xlimits(-3.5a,3.5a); 26 | ylimits(-1.5a,1.5a); 27 | 28 | axes("$x$","$y$",Arrow()); 29 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-31.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-31.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-4.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | xlimits(-4,4); 4 | ylimits(-3,3); 5 | axes("$x$","$y$",Arrow()); 6 | draw((-3,-3)--(-3,0),dashed); 7 | draw((-2,-3)--(-2,0),dashed); 8 | draw((-1,-2),(-1,0),dashed); 9 | draw((1,1)--(1,0),dashed); 10 | draw((2,2)--(2,0),dashed); 11 | draw((3,2)--(3,0),dashed); 12 | draw((-1,-2)--(-1,0),dashed); 13 | 14 | for(int i=-3;i<=2;++i){ 15 | draw((i,i)--(i+1,i)); 16 | dot((i,i)); 17 | dot((i+1,i),UnFill); 18 | } 19 | label("$O$",(0,0),SW); 20 | for(int i=1;i<=3;++i){ 21 | label(format("$%d$",i),i,S); 22 | } 23 | for(int i=-3;i<0;++i){ 24 | label(format("$%d$",i),i,N); 25 | } 26 | 27 | label("$y=[\,x\,]$",(2.5,2),N); 28 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-4.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-8.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/1-9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/1-9.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/2-1.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-2.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | xtick("$b$",1); 4 | xtick("$a$",-1); 5 | draw((0.2,0.8)--(0.8,0),Arrow()); 6 | draw(Label("$x_{n}$",BeginPoint,align=.5S,UnFill(2)),(0.2,0.8)--(-0.8,0),Arrow()); 7 | 8 | label("$\frac{a+b}{2}$",0,S); 9 | label("$($",-2); 10 | label("$)$",0-0.02); 11 | label("$($",0+0.02); 12 | label("$)$",2); 13 | xlimits(-2.5,2.5); 14 | xaxis("$x$",Arrow()); 15 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/2-2.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-3.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | xtick("$a$",1); 4 | xtick("$b$",-1); 5 | xtick(-0.6,N); 6 | label("$y_{n}$",-0.6,align=2N); 7 | xtick(0.6,N); 8 | label("$x_{n}$",0.6,align=2N); 9 | label("$\frac{a+b}{2}$",0,S); 10 | label("$($",-2); 11 | label("$)$",0-0.02); 12 | label("$($",0+0.02); 13 | label("$)$",2); 14 | xlimits(-2.5,2.5); 15 | xaxis("$x$",Arrow()); 16 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/2-3.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/2-5.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/2-6.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-8.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | import markers; 4 | draw(unitcircle,linewidth(1)); 5 | real x=0.4pi/2; 6 | pair B=expi(x); 7 | pair B1=expi(-x); 8 | label("$B$",B,2N); 9 | label("$B'$",B1,2S); 10 | pair C=(expi(x).x,0); 11 | label("$C$",C,SW); 12 | 13 | pair O=(0,0); 14 | draw(B--C); 15 | draw(C--B1,dashed); 16 | draw(O--B1,dashed); 17 | pair D=(1/cos(x))*expi(x); 18 | draw(O--D); 19 | pair A=(1,0); 20 | label("$A$",A,SE); 21 | draw(A--D); 22 | label("$D$",D,N); 23 | markangle("$x$",1,radius=14,A,O,B); 24 | 25 | xlimits(-1.4,1.4); 26 | ylimits(-1.4,1.4); 27 | axes("$x$","$y$",Arrow()); 28 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/2-8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/2-8.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-1.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return atan(1/x);} 4 | draw(graph(f,-4,-sqrtEpsilon)); 5 | draw(graph(f,sqrtEpsilon,4)); 6 | ylimits(-2.5,2.5); 7 | axes("$x$","$y$",Arrow()); 8 | 9 | dot(Label("$\frac{\pi}{2}$",align=W),(0,pi/2),UnFill); 10 | dot(Label("$-\frac{\pi}{2}$",align=E),(0,-pi/2),UnFill); 11 | label("$O$",(0,0),SW); 12 | 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/3-1.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-2.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return 1/x;} 4 | draw(graph(f,-3,-0.4)); 5 | draw(graph(f,0.4,3)); 6 | label("$O$",(0,0),SW); 7 | axes("$x$","$y$",Arrow()); 8 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/3-2.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-3.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(200,200*0.618,IgnoreAspect); 3 | 4 | real f(real x) {return (x != 0) ? sin(1/x) : 0;} 5 | real T(real x) {return 2/(x*pi);} 6 | 7 | real a=-1.8/pi, b=1.8/pi; 8 | 9 | draw(graph(f,a,-T(5),100)); 10 | draw(graph(f,-5,-10,100,T)); 11 | 12 | draw(graph(f,T(5),b,100)); 13 | draw(graph(f,10,5,100,T)); 14 | 15 | label("$y=\sin\frac{1}{x}$",(b,f(b)),4S); 16 | dot("$\frac{1}{\pi}$",1/pi,SE); 17 | dot("$-\frac{1}{\pi}$",-1/pi,SW); 18 | dot("$\frac{1}{2\pi}$",1/2pi,SE); 19 | dot("$\frac{1}{-2\pi}$",-1/2pi,SW); 20 | label("$O$",(0,0),SW,p=fontsize(8pt)); 21 | xlimits(-a-0.1,b+0.1); 22 | ylimits(-1.2,1.2); 23 | axes("$x$","$y$",Arrow()); 24 | 25 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/3-3.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/3-4.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-5.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | draw((0,0)--(1,1),linewidth(1)); 4 | draw((1,2)--(2,1),linewidth(1)); 5 | draw((2,2)--(3,3),linewidth(1)); 6 | draw((1,2)--(1,0),dashed); 7 | draw((3,3)--(3,0),dashed); 8 | draw((2,1)--(2,0),dashed); 9 | label("$O$",(0,0),SW); 10 | label("$1$",1,S); 11 | label("$2$",2,S); 12 | label("$3$",3,S); 13 | xlimits(-0.8,4); 14 | axes("$x$","$y$",Arrow()); 15 | dot((1,2)); 16 | dot((2,1)); 17 | dot((1,1),UnFill); 18 | dot((2,2),UnFill); 19 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/3-5.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-6.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return x^2;} 4 | real b=1.4; 5 | real a=f(b); 6 | 7 | draw(graph(f,0,a),linewidth(1)); 8 | label("$O$",(0,0),SW); 9 | 10 | label("$1$",1,S); 11 | label("$1$",(0,1),W); 12 | 13 | pair P=(b,a); 14 | draw((0,P.y)--P--(P.x,0),dashed); 15 | draw((0,1)--(1,1)--(1,0),dashed); 16 | draw((a,f(a))--(a,0),dashed); 17 | label("$a$",a,S); 18 | label("$b$",b,S); 19 | xlimits(-0.5,2.4); 20 | axes("$x$","$y$",Arrow()); 21 | dot((1,1),UnFill); 22 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/3-6.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-8.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return sqrt(x);} 4 | draw(graph(f,0,3),linewidth(1)); 5 | real e=0.8; 6 | draw((0,e)--(e^2,e)--(e^2,0),dashed); 7 | label("$\varepsilon^2$",e^2,S); 8 | label("$\varepsilon$",(0,e),W); 9 | label("$O$",(0,0),SW); 10 | axes("$x$","$y$",Arrow()); 11 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/3-8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/3-8.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-10.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import patterns; 3 | draw(unitsquare,linewidth(1)); 4 | real l=0.85; 5 | add("hatch",hatch(5)); 6 | filldraw((l,0)--(1,0)--(1,l)--(l,l)--cycle,pattern("hatch"),drawpen=linewidth(1)); 7 | filldraw((0,l)--(0,1)--(l,1)--(l,l)--cycle,pattern("hatch"),drawpen=linewidth(1)); 8 | label("$x$",0.5,S); 9 | label("$x$",(0,0.5),W); 10 | real c=(1+l)/2; 11 | label("$\Delta x$",c,S); 12 | label("$\Delta x$",(0,c),W); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-10.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-11.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-11.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-12.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-12.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-2.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | import geometry; 4 | real p=0.6; 5 | real f(real x){return (1/2p)*x^2;} 6 | draw(graph(f,-2.1,2.1),linewidth(1)); 7 | point F=(0,p/2); 8 | real x=1.2; 9 | point P=(x,f(x)); 10 | draw(F--P,Arrow()); 11 | real k=(1/p)*x; 12 | pair T=(1,k); 13 | point M=intersectionpoint(line(P,P+T),line((0,0),(0,1))); 14 | draw(Label("$T$",EndPoint,align=E),M--P+T); 15 | 16 | draw(Label("$N$",EndPoint,align=W),P--P+2(0,1),Arrow()); 17 | label("$P$",P,E); 18 | label("$M$",M,E); 19 | label("$F$",F,W); 20 | label("$O$",(0,0),SW); 21 | axes("$x$","$y$",Arrow()); 22 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-2.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-5.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-6.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-7.asy: -------------------------------------------------------------------------------- 1 | size(0,200); 2 | import graph; 3 | import markers; 4 | real a=1; 5 | real x(real t){return a*(t-sin(t));} 6 | real y(real t){return a*(1-cos(t));} 7 | draw(graph(x,y,0,2pi)); 8 | draw(circle((0,1),1),dashed); 9 | 10 | real t=0.4pi; 11 | draw(circle((t,1),1),linewidth(1)); 12 | pair M=(t,0); 13 | pair A=(t,1); 14 | pair C=(x(t),y(t)); 15 | pair B=(t,y(t)); 16 | draw(A--C--B); 17 | draw(A--M); 18 | label("$M$",(t,0),S); 19 | label("$A$",(t,1),N); 20 | dot("$C$",(x(t),y(t)),2S); 21 | label("$B$",(t,y(t)),E); 22 | dot("$a$",(0,a),W); 23 | label("$O$",(0,0),SW); 24 | 25 | markangle("$t$",1,radius=8,C,A,M); 26 | limits((-1.2,-0.5),(7,2.5)); 27 | axes("$x$","$y$",Arrow()); 28 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-7.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/4-9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/4-9.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-1.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | 4 | path p=(28,19)..controls(26.5634135538,36.3428444127)and(31.1551576928,53.6501877056)..(41,68) 5 | ..controls(58.5820754867,93.6275799151)and(88.9353795695,105.958354292)..(120,109) 6 | ..controls(130.64122301,110.041919388)and(141.35877699,110.041919388)..(152,109); 7 | 8 | draw(p,linewidth(1)); 9 | pair A=point(p,0); 10 | pair B=point(p,length(p)); 11 | draw(A--B); 12 | real t=dirtime(p,B-A); 13 | pair C=point(p,t); 14 | 15 | draw(Label("$T$",Relative(0.95),align=N),C-.4(B-A)--C+.5(B-A)); 16 | label("$A$",A,S); 17 | label("$B$",B,E); 18 | label("$O$",(0,0),SW); 19 | axes("$x$","$y$",Arrow()); 20 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-1.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-10.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-11.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-11.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-12.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | path p=(18,57)..controls(24.6897020993,48.5542116432)and(33.7399669591,42.2886436633)..(44,39) 4 | ..controls(58.8888580389,34.2276811928)and(75.0140341328,35.9943800805)..(89,43) 5 | ..controls(99.0578737705,48.038024653)and(107.569317408,55.564220698)..(115,64) 6 | ..controls(123.475464645,73.6218817514)and(130.545656529,84.3955074784)..(136,96); 7 | 8 | draw(p,linewidth(1)); 9 | 10 | pair A=point(p,0.05*length(p)); 11 | 12 | pair B=point(p,0.45*length(p)); 13 | pair C=point(p,0.9*length(p)); 14 | 15 | draw(A--B--C); 16 | label("$A$",A,S); 17 | label("$B$",B,S); 18 | label("$C$",C,E); 19 | label("$O$",(0,0),SW); 20 | xlimits(-10,B.x+20); 21 | axes("$x$","$y$",Arrow()); 22 | 23 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-12.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-12.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-13.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-13.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-14.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-14.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-15.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-15.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-16.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real f(real x){return exp(-x^2);} 4 | draw(graph(f,-2,2)); 5 | label("$y=e^{-x^2}$",(0.8,f(0.8)),align=NE); 6 | xtick("$1$",1); 7 | xtick("$\frac{1}{\sqrt{2}}$",1/sqrt(2)); 8 | xtick(Label("$-\frac{1}{\sqrt{2}}$",align=S+0.3E),-1/sqrt(2)); 9 | xtick(Label("$-1$",align=S+0.5W),-1); 10 | label("$1$",(0,1),NE); 11 | xlimits(-2.5,2.5); 12 | ylimits(-1,1.5); 13 | axes("$x$","$y$",Arrow()); 14 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-16.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-16.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-17.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(200); 3 | real a=1; 4 | 5 | real f(real x){return sqrt(x^3/(x-1));} 6 | draw(graph(f,1.05,5),linewidth(1)); 7 | draw(graph(f,-3,0),linewidth(1)); 8 | draw(rotate(-45)*Label("$y=-x-\frac{a}{2}$",Relative(0.2)),graph(new real(real x){return -x-a/2;},-3,-a/2)); 9 | draw(rotate(45)*Label("$y=x+\frac{a}{2}$",Relative(0.6)),graph(new real(real x){return x+a/2;},0,5)); 10 | draw((3a/2,0)--(3a/2,f(3a/2)),dashed); 11 | label("$a$",(a,0),S); 12 | label("$\frac{3}{2}a$",3a/2,S+.5E); 13 | label("$y=\sqrt{\frac{x^3}{x-a}}$",(-2,4)); 14 | draw((a,0)--(a,5)); 15 | label("$O$",(0,0),SW); 16 | axes("$x$","$y$",Arrow()); 17 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-17.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-17.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-18.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-18.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-19.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-19.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-2.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-3.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-4.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-6.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | guide p=(16,32)..controls(24.1170592018,34.3565923845)and(31.6240749879,38.4513282678)..(38,44) 4 | ..controls(45.6135411885,50.6257116723)and(51.3362355511,59.0571636639)..(56,68) 5 | ..controls(56.6893631291,69.3218638521)and(57.3561267958,70.6553911854)..(58,72); 6 | 7 | draw(p,linewidth(1)); 8 | pair T=point(p,length(p)); 9 | pair K=(T.x,0); 10 | draw(T--K,dashed); 11 | guide q=reflect(T,K)*p; 12 | 13 | draw(q,linewidth(1)); 14 | 15 | label(Label("$f'>0$",position=Relative(0.7),align=2W),p); 16 | label(Label("$f'<0$",position=Relative(0.7),align=2E),q); 17 | 18 | label("$x_{0}$",K,S); 19 | label("$O$",(0,0),SW); 20 | xlimits(-1,120); 21 | ylimits(-1,80); 22 | axes("$x$","$y$",Arrow()); 23 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-6.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-7.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/5-9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/5-9.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-10.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real a=1; 4 | real b=7; 5 | 6 | real f(real x){return (1/6)*(x-a)*(x-b);} 7 | draw(graph(f,a-2,a)); 8 | draw(graph(f,a,b),dashed); 9 | draw(graph(f,b,b+2)); 10 | 11 | xlimits(a-3,b+3); 12 | ylimits(-2,f((a+b)/2)+6); 13 | label("$\sqrt{c}$",(0,f(0)),E); 14 | label("$O$",(0,0),SW); 15 | label("$\alpha$",a,S); 16 | label("$\beta$",b,S); 17 | axes("$x$","$y$",Arrow()); 18 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-10.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-10.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-11.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real a=-2; 4 | real b=4; 5 | 6 | real f(real x){return (-1/6)*(x-a)*(x-b);} 7 | draw(graph(f,a,b)); 8 | xlimits(a-1,b+1); 9 | ylimits(-1,f((a+b)/2)+1); 10 | label("$O$",(0,0),SW); 11 | label("$\alpha$",a,S); 12 | label("$\beta$",b,S); 13 | label("$\sqrt{c}$",(0,f(0)),NW); 14 | axes("$x$","$y$",Arrow()); 15 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-11.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-11.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-12.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real a=1; 4 | real b=7; 5 | 6 | real f(real x){return (-1/6)*(x-a)*(x-b);} 7 | draw(graph(f,a,b)); 8 | xlimits(a-1,b+1); 9 | ylimits(-1,f((a+b)/2)+1); 10 | label("$O$",(0,0),SW); 11 | label("$\alpha$",a,S); 12 | label("$\beta$",b,S); 13 | axes("$x$","$y$",Arrow()); 14 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-12.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-12.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-3.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-4.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import geometry; 3 | point A=(0,0); 4 | point B=(3,4); 5 | point C=(3,0); 6 | markangle("$t$",C,A,B,radius=30); 7 | draw(Label("$a$",W),A--B,linewidth(1)); 8 | draw(Label("$x$"),C--B,linewidth(1)); 9 | draw(Label("$\sqrt{a^2-x^2}$"),A--C,linewidth(1)); 10 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-4.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-5.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import geometry; 3 | point A=(0,0); 4 | point B=(3,4); 5 | point C=(3,0); 6 | markangle("$t$",C,A,B,radius=30); 7 | draw(Label("$x$",align=W),A--B,linewidth(1)); 8 | draw(Label("$\sqrt{x^2-a^2}$"),C--B,linewidth(1)); 9 | draw(Label("$a$"),A--C,linewidth(1)); 10 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-5.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-6.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import geometry; 3 | real a=3; 4 | real b=4; 5 | point A=(0,0); 6 | point B=(a,b); 7 | point C=(a,0); 8 | markangle("$t$",C,A,B,radius=30); 9 | real angle=aCos(a/abs(B)); 10 | draw(rotate(angle)*Label("$\sqrt{a^2+x^2}$",align=2I*dir(angle)),A--B,linewidth(1)); 11 | draw(Label("$x$"),C--B,linewidth(1)); 12 | draw(Label("$a$"),A--C,linewidth(1)); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-6.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-6.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-7.asy: -------------------------------------------------------------------------------- 1 | size(200,IgnoreAspect); 2 | import graph; 3 | import geometry; 4 | real p=3; 5 | real q=4; 6 | real a=1; 7 | 8 | real f(real x){return sqrt(a*(x-p)^2+q);} 9 | guide f=graph(f,-3,10); 10 | draw(f); 11 | real b=-2p*a; 12 | real g(real x){return sqrt(a)*x+b/(2sqrt(a));} 13 | guide g=graph(g,-3,10); 14 | draw(rotate(45)*Label("$y=\sqrt{a}\,x+\frac{b}{2\sqrt{a}}$",position=Relative(0.8)),g); 15 | label("$\frac{b}{2\sqrt{a}}$",(0,b/(2sqrt(a))),E); 16 | real t=-1; 17 | real h(real x){return sqrt(a)*x+t;} 18 | guide h=graph(h,-3,8); 19 | draw(h); 20 | point M=intersectionpoint(f,h); 21 | label("$(x,y)$",M,2N+W); 22 | label("$t$",(0,t),SE); 23 | label("$O$",(0,0),SW); 24 | axes("$x$","$y$",Arrow()); 25 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-7.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-9.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | real a=-2; 4 | real b=4; 5 | 6 | real f(real x){return (1/6)*(x-a)*(x-b);} 7 | 8 | draw(graph(f,a-2,a)); 9 | 10 | draw(graph(f,a,b),dashed); 11 | draw(graph(f,b,b+2)); 12 | xlimits(a-2,b+2); 13 | ylimits(-2,f((a+b)/2)+6); 14 | label("$O$",(0,0),SW); 15 | label("$\alpha$",a,S); 16 | label("$\beta$",b,S); 17 | axes("$x$","$y$",Arrow()); 18 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-one/6-9.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/MAI/book-one/6-9.pdf -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/MAI/book-two/7-2.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import graph; 3 | import patterns; 4 | real f(real x){return x^2;} 5 | draw(graph(f,0,1),linewidth(1)); 6 | label("$y=x^2$",(0.6,f(0.6)),15N); 7 | label("$1$",1,S); 8 | int n=8; 9 | add("hatch",hatch(H=1.5mm,dir=NE)); 10 | for(int i=0;i False, Axes -> False] 14 | Export["Costa.pdf", sf, ImageResolution -> 200, 15 | ImageSize -> {200, 200}] 16 | Import["Costa.pdf"] 17 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Mathematica-Label.asy: -------------------------------------------------------------------------------- 1 | // -*- coding:utf-8 -*- 2 | settings.tex="xelatex"; 3 | texpreamble("\usepackage{xeCJK} 4 | \setCJKmainfont{Adobe Heiti Std} 5 | "); 6 | label(graphic("Costa.pdf"),position=(-2,-2),align=NE); 7 | layer(); 8 | draw(Label("这是 Costa 曲面的洞",BeginPoint,red),(93,173)--(111,131),blue+1pt,Arrow()); 9 | shipout(bbox(0,blue)); 10 | 11 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Mathematica-Obj.asy: -------------------------------------------------------------------------------- 1 | import obj; 2 | import graph3; 3 | size(0,200); 4 | defaultrender=render(compression=Zero,merge=true); 5 | currentprojection=perspective(6.8,5.6,10.6); 6 | draw(obj("sf1.obj",yellow)); 7 | draw(obj("sf2.obj",blue)); 8 | limits((-2,-2,0),(2,2,9)); 9 | axes3("$x$","$y$","$z$",Arrow3()); 10 | shipout(bbox(0,blue)); 11 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Midpoint.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | pair A, B, C; 3 | A=(0,0); B=(4,0); C=(1,2); 4 | pair D,E,F; 5 | D=midpoint(A--B); 6 | E=midpoint(B--C); 7 | F=midpoint(C--A); 8 | draw(A--B--C--cycle); 9 | filldraw(D--E--F--cycle,red); 10 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Mobius-Band.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | size(200); 3 | currentprojection=orthographic(-4,-4,5); 4 | real R=12; 5 | triple f(pair t){ 6 | real u=t.x; 7 | real v=t.y; 8 | real x=(R+u*cos(v/2))*cos(v); 9 | real y=(R+u*cos(v/2))*sin(v); 10 | real z=u*sin(v/2); 11 | return (x,y,z); 12 | } 13 | material m=(material(diffusepen=grey,ambientpen=yellow, 14 | emissivepen=black,specularpen=orange)); 15 | surface s=surface(f,(-pi,0),(pi,2pi),50,Spline); 16 | draw(s,m); 17 | 18 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Moubius-Strip.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | size(200); 3 | currentprojection=orthographic(-4,-4,5); 4 | real R=12; 5 | triple f(pair t){ 6 | real u=t.x; 7 | real v=t.y; 8 | real x=(R+u*cos(v/2))*cos(v); 9 | real y=(R+u*cos(v/2))*sin(v); 10 | real z=u*sin(v/2); 11 | return (x,y,z); 12 | } 13 | material m=(material(diffusepen=grey,ambientpen=yellow, 14 | emissivepen=black,specularpen=orange)); 15 | surface s=surface(f,(-pi,0),(pi,2pi),50,Spline); 16 | draw(s,m); 17 | 18 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Multi-View.asy: -------------------------------------------------------------------------------- 1 | settings.prc=false; 2 | import three; 3 | currentlight.background=lightgreen; 4 | defaultpen(fontsize(20)+linewidth(1pt)); 5 | picture pic; 6 | size(pic,100); 7 | draw(pic,unitbox); 8 | label(pic,"$A$",(1,1,1),align=(1,1,1),red); 9 | add(pic.fit(orthographic(2,1,1)),(0,0),NE); 10 | add(pic.fit(orthographic(-2,3,5)),(0,0),SE); 11 | add(pic.fit(orthographic(-3,2,6)),(0,0),NW); 12 | add(pic.fit(orthographic(6,-3,8)),(0,0),SW); 13 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/NotePad++0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/NotePad++0.png -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/NotePad++a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/NotePad++a.png -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/NotePad++b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/NotePad++b.png -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/NotePad++c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/NotePad++c.png -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/NotePad++x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/NotePad++x.png -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/NotePad++y.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/Asymptote/NotesOnAsy/NotePad++y.png -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/ObliqueX.asy: -------------------------------------------------------------------------------- 1 | size(8cm,0); 2 | import three; 3 | currentprojection=obliqueX; 4 | triple v1=(4,0,0), 5 | v2=(0,6,0), 6 | p0=(-2,-3,0); 7 | path3 pl=plane(v1,v2,p0); 8 | draw(surface(pl),yellow); 9 | draw(Label("$\vec{v_1}$"),p0--p0+v1,Arrow3); 10 | draw(Label("$\vec{v_2}$"),p0--p0+v2,N,Arrow3); 11 | dot("$p_0$",p0,NW); 12 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Orthographic.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | currentprojection=orthographic(1,1,1); 3 | size(200); 4 | limits((0,0,0),(1.2,1.2,1.2)); 5 | draw(unitcube,green); 6 | axes3("$x$","$y$","$z$",Arrow3); 7 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Parabolic-Cylinder.asy: -------------------------------------------------------------------------------- 1 | import contour; 2 | import palette; 3 | import graph3; 4 | currentprojection=orthographic(5,10,10); 5 | limits((-4,-12,-6),(14,12,6)); 6 | size(0,200); 7 | real p=3; 8 | real f(real x, real y){return y^2-2p*x;} 9 | guide[][] g=contour(f,(-10,-10),(10,10),new real[]{1},50); 10 | 11 | for(path p:g[0]){ 12 | surface sf=extrude(p,4Z); 13 | sf.colors(palette(sf.map(xpart),Rainbow())); 14 | draw(surface(sf,zscale3(-1)*sf)); 15 | draw(path3(p),red+2pt); 16 | } 17 | 18 | axes3("$x$","$y$","$z$",Arrow3()); 19 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Parameter-Curve-1.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(200); 3 | real f(real x){return x^2;} 4 | path p=graph(f,-2,2,operator..); 5 | draw(p,red); 6 | xaxis("$x$",Arrow); 7 | yaxis("$y$",Arrow); 8 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Parameter-Curve-2.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(200,0); 3 | real f1(real x){return x;} 4 | real f2(real x){return x^2;} 5 | real f3(real x){return x^3;} 6 | guide f1=graph(f1,0,1.5,operator..); 7 | guide f2=graph(f2,0,1.5,operator..); 8 | guide f3=graph(f3,0,1.5,operator..); 9 | draw(f1,green); 10 | draw(f2,red); 11 | draw(f3,blue); 12 | label(Label("$y=x$",position=EndPoint,align=E),f1); 13 | label(Label("$y=x^2$",EndPoint,E),f2); 14 | label(Label("$y=x^3$",EndPoint,E),f3); 15 | xaxis("$x$",Arrow); 16 | yaxis("$y$",Arrow); 17 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Parameter-Curve.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(200); 3 | pair f(real t){ 4 | real x=(1-t^2)/(1+t^2); 5 | real y=t*(1-t^2)/(1+t^2); 6 | return (x,y); 7 | } 8 | draw(graph(f,-2,2),red); 9 | /* 10 | real x(real t) {return (1-t^2)/(1+t^2);} 11 | real y(real t) {return t*(1-t^2)/(1+t^2);} 12 | draw(graph(x,y,-2,2),red); 13 | */ 14 | limits((-1.5,-1.5),(1.5,1.5)); 15 | xaxis("$x$",Arrow); 16 | yaxis("$y$",Arrow); 17 | 18 | 19 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Parameter-Curve3.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | size(0,200); 3 | real x(real t) {return cos(2pi*t);} 4 | real y(real t) {return sin(2pi*t);} 5 | real z(real t) {return t;} 6 | path3 p=graph(x,y,z,0,2.7,operator ..); 7 | draw(p,Arrow3); 8 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Parameter-Surface.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | size(0,200); 3 | currentprojection=orthographic(3,2,4); 4 | currentlight=(5,3,0); 5 | real f(pair z) {return z.y^2-z.x^2;} 6 | draw(surface(f,(-3,-2),(3,2),nx=32,Spline),lightblue+opacity(0.3),meshpen=blue); 7 | 8 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Path3-Surface.asy: -------------------------------------------------------------------------------- 1 | //srand(seconds()); 2 | size(200); 3 | import three; 4 | path3 g=randompath3(15); 5 | draw(g,red+thin()); 6 | surface s=unitsphere; 7 | draw(s,lightyellow); 8 | dot(intersectionpoints(g,s),red); 9 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Perpendicular.asy: -------------------------------------------------------------------------------- 1 | import geometry; 2 | size(200); 3 | real a=3,b=4,c=5; 4 | pair A=(0,0); 5 | pair B=(a+b,0); 6 | pair C=(a+b,a+b); 7 | pair D=(0,a+b); 8 | pair X=(a,0); 9 | pair Y=(a+b,a); 10 | pair Z=(b,a+b); 11 | pair W=(0,b); 12 | draw(A--B--C--D--cycle); 13 | draw(X--Y--Z--W--cycle); 14 | perpendicular(A,NE,A--B); 15 | perpendicular(X,NE,X--Y); 16 | perpendicular(Y,NE,Y--Z); 17 | perpendicular(Z,NE,Z--W); 18 | perpendicular(W,NE,W--X); 19 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Perspective.asy: -------------------------------------------------------------------------------- 1 | import graph3; 2 | currentprojection=perspective(1,1,1); 3 | size(200); 4 | limits((0,0,0),(1.2,1.2,1.2)); 5 | draw(unitcube,green); 6 | axes3("$x$","$y$","$z$",Arrow3); 7 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Piecewise-Function.asy: -------------------------------------------------------------------------------- 1 | import graph; 2 | size(0,100); 3 | 4 | pair[] z={(0,1/4),(1/4,1),(1,2+3/4),(2+3/4,4+1/4),(4+1/4,5)}; 5 | real[] Y={1,0.92,0.8325,0.7217,0.5171}; 6 | for(int i=0;i1;}),blue+opacity(0.5),black); 9 | 10 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Tensor-Shade.asy: -------------------------------------------------------------------------------- 1 | size(10cm,0); 2 | 3 | real r=1; 4 | real R=3.8; 5 | 6 | int step=30; 7 | path p=arc(0,r,0,step); 8 | path P=arc(0,R,step,0); 9 | for(int h=0; h < 360; h += step) { 10 | transform t=rotate(90-h); 11 | tensorshade(t*p--t*P--cycle, 12 | new pen[] {white,white,hsv(h-step,1,1),hsv(h,1,1)}); 13 | } 14 | 15 | for(int h=0; h < 360; h += 30) { 16 | pair v=R*dir(90-h); 17 | draw(Label(string(h)+"$^\circ$",EndPoint),(v--1.05v)); 18 | } 19 | 20 | draw(circle(0,r)); 21 | draw(circle(0,R)); 22 | -------------------------------------------------------------------------------- /Asymptote/NotesOnAsy/Three-Views.asy: -------------------------------------------------------------------------------- 1 | size(200); 2 | import three; 3 | import palette; 4 | currentprojection=orthographic(3,1,2); 5 | int[][] M={ 6 | {1,2,3}, 7 | {0,1,2}, 8 | {0,0,1}, 9 | }; 10 | surface s; 11 | for(int i=0;i 1.005: 2 | outputtemplate := 3 | else: 4 | filenametemplate 5 | fi 6 | "%j.mps"; 7 | 8 | beginfig(0); 9 | % Use 8 circles 10 | N:=8; 11 | 12 | % Compute the "correct" radius 13 | r:=54*sind(180/N)/(1+sind(180/N)); 14 | 15 | % Define one of the cirlces 16 | path p; 17 | p:=fullcircle scaled (2*r); 18 | 19 | % Draw all 8 circles 20 | for n=0 upto N-1: draw p shifted (r/sind(180/N),0) rotated (360/N*n); endfor; 21 | endfig; 22 | end 23 | -------------------------------------------------------------------------------- /metapost/tutorial/clean.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem .tex temp file 4 | del *.atfi 5 | del *.aux 6 | del *.out 7 | del *.log 8 | 9 | rem bibtex temp file 10 | del *.bbl 11 | del *.blg 12 | 13 | rem metapost pic file 14 | del *.mps 15 | del *.mpx 16 | -------------------------------------------------------------------------------- /metapost/tutorial/commands.tex: -------------------------------------------------------------------------------- 1 | \section{Common commands} 2 | \label{sec:commoncmds} 3 | 4 | The \MP{} manual~\cite{hobby:user} lists 26 built-in commands along with 5 | 23 function-like macros for which pictures can be drawn and manipulated 6 | using \MP. We will not discuss each of these commands here; however, we 7 | will focus on several of the most common commands and provide examples 8 | of their usage. 9 | 10 | \input{draw} 11 | \input{fill} 12 | \input{arrows} 13 | \input{label} 14 | -------------------------------------------------------------------------------- /metapost/tutorial/conclusion.tex: -------------------------------------------------------------------------------- 1 | \section{Conclusion} 2 | \label{sec:conclusion} 3 | 4 | \MP{} is an elegant programming language, and it produces beautiful 5 | graphics. The graphics are vectorial and thus can be scaled to any 6 | resolution without degradation. There are many advanced topics that are 7 | not discussed in this article (e.g., loops, flow control, subpaths, 8 | intersections, etc.), and the \MP{} manual~\cite{hobby:user} is an 9 | excellent resource for these advanced topics. However, the \MP{} manual 10 | may seem daunting for beginners. There are many websites containing 11 | \MP{} examples, and several of these are referenced at 12 | \url{http://www.tug.org/metapost}. Finally, we mention that Knuth uses 13 | nothing but \MP{} for his diagrams. 14 | -------------------------------------------------------------------------------- /metapost/tutorial/data.d: -------------------------------------------------------------------------------- 1 | 0.0 0.0 2 | 0.2 0.447214 3 | 0.4 0.632456 4 | 0.6 0.774597 5 | 0.8 0.894427 6 | 1.0 1.0 7 | -------------------------------------------------------------------------------- /metapost/tutorial/data.mp: -------------------------------------------------------------------------------- 1 | prologues:=3; 2 | 3 | if scantokens(mpversion) > 1.005: 4 | outputtemplate := 5 | else: 6 | filenametemplate 7 | fi 8 | "%j.mps"; 9 | 10 | verbatimtex 11 | %&latex 12 | \documentclass[11pt]{article} 13 | \usepackage[charter]{mathdesign} 14 | \usepackage[T1]{fontenc} 15 | \renewcommand*{\ttdefault}{lmtt} 16 | \begin{document} 17 | etex 18 | 19 | input graph; 20 | Fmfont_:="bchr8r"; 21 | beginfig(0); 22 | draw begingraph(144bp,89bp); 23 | gdraw "data.d"; 24 | endgraph; 25 | endfig; 26 | end 27 | -------------------------------------------------------------------------------- /metapost/tutorial/fill.mp: -------------------------------------------------------------------------------- 1 | if scantokens(mpversion) > 1.005: 2 | outputtemplate := 3 | else: 4 | filenametemplate 5 | fi 6 | "%j.mps"; 7 | 8 | beginfig(0); 9 | % Set unit size to 72bp = 1in 10 | u:=72; 11 | 12 | % Define path 13 | path p; 14 | p:=(0,0){right}..{dir 45}(3*u/4,u/4){dir 45}..{up}(u,u)--cycle; 15 | 16 | % Fill the path 17 | fill p withcolor red; 18 | 19 | % Draw the path 20 | draw p; 21 | endfig; 22 | end 23 | -------------------------------------------------------------------------------- /metapost/tutorial/makePDF.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | % generate metapost picture file % 4 | mpost annulus.mp 5 | mpost circles.mp 6 | mpost data.mp 7 | mpost draw.mp 8 | mpost fill.mp 9 | mpost label.mp 10 | mpost paperclip.mp 11 | mpost parabola.mp 12 | 13 | % build .pdf file with bib % 14 | xelatex mpintro.tex 15 | bibtex mpintro 16 | xelatex mpintro.tex 17 | xelatex mpintro.tex 18 | 19 | % Clean temp file % 20 | : Call clean.bat 21 | exit -------------------------------------------------------------------------------- /metapost/tutorial/previewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/metapost/tutorial/previewer.png -------------------------------------------------------------------------------- /natbib/natbib-zh-银俊成.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/natbib/natbib-zh-银俊成.pdf -------------------------------------------------------------------------------- /optidef/Optidef-ZH-CN.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/optidef/Optidef-ZH-CN.pdf -------------------------------------------------------------------------------- /paralist/paralist.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/paralist/paralist.pdf -------------------------------------------------------------------------------- /paralist/paralist.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/paralist/paralist.rar -------------------------------------------------------------------------------- /pgfmanual/doc-zh/AUTHORS: -------------------------------------------------------------------------------- 1 | Till Tantau 2 | Mark Wibrow 3 | Christian Feuersaenger 4 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/README: -------------------------------------------------------------------------------- 1 | pgf -- A Portable Graphic Format for TeX 2 | 3 | See the directory doc/generic/pgf for more information. See the file 4 | doc/generic/pgf/pgfmanual.pdf for a manual. This 5 | documentation also explains the installation. See the file 6 | doc/generic/pgf/license/LICENSE for license details. 7 | 8 | Please go to http://sourceforge.net/projects/pgf/ 9 | to submit bug reports, request new features, etc. 10 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/brave-gnu-world-logo-mask.bb: -------------------------------------------------------------------------------- 1 | %%Title: ./brave-gnu-world-logo-mask.jpg 2 | %%Creator: ebb Version 0.5.2 3 | %%BoundingBox: 0 0 246 279 4 | %%CreationDate: Thu Dec 20 23:49:52 2007 5 | 6 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/brave-gnu-world-logo-mask.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/doc-zh/images/brave-gnu-world-logo-mask.jpg -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/brave-gnu-world-logo.25.bb: -------------------------------------------------------------------------------- 1 | %%Title: ./brave-gnu-world-logo.25.jpg 2 | %%Creator: ebb Version 0.5.2 3 | %%BoundingBox: 0 0 246 279 4 | %%CreationDate: Thu Dec 20 23:49:52 2007 5 | 6 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/brave-gnu-world-logo.25.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/doc-zh/images/brave-gnu-world-logo.25.jpg -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/brave-gnu-world-logo.bb: -------------------------------------------------------------------------------- 1 | %%Title: ./brave-gnu-world-logo.jpg 2 | %%Creator: ebb Version 0.5.2 3 | %%BoundingBox: 0 0 246 279 4 | %%CreationDate: Thu Dec 20 23:49:52 2007 5 | 6 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/brave-gnu-world-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/doc-zh/images/brave-gnu-world-logo.jpg -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/brave-gnu-world-logo.xbb: -------------------------------------------------------------------------------- 1 | %%Title: /Users/tantau/Library/texmf/tex/generic/pgf/doc/generic/pgf/images/brave-gnu-world-logo.jpg 2 | %%Creator: extractbb 20130405 3 | %%BoundingBox: 0 0 342 387 4 | %%HiResBoundingBox: 0.000000 0.000000 342.000000 387.000000 5 | %%CreationDate: Tue Aug 27 10:50:29 2013 6 | 7 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/pgfmanual-mindmap-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/doc-zh/images/pgfmanual-mindmap-1.pdf -------------------------------------------------------------------------------- /pgfmanual/doc-zh/images/pgfmanual-mindmap-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/doc-zh/images/pgfmanual-mindmap-2.pdf -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/auto/pgfmanual-en-introduction.el: -------------------------------------------------------------------------------- 1 | (TeX-add-style-hook 2 | "pgfmanual-en-introduction" 3 | (lambda () 4 | (LaTeX-add-labels 5 | "section-authors"))) 6 | 7 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/pgfmanual-en-gd-examples.tex: -------------------------------------------------------------------------------- 1 | % Copyright 2011 by Jannis Pohlmann 2 | % 3 | % This file may be distributed and/or modified 4 | % 5 | % 1. under the LaTeX Project Public License and/or 6 | % 2. under the GNU Free Documentation License. 7 | % 8 | % See the file doc/generic/pgf/licenses/LICENSE for more details. 9 | 10 | 11 | %%% Local Variables: 12 | %%% mode: latex 13 | %%% TeX-master: "pgfmanual-pdftex-version" 14 | %%% End: 15 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/pgfmanual-en-introduction.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/doc-zh/text-en/pgfmanual-en-introduction.log -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/pgfmanual-en-library-calc.tex: -------------------------------------------------------------------------------- 1 | \section{Calc Library} 2 | 3 | \begin{tikzlibrary}{calc} 4 | The library allows advanced Coordinate Calculations. It is documented in all detail in Section~\ref{tikz-lib-calc} on page~\pageref{tikz-lib-calc}. 5 | \end{tikzlibrary} 6 | 7 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/pgfmanual-en-main.tex: -------------------------------------------------------------------------------- 1 | % Copyright 2006 by Till Tantau 2 | % 3 | % This file may be distributed and/or modified 4 | % 5 | % 1. under the LaTeX Project Public License and/or 6 | % 2. under the GNU Free Documentation License. 7 | % 8 | % See the file doc/generic/pgf/licenses/LICENSE for more details. 9 | 10 | \input pgfmanual-en-main-preamble.tex 11 | \input pgfmanual-en-main-body.tex 12 | 13 | %%% Local Variables: 14 | %%% mode: latex 15 | %%% End: 16 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-asymptotic-example.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal table; set output "plots/pgf-asymptotic-example.table"; set format "%.5f" 2 | set samples 200; set parametric; plot [t=0.4:1.5] (t*t*t)*sin(1/(t*t*t)),(t*t*t)*cos(1/(t*t*t)) 3 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-exp.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal table; set output "plots/pgf-exp.table"; set format "%.5f" 2 | set samples 25; plot [x=0:4] 0.05*exp(x) 3 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-exp.table: -------------------------------------------------------------------------------- 1 | #Curve 0, 25 points 2 | #x y type 3 | 0.00000 0.05000 i 4 | 0.16667 0.05907 i 5 | 0.33333 0.06978 i 6 | 0.50000 0.08244 i 7 | 0.66667 0.09739 i 8 | 0.83333 0.11505 i 9 | 1.00000 0.13591 i 10 | 1.16667 0.16056 i 11 | 1.33333 0.18968 i 12 | 1.50000 0.22408 i 13 | 1.66667 0.26472 i 14 | 1.83333 0.31274 i 15 | 2.00000 0.36945 i 16 | 2.16667 0.43646 i 17 | 2.33333 0.51561 i 18 | 2.50000 0.60912 i 19 | 2.66667 0.71960 i 20 | 2.83333 0.85010 i 21 | 3.00000 1.00428 i 22 | 3.16667 1.18641 i 23 | 3.33333 1.40158 i 24 | 3.50000 1.65577 i 25 | 3.66667 1.95606 i 26 | 3.83333 2.31082 i 27 | 4.00000 2.72991 i 28 | 29 | 30 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-parametric-example.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal table; set output "plots/pgf-parametric-example.table"; set format "%.5f" 2 | set samples 25; set parametric; plot [t=-3.141:3.141] t*sin(t),t*cos(t) 3 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-parametric-example.table: -------------------------------------------------------------------------------- 1 | #Curve 0, 25 points 2 | #x y type 3 | 0.00186 3.14100 i 4 | 0.74672 2.78074 i 5 | 1.30987 2.26617 i 6 | 1.66651 1.66503 i 7 | 1.81387 1.04628 i 8 | 1.76998 0.47361 i 9 | 1.57050 -0.00047 i 10 | 1.26407 -0.33904 i 11 | 0.90663 -0.52368 i 12 | 0.55517 -0.55534 i 13 | 0.26171 -0.45339 i 14 | 0.06773 -0.25283 i 15 | 0.00000 -0.00000 i 16 | 0.06773 0.25283 i 17 | 0.26171 0.45339 i 18 | 0.55517 0.55534 i 19 | 0.90663 0.52368 i 20 | 1.26407 0.33904 i 21 | 1.57050 0.00047 i 22 | 1.76998 -0.47361 i 23 | 1.81387 -1.04628 i 24 | 1.66651 -1.66503 i 25 | 1.30987 -2.26617 i 26 | 0.74672 -2.78074 i 27 | 0.00186 -3.14100 i 28 | 29 | 30 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-sin.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal table; set output "plots/pgf-sin.table"; set format "%.5f" 2 | set samples 25; plot [x=0:4] sin(x) 3 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-sin.table: -------------------------------------------------------------------------------- 1 | #Curve 0, 25 points 2 | #x y type 3 | 0.00000 0.00000 i 4 | 0.16667 0.16590 i 5 | 0.33333 0.32719 i 6 | 0.50000 0.47943 i 7 | 0.66667 0.61837 i 8 | 0.83333 0.74018 i 9 | 1.00000 0.84147 i 10 | 1.16667 0.91944 i 11 | 1.33333 0.97194 i 12 | 1.50000 0.99749 i 13 | 1.66667 0.99541 i 14 | 1.83333 0.96573 i 15 | 2.00000 0.90930 i 16 | 2.16667 0.82766 i 17 | 2.33333 0.72309 i 18 | 2.50000 0.59847 i 19 | 2.66667 0.45727 i 20 | 2.83333 0.30340 i 21 | 3.00000 0.14112 i 22 | 3.16667 -0.02507 i 23 | 3.33333 -0.19057 i 24 | 3.50000 -0.35078 i 25 | 3.66667 -0.50128 i 26 | 3.83333 -0.63788 i 27 | 4.00000 -0.75680 i 28 | 29 | 30 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-tan-example.gnuplot: -------------------------------------------------------------------------------- 1 | set table "plots/pgf-tan-example.table"; set format "%.5f" 2 | set samples 100.0; plot [x=-3.141:3.141] [-3:3]tan(x) 3 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-x.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal table; set output "plots/pgf-x.table"; set format "%.5f" 2 | set samples 25; plot [x=0:4] x 3 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgf-x.table: -------------------------------------------------------------------------------- 1 | #Curve 0, 25 points 2 | #x y type 3 | 0.00000 0.00000 i 4 | 0.16667 0.16667 i 5 | 0.33333 0.33333 i 6 | 0.50000 0.50000 i 7 | 0.66667 0.66667 i 8 | 0.83333 0.83333 i 9 | 1.00000 1.00000 i 10 | 1.16667 1.16667 i 11 | 1.33333 1.33333 i 12 | 1.50000 1.50000 i 13 | 1.66667 1.66667 i 14 | 1.83333 1.83333 i 15 | 2.00000 2.00000 i 16 | 2.16667 2.16667 i 17 | 2.33333 2.33333 i 18 | 2.50000 2.50000 i 19 | 2.66667 2.66667 i 20 | 2.83333 2.83333 i 21 | 3.00000 3.00000 i 22 | 3.16667 3.16667 i 23 | 3.33333 3.33333 i 24 | 3.50000 3.50000 i 25 | 3.66667 3.66667 i 26 | 3.83333 3.83333 i 27 | 4.00000 4.00000 i 28 | 29 | 30 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgfmanual-sine.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal table 2 | set output "pgfmanual-sine.table" 3 | set format "%.5f" 4 | set samples 20 5 | plot [x=0:10] sin(x) 6 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgfmanual-sine.table: -------------------------------------------------------------------------------- 1 | #Curve 0, 20 points 2 | #x y type 3 | 0.00000 0.00000 i 4 | 0.52632 0.50235 i 5 | 1.05263 0.86873 i 6 | 1.57895 0.99997 i 7 | 2.10526 0.86054 i 8 | 2.63158 0.48819 i 9 | 3.15789 -0.01630 i 10 | 3.68421 -0.51638 i 11 | 4.21053 -0.87669 i 12 | 4.73684 -0.99970 i 13 | 5.26316 -0.85212 i 14 | 5.78947 -0.47390 i 15 | 6.31579 0.03260 i 16 | 6.84211 0.53027 i 17 | 7.36842 0.88441 i 18 | 7.89474 0.99917 i 19 | 8.42105 0.84348 i 20 | 8.94737 0.45948 i 21 | 9.47368 -0.04889 i 22 | 10.00000 -0.54402 i 23 | 24 | 25 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/text-en/plots/pgfplotgnuplot-example.gnuplot: -------------------------------------------------------------------------------- 1 | set terminal table; set output "plots/pgfplotgnuplot-example.table"; set format "%.5f" 2 | plot [x=0:3.5] x*sin(x) 3 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/version-for-xetex/en/pgfmanual.tex: -------------------------------------------------------------------------------- 1 | % Copyright 2006 by Till Tantau 2 | % 3 | % This file may be distributed and/or modified 4 | % 5 | % 1. under the LaTeX Project Public License and/or 6 | % 2. under the GNU Free Documentation License. 7 | % 8 | % See the file doc/generic/pgf/licenses/LICENSE for more details. 9 | 10 | \documentclass[a4paper]{ltxdoc} 11 | 12 | % pgf version is defined in \pgfversion in file 13 | % generic/pgf/utilities/pgfrcs.code.tex 14 | 15 | \input{../pgfmanual-xetex.cfg} 16 | \input{../../text-en/pgfmanual-en-main.tex} 17 | -------------------------------------------------------------------------------- /pgfmanual/doc-zh/version-for-xetex/pgfmanual-xetex.cfg: -------------------------------------------------------------------------------- 1 | % Copyright 2006 by Till Tantau 2 | % 3 | % This file may be distributed and/or modified 4 | % 5 | % 1. under the LaTeX Project Public License and/or 6 | % 2. under the GNU Free Documentation License. 7 | % 8 | % See the file doc/generic/pgf/licenses/LICENSE for more details. 9 | 10 | \usepackage[hyphens]{url} 11 | 12 | \usepackage[xetex]{graphics} 13 | % This will tell everyone which driver we are using. 14 | 15 | \usepackage[xetex]{hyperref} 16 | 17 | % Make sure to compile this using xelatex + xdvipdfmx. 18 | \usepackage[UTF8]{ctex} 19 | \usepackage{indentfirst} 20 | -------------------------------------------------------------------------------- /pgfmanual/old-zh/pgfmanual-ch1-7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/old-zh/pgfmanual-ch1-7.pdf -------------------------------------------------------------------------------- /pgfmanual/old-zh/pgfmanual-ch8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pgfmanual/old-zh/pgfmanual-ch8.pdf -------------------------------------------------------------------------------- /pstricks/CreateTreesandFiguresinGraphTheorywithPSTricks.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/pstricks/CreateTreesandFiguresinGraphTheorywithPSTricks.pdf -------------------------------------------------------------------------------- /subfiles-zh/README.md: -------------------------------------------------------------------------------- 1 | # subfiles-zh 2 | -------------------------------------------------------------------------------- /subfiles-zh/figures/pic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/subfiles-zh/figures/pic1.png -------------------------------------------------------------------------------- /subfiles-zh/subfiles-zh.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/subfiles-zh/subfiles-zh.pdf -------------------------------------------------------------------------------- /tabu/tabu-zh-cn.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/tabu/tabu-zh-cn.pdf -------------------------------------------------------------------------------- /titlesec/titlesec_c.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/titlesec/titlesec_c.pdf -------------------------------------------------------------------------------- /插图指南/epslatex-cn.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/epslatex-cn.pdf -------------------------------------------------------------------------------- /插图指南/src/images/captiondef.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/captiondef.pdf -------------------------------------------------------------------------------- /插图指南/src/images/golfer.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/golfer.pdf -------------------------------------------------------------------------------- /插图指南/src/images/graphic2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/graphic2.pdf -------------------------------------------------------------------------------- /插图指南/src/images/latex-box.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/latex-box.pdf -------------------------------------------------------------------------------- /插图指南/src/images/left.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/left.pdf -------------------------------------------------------------------------------- /插图指南/src/images/leftright.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/leftright.pdf -------------------------------------------------------------------------------- /插图指南/src/images/leftright.tex: -------------------------------------------------------------------------------- 1 | \documentclass{standalone} 2 | \usepackage{graphicx} 3 | \setlength{\fboxrule}{1pt} 4 | \setlength{\fboxsep}{3pt} 5 | \begin{document} 6 | \resizebox{7cm}{!}{\fbox{\mbox{Left}\quad\phantom{Right}}} 7 | %test: 8 | %\makebox[0pt][l]{\includegraphics{left.eps}}\includegraphics{right.eps} 9 | \end{document} -------------------------------------------------------------------------------- /插图指南/src/images/mass.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/mass.pdf -------------------------------------------------------------------------------- /插图指南/src/images/orig-point.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/orig-point.pdf -------------------------------------------------------------------------------- /插图指南/src/images/pend.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/pend.pdf -------------------------------------------------------------------------------- /插图指南/src/images/psfrag-ex1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/psfrag-ex1.pdf -------------------------------------------------------------------------------- /插图指南/src/images/psfrag-ex2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/psfrag-ex2.pdf -------------------------------------------------------------------------------- /插图指南/src/images/psfrag-ex3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/psfrag-ex3.pdf -------------------------------------------------------------------------------- /插图指南/src/images/recycle.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/recycle.pdf -------------------------------------------------------------------------------- /插图指南/src/images/right.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/right.pdf -------------------------------------------------------------------------------- /插图指南/src/images/rosette.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/rosette.pdf -------------------------------------------------------------------------------- /插图指南/src/images/rosette.ps: -------------------------------------------------------------------------------- 1 | /inch {72 mul} def 2 | 3 | /wedge 4 | { newpath 5 | 0 0 moveto 6 | 1 0 translate 7 | 15 rotate 8 | 0 15 sin translate 9 | 0 0 15 sin -90 90 arc 10 | closepath 11 | } def 12 | 13 | gsave 14 | 4.25 inch 4.25 inch translate 15 | 1.75 inch 1.75 inch scale 16 | 0.02 setlinewidth 17 | 2 1 13 18 | { 19 | 13 div setgray 20 | gsave 21 | wedge 22 | gsave 23 | fill 24 | grestore 25 | 0 setgray stroke 26 | grestore 27 | 30 rotate 28 | } for 29 | 30 | grestore 31 | showpage 32 | 33 | -------------------------------------------------------------------------------- /插图指南/src/images/rosettebox.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/rosettebox.pdf -------------------------------------------------------------------------------- /插图指南/src/images/rotat-box.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/rotat-box.pdf -------------------------------------------------------------------------------- /插图指南/src/images/tux-color.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/tux-color.pdf -------------------------------------------------------------------------------- /插图指南/src/images/w.eps: -------------------------------------------------------------------------------- 1 | %!PS-Adobe-2.0 EPSF-2.0 2 | %%Title: w.eps 3 | %%CreationDate: Sun Apr 2 14:08:19 2000 4 | %%For: lwang@amath8.amt.ac.cn (Wang Lei) 5 | %%BoundingBox: 100 100 172 172 6 | %%EndComments 7 | 100 100 translate 8 | 0 0 moveto 9 | 72 72 rlineto 10 | 72 neg 0 rlineto 11 | 72 72 neg rlineto 12 | stroke 13 | 0 0 moveto 14 | /Times-Roman findfont 15 | 72 scalefont 16 | setfont 17 | (W) show 18 | -------------------------------------------------------------------------------- /插图指南/src/images/w.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/w.pdf -------------------------------------------------------------------------------- /插图指南/src/images/wide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latexstudio/LaTeXPackages-CN/db561759aa0919293bf4501d3d2a05ea2d11cac8/插图指南/src/images/wide.pdf -------------------------------------------------------------------------------- /插图指南/src/makefiles.bat: -------------------------------------------------------------------------------- 1 | xelatex -synctex=1 -interaction=nonstopmode --shell-escape -output-directory .. epslatex-cn 2 | biber ../epslatex-cn 3 | zhmakeindex ../epslatex-cn 4 | xelatex -synctex=1 -interaction=nonstopmode --shell-escape -output-directory .. epslatex-cn 5 | --------------------------------------------------------------------------------