From 44adcbd47e772bd74d38f7956310421efa40bb51 Mon Sep 17 00:00:00 2001 From: William Trevor King Date: Thu, 6 Aug 2009 09:01:29 -0400 Subject: [PATCH] Added licensing information to asymptote files --- asymptote/Circ-test.asy | 19 +++++++++++++++++++ asymptote/Circ.asy | 33 ++++++++++++++++++++------------- asymptote/ElectroMag-test.asy | 19 +++++++++++++++++++ asymptote/ElectroMag.asy | 19 +++++++++++++++++++ asymptote/Makefile | 18 ++++++++++++++++++ asymptote/Mechanics-test.asy | 19 +++++++++++++++++++ asymptote/Mechanics.asy | 19 +++++++++++++++++++ asymptote/stickfigure.asy | 19 +++++++++++++++++++ 8 files changed, 152 insertions(+), 13 deletions(-) diff --git a/asymptote/Circ-test.asy b/asymptote/Circ-test.asy index 3bb523b..530914e 100644 --- a/asymptote/Circ-test.asy +++ b/asymptote/Circ-test.asy @@ -1,3 +1,22 @@ +/* Test suite for Circ.asy. + * + * Copyright (C) 2008-2009 W. Trevor King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + import Circ; real u = 2cm, v=0; diff --git a/asymptote/Circ.asy b/asymptote/Circ.asy index 3cb26cc..1b61e2d 100644 --- a/asymptote/Circ.asy +++ b/asymptote/Circ.asy @@ -1,16 +1,23 @@ -// Circ.asy -// -// Version 0.1 -// An Asymptote library for drawing electical circuit diagrams. -// Strongly based on makecirc.mp by GS Bustamante Argañaraz. -// Copyright (c) 2003 GS Bustamante Argañaraz, 2008 WT King. -// -// This program may be distributed and/or modified under the conditions -// of the LaTeX Project Public License, either version 1.3c of this -// license or (at your option) any later version. The latest version -// of this license is in http://www.latex-project.org/lppl.txt. -// -// This program consists of the file Circ.asy +/* Useful functions for drawing circuit diagrams. + * Version 0.1 + * + * Copyright (C) 2003 GS Bustamante Argañaraz + * 2008-2009 W. Trevor King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ // Command definitions for easier labeling diff --git a/asymptote/ElectroMag-test.asy b/asymptote/ElectroMag-test.asy index a4d1be6..8cf5617 100644 --- a/asymptote/ElectroMag-test.asy +++ b/asymptote/ElectroMag-test.asy @@ -1,3 +1,22 @@ +/* Test suite for ElectroMag.asy. + * + * Copyright (C) 2008-2009 W. Trevor King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + import ElectroMag; real u = 1cm; diff --git a/asymptote/ElectroMag.asy b/asymptote/ElectroMag.asy index b8d2775..05838b4 100644 --- a/asymptote/ElectroMag.asy +++ b/asymptote/ElectroMag.asy @@ -1,3 +1,22 @@ +/* Useful functions for drawing Physics 102 figures. + * + * Copyright (C) 2008-2009 W. Trevor King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + import geometry; import Mechanics; diff --git a/asymptote/Makefile b/asymptote/Makefile index fe5bf0b..8ab0d99 100644 --- a/asymptote/Makefile +++ b/asymptote/Makefile @@ -1,3 +1,21 @@ +# Run and clean up after my libraries' asymptote test suites. +# +# Copyright (C) 2008-2009 W. Trevor King +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + MODULES = Circ ElectroMag Mechanics all : $(MODULES:%=%-test.pdf) diff --git a/asymptote/Mechanics-test.asy b/asymptote/Mechanics-test.asy index 3cc5e40..e3843e1 100644 --- a/asymptote/Mechanics-test.asy +++ b/asymptote/Mechanics-test.asy @@ -1,3 +1,22 @@ +/* Test suite for Mechanics.asy. + * + * Copyright (C) 2008-2009 W. Trevor King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + import Mechanics; real u = 1cm; diff --git a/asymptote/Mechanics.asy b/asymptote/Mechanics.asy index 3eeb86a..477e91c 100644 --- a/asymptote/Mechanics.asy +++ b/asymptote/Mechanics.asy @@ -1,3 +1,22 @@ +/* Useful functions for drawing Physics 101 figures. + * + * Copyright (C) 2008-2009 W. Trevor King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + import geometry; // ---------------------- Mass ------------------------- diff --git a/asymptote/stickfigure.asy b/asymptote/stickfigure.asy index 2ad15f6..242b39e 100644 --- a/asymptote/stickfigure.asy +++ b/asymptote/stickfigure.asy @@ -1,3 +1,22 @@ +/* sticfigure drawings in asymptote. + * + * Copyright (C) 2008-2009 W. Trevor King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + struct StickFigure { pair center; real height; -- 2.26.2