A couple of things involving environments
|
|
|
- Dwight Douglas
- 10 years ago
- Views:
Transcription
1 A couple of things involving environments Will Robertson 2014/05/04 v0.3 Abstract This package provides two things, one for document authors and one for macro authors. For the document authors, a new method, \NewEnviron, fo defining environments that might be more convenient on occasion. And for the package writers, amsmath s \collect@body command, and a long version of the same, \Collect@Body. 1 Introduction This packages provides new commands for defining environments: \NewEnviron{test}{% \fbox{\box{1.5cm}{\body}}\color{red} \fbox{\box{1.5cm}{\body}}} \ \RenewEnviron has the same syntax to redefine a pre-existing environment. 2 For the document author LATEX s standard method of defining environments looks like this (ignoring arguments for now): \newenvironment{ name }{ pre code }{ post code }. The advantage to using environments is that their contents are not treated as a macro argument, so there are fewer restrictions on what can exist inside, and the processing can be more efficient for long pieces of document text. The disadvantage of environments is that sometimes you really do want to collect up their body and apply some sort of command to the whole thing. This package provides a way to define such environments: \NewEnviron{ name }{ macro code }[ final code ]. You saw an example in the introduction; the body of the environment is contained within the macro \BODY, and [ final code ] is the code executed at \end{ name } (more on this later). 1
2 2.1 Environment arguments If you want to use arguments to the environment, these are specified as usual: \NewEnviron{ name }[ N. args ][ opt. arg. ]{ macro code }[ final code ] where { macro code } has arguments #1, #2,..., as per traditional LATEX environment mandatory and optional arguments. Here s an example with two arguments; one optional argument (#1, which is \today if omitted) and one mandatory argument (#2): Title (May 4, 2014) Title (Yesterday) \NewEnviron{test}[2][\today]{% \fbox{\box{3cm}{% \textbf{#2}\\ \BODY\\ (#1)}}} {Title} \ [Yesterday]{Title} \ 2.2 [ final code ] \environfinalcode This is the code executed at \end{ name } of the environment. For the purposes of this package it is only designed (but is very useful indeed) for cleanup code such as space gobbling in the input text. This macro sets a default value for the [ final code ] (unless manually specified) in each subsequent environment created with \NewEnviron. The default is to define each new environment postfixed by \ignorespacesafterend, like this: \environfinalcode{\ignorespacesafterend} Here s a silly example: (finish) \environfinalcode{(finish)} \NewEnviron{test}{\fbox{\box{3cm}{\BODY}}} \ Careful, \environfinalcode cannot contain square brackets without first protecting them with braces (e.g., \environfinalcode{[end]} will not work but \environfinalcode{{[end]}} will). This is because the optional argument to \NewEnviron itself uses square brackets as argument delimiters. 2
3 2.3 The \BODY command \environbodyname Using \BODY as the body of the environment might clash with a command defined by another package. To overcome such conflicts, rename this command with \environbodyname\ command at which point \NewEnviron will use \ command instead of \BODY. Here s an example: FOO foo \NewEnviron{FOO}{\fbox{\BODY}} \environbodyname\envbody \NewEnviron{foo}{\fbox{\envbody}} \begin{foo}foo\end{foo} \begin{foo}foo\end{foo} 3 For the macro author The amsmath package contains a macro that facilitates the functionality in the previous section, which package writers may wish to use directly. The canonical command is \collect@body, which I ve also defined in \long form to be useable for multi-agraph environments (\Collect@Body). Here s how it s used: [ hello there ] \long\def\wrap#1{[#1]} \newenvironment{test}{\collect@body\wrap}{} hello there And here s a crude example with environment arguments: [ arg hello there ] \long\def\wrap#1{[\arg#1]} \def\arg#1{---#1---\} \newenvironment{test}{\collect@body\wrap}{} {arg} hello there 3
4 4 Test Here s an example or two to ensure everything that you d think should work, in fact, does: outer *aa* inner (bb) inner (bb) outer *aa* inner (bb) inner (bb) \NewEnviron{test}{% \fbox{\box{\linewidth- 0.1cm*\currentgrouplevel}{\BODY}} \setlength\fboxrule{2\fboxrule} \fbox{\box{\linewidth- 0.1cm*\currentgrouplevel}{ \BODY }}} outer\ \def\tmp#1{*#1*}% \tmp{aa}\ inner\ \def\tmp#1{(#1)}\tmp{bb} 4
5 File I environ implementation This is the package. 1 \ProvidesPackage{environ}[2014/05/04 v0.3 A new way to define environments] 2 \RequirePackage{trimspaces} Change History v0.2 \NewEnviron: Added. 8 v0.3 \environbodyname: Works properly and now documented. 5 \RenewEnviron: Fixed for non-environ commands. 7 5 Begin \environbodyname \environfinalcode \longdef@c {#1}: control sequence Changes the control sequence used to represent the environment body in its definition. Not to be used as a user command; but maybe one day it will be. Don t change this after defining any \NewEnviron environments! 3 \def\environbodyname#1{\def\env@body{#1}} 4 \environbodyname\body {#1}: code This is the { code } that s executed by default at \end{ env. name }: 5 \def\environfinalcode#1{% 6 \def\env@finalcode{#1}} 7 \environfinalcode{\ignorespacesafterend} LATEX3-inspired shorthands. 8 \def\longdef@c#1{% 9 \expandafter\long\expandafter\def\csname#1\endcsname} 6 \collect@body-related code \collect@body Now, amsmath defines \collect@body for us. But that package may not be loaded, and we don t want to have to load the whole thing just for this one macro. 10 \unless\ifdefined\collect@body 11 \newtoks\@envbody 12 \def\collect@body#1{% 13 \@envbody{\expandafter#1\expandafter{\the\@envbody}}% 5
6 \begingroup } 23 \def\push@begins#1\begin#2{% 24 \ifx\end#2\else 25 b\expandafter\push@begins 26 \fi} 27 \def\addto@envbody#1{% 28 \global\@envbody\expandafter{\the\@envbody#1}} 29 \def\collect@@body#1\end#2{% 30 \edef\begin@stack{% 31 \push@begins#1\begin\end \expandafter\@gobble\begin@stack}% 32 \ifx\@empty\begin@stack 33 \endgroup 34 \@checkend{#2}% 35 \addto@envbody{#1}% 36 \else 37 \addto@envbody{#1\end{#2}}% 38 \fi 39 \process@envbody} 40 \fi \Collect@Body And now we define our own long version. 41 \long\def\collect@body#1{% 42 \@envbody{\expandafter#1\expandafter{\the\@envbody}}% 43 \edef\process@envbody{\the\@envbody\noexpand\end{\@currenvir}}% 44 \@envbody={}% 45 \def\begin@stack{b}% 46 \begingroup 47 \expandafter\let\csname\@currenvir\endcsname\collect@@body 48 \edef\process@envbody{% 49 \expandafter\noexpand\csname\@currenvir\endcsname}% 50 \process@envbody 51 } 52 \long\def\push@begins#1\begin#2{% 53 \ifx\end#2\else 54 b\expandafter\push@begins 55 \fi} 56 \long\def\addto@envbody#1{% 57 \global\@envbody\expandafter{\the\@envbody#1}} 58 \long\def\collect@@body#1\end#2{% 59 \edef\begin@stack{% 60 \Push@Begins#1\begin\end\expandafter\@gobble\begin@stack}% 6
7 61 62 \endgroup \else \fi 68 7 User-level syntax \RenewEnviron \NewEnviron This is the new one. 69 \def\newenviron{% \def\renewenviron{% Input argument sing And the second: And the second: (cont.) The final optional argument: 85 The first optional argument: }{% 90 \expandafter\the\expandafter }} Environment creation code {#1}: name of the environment {#2}: possible optional args (either empty or [N] or [N][default] ) 7
8 {#3}: environment code [#4]: final code 93 Save the definition of so we know what to look for. 94 Define the new environment to Collect its body and execute on it }{#4}% executes the body twice: the first time to save the body while ignoring the arguments; and the second time to process the environment definition itself while ignoring the environment body: \csname 100 \csname These must be defined on a per-environment basis in order to get the argument gobbling right: (because there are a variable number of arguments) 101 \expandafter\let\csname env@#1@save@env\endcsname\relax 102 \expandafter\let\csname env@#1@process\endcsname\relax 103 \expandafter\newcommand 104 \csname env@#1@save@env\endcsname#2{% 105 \expandafter\expandafter\expandafter 106 \env@save\csname env@#1@body\endcsname}% 107 \expandafter\newcommand 108 \csname env@#1@process\endcsname#2{#3\env@ignore}% 109 } \env@save If \env@body were variable, this macro would have to be saved for every environment definition individually; at the moment we just use a global definition. Use \trim@spaces to remove surrounding space: 110 \long\def\env@save#1#2\env@nil{% 111 \edef#1{% 112 \unexpanded\expandafter 113 \expandafter\expandafter{\trim@spaces{#2}}}} This is the same as a \@gobblenil but long and less likely to exist in the environment body: 114 \long\def\env@ignore#1\env@nil{} 8
bankstatement.cls 0.9.2 A L A T E X class for bank statements based on csv data 2015/11/14 Package author: Josef Kleber
0.9.2 A L A T E X class for bank statements based on csv data 2015/11/14 Package author: Josef Kleber [email protected] http://bankstatement.jklatex.de/ Contents 1 Class options 4 2 The bankstatement
Command Line - Part 1
Command Line - Part 1 STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat Course web: gastonsanchez.com/teaching/stat133 GUIs 2 Graphical User Interfaces
ESPResSo Summer School 2012
ESPResSo Summer School 2012 Introduction to Tcl Pedro A. Sánchez Institute for Computational Physics Allmandring 3 D-70569 Stuttgart Germany http://www.icp.uni-stuttgart.de 2/26 Outline History, Characteristics,
The collect package. Jonathan Sauer [email protected] 2004/09/10
The collect package Jonathan Sauer [email protected] 2004/09/10 Abstract This file describes the collect package that makes it possible to collect text for later use. Contents 1 Introduction 1 2 Usage
Python Lists and Loops
WEEK THREE Python Lists and Loops You ve made it to Week 3, well done! Most programs need to keep track of a list (or collection) of things (e.g. names) at one time or another, and this week we ll show
Paper 70-27 An Introduction to SAS PROC SQL Timothy J Harrington, Venturi Partners Consulting, Waukegan, Illinois
Paper 70-27 An Introduction to SAS PROC SQL Timothy J Harrington, Venturi Partners Consulting, Waukegan, Illinois Abstract This paper introduces SAS users with at least a basic understanding of SAS data
A package for rotated objects in L A TEX
A package for rotated objects in L A TEX Robin Fairbairns Sebastian Rahtz Leonor Barroca printed January 26, 2010 Contents 1 Introduction 1 2 Usage 2 2.1 Package options............................. 2
Drawing Gantt Charts in L A TEX with TikZ The pgfgantt package
Drawing Gantt Charts in L A TEX with TikZ The pgfgantt package Wolfgang Skala April 18th, 2011 The pgfgantt package provides the ganttchart environment, which draws a Gantt chart within a TikZ picture.
Exercise 1: Python Language Basics
Exercise 1: Python Language Basics In this exercise we will cover the basic principles of the Python language. All languages have a standard set of functionality including the ability to comment code,
Moving from CS 61A Scheme to CS 61B Java
Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you
Python Loops and String Manipulation
WEEK TWO Python Loops and String Manipulation Last week, we showed you some basic Python programming and gave you some intriguing problems to solve. But it is hard to do anything really exciting until
Dialog planning in VoiceXML
Dialog planning in VoiceXML Csapó Tamás Gábor 4 January 2011 2. VoiceXML Programming Guide VoiceXML is an XML format programming language, describing the interactions between human
Tralics, a LaTeX to XML translator Partie II
Tralics, a LaTeX to XML translator Partie II José Grimm To cite this version: José Grimm. Tralics, a LaTeX to XML translator Partie II. [Research Report] RT-0310, INRIA. 2007, pp.390.
WA2099 Introduction to Java using RAD 8.0 EVALUATION ONLY. Student Labs. Web Age Solutions Inc.
WA2099 Introduction to Java using RAD 8.0 Student Labs Web Age Solutions Inc. 1 Table of Contents Lab 1 - The HelloWorld Class...3 Lab 2 - Refining The HelloWorld Class...20 Lab 3 - The Arithmetic Class...25
University of Hull Department of Computer Science. Wrestling with Python Week 01 Playing with Python
Introduction Welcome to our Python sessions. University of Hull Department of Computer Science Wrestling with Python Week 01 Playing with Python Vsn. 1.0 Rob Miles 2013 Please follow the instructions carefully.
Context sensitive markup for inline quotations
The csquotes package Context sensitive markup for inline quotations Philipp Lehman [email protected] Version 2.8 May 11, 2005 Contents Tables.............. 1 1 Introduction......... 1 2 Package options........
CS 1133, LAB 2: FUNCTIONS AND TESTING http://www.cs.cornell.edu/courses/cs1133/2015fa/labs/lab02.pdf
CS 1133, LAB 2: FUNCTIONS AND TESTING http://www.cs.cornell.edu/courses/cs1133/2015fa/labs/lab02.pdf First Name: Last Name: NetID: The purpose of this lab is to help you to better understand functions:
VI(Visual) Editor Reference manual
VI(Visual) Editor Reference manual The vi is a text editor. It is small, powerful, and standard on most UNIX systems. The vi often frustrates new users with a unique distinction between its two modes:
Section 1.5 Exponents, Square Roots, and the Order of Operations
Section 1.5 Exponents, Square Roots, and the Order of Operations Objectives In this section, you will learn to: To successfully complete this section, you need to understand: Identify perfect squares.
Introduction to Object-Oriented Programming
Introduction to Object-Oriented Programming Programs and Methods Christopher Simpkins [email protected] CS 1331 (Georgia Tech) Programs and Methods 1 / 8 The Anatomy of a Java Program It is customary
NewsletterAdmin 2.4 Setup Manual
NewsletterAdmin 2.4 Setup Manual Updated: 7/22/2011 Contact: [email protected] Contents Overview... 2 What's New in NewsletterAdmin 2.4... 2 Before You Begin... 2 Testing and Production...
6. Control Structures
- 35 - Control Structures: 6. Control Structures A program is usually not limited to a linear sequence of instructions. During its process it may bifurcate, repeat code or take decisions. For that purpose,
Technical problems. Taking notes. Mentioning documents. Answering questions. Problems with the questions. Asking questions.
Tips and language for telephone interviews What tips could you give someone about each stage of telephone interviews written below? Starting the telephone call Technical problems Taking notes Mentioning
Creating Medical Pedigrees with PSTricks and L A TEX.
Creating Medical Pedigrees with PSTricks and L A TEX. Boris Veytsman, [email protected] Leila Akhmadeeva 2007/07/20, v0.3 Abstract A set of macros based on PSTricks to draw medical pedigrees according to the
Using SQL Queries in Crystal Reports
PPENDIX Using SQL Queries in Crystal Reports In this appendix Review of SQL Commands PDF 924 n Introduction to SQL PDF 924 PDF 924 ppendix Using SQL Queries in Crystal Reports The SQL Commands feature
A Babel language definition file for Icelandic
A Babel language definition file for Icelandic Einar Árnason [email protected] 1 The Icelandic language 1.1 Overview The file iceland.dtx 1 defines all the language definition macros for the Icelandic language
Microsoft Access 3: Understanding and Creating Queries
Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex
Chapter 13 - The Preprocessor
Chapter 13 - The Preprocessor Outline 13.1 Introduction 13.2 The#include Preprocessor Directive 13.3 The#define Preprocessor Directive: Symbolic Constants 13.4 The#define Preprocessor Directive: Macros
7JjX Macros for COBOL Syntax Diagrams
7JjX Macros for COBOL Syntax Diagrams Unisys Corporation 19 Morgan Avenue Irvine. CA 92718-209 ABSTRACT COBOL syntax diagrams have a unique format that has evolved into an industrywide standard. This format
Perl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl
First CGI Script and Perl Perl in a nutshell Prof. Rasley shebang line tells the operating system where the Perl interpreter is located necessary on UNIX comment line ignored by the Perl interpreter End
COLLEGE ALGEBRA. Paul Dawkins
COLLEGE ALGEBRA Paul Dawkins Table of Contents Preface... iii Outline... iv Preliminaries... Introduction... Integer Exponents... Rational Exponents... 9 Real Exponents...5 Radicals...6 Polynomials...5
First Java Programs. V. Paúl Pauca. CSC 111D Fall, 2015. Department of Computer Science Wake Forest University. Introduction to Computer Science
First Java Programs V. Paúl Pauca Department of Computer Science Wake Forest University CSC 111D Fall, 2015 Hello World revisited / 8/23/15 The f i r s t o b l i g a t o r y Java program @author Paul Pauca
May 20, 2012. MyCV * Author: Andrea Ghersi. Abstract
May 20, 2012 MyCV * Author: Andrea Ghersi Abstract This LATEX class provides a set of functionality for writing curriculum vitæ with different layouts. To achieve this goal, it adopts a different approach
Excel for Mac Text Functions
[Type here] Excel for Mac Text Functions HOW TO CLEAN UP TEXT IN A FLASH This document looks at some of the tools available in Excel 2008 and Excel 2011 for manipulating text. Last updated 16 th July 2015
MARK MEADS Tele: +44(0) 870 24 26 789 Head of Sales, Individual Protection Direct: +44(0) 7740 897 409 Email: [email protected].
BUSINESS PROTECTION INSURANCE UNDER SOLD Insurance is a cost a business is always looking to reduce, so the suggestion that your business needs more insurance is not an easy one to make. However, Mark
Programming Languages CIS 443
Course Objectives Programming Languages CIS 443 0.1 Lexical analysis Syntax Semantics Functional programming Variable lifetime and scoping Parameter passing Object-oriented programming Continuations Exception
Welcome to Smart. Your guide to our new service
Welcome to Smart Your guide to our new service Welcome 03 For you, the future of energy has arrived Welcome to Smart, the revolutionary meter upgrade which enables you to monitor your energy use, and
Querying a Database Using the Select Query Window
Querying a Database Using the Select Query Window PROJECT CASE PERSPECTIVE Dr. Gernaey and his colleagues are eager for Ashton James College (AJC) to obtain the benefits they anticipated when they set
Outlook 2007: Managing your mailbox
Outlook 2007: Managing your mailbox Find its size and trim it down Use Mailbox Cleanup On the Tools menu, click Mailbox Cleanup. You can do any of the following from this one location: View the size of
MAIL MERGE AND RELATED OPERATIONS Form letters and mailing labels
7 MAIL MERGE AND RELATED OPERATIONS Form letters and mailing labels LEARNING OUTCOMES In Lesson 6 you were introduced to the Access 2013 database. In Lesson 7 you are going to apply what you have learned
Magit-Popup User Manual
Magit-Popup User Manual for version 2.5 Jonas Bernoulli Copyright (C) 2015-2016 Jonas Bernoulli You can redistribute this document and/or modify it under the terms of the GNU General
To add a data form to excel - you need to have the insert form table active - to make it active and add it to excel do the following:
Excel Forms A data form provides a convenient way to enter or display one complete row of information in a range or table without scrolling horizontally. You may find that using a data form can make data
A package for making sticky labels in L A TEX
A package for making sticky labels in L A TEX Sebastian Rahtz, Leonor Barroca Julian Gilbey Grant Gustafson 2003/05/22 Contents Abstract A L A TEX style to print a regular grid of ragged-right labels on
We will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share.
LING115 Lecture Note Session #4 Python (1) 1. Introduction As we have seen in previous sessions, we can use Linux shell commands to do simple text processing. We now know, for example, how to count words.
Writing an essay. This seems obvious - but it is surprising how many people don't really do this.
Writing an essay Look back If this is not your first essay, take a look at your previous one. Did your tutor make any suggestions that you need to bear in mind for this essay? Did you learn anything else
1.1 AppleScript Basics
13Working with AppleScript This guide provides helpful information and examples for using AppleScript to automate the Macintosh version of KaleidaGraph. A variety of sample scripts, from basic to complex,
Practical Problem Solving Dr. Chris Williams
Practical Problem Solving Dr. Chris Williams Overcoming Depression A Five Areas Approach 2 Acknowledgement Practical Problem Solving is part of a longer self-help workbook called Overcoming Depression:
Eventia Log Parsing Editor 1.0 Administration Guide
Eventia Log Parsing Editor 1.0 Administration Guide Revised: November 28, 2007 In This Document Overview page 2 Installation and Supported Platforms page 4 Menus and Main Window page 5 Creating Parsing
How To Build An Intranet In Sensesnet.Com
Sense/Net 6 Evaluation Guide How to build a simple list-based Intranet? Contents 1 Basic principles... 4 1.1 Workspaces... 4 1.2 Lists... 4 1.3 Check-out/Check-in... 5 1.4 Version control... 5 1.5 Simple
Internationalization and Web Services
Internationalization and Web Services 25 th Internationalization and Unicode Conference Presented by Addison P. Phillips Director, Globalization Architecture webmethods, Inc. 25 th Internationalization
Rake Task Management Essentials
Rake Task Management Essentials Andrey Koleshko Chapter No. 8 "Testing Rake Tasks" In this package, you will find: A Biography of the author of the book A preview chapter from the book, Chapter NO.8 "Testing
Lecture 2 Notes: Flow of Control
6.096 Introduction to C++ January, 2011 Massachusetts Institute of Technology John Marrero Lecture 2 Notes: Flow of Control 1 Motivation Normally, a program executes statements from first to last. The
Bash shell programming Part II Control statements
Bash shell programming Part II Control statements Deniz Savas and Michael Griffiths 2005-2011 Corporate Information and Computing Services The University of Sheffield Email [email protected]
MICROSOFT ACCESS STEP BY STEP GUIDE
IGCSE ICT SECTION 11 DATA MANIPULATION MICROSOFT ACCESS STEP BY STEP GUIDE Mark Nicholls ICT Lounge P a g e 1 Contents Task 35 details Page 3 Opening a new Database. Page 4 Importing.csv file into the
How to Copy Photos to a CD Using Microsoft Windows XP or Microsoft Windows Vista
How to Copy Photos to a CD Using Microsoft Windows XP or Microsoft Windows Vista There are many occasions, where you will want to copy (sometimes called burn ) photo files to a CD. You may be creating
Install Java Development Kit (JDK) 1.8 http://www.oracle.com/technetwork/java/javase/downloads/index.html
CS 259: Data Structures with Java Hello World with the IntelliJ IDE Instructor: Joel Castellanos e-mail: joel.unm.edu Web: http://cs.unm.edu/~joel/ Office: Farris Engineering Center 319 8/19/2015 Install
NFS File Sharing. Peter Lo. CP582 Peter Lo 2003 1
NFS File Sharing Peter Lo CP582 Peter Lo 2003 1 NFS File Sharing Summary Distinguish between: File transfer Entire file is copied to new location FTP Copy command File sharing Multiple users can access
The 2010 British Informatics Olympiad
Time allowed: 3 hours The 2010 British Informatics Olympiad Instructions You should write a program for part (a) of each question, and produce written answers to the remaining parts. Programs may be used
Extensions to the ltxdoc class
Extensions to the ltxdoc class Arthur Ogawa (mailto:arthur ogawa at sbcglobal.net), 1.1b2 Copyright (C) 2008 Arthur Ogawa August 4, 2008 This file embodies the ltxdocext package, the implementation and
AVOIDING THE GIT OF DESPAIR
AVOIDING THE GIT OF DESPAIR EMMA JANE HOGBIN WESTBY SITE BUILDING TRACK @EMMAJANEHW http://drupal.org/user/1773 Avoiding The Git of Despair @emmajanehw http://drupal.org/user/1773 www.gitforteams.com Local
The different kinds of variables in a Java program
The different kinds of variables in a Java program The different kinds of variables in a Java program Java has 4 different kinds of variables Class variables Instance variables Local variables Parameter
0 Introduction to Data Analysis Using an Excel Spreadsheet
Experiment 0 Introduction to Data Analysis Using an Excel Spreadsheet I. Purpose The purpose of this introductory lab is to teach you a few basic things about how to use an EXCEL 2010 spreadsheet to do
Lesson 20: Latex Picture environment
Lesson 20: Latex Picture environment The basic syntax for the Latex picture environment is \begin{picture}(width,height)(x-offset,y-offset)... picture commands... The picture environment allows you to
Writing cleaner and more powerful SAS code using macros. Patrick Breheny
Writing cleaner and more powerful SAS code using macros Patrick Breheny Why Use Macros? Macros automatically generate SAS code Macros allow you to make more dynamic, complex, and generalizable SAS programs
Coding conventions and C++-style
Chapter 1 Coding conventions and C++-style This document provides an overview of the general coding conventions that are used throughout oomph-lib. Knowledge of these conventions will greatly facilitate
CS1102: Adding Error Checking to Macros
CS1102: Adding Error Checking to Macros Kathi Fisler, WPI October 6, 2008 1 Typos in State Machines The point of creating macros for state machines is to hide language details from the programmer. Ideally,
Microsoft Word 2010 Mail Merge (Level 3)
IT Services Microsoft Word 2010 Mail Merge (Level 3) Contents Introduction...1 Creating a Data Set...2 Creating the Merge Document...2 The Mailings Tab...2 Modifying the List of Recipients...3 The Address
Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.
Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to
Raptor K30 Gaming Software
Raptor K30 Gaming Software User Guide Revision 1.0 Copyright 2013, Corsair Components, Inc. All Rights Reserved. Corsair, the Sails logo, and Vengeance are registered trademarks of Corsair in the United
Turtle Power. Introduction: Python. In this project, you ll learn how to use a turtle to draw awesome shapes and patterns. Activity Checklist
Python 1 Turtle Power All Code Clubs must be registered. By registering your club we can measure our impact, and we can continue to provide free resources that help children learn to code. You can register
Introducing VBA Message Boxes
Introducing VBA Message Boxes It's All About Communication When you build a tool for someone else to use it is important that that person, "the user", knows what's going on and feels confident using it.
Cathy Benedict, Ed.D Florida International University NAfME Nashville, 2013 Doing Away With Classroom Management: Teaching for Musical Transitions
Cathy Benedict, Ed.D Florida International University NAfME Nashville, 2013 Doing Away With Classroom Management: Teaching for Musical Transitions The following can be made appropriate for 1st-5th grade
How-To: Write simple sieve scripts
How-To: Write simple sieve scripts 1. Syntax... 1 2. Actions... 3 3. Other Sieve tricks... 5 3.1. Refined attachment blocking... 5 3.2 Targeted blocking... 6 3.3 Logical AND statements with Sieve... 7
Interview with Hugh McLaughlin and Helen Scholar, editors of Social Work Education: The International Journal
Interview with Hugh McLaughlin and Helen Scholar, editors of Social Work Education: The International Journal As new editors of Social Work Education: The International Journal tell us a bit about yourselves
PROJECT ON MICROSOFT ACCESS (HOME TAB AND EXTERNAL DATA TAB) SUBMITTED BY: SUBMITTED TO: NAME: ROLL NO: REGN NO: BATCH:
PROJECT ON MICROSOFT ACCESS (HOME TAB AND EXTERNAL DATA TAB) SUBMITTED BY: SUBMITTED TO: NAME: ROLL NO: REGN NO: BATCH: INDEX Microsoft Access- An Overview 2 Datasheet view 4 Create a Table in Datasheet
A Python Tour: Just a Brief Introduction CS 303e: Elements of Computers and Programming
A Python Tour: Just a Brief Introduction CS 303e: Elements of Computers and Programming "The only way to learn a new programming language is by writing programs in it." -- B. Kernighan and D. Ritchie "Computers
Setting Up a Development Server
2 Setting Up a Development Server If you wish to develop Internet applications but don t have your own development server, you will have to upload every modification you make to a server somewhere else
GAP CLOSING. Volume and Surface Area. Intermediate / Senior Student Book
GAP CLOSING Volume and Surface Area Intermediate / Senior Student Book Volume and Surface Area Diagnostic...3 Volumes of Prisms...6 Volumes of Cylinders...13 Surface Areas of Prisms and Cylinders...18
Advanced Bash Scripting. Joshua Malone ([email protected])
Advanced Bash Scripting Joshua Malone ([email protected]) Why script in bash? You re probably already using it Great at managing external programs Powerful scripting language Portable and version-stable
A Crash Course on UNIX
A Crash Course on UNIX UNIX is an "operating system". Interface between user and data stored on computer. A Windows-style interface is not required. Many flavors of UNIX (and windows interfaces). Solaris,
Network Time Protocol and Meinberg NTP Time Server Monitor ~ Installation Guide. 1. Introduction. 2. NTP Installation
Network Time Protocol and Meinberg NTP Time Server Monitor ~ Installation Guide Whitham D. Reeve 1. Introduction This installation guide provides step-by-step instructions for installing the Network Time
Test Driven Development
Test Driven Development Introduction Test Driven development (TDD) is a fairly recent (post 2000) design approach that originated from the Extreme Programming / Agile Methodologies design communities.
Creating Drawings in Pro/ENGINEER
6 Creating Drawings in Pro/ENGINEER This chapter shows you how to bring the cell phone models and the assembly you ve created into the Pro/ENGINEER Drawing mode to create a drawing. A mechanical drawing
Programming LEGO NXT Robots using NXC
Programming LEGO NXT Robots using NXC This text programming language derived from C language is bended together with IDE BricxCC on standard firmware LEGO Mindstorms. This can be very convenient for those,
Chapter One Love Is the Foundation. For Group Discussion. Notes
Group Study Guide How can you learn to speak each of the fi ve love languages with your children and fi ll their love tank? This interactive guide includes study questions and exercises for you, for your
COSC 6397 Big Data Analytics. 2 nd homework assignment Pig and Hive. Edgar Gabriel Spring 2015
COSC 6397 Big Data Analytics 2 nd homework assignment Pig and Hive Edgar Gabriel Spring 2015 2 nd Homework Rules Each student should deliver Source code (.java files) Documentation (.pdf,.doc,.tex or.txt
Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; [email protected], and Dr. J.A. Dobelman
Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; [email protected], and Dr. J.A. Dobelman Statistics lab will be mainly focused on applying what you have learned in class with
How To Use Excel With A Calculator
Functions & Data Analysis Tools Academic Computing Services www.ku.edu/acs Abstract: This workshop focuses on the functions and data analysis tools of Microsoft Excel. Topics included are the function
Creating Database Tables in Microsoft SQL Server
Creating Database Tables in Microsoft SQL Server Microsoft SQL Server is a relational database server that stores and retrieves data for multi-user network-based applications. SQL Server databases are
Training Needs Analysis
Training Needs Analysis Microsoft Office 2007 Access 2007 Course Code: Name: Chapter 1: Access 2007 Orientation I understand how Access works and what it can be used for I know how to start Microsoft Access
Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification
Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries
