mathptmx
?
texpreamble("\usepackage[pdftex]{hyperref}")
from changing the page size?
label("$\omega$",(0,0)); label("$\Omega$",(20,0));
usepackage("amsmath"); label("$\begin{matrix} 1 & 2 \\\ 1 & 1 \end{matrix}$",(0,0));
mathptmx
?
usepackage("mathptmx");at the beginning of your file. Note: to enable the Adobe Times Roman font for text, you will also need to say:
defaultpen(TimesRoman());
usepackage("fourier"); defaultpen(font("T1","fut\textfamilyextension","m","n"));
locale("it_IT"); usepackage("icomma"); label(format(0.5));
frame f; label(f,"This is some text",white,Fill(blue)); add(rotate(65)*f);
import three; size(100,100); draw(rotate(90,project(Z))*"A",O--X);
real u=2cm; picture square; draw(square,scale(u)*shift(-0.5,-0.5)*unitsquare); picture circle; draw(circle,scale(0.5u)*unitcircle); void add(picture pic=currentpicture, Label L, picture object, pair z) { add(pic,object,z); label(pic,L,z); } add("square",square,(0,0)); add("circle",circle,(5cm,0));
Try
write(cyan); write(0.8*cyan); write(1.5*cyan);and you will quickly see what is going on.
To get a lighter cyan you can say white+cyan, which yields rgb(0.5,1,1). If you want something even lighter specify the rgb colors directly, for example, rgb(0.9,1,1).
Alternatively, work in cmyk colour space, which is nicer in that it handles saturation separately from hue:
0.1*Cyan is light and 0.9*Cyan is dark. You can also say 0.1*cmyk(red).
icomma
package near the beginning of your file:
usepackage("icomma");
texpreamble("\usepackage[pdftex]{hyperref}")
from changing the page size?
texpreamble("\usepackage[pdftex,setpagesize=false]{hyperref}");
Asymptote - 2024-11-14