code is as follows
copy code
function Textdown (e){TextEvent = e;if (Textevent.keycode = 8){Return}if (document.getElementById (' text '). Value.length >= 180){Alert ("Word exceeding limit")if (!document.all){Textevent.preventdefault ();}Else{Textevent.returnvalue = false;}}}function Textup (){var s = document.getElementById (' text '). Value;Determines whether the text area with ID text has more than 180 wordsif (S.length > 180){d
attributes: defines the skew and height of the font. Commands include upstanding, upshape, and italic) \ itshape, slanted italic \ slshape, small uppercase (small caps) \ scshape.
The method of definition is the same as that of family attributes.
3. Series attributes: Define the font blackness and width: medium weight (\ mdseries) and bold (\ bfseries ).
The definition method is the same as that of the family property.
4. The font attribute can also be defined by command without declaration.
–labelwidth–labelsep–itemindentThe distance above can be clearly reflected in the diagram. Words don't say much, look at an example. Here are the settings I made in my paper for the Enumitem environment: 1 \ Usepackage {Enumerate} 2 \usepackage {Enumitem} 3 \ Setlist [enumerate,1]{label= (\arabic* )., font= \textup , 4 leftmargin=7mm,labelsep=1.5mm,topsep=0mm,itemsep=- 0.8mm} 5 \setlist [Enumerate,2]{label= (\alph* )., Font=\
./Mathtt {text}Print text in a Printer Font (/ttfamily) in mathematical mode, where spaces are ignored.
/Textbf {text} is equivalent to {/bfseriesText}/Textit {text} is equivalent to {/itshape text}/Textmd {text} is equivalent to {/mdseriesText}/Textnormal {text} is equivalent to {/normalfont text}/Textrm {text} is equivalent to {/rmfamilyText}/Textsc {text} is equivalent to {/scshape text}/Textsf {text} is equivalent to {/sffamilyText}/Textsl {text} is equivalent to {/slshape text}/Texttt {text
mathematical mode with printer fonts (/ttfamily), where spaces are ignored./textbf{text} equivalent to {/bfseries text}/textit{text} equivalent to {/itshape text}/textmd{text} equivalent to {/mdseries text}/textnormal{text} equivalent to {/normalfont text}/textrm{text} equivalent to {/rmfamily text}/textsc{text} equivalent to {/scshape text}/textsf{text} equivalent to {/sffamily text}/textsl{text} equivalent to {/slshape text}/texttt{text} equivalent to {/ttfamily text}/
font (/ttfamily), where the spaces are ignored./textbf{text} is equivalent to {/bfseries text}/textit{text} is equivalent to {/itshape text}/textmd{text} is equivalent to {/mdseries text}/textnormal{text} is equivalent to {/normalfont text}/textrm{text} is equivalent to {/rmfamily text}/textsc{text} is equivalent to {/scshape text}/textsf{text} is equivalent to {/sffamily text}/textsl{text} is equivalent to {/slshape text}/texttt{text} is equivalent to {/ttfamily text}/
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.