const.h: Fix flag documentation for the NOPASTE flag
[geda-pcb/pcjc2.git] / doc / refcard.tex
blobe06ce0a18ba55488063b7ef1c9afc84c4243857b
2 % COPYRIGHT
4 % PCB, interactive printed circuit board design
5 % Copyright (C) 1994, 1995 Thomas Nau
6 % Copyright (C) 1998, 1999, 2000, 2001 harry eaton
7 % Copyright (C) 2009 Chitlesh Goorah
9 % This program is free software; you can redistribute it and/or modify
10 % it under the terms of the GNU General Public License as published by
11 % the Free Software Foundation; either version 2 of the License, or
12 % (at your option) any later version.
14 % This program is distributed in the hope that it will be useful,
15 % but WITHOUT ANY WARRANTY; without even the implied warranty of
16 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 % GNU General Public License for more details.
19 % You should have received a copy of the GNU General Public License
20 % along with this program; if not, write to the Free Software
21 % Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 % Contact addresses for paper mail and Email:
24 % Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
25 % Thomas.Nau@rz.uni-ulm.de
28 \documentclass[11pt,landscape]{article}
29 \usepackage{multicol}
30 \usepackage{calc}
31 \usepackage{ifthen}
32 \usepackage[landscape,left=2.5cm,top=2cm,right=2cm,bottom=2cm,nohead]{geometry}
34 % Turn off header and footer
35 \pagestyle{empty}
37 % Redefine section commands to use less space
38 \makeatletter
39 \renewcommand{\section}{\@startsection{section}{1}{0mm}%
40 {-1ex plus -.5ex minus -.2ex}%
41 {0.5ex plus .2ex}%x
42 {\normalfont\large\bfseries}}
43 \renewcommand{\subsection}{\@startsection{subsection}{2}{0mm}%
44 {-1explus -.5ex minus -.2ex}%
45 {0.5ex plus .2ex}%
46 {\normalfont\normalsize\bfseries}}
47 \renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0mm}%
48 {-1ex plus -.5ex minus -.2ex}%
49 {1ex plus .2ex}%
50 {\normalfont\small\bfseries}}
51 \makeatother
53 % Define BibTeX command
54 \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
55 T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
57 % Don't print section numbers
58 \setcounter{secnumdepth}{0}
61 \setlength{\parindent}{0pt}
62 \setlength{\parskip}{0pt plus 0.5ex}
64 %------------------------------------------------------------------
65 % some new commands to define the modifier keys
67 \newcommand{\Shift}{{\it [S]}}
68 \newcommand{\Ctrl}{{\it [C]}}
69 \newcommand{\Mod}{{\it [M]}}
70 \newcommand{\Btn}{{\it Btn}}
71 \newcommand{\Fun}{{\it F}}
73 \begin{document}
74 \raggedright
75 \footnotesize
76 \begin{multicols}{3}
79 % multicol parameters
80 % These lengths are set only within the two main columns
81 %\setlength{\columnseprule}{0.25pt}
82 \setlength{\premulticols}{1pt}
83 \setlength{\postmulticols}{1pt}
84 \setlength{\multicolsep}{1pt}
85 \setlength{\columnsep}{2pt}
87 \begin{center}
88 \Large{\textbf{PCB Command reference}}
89 \footnote{http://pcb.geda-project.org/}
90 \footnote{Obviously \Shift, \Ctrl, \Mod, \Fun \space and \Btn \space mean the shift,
91 control, modifier1 (BTNMOD for buttons), function key and mouse button.} \\
92 \end{center}
94 \section{Misc operations}
95 \begin{tabular}{@{}ll@{}}
96 backspace & remove object \\
97 \Shift\Ctrl\Btn1 & remove object \\
98 scroll wheel & vertical pan \\
99 \Shift scroll wheel & horizontal pan \\
100 \Btn1 & current mode action\\
101 u & undo operation \\
102 \Shift r & redo operation \\
103 \Shift\Ctrl u & clear undo-list \\
104 tab & switch viewing side \\
105 cursor key & move crosshair 1 grid\\
106 \Shift cursor key! & move crosshair 10 grid\\
107 \end{tabular}
110 \section{Connections}
111 \begin{tabular}{@{}ll@{}}
112 \Shift f & reset found connections \\
113 f & find connections \\
114 \Shift backspace & remove connections \\
115 \end{tabular}
118 \section{User (:) commands}
119 \begin{tabular}{@{}ll@{}}
120 :DRC() & check layout for rule violations \\
121 :l [file] & load data file \\
122 :le [file] & load element to buffer \\
123 :m [file] & load layout to buffer \\
124 :q & quit application \\
125 :rn [file] & load netlist \\
126 :s [file] & save data as file \\
127 \end{tabular}
129 \section{Display}
130 \begin{tabular}{@{}ll@{}}
131 c & center display \\
132 g & increase grid spacing \\
133 \Shift g & decrease grid spacing \\
134 \Ctrl m & mark location \\
135 r & clear and redraw output \\
136 z & zoom in \\
137 \Shift z & zoom out \\
138 v & zoom extents \\
139 \Shift\Btn3 & temporary zoom extents \\
140 \end{tabular}
143 \section{Selections}
144 \begin{tabular}{@{}ll@{}}
145 \Btn2 & select/deselect object \\
146 \Shift\Btn2 & toggle object to selection \\
147 drag \Btn2 & select only objects in box \\
148 drag \Shift\Btn2 & add box to selection \\
149 \Shift m & move selected to current layer \\
150 \end{tabular}
153 \section{Copy and move}
154 \begin{tabular}{@{}ll@{}}
155 drag \Btn2 & move object or selection\\
156 drag \Mod\Btn2 & copy object \\
157 drag \Shift\Mod\Btn2 & override rubberband \& move \\
158 m & move to current layer \\
159 \end{tabular}
162 \section{Pastebuffer}
163 \begin{tabular}{@{}ll@{}}
164 \Ctrl x & copy selected objects to buffer \\
165 & and enter pastebuffer mode \\
166 \Shift \Ctrl x & cut selected objects to buffer \\
167 & and enter pastebuffer mode \\
168 \Btn1 & in pastebuffer mode copy to layout \\
169 \Shift \Fun7 & rotate 90 degree cc \\
170 \Ctrl 1$\cdots$5 & select buffer \# 1$\cdots$5 \\
171 \end{tabular}
174 \section{Sizing}
175 \begin{tabular}{@{}ll@{}}
176 s & increase size of TLAPV\footnotemark\\
177 \Shift s & decrease size of TLAPV\\
178 \Mod s & increase drill size of PV \\
179 \Shift\Mod s & decrease drill size of PV \\
180 k & increase clearance of LAPV\\
181 \Shift\ k & decrease clearance of LAPV\\
182 \end{tabular}
183 \footnotetext{TLAPV: text, line, arc, pin or via}
186 \section{Element}
187 \begin{tabular}{@{}ll@{}}
188 d & display pinout \\
189 \Shift d & open pinout window \\
190 h & hide/show element name \\
191 n & change element name \\
192 \end{tabular}
195 \section{Pin/pad}
196 \begin{tabular}{@{}ll@{}}
197 n & change name \\
198 q & toggle square flag \\
199 \end{tabular}
202 \section{Via}
203 \begin{tabular}{@{}ll@{}}
204 \Fun1 & enter via-mode \\
205 \Ctrl v & increase initial size \\
206 \Shift \Ctrl v & decrease initial size \\
207 \Mod v & inc. initial drilling hole \\
208 \Shift\Mod v & dec. initial drilling hole \\
209 \Ctrl h & convert via to mounting hole \\
210 \end{tabular}
213 \section{Lines and arcs}
214 \begin{tabular}{@{}ll@{}}
215 \Fun2 & enter line mode \\
216 \Fun3 & enter arc mode \\
217 l & increase initial line size \\
218 \Shift l & decrease initial line size \\
219 period & toggle 45 degree enforcement \\
220 / & cycle multiline mode \\
221 \Shift & override multiline mode \\
222 \end{tabular}
225 \section{Polygon}
226 \begin{tabular}{@{}ll@{}}
227 \Fun5 & enter rectangle-mode \\
228 \Fun6 & enter polygon-mode \\
229 \Shift p & close path \\
230 insert & enter insert point mode \\
231 \end{tabular}
234 \section{Text}
235 \begin{tabular}{@{}ll@{}}
236 \Fun4 & enter text-mode \\
237 n & edit string \\
238 t & increase initial text size \\
239 \Shift t & decrease initial text size \\
240 \end{tabular}
243 \section{Rats nest}
244 \begin{tabular}{@{}ll@{}}
245 w & add all rats \\
246 \Shift w & add rats to selected pins/pads \\
247 e & delete all rats \\
248 \Shift e & delete selected rats \\
249 o & optimize all rats \\
250 \Shift o & optimize selected rats \\
251 \end{tabular}
254 \end{multicols}
257 \end{document}