Commit 4bfa2434 authored by Jim Hefferon's avatar Jim Hefferon

darken colors of gray shapes to print better

parent b16da2ad
......@@ -343,8 +343,8 @@ endfig;
% ================== crystal ==================
def draw_small_atom(expr loc) =
fill small_atom_sphere shifted loc withcolor white;
draw small_atom_sphere shifted loc withcolor lightgray;
draw small_atom_eq shifted loc withcolor lightgray;
draw small_atom_sphere shifted loc withcolor shading_color;
draw small_atom_eq shifted loc withcolor shading_color;
enddef;
def draw_small_atoms(text t) =
for s = t:
......@@ -354,8 +354,8 @@ enddef;
def draw_large_atom(expr loc) =
fill large_atom_sphere shifted loc withcolor white;
draw large_atom_sphere shifted loc withcolor lightgray;
draw large_atom_eq shifted loc withcolor lightgray;
draw large_atom_sphere shifted loc withcolor shading_color;
draw large_atom_eq shifted loc withcolor shading_color;
enddef;
def draw_large_atoms(text t) =
forsuffixes s = t:
......
......@@ -158,14 +158,14 @@ beginfig(3) % (1,3,3) and its projection
%pickup pencircle scaled (2*line_width_dark);
%drawarrow z0--z1 withcolor white;
pickup pencircle scaled (line_width_light);
draw z0--z3 withcolor lightgray;
draw z3--z1 withcolor lightgray;
draw z0--z3 withcolor shading_color;
draw z3--z1 withcolor shading_color;
drawarrow z0--z1;
%pickup pencircle scaled (2*line_width_light);
%drawarrow z0--z2 withcolor white;
pickup pencircle scaled (line_width_dark);
draw z0--z4 withcolor lightgray;
draw z4--z2 withcolor lightgray;
draw z0--z4 withcolor shading_color;
draw z4--z2 withcolor shading_color;
drawarrow z0--z2;
% pickup pencircle scaled line_width_dark;
% draw .5[z1,z2]--z2--z4--.5[z4,z3];
......@@ -235,15 +235,15 @@ beginfig(4) % R^3 and R^2
% vectors in R3
save many_vecs; path many_vecs; many_vecs = (0,-4pt)--(0,4pt);
pickup pencircle scaled line_width_light;
drawarrow z0--z3 withcolor lightgray;
drawarrow z0--z3 withcolor shading_color;
pickup pencircle scaled dot_width;
draw (many_vecs shifted z3) dashed withdots scaled 0.35;
pickup pencircle scaled line_width_light;
drawarrow z0--z5 withcolor lightgray;
drawarrow z0--z5 withcolor shading_color;
pickup pencircle scaled dot_width;
draw (many_vecs shifted z5) dashed withdots scaled 0.35;
pickup pencircle scaled line_width_light;
drawarrow z0--z1 withcolor lightgray; % main vector
drawarrow z0--z1 withcolor shading_color; % main vector
pickup pencircle scaled dot_width;
draw (many_vecs shifted z1) dashed withdots scaled 0.35;
pickup pencircle scaled line_width_light;
......@@ -314,7 +314,7 @@ beginfig(6) % an `a' vector
pickup pencircle scaled line_width_light;
z3=whatever[z0,z1]; x3=-.5w;
z4=whatever[z0,z1]; y4=-.5v;
draw z3--z4 withcolor lightgray;
draw z3--z4 withcolor shading_color;
%label.rt(btex \makebox[0pt][l]{\small $x+y=a$} etex,z4);
pickup pencircle scaled line_width_dark;
z5=(.75w,1.25v);
......@@ -341,7 +341,7 @@ beginfig(7) % an `b' vector
pickup pencircle scaled line_width_light;
z3=whatever[z0,z1]; x3=-.5w;
z4=whatever[z0,z1]; y4=-.5v;
draw z3--z4 withcolor lightgray;
draw z3--z4 withcolor shading_color;
%label.rt(btex \makebox[0pt][l]{\small $x+y=b$} etex,z4);
pickup pencircle scaled line_width_dark;
z5=(2w,1v);
......@@ -367,9 +367,9 @@ beginfig(8) % an `a+b' vector
pickup pencircle scaled line_width_light;
z3=whatever[z0,z1]; x3=w;
z4=whatever[z0,z1]; y4=v;
draw z3--z4 withcolor lightgray;
draw z3--z4 withcolor shading_color;
%label.rt(btex \makebox[0pt][l]{\small $x+y=a+b$} etex,z4);
draw (0,0)--(.75w,1.25v)--(2.75w,2.25v) withcolor lightgray;
draw (0,0)--(.75w,1.25v)--(2.75w,2.25v) withcolor shading_color;
pickup pencircle scaled line_width_dark;
z5=(2.75w,2.25v);
drawarrow (0,0)--z5;
......@@ -1643,8 +1643,8 @@ beginfig(33) % projection of (1,3,2) onto a line in R^3
draw z3--z4 withcolor lightgray;
draw (.5[z0,z2])--(1.03[z0,z2]) withcolor white;
pickup pencircle scaled line_width_dark;
drawarrow z0--z1 withcolor lightgray;
drawarrow z0--z2 withcolor lightgray;
drawarrow z0--z1 withcolor shading_color;
drawarrow z0--z2 withcolor shading_color;
% little man
pickup pencircle scaled line_width_light;
......@@ -2673,7 +2673,7 @@ beginfig(54) % negative doubling the x's
% the line of reflection
z4 = (xmin,ymin); z5 = (xmax,ymax);
draw (z4--z5) shifted codomain_shift dashed evenly scaled .75;
drawarrow (z0--z2) shifted codomain_shift withcolor lightgray;
drawarrow (z0--z2) shifted codomain_shift withcolor shading_color;
draw (z2--z3) shifted codomain_shift dashed withdots scaled .5;
endfig;
......@@ -2977,7 +2977,7 @@ beginfig(62) % orthonormal bases; orientation-preserving
save unitcircle; path unitcircle;
unitcircle = fullcircle scaled 2u;
pickup pencircle scaled line_width_light;
draw unitcircle withcolor lightgray;
draw unitcircle withcolor shading_color;
% the vectors
z0 = (1w,0v);
z1 = z0 rotated 20;
......@@ -3014,7 +3014,7 @@ beginfig(63) % orthonormal bases; orientation-reversing
save unitcircle; path unitcircle;
unitcircle = fullcircle scaled 2u;
pickup pencircle scaled line_width_light;
draw unitcircle withcolor lightgray;
draw unitcircle withcolor shading_color;
% the line of reflection
save angle_of_refl_line; numeric angle_of_refl_line;
angle_of_refl_line = 10;
......
......@@ -638,15 +638,15 @@ beginfig(9) % projection with rail tracks on S
% draw the planes and lines
pickup pencircle scaled line_width_light;
fill iplane_lower--cycle withcolor white; draw iplane_lower;
draw z41--z43 withcolor lightgray; % bot of vert line thru P
draw z41--z43 withcolor shading_color; % bot of vert line thru P
fill splane_lower--cycle withcolor white; draw splane_lower;
fill splane_upper--cycle withcolor white; draw splane_upper;
draw z54--z55; % rail track
draw z56--z57 dashed evenly scaled .75; % other
draw z42--z41 withcolor lightgray; % top of vert line thru P
draw z44--z45 withcolor lightgray; % right of slant line
draw z42--z41 withcolor shading_color; % top of vert line thru P
draw z44--z45 withcolor shading_color; % right of slant line
fill iplane_upper--cycle withcolor white; draw iplane_upper;
draw z45--z46 withcolor lightgray; % left of slant line
draw z45--z46 withcolor shading_color; % left of slant line
drawpoint(z40);
% labels
......@@ -746,17 +746,17 @@ beginfig(10) % projection with rail tracks on P->S->I
% draw the planes and lines
pickup pencircle scaled line_width_light;
fill iplane_lower--cycle withcolor white; draw iplane_lower;
draw z41--z43 withcolor lightgray; % bot of vert line thru P
draw z41--z43 withcolor shading_color; % bot of vert line thru P
draw z10--z11; % projection of solid track
draw z12--z13 dashed evenly scaled .75; % projection of dashed track
fill splane_lower--cycle withcolor white; draw splane_lower;
fill splane_upper--cycle withcolor white; draw splane_upper;
draw z10--z22; % rail track
draw z12--z23 dashed evenly scaled .75; % other
draw z42--z41 withcolor lightgray; % top of vert line thru P
draw z44--z45 withcolor lightgray; % right of slant line
draw z42--z41 withcolor shading_color; % top of vert line thru P
draw z44--z45 withcolor shading_color; % right of slant line
fill iplane_upper--cycle withcolor white; draw iplane_upper;
draw z45--z46 withcolor lightgray; % left of slant line
draw z45--z46 withcolor shading_color; % left of slant line
drawpoint(z40);
% labels
......@@ -850,17 +850,17 @@ beginfig(11) % projection with rail tracks S->I->P
% draw the planes and lines
pickup pencircle scaled line_width_light;
fill iplane_lower--cycle withcolor white; draw iplane_lower;
draw z41--z43 withcolor lightgray; % bot of vert line thru P
draw z41--z43 withcolor shading_color; % bot of vert line thru P
fill splane_lower--cycle withcolor white; draw splane_lower;
fill splane_upper--cycle withcolor white; draw splane_upper;
draw z54--z10; % rail track
draw z56--z12 dashed evenly scaled .75; % other
draw z42--z41 withcolor lightgray; % top of vert line thru P
draw z44--z45 withcolor lightgray; % right of slant line
draw z42--z41 withcolor shading_color; % top of vert line thru P
draw z44--z45 withcolor shading_color; % right of slant line
fill iplane_upper--cycle withcolor white; draw iplane_upper;
draw z10--z45; % image of solid track
draw z12--z45 dashed evenly scaled .75; % image of dashed track
draw z45--z46 withcolor lightgray; % left of slant line
draw z45--z46 withcolor shading_color; % left of slant line
drawpoint(z40);
% labels
......@@ -963,17 +963,17 @@ beginfig(12) % projection with rail tracks on S
% draw the planes and lines
pickup pencircle scaled line_width_light;
fill iplane_lower--cycle withcolor white; draw iplane_lower;
draw z41--z43 withcolor lightgray; % bot of vert line thru P
draw z41--z43 withcolor shading_color; % bot of vert line thru P
fill splane_lower--cycle withcolor white; draw splane_lower;
fill splane_upper--cycle withcolor white; draw splane_upper;
draw z55--z22; % rail track
draw z57--z23 dashed evenly scaled .75; % other
draw z42--z41 withcolor lightgray; % top of vert line thru P
draw z44--z45 withcolor lightgray; % right of slant line
draw z42--z41 withcolor shading_color; % top of vert line thru P
draw z44--z45 withcolor shading_color; % right of slant line
fill iplane_upper--cycle withcolor white; draw iplane_upper;
draw z45--z11; % image of solid track
draw z45--z13 dashed evenly scaled .75; % image of dashed track
draw z45--z46 withcolor lightgray; % left of slant line
draw z45--z46 withcolor shading_color; % left of slant line
drawpoint(z40);
% labels
......@@ -1076,15 +1076,15 @@ beginfig(13) % projection, like with rail tracks, on S, showing infinities
% draw the planes and lines
pickup pencircle scaled line_width_light;
fill iplane_lower--cycle withcolor white; draw iplane_lower;
draw z41--z43 withcolor lightgray; % bot of vert line thru P
draw z41--z43 withcolor shading_color; % bot of vert line thru P
fill splane_lower--cycle withcolor white; draw splane_lower;
fill splane_upper--cycle withcolor white; draw splane_upper;
%draw z55--z22; % rail track
%draw z57--z23 dashed evenly scaled .75; % other
draw z42--z41 withcolor lightgray; % top of vert line thru P
draw z44--z45 withcolor lightgray; % right of slant line
draw z42--z41 withcolor shading_color; % top of vert line thru P
draw z44--z45 withcolor shading_color; % right of slant line
fill iplane_upper--cycle withcolor white; draw iplane_upper;
draw z45--z46 withcolor lightgray; % left of slant line
draw z45--z46 withcolor shading_color; % left of slant line
drawpoint(z40);
pickup pencircle scaled line_width_dark;
drawdot(z22); drawdot(z23); % sent to infinity
......@@ -1151,7 +1151,7 @@ beginfig(14) % projective plane like a dome
xaxiscolor:=white; yaxiscolor:=white; zaxiscolor:=white;
draw_xyz_axes(2.5,2.5,2.5);
pickup pencircle scaled line_width_light;
xaxiscolor:=lightgray; yaxiscolor:=lightgray; zaxiscolor:=lightgray;
xaxiscolor:=shading_color; yaxiscolor:=shading_color; zaxiscolor:=shading_color;
draw_xyz_axes(2.5,2.5,2.5);
% line seen edge-on by projector person
......@@ -1192,7 +1192,7 @@ beginfig(15); % antipodal points are one point in projective plane
sphere = fullcircle scaled (2*sphere_rad);
equator = sphere yscaled .4;
pickup pencircle scaled line_width_light;
draw equator withcolor lightgray;
draw equator withcolor shading_color;
draw sphere;
save proj_line; path proj_line;
......@@ -1222,7 +1222,7 @@ beginfig(16); % projective line with antipodal points in projective plane
sphere = fullcircle scaled (2*sphere_rad);
equator = sphere yscaled .4;
pickup pencircle scaled line_width_light;
%draw equator withcolor lightgray;
%draw equator withcolor shading_color;
draw sphere;
save proj_line; path proj_line;
......@@ -1286,7 +1286,7 @@ beginfig(18); % correspondence: projective plane <--> z=1
sphere = fullcircle scaled (2*sphere_rad);
equator = sphere yscaled .4;
pickup pencircle scaled line_width_light;
draw equator withcolor lightgray;
draw equator withcolor shading_color;
draw sphere;
save proj_line; path proj_line;
......@@ -1699,7 +1699,7 @@ beginfig(24); % a walk around the projective plane
meridian = sphere xscaled .4; % fig is intersection of two ellipses
proj_line = sphere yscaled .3;
pickup pencircle scaled line_width_light;
draw meridian withcolor lightgray;
draw meridian withcolor shading_color;
draw sphere;
% z1/z2 is the projective point, the antipodal spots
z1 = proj_line intersectionpoint meridian;
......@@ -1750,7 +1750,7 @@ beginfig(25); % a walk around the projective plane
meridian = sphere xscaled .4; % fig is intersection of two ellipses
proj_line = sphere yscaled .7;
pickup pencircle scaled line_width_light;
draw meridian withcolor lightgray;
draw meridian withcolor shading_color;
draw sphere;
% z1/z2 is the projective point, the antipodal spots
z1 = proj_line intersectionpoint meridian;
......@@ -1800,7 +1800,7 @@ beginfig(26); % a walk around the projective plane; back fig thru south pole
meridian = sphere rotated 90 xscaled .4; % intersection of two ellipses
proj_line = sphere rotated 90 yscaled .7;
pickup pencircle scaled line_width_light;
draw meridian withcolor lightgray;
draw meridian withcolor shading_color;
draw sphere;
% z1/z2 is the projective point, the antipodal spots
z1 = proj_line intersectionpoint meridian;
......@@ -1850,7 +1850,7 @@ beginfig(27); % a walk around the projective plane; back fig near equator
meridian = sphere rotated 90 xscaled .4; % intersection of two ellipses
proj_line = sphere rotated 90 yscaled .1;
pickup pencircle scaled line_width_light;
draw meridian withcolor lightgray;
draw meridian withcolor shading_color;
draw sphere;
% z1/z2 is the projective point, the antipodal spots
z1 = proj_line intersectionpoint meridian;
......
......@@ -330,13 +330,13 @@ beginfig(8) % graph of rank falling and nullity rising
pickup pencircle scaled line_width_light;
drawpoint(z10);
pickup pensquare scaled line_width_light;
draw (x10,y10+0.5v)--(x10,y4-0.5v) withcolor medgray; % vert line above dot
draw (x10-.5whisker_width,y4-0.5v)--(x10+.5whisker_width,y4-0.5v) withcolor medgray; % whisker at top
draw (x10-.5whisker_width,y10+0.5v)--(x10+.5whisker_width,y10+0.5v) withcolor .8white; % whisker at bot
draw (x10,y10+0.5v)--(x10,y4-0.5v) withcolor shading_color; % vert line above dot
draw (x10-.5whisker_width,y4-0.5v)--(x10+.5whisker_width,y4-0.5v) withcolor shading_color; % whisker at top
draw (x10-.5whisker_width,y10+0.5v)--(x10+.5whisker_width,y10+0.5v) withcolor shading_color; % whisker at bot
label.rt(btex \small $\nullity (t^j)$ etex,(x10,.5[y10,y4]));
draw (x10,y10-0.5v)--(x10,1v) withcolor medgray; % vert line below dot
draw (x10-.5whisker_width,y10-0.5v)--(x10+.5whisker_width,y10-0.5v) withcolor medgray; % whisker at top
draw (x10-.5whisker_width,1v)--(x10+.5whisker_width,1v) withcolor medgray; % whisker at bot
draw (x10,y10-0.5v)--(x10,1v) withcolor shading_color; % vert line below dot
draw (x10-.5whisker_width,y10-0.5v)--(x10+.5whisker_width,y10-0.5v) withcolor shading_color; % whisker at top
draw (x10-.5whisker_width,1v)--(x10+.5whisker_width,1v) withcolor shading_color; % whisker at bot
label.lft(btex \small $\rank (t^j)$ etex,(x10,.55[y10,1v]));
pickup pencircle scaled line_width_light;
drawpoint((1w,9v));
......@@ -351,13 +351,13 @@ beginfig(8) % graph of rank falling and nullity rising
% Generalized spaces
z20=(20w,2v); % were to anchor the line for generalized spaces
pickup pensquare scaled line_width_light;
draw (x20,y20+0.5v)--(x20,y4-0.5v) withcolor medgray; % vert line above dot
draw (x20-.5whisker_width,y4-0.5v)--(x20+.5whisker_width,y4-0.5v) withcolor medgray; % whisker at top
draw (x20-.5whisker_width,y20+0.5v)--(x20+.5whisker_width,y20+0.5v) withcolor medgray; % whisker at bot
draw (x20,y20+0.5v)--(x20,y4-0.5v) withcolor shading_color; % vert line above dot
draw (x20-.5whisker_width,y4-0.5v)--(x20+.5whisker_width,y4-0.5v) withcolor shading_color; % whisker at top
draw (x20-.5whisker_width,y20+0.5v)--(x20+.5whisker_width,y20+0.5v) withcolor shading_color; % whisker at bot
label.rt(btex \small $\dim(\gennullspace{t})$ etex,(x20,.5[y20,y4]));
draw (x20,y20-0.5v)--(x20,1v) withcolor medgray; % vert line below dot
draw (x20-.5whisker_width,y20-0.5v)--(x20+.5whisker_width,y20-0.5v) withcolor medgray; % whisker at top
draw (x20-.5whisker_width,1v)--(x20+.5whisker_width,1v) withcolor medgray; % whisker at bot
draw (x20-.5whisker_width,y20-0.5v)--(x20+.5whisker_width,y20-0.5v) withcolor shading_color; % whisker at top
draw (x20-.5whisker_width,1v)--(x20+.5whisker_width,1v) withcolor shading_color; % whisker at bot
label.rt(btex \small $\dim(\genrangespace{t})$ etex,(x20,.8[y20,1v]));
endfig;
......
......@@ -24,27 +24,11 @@
\addtolength{\totalcoverwidth}{\spinewidth}
\usepackage[papersize={16in,9.25in},margin=0in]{geometry}
% \newcommand{\spinetext}[1]{\makebox[1in]{\color{black}\fontsize{40pt}{8pt}{\fontfamily{ugq}\selectfont #1}}}
\newcommand{\spinetext}[1]{\color{black}\fontsize{40pt}{8pt}{\fontfamily{ugq}\selectfont #1}}
% ewcommand{\spineauthortext}[1]{\makebox[1in]{\color{coverdarkcolor}\fontsize{20pt}{8pt}{\fontfamily{ugq}\selectfont #1}}}
\newcommand{\spineauthortext}[1]{\color{coverdarkcolor}\fontsize{14pt}{8pt}{\fontfamily{ugq}\selectfont #1}}
\newcommand{\spine}{%
\setlength{\unitlength}{1in}
\begin{picture}(1,9.5)
% \put(0,8.5){\spinetext{L}}
% \put(0,7.95){\spinetext{I}}
% \put(0,7.4){\spinetext{N}}
% \put(0,6.85){\spinetext{E}}
% \put(0,6.3){\spinetext{A}}
% \put(0,5.75){\spinetext{R}}
% \put(0,2.65){\spineauthortext{H}}
% \put(0,2.425){\spineauthortext{e}}
% \put(0,2.15){\spineauthortext{f}}
% \put(0,1.9){\spineauthortext{f}}
% \put(0,1.675){\spineauthortext{e}}
% \put(0,1.45){\spineauthortext{r}}
% \put(0,1.225){\spineauthortext{o}}
% \put(0,1.0){\spineauthortext{n}}
\setstackgap{S}{2.1ex}
\put(0.25,5.65){\Shortstack{{\spinetext{L}} {\spinetext{I}} {\spinetext{N}} {\spinetext{E}} {\spinetext{A}} {\spinetext{R}}}}
\setstackgap{S}{0.9ex}
......@@ -53,7 +37,7 @@
}
\newcommand{\backcovertext}{%
\color{coverboldcolor}\fontsize{14pt}{16pt}\fontfamily{fos}\selectfont
\color{coverboldcolor}\fontsize{14pt}{17pt}\fontfamily{fos}\selectfont
\begin{minipage}{5.5in}
%\setlength{\parindent}{2em}
\setlength{\parskip}{1.4ex}
......@@ -123,6 +107,5 @@ and a lab manual of computer work.
\put(7.5,-9.5){\spine}
\put(1,-1.1){\backcoverhead}
\put(1,-3.75){\backcovertext}
% \put(2.5,-7){\line(0,-1){1}}
\end{picture}
\end{document}
No preview for this file type
......@@ -20,7 +20,7 @@ color medgray;
color darkgray;
darkgray=.35white;
color shading_color;
shading_color=lightgray;
shading_color=.70white; % compromise: .6 shows on printing but not so much on .pdf, while .85 shows on .pdf but not so much on printing
color highlighted_color, usual_color, shadow_color;
highlighted_color=black;
......
No preview for this file type
......@@ -11,8 +11,8 @@ Each light is a circle enclosing a loop.
\begin{center}
\includegraphics{ch1.46}
\end{center}
The designer of such a network needs to answer questions like:
How much electricity flows
The designer of such a network needs to answer questions such as:
how much electricity flows
when both the hi-beam headlights and the brake lights are on?
We will use linear systems to analyze simple
electrical networks.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment