diff options
Diffstat (limited to 'info')
27 files changed, 336 insertions, 1036 deletions
diff --git a/info/asy-overview/asy/jh.asy b/info/asy-overview/asy/jh.asy index a6bd31400f..94bc1fa560 100644 --- a/info/asy-overview/asy/jh.asy +++ b/info/asy-overview/asy/jh.asy @@ -1,15 +1,12 @@ // Common definitions for asy_tut -// Function to call the texpreamble() function -void define_texpreamble() { - texpreamble("\usepackage{mathtools} - \usepackage[utf8]{inputenc} - \usepackage[osf,scaled=.92,loosest]{heuristica} - \usepackage[heuristica,vvarbb,bigdelims]{newtxmath} - \usepackage[T1]{fontenc} - \renewcommand*\oldstylenums[1]{\textosf{#1}}"); -} - +// Set up LaTeX for each label +texpreamble("\usepackage{mathtools} + \usepackage[utf8]{inputenc} + \usepackage[osf,scaled=.92,loosest]{heuristica} + \usepackage[heuristica,vvarbb,bigdelims]{newtxmath} + \usepackage[T1]{fontenc} + \renewcommand*\oldstylenums[1]{\textosf{#1}}"); // Change default size of fonts import fontsize; defaultpen(fontsize(9pt)); // Like LaTeX \small diff --git a/info/asy-overview/asy_overview.pdf b/info/asy-overview/asy_overview.pdf Binary files differindex 7a7b8a1341..524c6c53e6 100644 --- a/info/asy-overview/asy_overview.pdf +++ b/info/asy-overview/asy_overview.pdf diff --git a/info/asy-overview/src/appendix/appendix.tex b/info/asy-overview/src/appendix/appendix.tex index f4016f9cd6..1c21dc0bfa 100644 --- a/info/asy-overview/src/appendix/appendix.tex +++ b/info/asy-overview/src/appendix/appendix.tex @@ -4,19 +4,20 @@ Rather than copy and paste code common across graphics, we can put them in a separate file and import them. In the earlier \Asy{} sources the lines \begin{minted}{Asymptote} -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; \end{minted} -will first run the commands in the file \path{../../../asy/jh.asy}, -and then run the function defined in that file. +will run the commands in the file \path{../../../asy/jh.asy} +and also make available the routines and data defined there. -Here is the file. -Its first few lines define the command to set the fonts, +Here is the file's contents. +First, it sets the fonts and changes the default font size. -(This change leaves more room for graphic elements and -also helps the graphics have a visually cohesive identity.) +(The smaller size leaves more room for graphic elements and +also helps the graphics have a visually cohesive identity distinct from +the document's body.) Then it defines a color scheme.\footnote{% - Thank you to \protect\texttt{color.adobe.com} user Michelle Delapenha.} -Lastly, it defines the + Credit to \protect\texttt{color.adobe.com} user Michelle Delapenha for this scheme.} +Last, it gives the \mintinline{Asymptote}{material} defaults for 3D graphics. \begin{center} diff --git a/info/asy-overview/src/asy_tut.tex b/info/asy-overview/src/asy_tut.tex index fc88e07b2b..c90d49037e 100644 --- a/info/asy-overview/src/asy_tut.tex +++ b/info/asy-overview/src/asy_tut.tex @@ -5,8 +5,8 @@ % See: https://github.com/vectorgraphics/asymptote/blob/master/doc/externalprc.tex % Compile .asy files with asy -inlineimage <fn> \RequirePackage{asymptote} -\def\asydir{chapter4/asy/} -\graphicspath{{asy/}} +\def\asydir{chapter4/asy} +\graphicspath{ {asy/} {chapter4/asy/} } % uncomment for 3D graphics: \input chapter4/asy/vectors.pre \input chapter4/asy/planes.pre diff --git a/info/asy-overview/src/chapter1/chapter1.tex b/info/asy-overview/src/chapter1/chapter1.tex index 40c4ecb1be..bc7946a58d 100644 --- a/info/asy-overview/src/chapter1/chapter1.tex +++ b/info/asy-overview/src/chapter1/chapter1.tex @@ -3,7 +3,7 @@ Making an \Asy{} input file is like making a \LaTeX{} input file, so you already have a feel for the basics. To start, -in your favorite editor open an \Asy{} input file \path{asy/unit_circle.asy}. +use your favorite editor to open a file \path{asy/unit_circle.asy}. \begin{minted}{Bash} jim@millstone:~/Documents/asy_tut/src$ cd asy jim@millstone:~/Documents/asy_tut/src/asy$ emacs unit_circle.asy @@ -88,7 +88,7 @@ for a list of the options.) Second, the dot showing the generic point on the unit circle is too big. In the revised source below we've adjusted the size by inserting -\mintinline{Asymptote}{dotfactor = 4} in line~23 +\mintinline{Asymptote}{dotfactor = 4} in line~22 (the default factor is $6$). Finally, the $(\cos\theta,\sin\theta)$ label is in a different font than diff --git a/info/asy-overview/src/chapter1/main.tex b/info/asy-overview/src/chapter1/main.tex index 4617cd0c20..4ca0d66228 100644 --- a/info/asy-overview/src/chapter1/main.tex +++ b/info/asy-overview/src/chapter1/main.tex @@ -11,6 +11,6 @@ include the output PDF in your \LaTeX{} file. \includegraphics{asy/unit_circle_after.pdf} % Can instead include the .asy source in the text body. % \asyinclude{asy/unit_circle_after.asy} - % There is also an environment where you type the .asy source directly. + % There is also an environment where you type the Asy source directly. \end{center} \end{document} diff --git a/info/asy-overview/src/chapter2/asy/cos.asy b/info/asy-overview/src/chapter2/asy/cos.asy index bc053d3bf4..2e4ca0e5b3 100644 --- a/info/asy-overview/src/chapter2/asy/cos.asy +++ b/info/asy-overview/src/chapter2/asy/cos.asy @@ -1,6 +1,6 @@ // cos.asy settings.outformat="pdf"; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph; diff --git a/info/asy-overview/src/chapter2/asy/exponential.asy b/info/asy-overview/src/chapter2/asy/exponential.asy index e81c9545b5..b9d1f2f26c 100644 --- a/info/asy-overview/src/chapter2/asy/exponential.asy +++ b/info/asy-overview/src/chapter2/asy/exponential.asy @@ -1,6 +1,6 @@ // exponential.asy settings.outformat="pdf"; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph; @@ -25,7 +25,7 @@ dot(Label("$(\ln(2),2)$",filltype=Fill(white)), (log(2),2), 2*E); // Axes making graph paper pen GRAPHPAPERPEN=(0.25*LIGHT_COLOR+0.75*white) - +squarecap; // Make graph paper lines + +squarecap; // For graph paper lines xaxis(axis=YEquals(ymax+0.2), xmin=xmin-0.5, xmax=xmax+0.5, diff --git a/info/asy-overview/src/chapter2/asy/plot.asy b/info/asy-overview/src/chapter2/asy/plot.asy index 77ad978bc5..3893038233 100644 --- a/info/asy-overview/src/chapter2/asy/plot.asy +++ b/info/asy-overview/src/chapter2/asy/plot.asy @@ -7,7 +7,7 @@ texpreamble("\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \renewcommand*\oldstylenums[1]{\textosf{#1}}"); -import graph; // Access plotting routines +import graph; // Function to be plotted real fcn(real x) { diff --git a/info/asy-overview/src/chapter2/asy/plot_after.asy b/info/asy-overview/src/chapter2/asy/plot_after.asy index 0d5ab883c6..09f131a02e 100644 --- a/info/asy-overview/src/chapter2/asy/plot_after.asy +++ b/info/asy-overview/src/chapter2/asy/plot_after.asy @@ -1,7 +1,8 @@ // plot_after.asy -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +settings.outformat="pdf"; +import "../../../asy/jh.asy" as jh; -import graph; // Access plotting routines +import graph; // Function to be plotted real fcn(real x) { diff --git a/info/asy-overview/src/chapter2/chapter2.tex b/info/asy-overview/src/chapter2/chapter2.tex index 658d4c3896..ae454e7cb9 100644 --- a/info/asy-overview/src/chapter2/chapter2.tex +++ b/info/asy-overview/src/chapter2/chapter2.tex @@ -9,8 +9,8 @@ we can't ask \Asy{} to plot all $x$'s. We will instead plot the $x$'s where the associated $y$'s are between $-5$ and~$5$. To find these -we can use \textit{Sage} to solve -$5=x+(1/(x-1))$ and $-5=x+(1/(x-1))$. +we can use a computer algebra system such as \textit{Sage} to solve +$5=x+1/(x-1)$ and $-5=x+1/(x-1)$. \begin{minted}{Python} sage: x = var('x') sage: solve( [5==x+(1/(x-1))], x ) @@ -51,24 +51,25 @@ We make the $y$~unit height be half of the $x$ unit width by adding this command \begin{minted}{Asymptote} scale(Linear, Linear(0.5)) \end{minted} -(the \mintinline{Asymptote}{Linear} is in contrast with -\mintinline{Asymptote}{Logarithmic}). +(\mintinline{Asymptote}{Linear} is in contrast with a +\mintinline{Asymptote}{Logarithmic} scale). The axes and graph now come out rescaled but we must also adjust the location of points, the ones defining the vertical asymptote line, using for example -line~29's \mintinline{Asymptote}{Scale((1,ymin))}. +line~26's \mintinline{Asymptote}{Scale((1,ymin))}. -That tweak of the $y$~axis causes the tick labels to be scrunched together, -so we arrange that \Asy{} lists only every fifth label. +That tweak of the $y$~axis causes its tick labels to be scrunched together, +so we arrange that \Asy{} labels only every fifth tick +(the labeled ones are called major ticks and the others are minor ticks). \begin{minted}{Asymptote} yaxis(ymin=ymin-0.4, ymax=ymax+0.4, LeftTicks(Step=5, step=1, OmitTick(0), Size=3pt, size=2pt), Arrows(TeXHead)); \end{minted} -That command also sets the length of the major and minor ticks. +That command also sets the length of these major and minor ticks. -Here is \path{asy/plot_after.asy} -(more on the first couple of lines in the next section). +Here is \path{asy/plot_after.asy}. +An explanation of line~3 is in the next section. \begin{center} \inputminted{Asymptote}{chapter2/asy/plot_after.asy} \end{center} @@ -82,9 +83,16 @@ Here is the output. \section{Defaults} Rather than copy and paste elements common across graphics such as the font commands or colors, -we can put them in a separate file \path{jh.asy} and import them, -as in the prior source's line~2. -That file's source is in the Appendix. +we can put them in a separate file and import them, +as in the prior source's line~3. +The source of that file, \path{jh.asy}, is in the Appendix. +(About the +\mintinline{Asymptote}{"../../../asy/"} +directory stuff:~usually we set up \Asy{} with a directory for common files +and then just say \mintinline{Asymptote}{import jh}. +But for this document we want that a user can compile without setup +so the relative path is in the source.) + \section{Ticks} @@ -108,10 +116,10 @@ Note line~25's \mintinline{Asymptote}{NW}, which prints the $3\pi/2$ northwest of its tick. Our other tick example has a graph paper effect, -where ticks in a light color extending across the graph. +with lines in a light color extending across the graph. (I sometimes use this for lectures; here, -to estimate by eye that the slope of the tangent line -at $y=2$ is $2$.) +to estimate by eye that at $y=2$ the slope of the tangent line +is~$2$.) \begin{center} \includegraphics{chapter2/asy/exponential.pdf} \end{center} @@ -120,28 +128,32 @@ The source has a number of interesting features. \begin{center} \inputminted{Asymptote}{chapter2/asy/exponential.asy} \end{center} -The graph paper effect is due to the input in lines 30 through~46. +The graph paper effect is due to the input in lines 26 through~46. The horizontal lines are a little clearer so we will cover them. -They are created by the first two \mintinline{Asymptote}{yaxis(..)} commands, -which produce two vertical axes, one on the left and one on the right, -These are drawn with a \mintinline{Asymptote}{nullpen} so we don't see -vertical black lines at those locations. +They are created by the \mintinline{Asymptote}{yaxis(..)} commands +in lines 39--46. +These two vertical axes, one on the left and one on the right, +are drawn with a \mintinline{Asymptote}{nullpen} so we don't see +vertical black lines at \mintinline{Asymptote}{xmin-0.2} +and \mintinline{Asymptote}{xmax+0.2}. What we do see are -the ticks extending back and forth between them in the color given by +the ticks for those axes, +extending back and forth between them in the color given by \mintinline{Asymptote}{GRAPHPAPERPEN}, because of the \mintinline{Asymptote}{extend=true}. These ticks have a null label because of the \LaTeX{} comment character~\mintinline{Asymptote}{"%"}. -(The $y$~axis on the left produces the horizontal +The $y$~axis on the left produces the horizontal graph paper marks between -$x=\text{\mintinline{Asymptote}{xmin-0.2}}$ and the third $y$~axis at +$x=\text{\mintinline{Asymptote}{xmin-0.2}}$ and $x=0$, while the one on the right generates the marks -from $x=0$ to $x=\text{\mintinline{Asymptote}{xmax+0.2}}$.) +from $x=0$ to $x=\text{\mintinline{Asymptote}{xmax+0.2}}$. +(The $x=0$ comes from the $y$~axis in lines 52--54.) -The commands from line~49 to the end produce the black line axes. +The commands from line~49 to the end produce the axes shown in black. % Note that \mintinline{Asymptote}{yaxis(..)} produces only one arrow. -This is a long file but we will discuss a few finer points. +This is a long file but we will discuss a few fine points. One is that the $(\ln(2),2)$ label has a white background obscuring some of the graph paper lines, from the \mintinline{Asymptote}{Label("$(\ln(2),2)$",filltype=Fill(white))} @@ -152,7 +164,7 @@ is there because \Asy{} draws the graph by connecting dots that evaluate \mintinline{Asymptote}{fcn} at a finite number of points, and the default was too small so that -the graphic had jaggies on the left. +the graphic had visible jaggies. Finally, lines 18 and~19 as well as lines 27 and~28 make clear that essential to understanding \Asy{} is understanding the ideas of diff --git a/info/asy-overview/src/chapter3/asy/integral.asy b/info/asy-overview/src/chapter3/asy/integral.asy index 1b756c0404..ccc2249a17 100644 --- a/info/asy-overview/src/chapter3/asy/integral.asy +++ b/info/asy-overview/src/chapter3/asy/integral.asy @@ -1,6 +1,6 @@ // integral.asy settings.outformat="pdf"; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph; diff --git a/info/asy-overview/src/chapter3/asy/zoom.asy b/info/asy-overview/src/chapter3/asy/zoom.asy index 462bf9d048..8c45316b58 100644 --- a/info/asy-overview/src/chapter3/asy/zoom.asy +++ b/info/asy-overview/src/chapter3/asy/zoom.asy @@ -1,6 +1,6 @@ // zoom.asy settings.outformat="pdf"; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph; diff --git a/info/asy-overview/src/chapter3/asy/zoom_iterate.asy b/info/asy-overview/src/chapter3/asy/zoom_iterate.asy index 2c6268fa8c..3ecf6d9c86 100644 --- a/info/asy-overview/src/chapter3/asy/zoom_iterate.asy +++ b/info/asy-overview/src/chapter3/asy/zoom_iterate.asy @@ -1,12 +1,18 @@ // zoom_iterate.asy settings.outformat="pdf"; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph; path f = GENERIC_FCN_PLOT; // Shorter to type real c = 3.1; +// Find f(c) on f and get f'(c) +real c_time = times(f, c)[0]; +pair c_point = point(f,c_time); +pair d = dir(f, c_time); +real t_line_fcn(real x) { return (d.y/d.x)*(x-c_point.x) + c_point.y; } + string OUTPUT_FN = "zoom_iterate%03d"; for (int i=0; i<4; ++i) { picture pic; // Generate a new picture @@ -16,20 +22,14 @@ for (int i=0; i<4; ++i) { real delta = 1/2^(i); real xmin = c-delta; real xmax = c+delta; - // Find f(c) on f, and get f'(c) as a pair - real c_time = times(f, c)[0]; - pair c_point = point(f,c_time); - pair d = dir(f, c_time); - real t_line_fcn(real x) { return (d.y/d.x)*(x-c_point.x) + c_point.y; } - path t_line = graph(t_line_fcn, xmin, xmax); - - // Limits of f to show + // Limits of f and tangent line to show real left_time = times(f, xmin)[0]; real right_time = times(f, xmax)[0]; path f_shown = subpath(f, left_time, right_time); + path t_line = graph(t_line_fcn, xmin, xmax); - // Draw f and tangent line - transform f_trans = shift(0, 0.5*delta)*shift(0, -1*c_point.y); // Shift f close to axis + // Shift f and tangent line close to x-axis, then draw + transform f_trans = shift(0, 0.5*delta)*shift(0, -1*c_point.y); draw(pic, f_trans*f_shown, BOLD_COLOR); draw(pic, f_trans*t_line, HIGHLIGHT_COLOR); dotfactor = 3; diff --git a/info/asy-overview/src/chapter3/asy/zoom_times.asy b/info/asy-overview/src/chapter3/asy/zoom_times.asy index a3d3964883..d7d4628b29 100644 --- a/info/asy-overview/src/chapter3/asy/zoom_times.asy +++ b/info/asy-overview/src/chapter3/asy/zoom_times.asy @@ -1,6 +1,6 @@ // zoom_times.asy settings.outformat="pdf"; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph; diff --git a/info/asy-overview/src/chapter3/chapter3.tex b/info/asy-overview/src/chapter3/chapter3.tex index 162ef87df7..d592b69c22 100644 --- a/info/asy-overview/src/chapter3/chapter3.tex +++ b/info/asy-overview/src/chapter3/chapter3.tex @@ -2,12 +2,13 @@ \chapter{Paths and pens} \section{Paths} -This plots a function that is generic in that it isn't $f(x)=x^2$ or some -other function derived from a simple expression. -We will use this it for the classic Calculus -lesson of zooming in on a point of tangency to -illustrate that -the curve is locally well-approximated by the line. +This plots a function that is generic in that it isn't +derived from a simple expression such as $\cos x$ or $x+(1/(x-1))$. +We will use it for the classic Calculus +lesson +illustrating that +the curve is locally well-approximated by the line, +by zooming in on a point of tangency. \begin{center} \includegraphics{chapter3/asy/zoom.pdf} \end{center} @@ -24,6 +25,7 @@ so I included a copy in \path{jh.asy} as \mintinline{Asymptote}{GENERIC_FCN_PLOT}.) Earlier, when we drew a vertical asymptote line we instead connected two points with a \mintinline{Asymptote}{--} operator, which gives a line segment. +There are other connectors but these two are the most common. In line~17, \Asy's \mintinline{Asymptote}{dir(..)} command gives the direction of the @@ -40,7 +42,7 @@ As to line~15's \mintinline{Asymptote}{c_time = times(f, c)[0]}, just as \MF{} and \MP{} do. These curves are parametrized by a variable called `time'. -By definition, the initial point $(0,-25)$ is at time~$0$, the next point +By definition, the initial point $(0,-0.25)$ is at time~$0$, the next point $(1,0.35)$ is at time~$1$, etc. (To forestall any confusion:~the time has nothing to do with the first coordinate, it comes from when the point is specified in the @@ -51,7 +53,7 @@ This illustrates, showing some times. \includegraphics{chapter3/asy/zoom_times.pdf} \end{center} The \mintinline{Asymptote}{times(..)} command returns an array of times -where the path it intersects the vertical line +where the path intersects the vertical line $x=\text{\mintinline{Asymptote}{c}}$. We extract the first one (in this case the only one) with the \mintinline{Asymptote}{[0]}. @@ -66,11 +68,11 @@ The source for the prior graphic shows two useful aspects of \begin{center} \inputminted{Asymptote}{chapter3/asy/zoom_times.asy} \end{center} -The first aspect is in line~19. +The first of those is in line~19. The \mintinline{Asymptote}{format("$%0.02f$",t)} turns the floating point number~$t$ into the string used in the label. -A larger point is in lines~17 through~20, where the code has an iteration. +The other is in lines~17 through~20, where the code has an iteration. One strength of \Asy{} is that it is a standard programming language, with clean constructs that are like those you use in other languages in your daily work. @@ -98,8 +100,8 @@ is more complex than the others that we have seen. One reason is that this one file produces four pictures, so that we needn't maintain four separate \path{.asy} files with lots of overlap. -The four output files are produced in the loop between lines~11 and~47. -Line~12 creates a new +The four output files are produced in the loop between lines~17 and~47. +Line~18 creates a new \mintinline{Asymptote}{picture} and line~46 outputs it. The files are named @@ -112,15 +114,15 @@ form of that name is given by the string Besides using a single input to create multiple output files, there are two other things that are new here. -One is line~13's +One is line~19's \mintinline{Asymptote}{size(pic, 3cm, 0)}. -This makes each output graphic be three centimeters wide, and as tall as +This makes each output graphic be three centimeters wide and as tall as required, setting the size of the $x$ and~$y$ units as needed to get that width. The result is a zooming-in on successively shorter intervals of the $x$~axis. The other new thing -is that when the $x$~axis interval is small, rescaling the units to make the +is that rescaling the units to make the entire figure three centimeters wide would put the plotted function very far above the $x$~axis. @@ -128,8 +130,8 @@ So we have moved the function down near the axis. This transformation applies not just to the function but also to the tangent line and to the point $(c,f(c))$, so we have broken this transformation out as a separate thing, -line~32's -\mintinline{Asymptote}{transform f_trans = shift(0,0.5*delta)*shift(0,-1*c_point.y)}. +in line~32. +%\mintinline{Asymptote}{transform f_trans = shift(0,0.5*delta)*shift(0,-1*c_point.y)}. Transformations are applied with the star operator, as on lines~33, 34, and~36. @@ -158,8 +160,8 @@ Here is the resulting graphic. The \mintinline{Asymptote}{buildcycle(left_side, f, right_side, bottom)} on line~20 is new. -It takes the paths surrounding the region of interest and -constructs the path that is its boundary. +It takes paths surrounding the region of interest and +constructs the path that is the region's boundary. (A more common way to make a cyclic path is to end with \mintinline{Asymptote}{cycle}, as with \mintinline{Asymptote}{path triangle = (0,0)--(0,1)--(1,0)--cycle}.) @@ -167,7 +169,7 @@ constructs the path that is its boundary. Then line~23's \mintinline{Asymptote}{fill(region, NEUTRAL_COLOR+opacity(0.5))} covers the region using a pen that, in addition to its color, allows some of the material behind it to show through. -Note that some PDF viewers have trouble with opacity so your results may vary, +Note that some PDF viewers have trouble with opacity so your results may vary but one viewer that gives good results is Adobe's Reader. The \Asy{} reference gives many options for pens. diff --git a/info/asy-overview/src/chapter4/asy/planes.asy b/info/asy-overview/src/chapter4/asy/planes.asy index 6f7d6efc9e..b5b0ea81dc 100644 --- a/info/asy-overview/src/chapter4/asy/planes.asy +++ b/info/asy-overview/src/chapter4/asy/planes.asy @@ -3,7 +3,7 @@ settings.outformat="pdf"; settings.tex="pdflatex"; settings.prc = true; settings.render = 0; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph3; projection default_projection = orthographic(3,1.5,0.5,up=Z); diff --git a/info/asy-overview/src/chapter4/asy/vectors.asy b/info/asy-overview/src/chapter4/asy/vectors.asy index b1f2ad1700..a0c965a823 100644 --- a/info/asy-overview/src/chapter4/asy/vectors.asy +++ b/info/asy-overview/src/chapter4/asy/vectors.asy @@ -3,7 +3,7 @@ settings.outformat = "pdf"; settings.tex = "pdflatex"; // For compiling in-pic text settings.prc = true; // Manipulable in a PDF file settings.render = 0; // Needed for "poster" image, i.e., picture to click on -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import fontsize; diff --git a/info/asy-overview/src/chapter4/asy/washer.asy b/info/asy-overview/src/chapter4/asy/washer.asy index c74f6c0d16..1f071aad17 100644 --- a/info/asy-overview/src/chapter4/asy/washer.asy +++ b/info/asy-overview/src/chapter4/asy/washer.asy @@ -3,7 +3,7 @@ settings.tex = "pdflatex"; settings.outformat = "pdf"; settings.render = 8; // Tweaked this until poster pic looked better settings.prc = true; -cd("../../../asy"); import jh; cd(""); define_texpreamble(); +import "../../../asy/jh.asy" as jh; import graph3; projection default_projection = orthographic(3,1.5,0.5,up=Z); diff --git a/info/asy-overview/src/chapter4/chapter4.tex b/info/asy-overview/src/chapter4/chapter4.tex index ff1f3064f4..4e12c76957 100644 --- a/info/asy-overview/src/chapter4/chapter4.tex +++ b/info/asy-overview/src/chapter4/chapter4.tex @@ -1,9 +1,10 @@ % Chapter 4 from Asymptote tutorial Jim Hefferon -\def\asydir{chapter4/asy/} +\def\asydir{chapter4/asy} \chapter{3D} A strength of \Asy{} is its ability in three dimensions. -It can easily draw what you want to draw, including +It can easily draw what you want to draw. +That includes % that it extends to three dimensions constructs for good-looking paths % that come from two-dimensional \MF{} and \MP. doing projections, which can be tricky to get right by eye. @@ -11,16 +12,15 @@ doing projections, which can be tricky to get right by eye. In addition, you can choose to make these graphics manipulable, so that you can use your mouse to turn them around or peek under them, and in general have an explore. -This is great for a Calculus lecture so its what I'm showing here. - -Note that only some PDF viewers let you manipulate. -For instance, Adobe's Reader works but the readers embedded in web +This is great for a Calculus lecture so it is what I'm showing here. +(Note that only some PDF viewers let you manipulate. +For instance, Adobe's Reader works but the ones embedded in web browsers do not. To test your reader just click on the graphic below. -(You may be asked to let the reader +You may be asked to let the reader run the code that does the manipulation.) -We start with a picture showing the vector of displacements $(2,1,1)$ at a +We start with a picture showing the displacement vector $(2,1,1)$ at a number of initial points. % \begin{center} % \asyinclude{chapter4/asy/vectors} @@ -29,8 +29,8 @@ number of initial points. \input chapter4/asy/vectors.tex \end{center} -The input code has two different things going on. -First, so that the vectors are scattered about, +The input code shows two new things. +First, to scatter the vectors about, in lines 34--36 they get a randomly-chosen initial point. The randomization uses the seed from line~24. To find that number I uncommented lines 21--23 and commented out line~24, @@ -43,7 +43,7 @@ until there are such eight vectors. \begin{center} \inputminted{Asymptote}{chapter4/asy/vectors.asy} \end{center} -The other thing in the code is the 3D stuff. +However, the really new stuff is the 3D stuff. It is surprisingly like the 2D constructs that we have seen. Line~10's \mintinline{Asymptote}{import graph3} gives access to @@ -57,10 +57,15 @@ and instead of you say \mintinline{Asymptote}{xaxis3(..)}. But much of it is at least similar. +(Lines~11 and~12 give the projection, +essentially setting the location of the camera +that is taking this picture. +Even if we use a reader that allows us to manipulate the image, +we still need a starting view.) -The next graphic shows surfaces, -which are genuinely different than what we saw in 2D. -It illustrates that the angle between two +We next see something +genuinely different from a 2D context, surfaces. +This graphic illustrates that the angle between two intersecting planes is the same as the angle between their normal vectors. % \begin{center} @@ -69,15 +74,11 @@ vectors. \begin{center} \vcenteredhbox{\input chapter4/asy/planes.tex }% \end{center} -We can imagine that lines~19 and~20 set the location of the camera -that is taking this picture. -Even if we use a reader where the image is manipulable, -we need a starting view. \begin{center} \inputminted{Asymptote}{chapter4/asy/planes.asy} \end{center} -This graphic's code +This code spotlights the power of transforms. We don't have to give the equations of the planes or specify their normals. Instead, in line~17 we define the edge of @@ -91,12 +92,12 @@ The new plane with its edge and its normal vector then comes from applying that transform to the horizontal plane, its edge, and its normal. -To color the surfaces, in lines~24 and~26 we use -\mintinline{Asymptote}{figure material}. -We will reuse these later so the definition is in \path{jh.sty}; -see lines~28--35 in the Appendix. -This coloring involves \mintinline{Asymptote}{opacity(..)} and -note that you can indeed see through the planes to some extent. +In lines~24 and~26 we use +\mintinline{Asymptote}{figure_material} to give the surfaces color. +We will reuse this later so the definition is in \path{jh.sty}; +see lines~26--32 in the Appendix. +This involves \mintinline{Asymptote}{opacity(..)} and +note that you can indeed see through the planes. Finally, in lines~40--46 we take advantage of one of \Asy's many helper functions to find and draw the arc of the angle between the planes and the normals. @@ -144,8 +145,9 @@ Here is a shot of the output. \framebox{\includegraphics[page=1,scale=0.325,trim=0.25in 5in 0.25in 0.25in]{chapter4/main_3d.pdf}} \end{center} In that output PDF, -you should be able to click on the graphic and move it around -(of course, your reader must supports this). +you should be able to click on the poster graphic to bring up +the manipulable graphic, +if your reader supports that. diff --git a/info/asy-overview/src/chapter4/main_3d.tex b/info/asy-overview/src/chapter4/main_3d.tex index 9af013d4ff..40fe635435 100644 --- a/info/asy-overview/src/chapter4/main_3d.tex +++ b/info/asy-overview/src/chapter4/main_3d.tex @@ -1,14 +1,15 @@ % main_3d.tex LaTeX demonstraton file showing Asymptote 3D, Jim Hefferon \documentclass{article} \usepackage{graphicx} -\graphicspath{ {asy/} } % Trailing slash, dirs in curly braces +\graphicspath{ {asy/} } % Path to poster graphic; dirs in curly braces, trailing slash \usepackage{asymptote} \def\asydir{asy} % No trailing slash % For non-manipulable 3D figures, just compile with "asy vectors" and % include the PDF output as with 2D figures. % For manipulable 3D figures: -% (1) Compile .asy file with "asy -inlineimage vectors". -% It outputs a number of files, including .tex and .pre files. +% (1) Compile the .asy file with "asy -inlineimage vectors". +% It outputs a number of files, including .tex and .pre files, +% and the .pdf "poster" that you click on to start the manipulation. % (2) Include the .pre line here along with one of the lines in center below \input asy/vectors.pre @@ -19,6 +20,6 @@ Include the output graphic directly in the text body. \input asy/vectors.tex % \end{center} If you use the commented-out way then run -\texttt{asy -inlinimage <latex-fn>-1} +\texttt{asy -inlineimage <latex-fn>-1} between a pair of \LaTeX{} runs of this file. \end{document} diff --git a/info/asy-overview/src/preface/preface.tex b/info/asy-overview/src/preface/preface.tex index 8a2cb9cdbf..f3e5a6209e 100644 --- a/info/asy-overview/src/preface/preface.tex +++ b/info/asy-overview/src/preface/preface.tex @@ -49,5 +49,5 @@ Showing only one option is just a question of going shorter. \begin{flushleft} Jim Hef{}feron \\ University of Vermont \\ -2024-May-26 +2024-Sep-29 \end{flushleft}
\ No newline at end of file diff --git a/info/latex-doc-ptr/README b/info/latex-doc-ptr/README index dfb20a8bc6..898cf775a4 100644 --- a/info/latex-doc-ptr/README +++ b/info/latex-doc-ptr/README @@ -18,27 +18,19 @@ Install: pdflatex latex-doc-ptr should do nicely. - My version of TeX is old, so I have some trouble with tex4ht. If you -are in my situation then try the Makefile, which does a lot of hacking. - Notes: -1) My version of make4ht requires that I change - \def\IfFileExists#1#2#3{% -to - \long\def\IfFileExists#1#2#3{% -in a local copy of tex4ht.sty. See https://tex.stackexchange.com/a/423729/339 - -2) Repo is here. +This document's git repository is here: https://gitlab.com/jim.hefferon/latex-doc-ptr Comments to: - Jim Hefferon email jhefferon@smcvt.edu + Jim Hefferon email: jim.hefferon@gmail.com History: + 2024-Sep-29 JH, KB Add contact information. 2021-Jan-02 JH, KB Merged with another doc, first-packages. 2009-Mar-24 Jim Hefferon, Manuel Pégourié-Gonnard, Karl Berry diff --git a/info/latex-doc-ptr/latex-doc-ptr.css.replacement b/info/latex-doc-ptr/latex-doc-ptr.css.replacement deleted file mode 100644 index db1fcd494c..0000000000 --- a/info/latex-doc-ptr/latex-doc-ptr.css.replacement +++ /dev/null @@ -1,148 +0,0 @@ - -/* start css.sty */ -.Spectral-Light-osf-t-1x-x-109{} -.Spectral-Bold-osf-t-1x-x-172{font-size:156%;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.Spectral-Bold-osf-t-1x-x-109{} -.cmr-8{font-size:72%;} -.cmr-6{font-size:54%;} -.cmmi-10x-x-109{font-style: italic;} -.Spectral-Light-osf-t-1{font-size:90%;} -.ectt-1000{font-size:90%; font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.Spectral-LightItalic-osf-t-1x-x-109{} -.Spectral-Light-osf-sc-t-1x-x-109{} -.ectt-0900{font-size:81%; font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -p.noindent { text-indent: 0em } -td p.noindent { text-indent: 0em; margin-top:0em; } -p.nopar { text-indent: 0em; } -p.indent{ text-indent: 1.5em } -@media print {div.crosslinks {visibility:hidden;}} -a img { border-top: 0; border-left: 0; border-right: 0; } -center { margin-top:1em; margin-bottom:1em; } -td center { margin-top:0em; margin-bottom:0em; } -.Canvas { position:relative; } -img.math{vertical-align:middle;} -li p.indent { text-indent: 0em } -li p:first-child{ margin-top:0em; } -li p:last-child, li div:last-child { margin-bottom:0.5em; } -li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; } -.enumerate1 {list-style-type:decimal;} -.enumerate2 {list-style-type:lower-alpha;} -.enumerate3 {list-style-type:lower-roman;} -.enumerate4 {list-style-type:upper-alpha;} -div.newtheorem { margin-bottom: 2em; margin-top: 2em;} -.obeylines-h,.obeylines-v {white-space: nowrap; } -div.obeylines-v p { margin-top:0; margin-bottom:0; } -.overline{ text-decoration:overline; } -.overline img{ border-top: 1px solid black; } -td.displaylines {text-align:center; white-space:nowrap;} -.centerline {text-align:center;} -.rightline {text-align:right;} -div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; } -.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } -div.fbox {display:table} -div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } -div.minipage{width:100%;} -div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;} -div.center div {text-align: left;} -div.flushright, div.flushright div.flushright {text-align: right;} -div.flushright div {text-align: left;} -div.flushleft {text-align: left;} -.underline{ text-decoration:underline; } -.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; } -.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } -.framebox-c {text-align:center;} -.framebox-l {text-align:left;} -.framebox-r {text-align:right;} -span.thank-mark{ vertical-align: super } -span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; } -div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; } -table.tabular td p{margin-top:0em;} -table.tabular {margin-left: auto; margin-right: auto;} -td p:first-child{ margin-top:0em; } -td p:last-child{ margin-bottom:0em; } -div.td00{ margin-left:0pt; margin-right:0pt; } -div.td01{ margin-left:0pt; margin-right:5pt; } -div.td10{ margin-left:5pt; margin-right:0pt; } -div.td11{ margin-left:5pt; margin-right:5pt; } -table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -td.td00{ padding-left:0pt; padding-right:0pt; } -td.td01{ padding-left:0pt; padding-right:5pt; } -td.td10{ padding-left:5pt; padding-right:0pt; } -td.td11{ padding-left:5pt; padding-right:5pt; } -table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } -.tabbing-right {text-align:right;} -span.TEX {letter-spacing: -0.125em; } -span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} -a span.TEX span.E {text-decoration: none; } -span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;} -span.LATEX span.TEX{ position:relative; left: -0.4em; } -div.float, div.figure {margin-left: auto; margin-right: auto;} -div.float img {text-align:center;} -div.figure img {text-align:center;} -.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;} -.marginpar p{margin-top:0.4em; margin-bottom:0.4em;} -table.equation {width:100%;} -.equation td{text-align:center; } -td.equation { margin-top:1em; margin-bottom:1em; } -td.equation-label { width:5%; text-align:center; } -td.eqnarray4 { width:5%; white-space: normal; } -td.eqnarray2 { width:5%; } -table.eqnarray-star, table.eqnarray {width:100%;} -div.eqnarray{text-align:center;} -div.array {text-align:center;} -div.pmatrix {text-align:center;} -table.pmatrix {width:100%;} -span.pmatrix img{vertical-align:middle;} -div.pmatrix {text-align:center;} -table.pmatrix {width:100%;} -span.bar-css {text-decoration:overline;} -img.cdots{vertical-align:middle;} -.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;} -.index-item, .index-subitem, .index-subsubitem {display:block} -div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;} -div.caption span.id{font-weight: bold; white-space: nowrap; } -h1.partHead{text-align: center} -p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } -p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } -.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;} -.subparagraphHead, .likesubparagraphHead { font-weight: bold;} -.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;} -.verse{white-space:nowrap; margin-left:2em} -div.maketitle {text-align:center;} -h2.titleHead{text-align:center;} -div.maketitle{ margin-bottom: 2em; } -div.author, div.date {text-align:center;} -div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } -div.author{white-space: nowrap;} -.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } -.abstract p {margin-left:5%; margin-right:5%;} -div.abstract {width:100%;} -.figure img.graphics {margin-left:10%;} -.lstlisting .label{margin-right:0.5em; } -div.lstlisting{font-family: monospace; white-space: nowrap; margin-top:0.5em; margin-bottom:0.5em; } -div.lstinputlisting{ font-family: monospace; white-space: nowrap; } -.lstinputlisting .label{margin-right:0.5em;} -.columns-2 p:first-child { margin-top: 0em; } -/* .columns-2{-moz-column-count:2; -webkit-column-count:2; column-count:2; -moz-column-gap: 27.2197pt; -webkit-column-gap: 27.2197pt; column-gap: 27.2197pt; -moz-column-rule-width: 0.0pt; -webkit-column-rule-width: 0.0pt; column-rule-rule-width: 0.0pt; -moz-column-rule-color: #555;; -webkit-column-rule-color: #555;; column-rule-color: #555;; -moz-column-rule-style: outset; -webkit-column-rule-style: outset; column-rule-style: outset; -moz-column-fill: balance; -webkit-column-fill: balance; column-fill: balance; } */ -/* end css.sty */ - -/* added JH */ -/* Adjust the generated defs */ -.Spectral-Bold-lf-t-1x-x-172 {font-size:156%; - font-weight: bold;} /* doc title in bold */ -.Spectral-Bold-lf-t-1x-x-109 {margin-top:2em; - font-weight: bold; - margin-right: 0.25em} /* run-in subsection name */ -p.indent{ text-indent: 0em } /* make all paragraphs un-indented */ -a { text-decoration: none; } /* remove underlines, since below LaTeX is ugly*/ - -.Spectral-LightItalic-osf-t-1x-x-109 { font-style: italic; - } /* make "name" in `texdoc name' */ diff --git a/info/latex-doc-ptr/latex-doc-ptr.html b/info/latex-doc-ptr/latex-doc-ptr.html index 674de5fabb..a91afeddc9 100644 --- a/info/latex-doc-ptr/latex-doc-ptr.html +++ b/info/latex-doc-ptr/latex-doc-ptr.html @@ -1,778 +1,213 @@ -<?xml version="1.0" encoding="iso-8859-1" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> -<html xmlns="http://www.w3.org/1999/xhtml" -> +<!DOCTYPE html> +<html lang='en-US' xml:lang='en-US'> <head><title></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)" /> -<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)" /> -<!-- xhtml,html --> -<meta name="src" content="latex-doc-ptr.tex" /> -<link rel="stylesheet" type="text/css" href="latex-doc-ptr.css" /> -</head><body -> -<div class="center" -> -<!--l. 6--><p class="noindent" > -</p><!--l. 7--><p class="noindent" ><span -class="Spectral-Bold-lf-t-1x-x-172">A First Set of </span><span class="LATEX"><span -class="Spectral-Bold-lf-t-1x-x-172">L</span><span class="A"><span -class="Spectral-Bold-lf-t-1x-x-172">A</span></span><span class="TEX"><span -class="Spectral-Bold-lf-t-1x-x-172">T</span><span -class="E"><span -class="Spectral-Bold-lf-t-1x-x-172">E</span></span><span -class="Spectral-Bold-lf-t-1x-x-172">X</span></span></span> <span -class="Spectral-Bold-lf-t-1x-x-172">Resources</span></p></div> - <div class="columns-2"> -<!--l. 17--><p class="indent" > This page suggests documentation, add-on components, and other resources for a beginning <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> +<meta charset='utf-8' /> +<meta content='TeX4ht (https://tug.org/tex4ht/)' name='generator' /> +<meta content='width=device-width,initial-scale=1' name='viewport' /> +<link href='latex-doc-ptr.css' rel='stylesheet' type='text/css' /> +<meta content='latex-doc-ptr.tex' name='src' /> +</head><body> +<div class='center'> +<!-- l. 6 --><p class='noindent'> +</p><!-- l. 7 --><p class='noindent'><span class='Spectral-Bold-lf-t1-x-x-172'>A First Set of LaTeX Resources</span></p></div> + <div class='columns-2'> +<!-- l. 17 --><p class='indent'> This page suggests documentation, add-on components, and other resources for a beginning LaTeX user. -</p><!--l. 20--><p class="indent" > The links here are to freely available materials, so you can click to see the documentation online. Where -the documentation is also available offline in a typical <span class="TEX">T<span -class="E">E</span>X</span> installation, we provide its name as an end note. -View it by running `<span -class="ectt-1095">texdoc </span><span -class="Spectral-LightItalic-lf-t-1x-x-109">name</span>' in a terminal. +</p><!-- l. 20 --><p class='indent'> The links here are to freely available materials, so you can click to see the documentation online. Where +the documentation is also available offline in a typical TeX installation, we provide its name as an end note. +View it by running ‘<span class='ectt-1095'>texdoc </span><span class='Spectral-LightItalic-lf-t1-x-x-109'>name</span>’ in a terminal. </p> -<h3 class="sectionHead"><a - id="x1-1000"></a>Starting</h3> -<!--l. 32--><p class="noindent" >To run <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>, you must use an online service or install a distribution. Online services are commercial; -find them by entering `online latex' in a search engine. For distributions, your choices are <a -href="https://tug.org/texlive/" ><span class="TEX">T<span -class="E">E</span>X</span> Live</a> on a -Unix system, including GNU/Linux, or on Windows, or the related <a -href="https://tug.org/mactex/" >Mac<span class="TEX">T<span -class="E">E</span>X</span></a> on Macintosh, or <a -href="https://miktex.org/" >MiK<span class="TEX">T<span -class="E">E</span>X</span></a> on + <h3 class='sectionHead' id='starting'><a id='x1-1000'></a>Starting</h3> +<!-- l. 32 --><p class='noindent'>To run LaTeX, you must use an online service or install a distribution. Online services are commercial; find +them by entering ‘online latex’ in a search engine. For distributions, your choices are <a href='https://tug.org/texlive/'>TeX Live</a> on a Unix +system, including GNU/Linux, or on Windows, or the related <a href='https://tug.org/mactex/'>MacTeX</a> on Macintosh, or <a href='https://miktex.org/'>MiKTeX</a> on Windows or a Unix system. -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Tutorials </span>The site <a -href="https://www.learnlatex.org/" ><span -class="ectt-1095">learnlatex.org</span></a> teaches you the basics in a sound way, and also lets you play with the -commands to see the results. For a more traditional document, the most widely recommended one is <a -href="https://ctan.org/pkg/lshort-english" >The -Not-So Short Guide to <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>2<span -class="cmmi-10x-x-109">ε</span></a>, available in many languages.<sup><a -href="#ennote-1" id="enmark-1"><span -class="cmr-8">1</span></a></sup> - <p>Many people use <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> to write mathematical text and for this the premier choice is from the -American Mathematical Society. See their <a -href="http://mirror.ctan.org/info/amslatex/primer/amshelp.pdf" >Getting up and running with AMS-<span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span></a>,<sup><a -href="#ennote-2" id="enmark-2"><span -class="cmr-8">2</span></a></sup> and more detail is -in <a -href="http://mirror.ctan.org/macros/latex/required/amsmath/amsldoc.pdf" >Users Guide for the <span -class="ectt-1095">amsmath </span>package</a>.<sup><a -href="#ennote-3" id="enmark-3"><span -class="cmr-8">3</span></a></sup> +</p><!-- l. 44 --><p class='noindent'> </p> -<h3 class="sectionHead"><a - id="x1-2000"></a>Documentation</h3> -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">References </span>The nearest thing to a general reference for <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> is <a -href="http://mirror.ctan.org/info/latex2e-help-texinfo/latex2e.html" ><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>2<span -class="cmmi-10x-x-109">ε</span> unofficial reference manual</a>.<sup><a -href="#ennote-4" id="enmark-4"><span -class="cmr-8">4</span></a></sup> -Look for symbols in the <a -href="http://mirror.ctan.org/info/symbols/comprehensive/symbols-letter.pdf" >Comprehensive List of Symbols</a>.<sup><a -href="#ennote-5" id="enmark-5"><span -class="cmr-8">5</span></a></sup> And, <a -href="https://tug.org/TUGboat/" >TUGboat</a>, the journal of the <a -href="https://tug.org" ><span class="TEX">T<span -class="E">E</span>X</span> Users -Group</a>, has published many articles, at levels from beginner to expert, almost since the inception of -<span class="TEX">T<span -class="E">E</span>X</span>. -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">FAQs </span>Many web pages offer quick help with <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>, although they can be out of date. Particularly useful -and reliable are the <a -href="https://texfaq.org/" ><span class="TEX">T<span -class="E">E</span>X</span> FAQ</a>,<sup><a -href="#ennote-6" id="enmark-6"><span -class="cmr-8">6</span></a></sup> as well as <a -href="https://tug.org/interest.html" ><span class="TEX">T<span -class="E">E</span>X</span> Resources on the Web</a>. You can also get a handy -general <a -href="http://mirror.ctan.org/info/latexcheat/latexcheat/latexsheet.pdf" ><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> Cheat Sheet</a>,<sup><a -href="#ennote-7" id="enmark-7"><span -class="cmr-8">7</span></a></sup> as well as the <a -href="http://mirrors.ctan.org/info/undergradmath/undergradmath.pdf" >Math for Undergraduates Cheat Sheet</a>.<sup><a -href="#ennote-8" id="enmark-8"><span -class="cmr-8">8</span></a></sup> Also, -<a -href="http://mirror.ctan.org/info/l2tabu/english/l2tabuen.pdf" >An essential guide to <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>2<span -class="cmmi-10x-x-109">ε</span> usage</a><sup><a -href="#ennote-9" id="enmark-9"><span -class="cmr-8">9</span></a></sup> helps you develop sound habits, by saying what not to + <h4 class='subsectionHead' id='tutorials'><a id='x1-2000'></a>Tutorials</h4> +<!-- l. 45 --><p class='noindent'>The site <a href='https://www.learnlatex.org/'><span class='ectt-1095'>learnlatex.org</span></a> teaches you the basics in a sound way, and also lets you play with the commands +to see the results. For a more traditional document, the most widely recommended one is <a href='https://ctan.org/pkg/lshort-english'>The Not-So Short +Guide to LaTeX2e</a>, available in many languages.<sup class='textsuperscript'><a href='#ennote-1' id='enmark-1'><span class='Spectral-Light-lf-t1-'>1</span></a></sup> +</p><!-- l. 59 --><p class='indent'> <p>Many people use LaTeX to write mathematical text and for this the premier choice is from the +American Mathematical Society. See their <a href='http://mirror.ctan.org/info/amslatex/primer/amshelp.pdf'>Getting up and running with AMS-LaTeX</a>,<sup class='textsuperscript'><a href='#ennote-2' id='enmark-2'><span class='Spectral-Light-lf-t1-'>2</span></a></sup> and more detail is +in <a href='http://mirror.ctan.org/macros/latex/required/amsmath/amsldoc.pdf'>Users Guide for the <span class='ectt-1095'>amsmath </span>package</a>.<sup class='textsuperscript'><a href='#ennote-3' id='enmark-3'><span class='Spectral-Light-lf-t1-'>3</span></a></sup> +</p><!-- l. 72 --><p class='noindent'> +</p> + <h3 class='sectionHead' id='documentation'><a id='x1-3000'></a>Documentation</h3> +<!-- l. 75 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='references'><a id='x1-4000'></a>References</h4> +<!-- l. 76 --><p class='noindent'>The nearest thing to a general reference for LaTeX is <a href='http://mirror.ctan.org/info/latex2e-help-texinfo/latex2e.html'>LaTeX2e unofficial reference manual</a>.<sup class='textsuperscript'><a href='#ennote-4' id='enmark-4'><span class='Spectral-Light-lf-t1-'>4</span></a></sup> Look for +symbols in the <a href='http://mirror.ctan.org/info/symbols/comprehensive/symbols-letter.pdf'>Comprehensive List of Symbols</a>.<sup class='textsuperscript'><a href='#ennote-5' id='enmark-5'><span class='Spectral-Light-lf-t1-'>5</span></a></sup> And, <a href='https://tug.org/TUGboat/'>TUGboat</a>, the journal of the <a href='https://tug.org'>TeX Users Group</a>, +has published many articles, at levels from beginner to expert, almost since the inception of + + +TeX. +</p><!-- l. 90 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='faqs'><a id='x1-5000'></a>FAQs</h4> +<!-- l. 91 --><p class='noindent'>Many web pages offer quick help with LaTeX, although they can be out of date. Particularly useful and +reliable are the <a href='https://texfaq.org/'>TeX FAQ</a>,<sup class='textsuperscript'><a href='#ennote-6' id='enmark-6'><span class='Spectral-Light-lf-t1-'>6</span></a></sup> as well as <a href='https://tug.org/interest.html'>TeX Resources on the Web</a>. You can also get a handy +general <a href='http://mirror.ctan.org/info/latexcheat/latexcheat/latexsheet.pdf'>LaTeX Cheat Sheet</a>,<sup class='textsuperscript'><a href='#ennote-7' id='enmark-7'><span class='Spectral-Light-lf-t1-'>7</span></a></sup> as well as the <a href='http://mirrors.ctan.org/info/undergradmath/undergradmath.pdf'>Math for Undergraduates Cheat Sheet</a>.<sup class='textsuperscript'><a href='#ennote-8' id='enmark-8'><span class='Spectral-Light-lf-t1-'>8</span></a></sup> Also, +<a href='http://mirror.ctan.org/info/l2tabu/english/l2tabuen.pdf'>An essential guide to LaTeX2e usage</a><sup class='textsuperscript'><a href='#ennote-9' id='enmark-9'><span class='Spectral-Light-lf-t1-'>9</span></a></sup> helps you develop sound habits, by saying what not to do. -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Questions </span>If you are stuck on an issue, the <a -href="https://tex.stackexchange.com/" ><span class="TEX">T<span -class="E">E</span>X</span>-<span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> Stack Exchange</a> site and the mailing list -<a -href="https://lists.tug.org/texhax" >texhax@tug.org</a> are where knowledgeable people hang out. You are likely to find an answer in their past -discussions, which cover decades, and if not then you can post a question yourself. -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Books </span>There are many excellent books about <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>. Visit the <a -href="https://tug.org/books/" ><span class="TEX">T<span -class="E">E</span>X</span> Users Group's book list</a> for a -selection, and for discounts. -<h3 class="sectionHead"><a - id="x1-3000"></a>Packages</h3> -<!--l. 131--><p class="noindent" >One of <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>'s strengths is the tremendous number of available add-on packages. This list covers most of +</p><!-- l. 109 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='questions'><a id='x1-6000'></a>Questions</h4> +<!-- l. 110 --><p class='noindent'>If you are stuck on an issue, the <a href='https://tex.stackexchange.com/'>TeX-LaTeX Stack Exchange</a> site and the mailing list <a href='https://lists.tug.org/texhax'>texhax@tug.org</a> are +where knowledgeable people hang out. You are likely to find an answer in their past discussions, which +cover decades, and if not then you can post a question yourself. +</p><!-- l. 119 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='books'><a id='x1-7000'></a>Books</h4> +<!-- l. 120 --><p class='noindent'><p>There are many excellent books about LaTeX. Visit the <a href='https://tug.org/books/'>TeX Users Group’s book list</a> for a selection, and for +discounts. +</p><!-- l. 129 --><p class='noindent'> +</p> + <h3 class='sectionHead' id='packages'><a id='x1-8000'></a>Packages</h3> +<!-- l. 131 --><p class='noindent'>One of LaTeX’s strengths is the tremendous number of available add-on packages. This list covers most of what beginners want to do. (There are some comments in parentheses that often come up in conjunction +with these recommendations.) +</p><!-- l. 139 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='our-archive'><a id='x1-9000'></a>Our archive</h4> +<!-- l. 140 --><p class='noindent'>The Comprehensive TeX Archive Network, <a href='https://ctan.org'><span class='Spectral-Light-lf-t1-'>CTAN</span></a>, has the latest official versions of the packages that are +in the distributions, along with documentation. <a href='https://ctan.org/topics/cloud'>Browsing by topic</a> can be very handy. +</p><!-- l. 149 --><p class='indent'> <p>If you have trouble finding something, it may be the house package of a journal or institution. Look on +their web page as well as on <span class='Spectral-Light-lf-t1-'>CTAN</span>. -with these recommendations.) -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Our archive </span>The Comprehensive <span class="TEX">T<span -class="E">E</span>X</span> Archive Network, <a -href="https://ctan.org" ><span -class="Spectral-Light-lf-t-1">CTAN</span></a>, has the latest official versions of the -packages that are in the distributions, along with documentation. <a -href="https://ctan.org/topics/cloud" >Browsing by topic</a> can be very -handy. - -<p><p>If you have trouble finding something, it may be the house package of a journal or institution. Look on -their web page as well as on <span -class="Spectral-Light-lf-t-1">CTAN</span>. -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Every document </span>To change page size, margins, and orientation, use <a -href="https://ctan.org/pkg/geometry" ><span -class="ectt-1095">geometry</span></a>.<sup><a -href="#ennote-10" id="enmark-10"><span -class="cmr-8">10</span></a></sup> Get multiple columns -with <a -href="https://ctan.org/pkg/multicol" ><span -class="ectt-1095">multicol</span></a>.<sup><a -href="#ennote-11" id="enmark-11"><span -class="cmr-8">11</span></a></sup> - <p>As referred to above, any document containing significant amounts of mathematics should use the -American Mathematical Society's packages <a -href="https://ctan.org/pkg/amsmath" ><span -class="ectt-1095">amsmath</span></a><sup><a -href="#ennote-12" id="enmark-12"><span -class="cmr-8">12</span></a></sup> and <a -href="https://ctan.org/pkg/amsfonts" ><span -class="ectt-1095">amsfonts</span></a>.<sup><a -href="#ennote-13" id="enmark-13"><span -class="cmr-8">13</span></a></sup> Also use their <a -href="https://ctan.org/pkg/amsthm" ><span -class="ectt-1095">amsthm</span></a><sup><a -href="#ennote-14" id="enmark-14"><span -class="cmr-8">14</span></a></sup> for -producing theorem environments. Notes: (1) <a -href="https://ctan.org/pkg/amsfonts" ><span -class="ectt-1095">amssymb</span></a> inputs <a -href="https://ctan.org/pkg/amsfonts" ><span -class="ectt-1095">amsfonts</span></a> so load the former instead of the -latter, (2) many authors also use the calligraphic characters in <a -href="https://ctan.org/pkg/rsfs" ><span -class="ectt-1095">rsfs</span></a>,<sup><a -href="#ennote-15" id="enmark-15"><span -class="cmr-8">15</span></a></sup> (3) get bold math symbols with <a -href="https://ctan.org/pkg/bm" ><span -class="ectt-1095">bm</span></a>,<sup><a -href="#ennote-16" id="enmark-16"><span -class="cmr-8">16</span></a></sup> -(4) don't load <a -href="https://ctan.org/pkg/amsmath" ><span -class="ectt-1095">amsmath</span></a> directly, instead get it by loading <a -href="https://ctan.org/pkg/mathtools" ><span -class="ectt-1095">mathtools</span></a><sup><a -href="#ennote-17" id="enmark-17"><span -class="cmr-8">17</span></a></sup> for some useful improvements, and -(4) load <a -href="https://ctan.org/pkg/amsthm" ><span -class="ectt-1095">amsthm</span></a> after <a -href="https://ctan.org/pkg/mathtools" ><span -class="ectt-1095">mathtools</span></a>. - <p>Also, include <a -href="https://ctan.org/pkg/microtype" ><span -class="ectt-1095">microtype</span></a>.<sup><a -href="#ennote-18" id="enmark-18"><span -class="cmr-8">18</span></a></sup> It will make your document have fewer awkward lines. -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Inside a document </span>Tweak the layout of lists with <a -href="https://ctan.org/pkg/enumitem" ><span -class="ectt-1095">enumitem</span></a>.<sup><a -href="#ennote-19" id="enmark-19"><span -class="cmr-8">19</span></a></sup> - <p>Enhance captions with <a -href="https://ctan.org/pkg/caption" ><span -class="ectt-1095">caption</span></a><sup><a -href="#ennote-20" id="enmark-20"><span -class="cmr-8">20</span></a></sup> and control floating environments with <a -href="https://ctan.org/pkg/float" ><span -class="ectt-1095">float</span></a>.<sup><a -href="#ennote-21" id="enmark-21"><span -class="cmr-8">21</span></a></sup> (In particular, this -package provides the `<span -class="ectt-1095">H</span>' option to override automatic float placement and put something exactly where you +</p><!-- l. 155 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='every-document'><a id='x1-10000'></a>Every document</h4> +<!-- l. 156 --><p class='noindent'>To change page size, margins, and orientation, use <a href='https://ctan.org/pkg/geometry'><span class='ectt-1095'>geometry</span></a>.<sup class='textsuperscript'><a href='#ennote-10' id='enmark-10'><span class='Spectral-Light-lf-t1-'>10</span></a></sup> Get multiple columns with +<a href='https://ctan.org/pkg/multicol'><span class='ectt-1095'>multicol</span></a>.<sup class='textsuperscript'><a href='#ennote-11' id='enmark-11'><span class='Spectral-Light-lf-t1-'>11</span></a></sup> +</p><!-- l. 160 --><p class='indent'> <p>As referred to above, any document containing significant amounts of mathematics should use the +American Mathematical Society’s packages <a href='https://ctan.org/pkg/amsmath'><span class='ectt-1095'>amsmath</span></a><sup class='textsuperscript'><a href='#ennote-12' id='enmark-12'><span class='Spectral-Light-lf-t1-'>12</span></a></sup> and <a href='https://ctan.org/pkg/amsfonts'><span class='ectt-1095'>amsfonts</span></a>.<sup class='textsuperscript'><a href='#ennote-13' id='enmark-13'><span class='Spectral-Light-lf-t1-'>13</span></a></sup> Also use their <a href='https://ctan.org/pkg/amsthm'><span class='ectt-1095'>amsthm</span></a><sup class='textsuperscript'><a href='#ennote-14' id='enmark-14'><span class='Spectral-Light-lf-t1-'>14</span></a></sup> for +producing theorem environments. Notes: (1) <a href='https://ctan.org/pkg/amsfonts'><span class='ectt-1095'>amssymb</span></a> inputs <a href='https://ctan.org/pkg/amsfonts'><span class='ectt-1095'>amsfonts</span></a> so load the former instead of the +latter, (2) many authors also use the calligraphic characters in <a href='https://ctan.org/pkg/rsfs'><span class='ectt-1095'>rsfs</span></a>,<sup class='textsuperscript'><a href='#ennote-15' id='enmark-15'><span class='Spectral-Light-lf-t1-'>15</span></a></sup> (3) get bold math symbols with <a href='https://ctan.org/pkg/bm'><span class='ectt-1095'>bm</span></a>,<sup class='textsuperscript'><a href='#ennote-16' id='enmark-16'><span class='Spectral-Light-lf-t1-'>16</span></a></sup> +(4) don’t load <a href='https://ctan.org/pkg/amsmath'><span class='ectt-1095'>amsmath</span></a> directly, instead get it by loading <a href='https://ctan.org/pkg/mathtools'><span class='ectt-1095'>mathtools</span></a><sup class='textsuperscript'><a href='#ennote-17' id='enmark-17'><span class='Spectral-Light-lf-t1-'>17</span></a></sup> for some useful improvements, and +(4) load <a href='https://ctan.org/pkg/amsthm'><span class='ectt-1095'>amsthm</span></a> after <a href='https://ctan.org/pkg/mathtools'><span class='ectt-1095'>mathtools</span></a>. +</p><!-- l. 178 --><p class='indent'> <p>Also, include <a href='https://ctan.org/pkg/microtype'><span class='ectt-1095'>microtype</span></a>.<sup class='textsuperscript'><a href='#ennote-18' id='enmark-18'><span class='Spectral-Light-lf-t1-'>18</span></a></sup> It will make your document have fewer awkward lines. +</p><!-- l. 185 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='inside-a-document'><a id='x1-11000'></a>Inside a document</h4> +<!-- l. 186 --><p class='noindent'>Tweak the layout of lists with <a href='https://ctan.org/pkg/enumitem'><span class='ectt-1095'>enumitem</span></a>.<sup class='textsuperscript'><a href='#ennote-19' id='enmark-19'><span class='Spectral-Light-lf-t1-'>19</span></a></sup> +</p><!-- l. 188 --><p class='indent'> <p>Enhance captions with <a href='https://ctan.org/pkg/caption'><span class='ectt-1095'>caption</span></a><sup class='textsuperscript'><a href='#ennote-20' id='enmark-20'><span class='Spectral-Light-lf-t1-'>20</span></a></sup> and control floating environments with <a href='https://ctan.org/pkg/float'><span class='ectt-1095'>float</span></a>.<sup class='textsuperscript'><a href='#ennote-21' id='enmark-21'><span class='Spectral-Light-lf-t1-'>21</span></a></sup> (In particular, this +package provides the ‘<span class='ectt-1095'>H</span>’ option to override automatic float placement and put something exactly where you ask. This may cause issues — what if you want to include a two inch tall graphic on a page that has only an inch left? — but it sometimes is what you want.) - <p>Get hyperlinks and turn references into links with <a -href="https://ctan.org/pkg/hyperref" ><span -class="ectt-1095">hyperref</span></a><sup><a -href="#ennote-22" id="enmark-22"><span -class="cmr-8">22</span></a></sup> (make sure to set it up, as with -<span class="lstinline"></span><span -class="ectt-1000">\</span><span -class="ectt-1000">hypersetup</span><span -class="ectt-1000">{</span><span -class="ectt-1000">colorlinks</span><span -class="ectt-1000">=</span><span -class="ectt-1000">true</span><span -class="ectt-1000">}</span>). Have cross-references that say `Theorem 1.2' instead of just `1.2' with -<a -href="https://ctan.org/pkg/cleveref" ><span -class="ectt-1095">cleveref</span></a>.<sup><a -href="#ennote-23" id="enmark-23"><span -class="cmr-8">23</span></a></sup> For <span -class="Spectral-Light-lf-t-1">URL</span>'s and file paths that can break across lines, use <a -href="https://ctan.org/pkg/url" ><span -class="ectt-1095">url</span></a>.<sup><a -href="#ennote-24" id="enmark-24"><span -class="cmr-8">24</span></a></sup> (If you use <a -href="https://ctan.org/pkg/hyperref" ><span -class="ectt-1095">hyperref</span></a> then note -that it has its own commands for the <a -href="https://ctan.org/pkg/cleveref" ><span -class="ectt-1095">cleveref</span></a> and <a -href="https://ctan.org/pkg/url" ><span -class="ectt-1095">url</span></a> functions.) - <p>Inside verbatim text, make single quotes come out correctly with <a -href="https://ctan.org/pkg/upquote" ><span -class="ectt-1095">upquote</span></a>.<sup><a -href="#ennote-25" id="enmark-25"><span -class="cmr-8">25</span></a></sup> For including computer -code, the <a -href="https://ctan.org/pkg/listings" ><span -class="ectt-1095">listings</span></a><sup><a -href="#ennote-26" id="enmark-26"><span -class="cmr-8">26</span></a></sup> package is very popular. (Copy and paste for computer code is especially convenient. -This is a start for the <a -href="https://ctan.org/pkg/listings" ><span -class="ectt-1095">listings</span></a> package. </p><!--l. 219--> - <div class="lstlisting" id="listing-1"><span class="label"><a - id="x1-3001r1"></a></span><span -class="ectt-1000">\</span><span -class="ectt-1000">lstset</span><span -class="ectt-1000">{</span><span -class="ectt-1000">basicstyle</span><span -class="ectt-1000">=\</span><span -class="ectt-1000">ttfamily</span><span -class="ectt-1000">,</span><span -class="ectt-1000"> </span><br /><span class="label"><a - id="x1-3002r2"></a></span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000">keepspaces</span><span -class="ectt-1000">=</span><span -class="ectt-1000">true</span><span -class="ectt-1000">,</span><span -class="ectt-1000"> </span><br /><span class="label"><a - id="x1-3003r3"></a></span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000"> </span><span -class="ectt-1000">columns</span><span -class="ectt-1000">=</span><span -class="ectt-1000">fullflexible</span><span -class="ectt-1000">}</span> +</p><!-- l. 199 --><p class='indent'> <p>Get hyperlinks and turn references into links with <a href='https://ctan.org/pkg/hyperref'><span class='ectt-1095'>hyperref</span></a><sup class='textsuperscript'><a href='#ennote-22' id='enmark-22'><span class='Spectral-Light-lf-t1-'>22</span></a></sup> (make sure to set it up, as with +<code class='lstinline'><span style='color:#000000'>\hypersetup{colorlinks=true}</span></code>). Have cross-references that say ‘Theorem 1.2’ instead of just ‘1.2’ with +<a href='https://ctan.org/pkg/cleveref'><span class='ectt-1095'>cleveref</span></a>.<sup class='textsuperscript'><a href='#ennote-23' id='enmark-23'><span class='Spectral-Light-lf-t1-'>23</span></a></sup> For <span class='Spectral-Light-lf-t1-'>URL</span>’s and file paths that can break across lines, use <a href='https://ctan.org/pkg/url'><span class='ectt-1095'>url</span></a>.<sup class='textsuperscript'><a href='#ennote-24' id='enmark-24'><span class='Spectral-Light-lf-t1-'>24</span></a></sup> (If you use <a href='https://ctan.org/pkg/hyperref'><span class='ectt-1095'>hyperref</span></a> then note +that it has its own commands for the <a href='https://ctan.org/pkg/cleveref'><span class='ectt-1095'>cleveref</span></a> and <a href='https://ctan.org/pkg/url'><span class='ectt-1095'>url</span></a> functions.) +</p><!-- l. 210 --><p class='indent'> <p>Inside verbatim text, make single quotes come out correctly with <a href='https://ctan.org/pkg/upquote'><span class='ectt-1095'>upquote</span></a>.<sup class='textsuperscript'><a href='#ennote-25' id='enmark-25'><span class='Spectral-Light-lf-t1-'>25</span></a></sup> For including computer +code, the <a href='https://ctan.org/pkg/listings'><span class='ectt-1095'>listings</span></a><sup class='textsuperscript'><a href='#ennote-26' id='enmark-26'><span class='Spectral-Light-lf-t1-'>26</span></a></sup> package is very popular. (Copy and paste for computer code is especially convenient. +This is a start for the <a href='https://ctan.org/pkg/listings'><span class='ectt-1095'>listings</span></a> package. </p><!-- l. 219 --> + <pre class='lstlisting' id='listing-2'><span class='label'><a id='x1-11001r1'></a></span><span style='color:#000000'><span class='ectt-1000'>\</span></span><span style='color:#000000'><span class='ectt-1000'>lstset</span></span><span style='color:#000000'><span class='ectt-1000'>{</span></span><span style='color:#000000'><span class='ectt-1000'>basicstyle</span></span><span style='color:#000000'><span class='ectt-1000'>=\</span></span><span style='color:#000000'><span class='ectt-1000'>ttfamily</span></span><span style='color:#000000'><span class='ectt-1000'>,</span></span> +<span class='label'><a id='x1-11002r2'></a></span><span style='color:#000000'> <span class='ectt-1000'>keepspaces=true,</span> +</span><span class='label'><a id='x1-11003r3'></a></span><span style='color:#000000'> <span class='ectt-1000'>columns=fullflexible}</span></span></pre> - </div> - But it is not a full solution. The results depend on the <span -class="Spectral-Light-lf-t-1">PDF </span>viewer and worse, if your code line begins +<!-- l. 224 --><p class='indent'> But it is not a full solution. The results depend on the <span class='Spectral-Light-lf-t1-'>PDF </span>viewer and worse, if your code line begins with blank spaces then after copy and paste those spaces are gone.) - <p>If you use Python, <a -href="https://ctan.org/pkg/pythontex" ><span -class="ectt-1095">pythontex</span></a><sup><a -href="#ennote-27" id="enmark-27"><span -class="cmr-8">27</span></a></sup> will show code listings, but it also allows you to execute Python and put -the results in your output. Do the same for the <span -class="Spectral-LightItalic-lf-t-1x-x-109">Sage </span>mathematics software with <a -href="https://ctan.org/pkg/sagetex" ><span -class="ectt-1095">sagetex</span></a>, and similar +</p><!-- l. 229 --><p class='indent'> <p>If you use Python, <a href='https://ctan.org/pkg/pythontex'><span class='ectt-1095'>pythontex</span></a><sup class='textsuperscript'><a href='#ennote-27' id='enmark-27'><span class='Spectral-Light-lf-t1-'>27</span></a></sup> will show code listings, but it also allows you to execute Python and put +the results in your output. Do the same for the <span class='Spectral-LightItalic-lf-t1-x-x-109'>Sage </span>mathematics software with <a href='https://ctan.org/pkg/sagetex'><span class='ectt-1095'>sagetex</span></a>, and similar support exists for other languages. - <p>There are many packages that add table capabilities, such as multirow entries and breaking across -pages. The first package to try is <a -href="https://ctan.org/pkg/array" ><span -class="ectt-1095">array</span></a>,<sup><a -href="#ennote-28" id="enmark-28"><span -class="cmr-8">28</span></a></sup> which lets you define your own column types. To handle -scientific units, use <a -href="https://ctan.org/pkg/siunitx" ><span -class="ectt-1095">siunitx</span></a><sup><a -href="#ennote-29" id="enmark-29"><span -class="cmr-8">29</span></a></sup> (which also has a table column type for aligning on a decimal +</p><!-- l. 238 --><p class='indent'> <p>There are many packages that add table capabilities, such as multirow entries and breaking across +pages. The first package to try is <a href='https://ctan.org/pkg/array'><span class='ectt-1095'>array</span></a>,<sup class='textsuperscript'><a href='#ennote-28' id='enmark-28'><span class='Spectral-Light-lf-t1-'>28</span></a></sup> which lets you define your own column types. To handle +scientific units, use <a href='https://ctan.org/pkg/siunitx'><span class='ectt-1095'>siunitx</span></a><sup class='textsuperscript'><a href='#ennote-29' id='enmark-29'><span class='Spectral-Light-lf-t1-'>29</span></a></sup> (which also has a table column type for aligning on a decimal point). - <p>Make boxes that are colored or framed, such as boxes for theorems, with <a -href="https://ctan.org/pkg/tcolorbox" ><span -class="ectt-1095">tcolorbox</span></a>.<sup><a -href="#ennote-30" id="enmark-30"><span -class="cmr-8">30</span></a></sup> - <p>Use <a -href="https://ctan.org/pkg/babel" ><span -class="ectt-1095">babel</span></a><sup><a -href="#ennote-31" id="enmark-31"><span -class="cmr-8">31</span></a></sup> for internationalization, including changing the title of the abstract or the bibliography. -(Note that <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> now defaults to UTF-8 encoded input.) - <p>Finally, when developing a document, you often want to generate filler text. Use <a -href="https://ctan.org/pkg/lipsum" ><span -class="ectt-1095">lipsum</span></a>.<sup><a -href="#ennote-32" id="enmark-32"><span -class="cmr-8">32</span></a></sup> -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Color and graphics </span>For colors, use <a -href="https://ctan.org/pkg/xcolor" ><span -class="ectt-1095">xcolor</span></a>.<sup><a -href="#ennote-33" id="enmark-33"><span -class="cmr-8">33</span></a></sup> - <p>To include graphics and do simple manipulations such as resizing, use <a -href="https://ctan.org/pkg/graphicx" ><span -class="ectt-1095">graphicx</span></a>.<sup><a -href="#ennote-34" id="enmark-34"><span -class="cmr-8">34</span></a></sup> Use the <span -class="Spectral-Light-lf-t-1">JPG </span>format -for photos, <span -class="Spectral-Light-lf-t-1">PNG </span>for other kinds of raster graphics, and <span -class="Spectral-Light-lf-t-1">PDF </span>for vector graphics. If your graphic is in another +</p><!-- l. 247 --><p class='indent'> <p>Make boxes that are colored or framed, such as boxes for theorems, with <a href='https://ctan.org/pkg/tcolorbox'><span class='ectt-1095'>tcolorbox</span></a>.<sup class='textsuperscript'><a href='#ennote-30' id='enmark-30'><span class='Spectral-Light-lf-t1-'>30</span></a></sup> +</p><!-- l. 251 --><p class='indent'> Use <a href='https://ctan.org/pkg/babel'><span class='ectt-1095'>babel</span></a><sup class='textsuperscript'><a href='#ennote-31' id='enmark-31'><span class='Spectral-Light-lf-t1-'>31</span></a></sup> for internationalization, including changing the title of the abstract or the bibliography. +(Note that LaTeX now defaults to UTF-8 encoded input.) +</p><!-- l. 256 --><p class='indent'> <p>Finally, when developing a document, you often want to generate filler text. Use <a href='https://ctan.org/pkg/lipsum'><span class='ectt-1095'>lipsum</span></a>.<sup class='textsuperscript'><a href='#ennote-32' id='enmark-32'><span class='Spectral-Light-lf-t1-'>32</span></a></sup> -format then convert it to one of these three. (Usually in your <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> source, you give the file name without -the extension, as with <span class="lstinline"></span><span -class="ectt-1000">\</span><span -class="ectt-1000">includegraphics</span><span -class="ectt-1000">{</span><span -class="ectt-1000">myplot</span><span -class="ectt-1000">}</span>.) Include parts of an outside <span -class="Spectral-Light-lf-t-1">PDF </span>document with -<a -href="https://ctan.org/pkg/pdfpages" ><span -class="ectt-1095">pdfpages</span></a>.<sup><a -href="#ennote-35" id="enmark-35"><span -class="cmr-8">35</span></a></sup> Include video or sound using <a -href="https://ctan.org/pkg/media9" ><span -class="ectt-1095">media9</span></a>.<sup><a -href="#ennote-36" id="enmark-36"><span -class="cmr-8">36</span></a></sup> - <p>In your plots and graphics, you want that the fonts and notations match your document. You have a few -choices. Draw inside your document with <a -href="https://ctan.org/pkg/pgf" >Ti<span -class="Spectral-LightItalic-lf-t-1x-x-109">k</span>Z</a>.<sup><a -href="#ennote-37" id="enmark-37"><span -class="cmr-8">37</span></a></sup> You can instead draw using an external command -language such as <a -href="https://asymptote.sourceforge.io/" >Asymptote</a>,<sup><a -href="#ennote-38" id="enmark-38"><span -class="cmr-8">38</span></a></sup> and bring the results in as graphics. And there are other options, such as -that the <a -href="http://www.gnuplot.info/" >Gnuplot</a> plotting software will output Ti<span -class="Spectral-LightItalic-lf-t-1x-x-109">k</span>Z commands, and the <a -href="https://inkscape.org/" >Inkscape</a> vector graphics editor -allows you to embed <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>-generated equations. -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Front and back matter, headers, footers </span>To style chapter and section titles, use <a -href="https://ctan.org/pkg/titlesec" ><span -class="ectt-1095">titlesec</span></a>.<sup><a -href="#ennote-39" id="enmark-39"><span -class="cmr-8">39</span></a></sup> For page -headers and footers, reach for <a -href="https://ctan.org/pkg/fancyhdr" ><span -class="ectt-1095">fancyhdr</span></a>.<sup><a -href="#ennote-40" id="enmark-40"><span -class="cmr-8">40</span></a></sup> You can tweak the format of tables of contents, lists of figures, -etc., with <a -href="https://ctan.org/pkg/tocloft" ><span -class="ectt-1095">tocloft</span></a>.<sup><a -href="#ennote-41" id="enmark-41"><span -class="cmr-8">41</span></a></sup> - <p>For footnotes, use <a -href="https://ctan.org/pkg/footmisc" ><span -class="ectt-1095">footmisc</span></a>.<sup><a -href="#ennote-42" id="enmark-42"><span -class="cmr-8">42</span></a></sup> Make an index with <a -href="https://ctan.org/pkg/makeindex" ><span -class="ectt-1095">makeindex</span></a>.<sup><a -href="#ennote-43" id="enmark-43"><span -class="cmr-8">43</span></a></sup> With <a -href="https://ctan.org/pkg/answers" ><span -class="ectt-1095">answers</span></a><sup><a -href="#ennote-44" id="enmark-44"><span -class="cmr-8">44</span></a></sup> you can send exercise -answers to an external file, where you can make them a separate document or include them at the end of the -current one. - <p>Bibliographies are a thorny area. Often you have strict requirements, such as from the <a -href="https://ctan.org/pkg/MLA" ><span -class="ectt-1095">MLA</span></a>.<sup><a -href="#ennote-45" id="enmark-45"><span -class="cmr-8">45</span></a></sup> <span -class="Spectral-Light-lf-t-1">CTAN </span>is a -big help here; check out the many styles for both <a -href="https://ctan.org/topic/bibtex-sty" >B<span -class="Spectral-Light-lf-sc-t-1x-x-109">ib</span><span class="TEX">T<span -class="E">E</span>X</span></a><sup><a -href="#ennote-46" id="enmark-46"><span -class="cmr-8">46</span></a></sup> and <a -href="https://ctan.org/topic/biblatex" >B<span -class="Spectral-Light-lf-sc-t-1x-x-109">ib</span><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span></a>.<sup><a -href="#ennote-47" id="enmark-47"><span -class="cmr-8">47</span></a></sup> -<p class="subsection"><span -class="Spectral-Bold-lf-t-1x-x-109">Special documents </span>Make exams and problem sets with the <a -href="https://ctan.org/pkg/exam" ><span -class="ectt-1095">exam</span></a><sup><a -href="#ennote-48" id="enmark-48"><span -class="cmr-8">48</span></a></sup> class. - <p>There are many, many resume and CV packages. Start with <span -class="Spectral-Light-lf-t-1">CTAN</span>'s <a -href="https://ctan.org/topic/cv" >cv topic</a>. - <p>To make presentations, use the <a -href="https://ctan.org/pkg/beamer" ><span -class="ectt-1095">beamer</span></a><sup><a -href="#ennote-49" id="enmark-49"><span -class="cmr-8">49</span></a></sup> class. (However, with this package you are entering another +</p><!-- l. 263 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='color-and-graphics'><a id='x1-12000'></a>Color and graphics</h4> +<!-- l. 264 --><p class='noindent'>For colors, use <a href='https://ctan.org/pkg/xcolor'><span class='ectt-1095'>xcolor</span></a>.<sup class='textsuperscript'><a href='#ennote-33' id='enmark-33'><span class='Spectral-Light-lf-t1-'>33</span></a></sup> +</p><!-- l. 267 --><p class='indent'> <p>To include graphics and do simple manipulations such as resizing, use <a href='https://ctan.org/pkg/graphicx'><span class='ectt-1095'>graphicx</span></a>.<sup class='textsuperscript'><a href='#ennote-34' id='enmark-34'><span class='Spectral-Light-lf-t1-'>34</span></a></sup> Use the <span class='Spectral-Light-lf-t1-'>JPG </span>format +for photos, <span class='Spectral-Light-lf-t1-'>PNG </span>for other kinds of raster graphics, and <span class='Spectral-Light-lf-t1-'>PDF </span>for vector graphics. If your graphic is in another +format then convert it to one of these three. (Usually in your LaTeX source, you give the file name without +the extension, as with <code class='lstinline'><span style='color:#000000'>\includegraphics{myplot}</span></code>.) Include parts of an outside <span class='Spectral-Light-lf-t1-'>PDF </span>document with +<a href='https://ctan.org/pkg/pdfpages'><span class='ectt-1095'>pdfpages</span></a>.<sup class='textsuperscript'><a href='#ennote-35' id='enmark-35'><span class='Spectral-Light-lf-t1-'>35</span></a></sup> Include video or sound using <a href='https://ctan.org/pkg/media9'><span class='ectt-1095'>media9</span></a>.<sup class='textsuperscript'><a href='#ennote-36' id='enmark-36'><span class='Spectral-Light-lf-t1-'>36</span></a></sup> +</p><!-- l. 280 --><p class='indent'> <p>In your plots and graphics, you want that the fonts and notations match your document. You have a few +choices. Draw inside your document with <a href='https://ctan.org/pkg/pgf'>Ti<span class='Spectral-LightItalic-lf-t1-x-x-109'>k</span>Z</a>.<sup class='textsuperscript'><a href='#ennote-37' id='enmark-37'><span class='Spectral-Light-lf-t1-'>37</span></a></sup> You can instead draw using an external command +language such as <a href='https://asymptote.sourceforge.io/'>Asymptote</a>,<sup class='textsuperscript'><a href='#ennote-38' id='enmark-38'><span class='Spectral-Light-lf-t1-'>38</span></a></sup> and bring the results in as graphics. And there are other options, such as +that the <a href='http://www.gnuplot.info/'>Gnuplot</a> plotting software will output Ti<span class='Spectral-LightItalic-lf-t1-x-x-109'>k</span>Z commands, and the <a href='https://inkscape.org/'>Inkscape</a> vector graphics editor +allows you to embed LaTeX-generated equations. +</p><!-- l. 296 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='front-and-back-matter-headers-footers'><a id='x1-13000'></a>Front and back matter, headers, footers</h4> +<!-- l. 297 --><p class='noindent'>To style chapter and section titles, use <a href='https://ctan.org/pkg/titlesec'><span class='ectt-1095'>titlesec</span></a>.<sup class='textsuperscript'><a href='#ennote-39' id='enmark-39'><span class='Spectral-Light-lf-t1-'>39</span></a></sup> For page headers and footers, reach for <a href='https://ctan.org/pkg/fancyhdr'><span class='ectt-1095'>fancyhdr</span></a>.<sup class='textsuperscript'><a href='#ennote-40' id='enmark-40'><span class='Spectral-Light-lf-t1-'>40</span></a></sup> +You can tweak the format of tables of contents, lists of figures, etc., with <a href='https://ctan.org/pkg/tocloft'><span class='ectt-1095'>tocloft</span></a>.<sup class='textsuperscript'><a href='#ennote-41' id='enmark-41'><span class='Spectral-Light-lf-t1-'>41</span></a></sup> +</p><!-- l. 305 --><p class='indent'> <p>For footnotes, use <a href='https://ctan.org/pkg/footmisc'><span class='ectt-1095'>footmisc</span></a>.<sup class='textsuperscript'><a href='#ennote-42' id='enmark-42'><span class='Spectral-Light-lf-t1-'>42</span></a></sup> Make an index with <a href='https://ctan.org/pkg/makeindex'><span class='ectt-1095'>makeindex</span></a>.<sup class='textsuperscript'><a href='#ennote-43' id='enmark-43'><span class='Spectral-Light-lf-t1-'>43</span></a></sup> With <a href='https://ctan.org/pkg/answers'><span class='ectt-1095'>answers</span></a><sup class='textsuperscript'><a href='#ennote-44' id='enmark-44'><span class='Spectral-Light-lf-t1-'>44</span></a></sup> you can send +exercise answers to an external file, where you can make them a separate document or include them at the +end of the current one. +</p><!-- l. 313 --><p class='indent'> <p>Bibliographies are a thorny area. Often you have strict requirements, such as from the <a href='https://ctan.org/pkg/MLA'><span class='ectt-1095'>MLA</span></a>.<sup class='textsuperscript'><a href='#ennote-45' id='enmark-45'><span class='Spectral-Light-lf-t1-'>45</span></a></sup> <span class='Spectral-Light-lf-t1-'>CTAN </span>is a +big help here; check out the many styles for both <a href='https://ctan.org/topic/bibtex-sty'>B<span class='Spectral-Light-lf-sc-t1-x-x-109'>ib</span>TeX</a><sup class='textsuperscript'><a href='#ennote-46' id='enmark-46'><span class='Spectral-Light-lf-t1-'>46</span></a></sup> and <a href='https://ctan.org/topic/biblatex'>B<span class='Spectral-Light-lf-sc-t1-x-x-109'>ib</span>LaTeX</a>.<sup class='textsuperscript'><a href='#ennote-47' id='enmark-47'><span class='Spectral-Light-lf-t1-'>47</span></a></sup> +</p><!-- l. 324 --><p class='noindent'> +</p> + <h4 class='subsectionHead' id='special-documents'><a id='x1-14000'></a>Special documents</h4> +<!-- l. 325 --><p class='noindent'>Make exams and problem sets with the <a href='https://ctan.org/pkg/exam'><span class='ectt-1095'>exam</span></a><sup class='textsuperscript'><a href='#ennote-48' id='enmark-48'><span class='Spectral-Light-lf-t1-'>48</span></a></sup> class. +</p><!-- l. 329 --><p class='indent'> <p>There are many, many resume and CV packages. Start with <span class='Spectral-Light-lf-t1-'>CTAN</span>’s <a href='https://ctan.org/topic/cv'>cv topic</a>. +</p><!-- l. 333 --><p class='indent'> <p>To make presentations, use the <a href='https://ctan.org/pkg/beamer'><span class='ectt-1095'>beamer</span></a><sup class='textsuperscript'><a href='#ennote-49' id='enmark-49'><span class='Spectral-Light-lf-t1-'>49</span></a></sup> class. (However, with this package you are entering another world, where many of the packages discussed here do not work. For example, section title styling happens via a completely different mechanism.) -<h3 class="sectionHead"><a - id="x1-4000"></a>Fonts and engines</h3> -<!--l. 344--><p class="noindent" >The documentation for font use commands from the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> developers is <a -href="http://mirror.ctan.org/macros/latex/base/fntguide.pdf" ><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span>2<span -class="cmmi-10x-x-109">ε</span> font selection</a>.<sup><a -href="#ennote-50" id="enmark-50"><span -class="cmr-8">50</span></a></sup> -</p><!--l. 348--><p class="indent" > To move beyond the default fonts, visit the <a -href="https://tug.org/FontCatalogue/" ><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> Font Catalogue</a>, which includes copy and paste code +</p><!-- l. 343 --><p class='noindent'> +</p> + <h3 class='sectionHead' id='fonts-and-engines'><a id='x1-15000'></a>Fonts and engines</h3> +<!-- l. 344 --><p class='noindent'>The documentation for font use commands from the LaTeX developers is <a href='http://mirror.ctan.org/macros/latex/base/fntguide.pdf'>LaTeX2e font selection</a>.<sup class='textsuperscript'><a href='#ennote-50' id='enmark-50'><span class='Spectral-Light-lf-t1-'>50</span></a></sup> +</p><!-- l. 348 --><p class='indent'> To move beyond the default fonts, visit the <a href='https://tug.org/FontCatalogue/'>LaTeX Font Catalogue</a>, which includes copy and paste code to make each one work. -</p><!--l. 353--><p class="indent" > Beyond that list, you can also use your computer system's fonts (beware this makes your source -harder to share with friends, though). The background is: to convert <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> source to <span -class="Spectral-Light-lf-t-1">PDF</span> -output there are three varieties of the <span class="TEX">T<span -class="E">E</span>X</span> engine. Currently the most common is <a -href="https://tug.org/applications/pdftex/" >pdf<span class="TEX">T<span -class="E">E</span>X</span></a>.<sup><a -href="#ennote-51" id="enmark-51"><span -class="cmr-8">51</span></a></sup> -For instance, this document was generated with <span class="obeylines-h"><span class="verb"><span -class="ectt-1095">pdflatex</span><span -class="ectt-1095"> latex-doc-ptr.tex</span></span></span>. Two further -developments, <a -href="https://tug.org/xetex/" >Xe<span class="TEX">T<span -class="E">E</span>X</span></a>,<sup><a -href="#ennote-52" id="enmark-52"><span -class="cmr-8">52</span></a></sup> and <a -href="http://www.luatex.org/" >Lua<span class="TEX">T<span -class="E">E</span>X</span></a>,<sup><a -href="#ennote-53" id="enmark-53"><span -class="cmr-8">53</span></a></sup> can leverage the <a -href="https://ctan.org/pkg/fontspec" ><span -class="ectt-1095">fontspec</span></a><sup><a -href="#ennote-54" id="enmark-54"><span -class="cmr-8">54</span></a></sup> package to use your system's fonts, -such as OpenType and TrueType fonts, in addition to the ones from your <span class="TEX">T<span -class="E">E</span>X</span> distribution. +</p><!-- l. 353 --><p class='indent'> Beyond that list, you can also use your computer system’s fonts (this may make your source file harder to +share with friends, though). The background is: to convert LaTeX source to <span class='Spectral-Light-lf-t1-'>PDF </span>output there + + +are three varieties of the TeX engine. Currently the most common is <a href='https://tug.org/applications/pdftex/'>pdfTeX</a>.<sup class='textsuperscript'><a href='#ennote-51' id='enmark-51'><span class='Spectral-Light-lf-t1-'>51</span></a></sup> For instance, +this document was generated with <span class='obeylines-h'><code class='verb'>pdflatex latex-doc-ptr.tex</code></span>. Two further developments, +<a href='https://tug.org/xetex/'>X ETeX</a>,<sup class='textsuperscript'><a href='#ennote-52' id='enmark-52'><span class='Spectral-Light-lf-t1-'>52</span></a></sup> and <a href='http://www.luatex.org/'>LuaTeX</a>,<sup class='textsuperscript'><a href='#ennote-53' id='enmark-53'><span class='Spectral-Light-lf-t1-'>53</span></a></sup> can leverage the <a href='https://ctan.org/pkg/fontspec'><span class='ectt-1095'>fontspec</span></a><sup class='textsuperscript'><a href='#ennote-54' id='enmark-54'><span class='Spectral-Light-lf-t1-'>54</span></a></sup> package to use your system’s fonts, +such as OpenType and TrueType fonts, in addition to the ones from your TeX distribution. (Mathematics requires much special tuning, though, so most of the time you cannot use system fonts for math.) -</p><!--l. 376--><p class="indent" > More is on the <a -href="https://tug.org/fonts/" ><span class="TEX">T<span -class="E">E</span>X</span> Users Group's font page</a>. +</p><!-- l. 376 --><p class='indent'> More is on the <a href='https://tug.org/fonts/'>TeX Users Group’s font page</a>. +</p><!-- l. 384 --><p class='noindent'> </p> -<h3 class="sectionHead"><a - id="x1-5000"></a>Writing <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span></h3> -<!--l. 386--><p class="noindent" ><p>There are many ways to make writing <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> source easier. Most people use a source code editor, such as -<a -href="https://www.texstudio.org/" ><span class="TEX">T<span -class="E">E</span>X</span>studio</a>, or Emacs with the add-on mode <a -href="https://www.gnu.org/software/auctex/" >AUC-<span class="TEX">T<span -class="E">E</span>X</span></a>, or <a -href="https://pages.uoregon.edu/koch/texshop/" ><span class="TEX">T<span -class="E">E</span>X</span>Shop</a> on a Mac. + <h3 class='sectionHead' id='writing-latex'><a id='x1-16000'></a>Writing LaTeX</h3> +<!-- l. 386 --><p class='noindent'><p>There are many ways to make writing LaTeX source easier. Most people use a source code editor, such as +<a href='https://www.texstudio.org/'>TeXstudio</a>, or Emacs with the add-on mode <a href='https://www.gnu.org/software/auctex/'>AUC-TeX</a>, or <a href='https://pages.uoregon.edu/koch/texshop/'>TeXShop</a> on a Mac. +</p><!-- l. 400 --><p class='noindent'> </p> -<h3 class="sectionHead"><a - id="x1-6000"></a>Pronunciation</h3> -<!--l. 401--><p class="noindent" >Pronounce <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> as 'la-tech' or 'lay-tech', with emphasis on either syllable. We prefer the first, with + <h3 class='sectionHead' id='pronunciation'><a id='x1-17000'></a>Pronunciation</h3> +<!-- l. 401 --><p class='noindent'>Pronounce LaTeX as 'la-tech' or 'lay-tech', with emphasis on either syllable. We prefer the first, with emphasis on the first syllable. +</p><!-- l. 408 --><p class='noindent'> </p> -<h3 class="sectionHead"><a - id="x1-7000"></a>Welcome to the community!</h3> -<!--l. 409--><p class="noindent" >One reason that all of these resources are available is the work of the many <a -href="https://tug.org/usergroups.html" >user groups</a>, including the <a -href="https://tug.org/" ><span class="TEX">T<span -class="E">E</span>X</span> - - + <h3 class='sectionHead' id='this-document'><a id='x1-18000'></a>This document</h3> +<!-- l. 409 --><p class='noindent'>To contact this document’s authors with suggestions and corrections please see its page at +<a class='url' href='https://ctan.org/pkg/latex-doc-ptr'><span class='ectt-1095'>https://ctan.org/pkg/latex-doc-ptr</span></a>. +</p><!-- l. 415 --><p class='noindent'> +</p> + <h3 class='sectionHead' id='welcome-to-the-community'><a id='x1-19000'></a>Welcome to the community!</h3> +<!-- l. 417 --><p class='noindent'>One reason that all of these resources are available is the work of the many <a href='https://tug.org/usergroups.html'>user groups</a>, including the <a href='https://tug.org/'>TeX Users Group</a>. Please consider joining. -</p><!--l. 421--><p class="noindent" >_________________________________________________________________________________________ +</p><!-- l. 426 --><p class='noindent'>_________________________________________________________________________________________ +</p><!-- l. 429 --><p class='noindent'> </p> -<h3 class="sectionHead"><a - id="x1-8000"></a>Package names, for texdoc</h3> -<!--l. 424--><p class="noindent" ></p><!--l. 4--><p class="indent" > <a -href="#enmark-1" id="ennote-1"><sup><span -class="cmr-6">1</span></sup></a><a -href="https://ctan.org/pkg/lshort" ><span -class="ectt-0900">lshort</span></a> <a -href="#enmark-2" id="ennote-2"><sup><span -class="cmr-6">2</span></sup></a><a -href="https://ctan.org/pkg/amshelp" ><span -class="ectt-0900">amshelp</span></a> <a -href="#enmark-3" id="ennote-3"><sup><span -class="cmr-6">3</span></sup></a><a -href="https://ctan.org/pkg/amsmath" ><span -class="ectt-0900">amsmath</span></a> <a -href="#enmark-4" id="ennote-4"><sup><span -class="cmr-6">4</span></sup></a><a -href="https://ctan.org/pkg/latex2e" ><span -class="ectt-0900">latex2e</span></a> <a -href="#enmark-5" id="ennote-5"><sup><span -class="cmr-6">5</span></sup></a><a -href="https://ctan.org/pkg/comprehensive" ><span -class="ectt-0900">comprehensive</span></a> <a -href="#enmark-6" id="ennote-6"><sup><span -class="cmr-6">6</span></sup></a><a -href="https://ctan.org/pkg/faq" ><span -class="ectt-0900">faq</span></a> <a -href="#enmark-7" id="ennote-7"><sup><span -class="cmr-6">7</span></sup></a><a -href="https://ctan.org/pkg/latexcheat" ><span -class="ectt-0900">latexcheat</span></a> <a -href="#enmark-8" id="ennote-8"><sup><span -class="cmr-6">8</span></sup></a><a -href="https://ctan.org/pkg/undergradmath" ><span -class="ectt-0900">undergradmath</span></a> <a -href="#enmark-9" id="ennote-9"><sup><span -class="cmr-6">9</span></sup></a><a -href="https://ctan.org/pkg/l2tabuen" ><span -class="ectt-0900">l2tabuen</span></a> <a -href="#enmark-10" id="ennote-10"><sup><span -class="cmr-6">10</span></sup></a><a -href="https://ctan.org/pkg/geometry" ><span -class="ectt-0900">geometry</span></a> -<a -href="#enmark-11" id="ennote-11"><sup><span -class="cmr-6">11</span></sup></a><a -href="https://ctan.org/pkg/multicol" ><span -class="ectt-0900">multicol</span></a> <a -href="#enmark-12" id="ennote-12"><sup><span -class="cmr-6">12</span></sup></a><a -href="https://ctan.org/pkg/amsmath" ><span -class="ectt-0900">amsmath</span></a> <a -href="#enmark-13" id="ennote-13"><sup><span -class="cmr-6">13</span></sup></a><a -href="https://ctan.org/pkg/amssymb" ><span -class="ectt-0900">amssymb</span></a> <a -href="#enmark-14" id="ennote-14"><sup><span -class="cmr-6">14</span></sup></a><a -href="https://ctan.org/pkg/amsthm" ><span -class="ectt-0900">amsthm</span></a> <a -href="#enmark-15" id="ennote-15"><sup><span -class="cmr-6">15</span></sup></a><a -href="https://ctan.org/pkg/rsfs" ><span -class="ectt-0900">rsfs</span></a> <a -href="#enmark-16" id="ennote-16"><sup><span -class="cmr-6">16</span></sup></a><a -href="https://ctan.org/pkg/bm" ><span -class="ectt-0900">bm</span></a> <a -href="#enmark-17" id="ennote-17"><sup><span -class="cmr-6">17</span></sup></a><a -href="https://ctan.org/pkg/mathtools" ><span -class="ectt-0900">mathtools</span></a> <a -href="#enmark-18" id="ennote-18"><sup><span -class="cmr-6">18</span></sup></a><a -href="https://ctan.org/pkg/microtype" ><span -class="ectt-0900">microtype</span></a> <a -href="#enmark-19" id="ennote-19"><sup><span -class="cmr-6">19</span></sup></a><a -href="https://ctan.org/pkg/enumitem" ><span -class="ectt-0900">enumitem</span></a> <a -href="#enmark-20" id="ennote-20"><sup><span -class="cmr-6">20</span></sup></a><a -href="https://ctan.org/pkg/caption" ><span -class="ectt-0900">caption</span></a> <a -href="#enmark-21" id="ennote-21"><sup><span -class="cmr-6">21</span></sup></a><a -href="https://ctan.org/pkg/float" ><span -class="ectt-0900">float</span></a> -<a -href="#enmark-22" id="ennote-22"><sup><span -class="cmr-6">22</span></sup></a><a -href="https://ctan.org/pkg/hyperref" ><span -class="ectt-0900">hyperref</span></a> <a -href="#enmark-23" id="ennote-23"><sup><span -class="cmr-6">23</span></sup></a><a -href="https://ctan.org/pkg/cleveref" ><span -class="ectt-0900">cleveref</span></a> <a -href="#enmark-24" id="ennote-24"><sup><span -class="cmr-6">24</span></sup></a><a -href="https://ctan.org/pkg/url" ><span -class="ectt-0900">url</span></a> <a -href="#enmark-25" id="ennote-25"><sup><span -class="cmr-6">25</span></sup></a><a -href="https://ctan.org/pkg/upquote" ><span -class="ectt-0900">upquote</span></a> <a -href="#enmark-26" id="ennote-26"><sup><span -class="cmr-6">26</span></sup></a><a -href="https://ctan.org/pkg/listings" ><span -class="ectt-0900">listings</span></a> <a -href="#enmark-27" id="ennote-27"><sup><span -class="cmr-6">27</span></sup></a><a -href="https://ctan.org/pkg/pythontex" ><span -class="ectt-0900">pythontex</span></a> <a -href="#enmark-28" id="ennote-28"><sup><span -class="cmr-6">28</span></sup></a><a -href="https://ctan.org/pkg/array" ><span -class="ectt-0900">array</span></a> <a -href="#enmark-29" id="ennote-29"><sup><span -class="cmr-6">29</span></sup></a><a -href="https://ctan.org/pkg/siunitx" ><span -class="ectt-0900">siunitx</span></a> <a -href="#enmark-30" id="ennote-30"><sup><span -class="cmr-6">30</span></sup></a><a -href="https://ctan.org/pkg/tcolorbox" ><span -class="ectt-0900">tcolorbox</span></a> <a -href="#enmark-31" id="ennote-31"><sup><span -class="cmr-6">31</span></sup></a><a -href="https://ctan.org/pkg/babel" ><span -class="ectt-0900">babel</span></a> <a -href="#enmark-32" id="ennote-32"><sup><span -class="cmr-6">32</span></sup></a><a -href="https://ctan.org/pkg/lipsum" ><span -class="ectt-0900">lipsum</span></a> -<a -href="#enmark-33" id="ennote-33"><sup><span -class="cmr-6">33</span></sup></a><a -href="https://ctan.org/pkg/xcolor" ><span -class="ectt-0900">xcolor</span></a> <a -href="#enmark-34" id="ennote-34"><sup><span -class="cmr-6">34</span></sup></a><a -href="https://ctan.org/pkg/graphics" ><span -class="ectt-0900">graphics</span></a> <a -href="#enmark-35" id="ennote-35"><sup><span -class="cmr-6">35</span></sup></a><a -href="https://ctan.org/pkg/pdfpages" ><span -class="ectt-0900">pdfpages</span></a> <a -href="#enmark-36" id="ennote-36"><sup><span -class="cmr-6">36</span></sup></a><a -href="https://ctan.org/pkg/media9" ><span -class="ectt-0900">media9</span></a> <a -href="#enmark-37" id="ennote-37"><sup><span -class="cmr-6">37</span></sup></a><a -href="https://ctan.org/pkg/tikz" ><span -class="ectt-0900">tikz</span></a> <a -href="#enmark-38" id="ennote-38"><sup><span -class="cmr-6">38</span></sup></a><a -href="https://ctan.org/pkg/asymptote" ><span -class="ectt-0900">asymptote</span></a> <a -href="#enmark-39" id="ennote-39"><sup><span -class="cmr-6">39</span></sup></a><a -href="https://ctan.org/pkg/titlesec" ><span -class="ectt-0900">titlesec</span></a> <a -href="#enmark-40" id="ennote-40"><sup><span -class="cmr-6">40</span></sup></a><a -href="https://ctan.org/pkg/fancyhdr" ><span -class="ectt-0900">fancyhdr</span></a> <a -href="#enmark-41" id="ennote-41"><sup><span -class="cmr-6">41</span></sup></a><a -href="https://ctan.org/pkg/tocloft" ><span -class="ectt-0900">tocloft</span></a> <a -href="#enmark-42" id="ennote-42"><sup><span -class="cmr-6">42</span></sup></a><a -href="https://ctan.org/pkg/footmisc" ><span -class="ectt-0900">footmisc</span></a> -<a -href="#enmark-43" id="ennote-43"><sup><span -class="cmr-6">43</span></sup></a><a -href="https://ctan.org/pkg/makeindex" ><span -class="ectt-0900">makeindex</span></a> <a -href="#enmark-44" id="ennote-44"><sup><span -class="cmr-6">44</span></sup></a><a -href="https://ctan.org/pkg/answers" ><span -class="ectt-0900">answers</span></a> <a -href="#enmark-45" id="ennote-45"><sup><span -class="cmr-6">45</span></sup></a><a -href="https://ctan.org/pkg/mla" ><span -class="ectt-0900">mla</span></a> <a -href="#enmark-46" id="ennote-46"><sup><span -class="cmr-6">46</span></sup></a><a -href="https://ctan.org/pkg/bibtex" ><span -class="ectt-0900">bibtex</span></a> <a -href="#enmark-47" id="ennote-47"><sup><span -class="cmr-6">47</span></sup></a><a -href="https://ctan.org/pkg/biblatex" ><span -class="ectt-0900">biblatex</span></a> <a -href="#enmark-48" id="ennote-48"><sup><span -class="cmr-6">48</span></sup></a><a -href="https://ctan.org/pkg/exam" ><span -class="ectt-0900">exam</span></a> <a -href="#enmark-49" id="ennote-49"><sup><span -class="cmr-6">49</span></sup></a><a -href="https://ctan.org/pkg/beamer" ><span -class="ectt-0900">beamer</span></a> <a -href="#enmark-50" id="ennote-50"><sup><span -class="cmr-6">50</span></sup></a><a -href="https://ctan.org/pkg/fntguide" ><span -class="ectt-0900">fntguide</span></a> <a -href="#enmark-51" id="ennote-51"><sup><span -class="cmr-6">51</span></sup></a><a -href="https://ctan.org/pkg/pdftex" ><span -class="ectt-0900">pdftex</span></a> <a -href="#enmark-52" id="ennote-52"><sup><span -class="cmr-6">52</span></sup></a><a -href="https://ctan.org/pkg/xetex" ><span -class="ectt-0900">xetex</span></a> <a -href="#enmark-53" id="ennote-53"><sup><span -class="cmr-6">53</span></sup></a><a -href="https://ctan.org/pkg/luatex" ><span -class="ectt-0900">luatex</span></a> -<a -href="#enmark-54" id="ennote-54"><sup><span -class="cmr-6">54</span></sup></a><a -href="https://ctan.org/pkg/fontspec" ><span -class="ectt-0900">fontspec</span></a> + <h3 class='sectionHead' id='package-names-for-texdoc'><a id='x1-20000'></a>Package names, for texdoc</h3> +<!-- l. 429 --><p class='noindent'> + + +</p><!-- l. 4 --><p class='indent'> <a href='#enmark-1' id='ennote-1'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>1</span></sup></a><a id='x1-20001x'></a> <a href='https://ctan.org/pkg/lshort'><span class='ectt-0900'>lshort</span></a> <a href='#enmark-2' id='ennote-2'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>2</span></sup></a><a id='x1-20002x'></a> <a href='https://ctan.org/pkg/amshelp'><span class='ectt-0900'>amshelp</span></a> <a href='#enmark-3' id='ennote-3'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>3</span></sup></a><a id='x1-20003x'></a> <a href='https://ctan.org/pkg/amsmath'><span class='ectt-0900'>amsmath</span></a> <a href='#enmark-4' id='ennote-4'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>4</span></sup></a><a id='x1-20004x'></a> <a href='https://ctan.org/pkg/latex2e'><span class='ectt-0900'>latex2e</span></a> <a href='#enmark-5' id='ennote-5'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>5</span></sup></a><a id='x1-20005x'></a> <a href='https://ctan.org/pkg/comprehensive'><span class='ectt-0900'>comprehensive</span></a> <a href='#enmark-6' id='ennote-6'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>6</span></sup></a><a id='x1-20006x'></a> <a href='https://ctan.org/pkg/faq'><span class='ectt-0900'>faq</span></a> <a href='#enmark-7' id='ennote-7'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>7</span></sup></a><a id='x1-20007x'></a> <a href='https://ctan.org/pkg/latexcheat'><span class='ectt-0900'>latexcheat</span></a> <a href='#enmark-8' id='ennote-8'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>8</span></sup></a><a id='x1-20008x'></a> <a href='https://ctan.org/pkg/undergradmath'><span class='ectt-0900'>undergradmath</span></a> <a href='#enmark-9' id='ennote-9'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>9</span></sup></a><a id='x1-20009x'></a> <a href='https://ctan.org/pkg/l2tabuen'><span class='ectt-0900'>l2tabuen</span></a> <a href='#enmark-10' id='ennote-10'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>10</span></sup></a><a id='x1-20010x'></a> +<a href='https://ctan.org/pkg/geometry'><span class='ectt-0900'>geometry</span></a> <a href='#enmark-11' id='ennote-11'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>11</span></sup></a><a id='x1-20011x'></a> <a href='https://ctan.org/pkg/multicol'><span class='ectt-0900'>multicol</span></a> <a href='#enmark-12' id='ennote-12'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>12</span></sup></a><a id='x1-20012x'></a> <a href='https://ctan.org/pkg/amsmath'><span class='ectt-0900'>amsmath</span></a> <a href='#enmark-13' id='ennote-13'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>13</span></sup></a><a id='x1-20013x'></a> <a href='https://ctan.org/pkg/amssymb'><span class='ectt-0900'>amssymb</span></a> <a href='#enmark-14' id='ennote-14'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>14</span></sup></a><a id='x1-20014x'></a> <a href='https://ctan.org/pkg/amsthm'><span class='ectt-0900'>amsthm</span></a> <a href='#enmark-15' id='ennote-15'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>15</span></sup></a><a id='x1-20015x'></a> <a href='https://ctan.org/pkg/rsfs'><span class='ectt-0900'>rsfs</span></a> <a href='#enmark-16' id='ennote-16'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>16</span></sup></a><a id='x1-20016x'></a> <a href='https://ctan.org/pkg/bm'><span class='ectt-0900'>bm</span></a> <a href='#enmark-17' id='ennote-17'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>17</span></sup></a><a id='x1-20017x'></a> <a href='https://ctan.org/pkg/mathtools'><span class='ectt-0900'>mathtools</span></a> <a href='#enmark-18' id='ennote-18'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>18</span></sup></a><a id='x1-20018x'></a> <a href='https://ctan.org/pkg/microtype'><span class='ectt-0900'>microtype</span></a> <a href='#enmark-19' id='ennote-19'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>19</span></sup></a><a id='x1-20019x'></a> <a href='https://ctan.org/pkg/enumitem'><span class='ectt-0900'>enumitem</span></a> <a href='#enmark-20' id='ennote-20'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>20</span></sup></a><a id='x1-20020x'></a> <a href='https://ctan.org/pkg/caption'><span class='ectt-0900'>caption</span></a> <a href='#enmark-21' id='ennote-21'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>21</span></sup></a><a id='x1-20021x'></a> +<a href='https://ctan.org/pkg/float'><span class='ectt-0900'>float</span></a> <a href='#enmark-22' id='ennote-22'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>22</span></sup></a><a id='x1-20022x'></a> <a href='https://ctan.org/pkg/hyperref'><span class='ectt-0900'>hyperref</span></a> <a href='#enmark-23' id='ennote-23'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>23</span></sup></a><a id='x1-20023x'></a> <a href='https://ctan.org/pkg/cleveref'><span class='ectt-0900'>cleveref</span></a> <a href='#enmark-24' id='ennote-24'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>24</span></sup></a><a id='x1-20024x'></a> <a href='https://ctan.org/pkg/url'><span class='ectt-0900'>url</span></a> <a href='#enmark-25' id='ennote-25'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>25</span></sup></a><a id='x1-20025x'></a> <a href='https://ctan.org/pkg/upquote'><span class='ectt-0900'>upquote</span></a> <a href='#enmark-26' id='ennote-26'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>26</span></sup></a><a id='x1-20026x'></a> <a href='https://ctan.org/pkg/listings'><span class='ectt-0900'>listings</span></a> <a href='#enmark-27' id='ennote-27'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>27</span></sup></a><a id='x1-20027x'></a> <a href='https://ctan.org/pkg/pythontex'><span class='ectt-0900'>pythontex</span></a> <a href='#enmark-28' id='ennote-28'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>28</span></sup></a><a id='x1-20028x'></a> <a href='https://ctan.org/pkg/array'><span class='ectt-0900'>array</span></a> <a href='#enmark-29' id='ennote-29'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>29</span></sup></a><a id='x1-20029x'></a> <a href='https://ctan.org/pkg/siunitx'><span class='ectt-0900'>siunitx</span></a> <a href='#enmark-30' id='ennote-30'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>30</span></sup></a><a id='x1-20030x'></a> <a href='https://ctan.org/pkg/tcolorbox'><span class='ectt-0900'>tcolorbox</span></a> <a href='#enmark-31' id='ennote-31'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>31</span></sup></a><a id='x1-20031x'></a> <a href='https://ctan.org/pkg/babel'><span class='ectt-0900'>babel</span></a> <a href='#enmark-32' id='ennote-32'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>32</span></sup></a><a id='x1-20032x'></a> +<a href='https://ctan.org/pkg/lipsum'><span class='ectt-0900'>lipsum</span></a> <a href='#enmark-33' id='ennote-33'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>33</span></sup></a><a id='x1-20033x'></a> <a href='https://ctan.org/pkg/xcolor'><span class='ectt-0900'>xcolor</span></a> <a href='#enmark-34' id='ennote-34'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>34</span></sup></a><a id='x1-20034x'></a> <a href='https://ctan.org/pkg/graphics'><span class='ectt-0900'>graphics</span></a> <a href='#enmark-35' id='ennote-35'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>35</span></sup></a><a id='x1-20035x'></a> <a href='https://ctan.org/pkg/pdfpages'><span class='ectt-0900'>pdfpages</span></a> <a href='#enmark-36' id='ennote-36'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>36</span></sup></a><a id='x1-20036x'></a> <a href='https://ctan.org/pkg/media9'><span class='ectt-0900'>media9</span></a> <a href='#enmark-37' id='ennote-37'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>37</span></sup></a><a id='x1-20037x'></a> <a href='https://ctan.org/pkg/tikz'><span class='ectt-0900'>tikz</span></a> <a href='#enmark-38' id='ennote-38'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>38</span></sup></a><a id='x1-20038x'></a> <a href='https://ctan.org/pkg/asymptote'><span class='ectt-0900'>asymptote</span></a> <a href='#enmark-39' id='ennote-39'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>39</span></sup></a><a id='x1-20039x'></a> <a href='https://ctan.org/pkg/titlesec'><span class='ectt-0900'>titlesec</span></a> <a href='#enmark-40' id='ennote-40'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>40</span></sup></a><a id='x1-20040x'></a> <a href='https://ctan.org/pkg/fancyhdr'><span class='ectt-0900'>fancyhdr</span></a> <a href='#enmark-41' id='ennote-41'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>41</span></sup></a><a id='x1-20041x'></a> <a href='https://ctan.org/pkg/tocloft'><span class='ectt-0900'>tocloft</span></a> <a href='#enmark-42' id='ennote-42'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>42</span></sup></a><a id='x1-20042x'></a> <a href='https://ctan.org/pkg/footmisc'><span class='ectt-0900'>footmisc</span></a> <a href='#enmark-43' id='ennote-43'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>43</span></sup></a><a id='x1-20043x'></a> +<a href='https://ctan.org/pkg/makeindex'><span class='ectt-0900'>makeindex</span></a> <a href='#enmark-44' id='ennote-44'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>44</span></sup></a><a id='x1-20044x'></a> <a href='https://ctan.org/pkg/answers'><span class='ectt-0900'>answers</span></a> <a href='#enmark-45' id='ennote-45'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>45</span></sup></a><a id='x1-20045x'></a> <a href='https://ctan.org/pkg/mla'><span class='ectt-0900'>mla</span></a> <a href='#enmark-46' id='ennote-46'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>46</span></sup></a><a id='x1-20046x'></a> <a href='https://ctan.org/pkg/bibtex'><span class='ectt-0900'>bibtex</span></a> <a href='#enmark-47' id='ennote-47'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>47</span></sup></a><a id='x1-20047x'></a> <a href='https://ctan.org/pkg/biblatex'><span class='ectt-0900'>biblatex</span></a> <a href='#enmark-48' id='ennote-48'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>48</span></sup></a><a id='x1-20048x'></a> <a href='https://ctan.org/pkg/exam'><span class='ectt-0900'>exam</span></a> <a href='#enmark-49' id='ennote-49'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>49</span></sup></a><a id='x1-20049x'></a> <a href='https://ctan.org/pkg/beamer'><span class='ectt-0900'>beamer</span></a> <a href='#enmark-50' id='ennote-50'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>50</span></sup></a><a id='x1-20050x'></a> <a href='https://ctan.org/pkg/fntguide'><span class='ectt-0900'>fntguide</span></a> <a href='#enmark-51' id='ennote-51'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>51</span></sup></a><a id='x1-20051x'></a> <a href='https://ctan.org/pkg/pdftex'><span class='ectt-0900'>pdftex</span></a> <a href='#enmark-52' id='ennote-52'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>52</span></sup></a><a id='x1-20052x'></a> <a href='https://ctan.org/pkg/xetex'><span class='ectt-0900'>xetex</span></a> <a href='#enmark-53' id='ennote-53'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>53</span></sup></a><a id='x1-20053x'></a> <a href='https://ctan.org/pkg/luatex'><span class='ectt-0900'>luatex</span></a> <a href='#enmark-54' id='ennote-54'><sup class='textsuperscript'><span class='Spectral-Light-lf-t1-'>54</span></sup></a><a id='x1-20054x'></a> +<a href='https://ctan.org/pkg/fontspec'><span class='ectt-0900'>fontspec</span></a> </p> </div> -</body></html> - - - - +</body> +</html> diff --git a/info/latex-doc-ptr/latex-doc-ptr.pdf b/info/latex-doc-ptr/latex-doc-ptr.pdf Binary files differindex 82a55bfefa..4fc54ddcc5 100644 --- a/info/latex-doc-ptr/latex-doc-ptr.pdf +++ b/info/latex-doc-ptr/latex-doc-ptr.pdf diff --git a/info/latex-doc-ptr/latex-doc-ptr.tex b/info/latex-doc-ptr/latex-doc-ptr.tex index 590bebb76b..387969008d 100644 --- a/info/latex-doc-ptr/latex-doc-ptr.tex +++ b/info/latex-doc-ptr/latex-doc-ptr.tex @@ -351,7 +351,7 @@ visit the which includes copy and paste code to make each one work. Beyond that list, you can also use your computer system's fonts -(beware this makes your source file harder to share with friends, though). +(this may make your source file harder to share with friends, though). The background is:~to convert \LaTeX{} source to \PDF{} output there are three varieties of the \TeX{} engine. Currently the most common is @@ -403,6 +403,14 @@ Pronounce \LaTeX{} as We prefer the first, with emphasis on the first syllable. + +% ==================================================== +\section{This document} +To contact this document's authors with suggestions and corrections +please see its page at +\url{https://ctan.org/pkg/latex-doc-ptr}. + + % ==================================================== \section{Welcome to the community!} @@ -411,9 +419,6 @@ the work of the many \href{https://tug.org/usergroups.html}{user groups}, including the \href{https://tug.org/}{\TeX{} Users Group}. Please consider joining. -% The -% \href{https://www.ctan.org/}{Comprehensive \TeX{} Archive Network} -% contains more packages than any distribution. % \vfill\null % \columnbreak |