comparison help/YATEXHLP.eng @ 80:9b4354af748c

Too many changes from 1.72. See yatex.new. (Japanese)
author yuuji
date Sun, 24 Dec 2006 06:16:52 +0000
parents 0734be649cb8
children f14ec50103d0
comparison
equal deleted inserted replaced
79:0734be649cb8 80:9b4354af748c
1 %%% 1 %%%
2 %%% YaTeX-LaTeX Help File(c)HIROSE Yuuji [yuuji@yatex.org] 2 %%% YaTeX-LaTeX Help File(c)HIROSE Yuuji [yuuji@yatex.org]
3 %%% You can translate this file for any device other than YaTeX via 3 %%% You can translate this file for any device other than YaTeX via
4 %%% any filter program. But it is not allowed to remove copyright 4 %%% any filter program. But it is not allowed to remove copyright
5 %%% notice and any existing dictionary entiries. 5 %%% notice and any existing dictionary entiries which describes the
6 %%% source of this file.
6 %%% 7 %%%
7 8
8 textfloatsep 9 textfloatsep
9 \addtolength{\textfloatsep}{LENGTH} 10 \addtolength{\textfloatsep}{LENGTH}
10 Length between the text and a float at the top or bottom of page 11 Length between the text and a float at the top or bottom of page
372 373
373 setcounter 374 setcounter
374 \setcounter{FOO}{VAL} 375 \setcounter{FOO}{VAL}
375 Set counter FOO's value to VAL. 376 Set counter FOO's value to VAL.
376 377
378 <refer How to Introduce new counter>
379
377 addtocounter 380 addtocounter
378 \addtocounter{FOO}{VAL} 381 \addtocounter{FOO}{VAL}
379 Add value VAL to counter FOO. 382 Add value VAL to counter FOO.
383
384 <refer How to Introduce new counter>
380 385
381 newcounter 386 newcounter
382 \newcounter{COUNTER}[OLDCTR] 387 \newcounter{COUNTER}[OLDCTR]
383 Defines a new counter COUNTER. 388 Defines a new counter COUNTER.
384 If an optional argument OLDCTR is given, COUNTER's value will be reset 389 If an optional argument OLDCTR is given, COUNTER's value will be reset
385 every time OLDCTR's value is changed by \stepcounter or \addtocounter. 390 every time OLDCTR's value is changed by \stepcounter or \addtocounter.
391
392 <refer How to Introduce new counter>
393
394 How to Introduce new counter
395 You'll get `Question n.' increasing n with \mondai, by setting as below.
396
397 \newcounter{toi}
398 \renewcommand{\thetoi}{Question \arabic{toi}.~ }
399 \setcounter{toi}{0}
400 \newcommand{\mondai}{\refstepcounter{toi}\thetoi}
386 401
387 value 402 value
388 \value{COUNTER} 403 \value{COUNTER}
389 Returns value of COUNTER. Must not be preceded by \protect. 404 Returns value of COUNTER. Must not be preceded by \protect.
390 405
440 Examples of values returned are; page numbers for LABELs set in the main 455 Examples of values returned are; page numbers for LABELs set in the main
441 text, table numbers for LABELs set in a table, and the item number for 456 text, table numbers for LABELs set in a table, and the item number for
442 LABELs set in an item of the enumerate environment. 457 LABELs set in an item of the enumerate environment.
443 458
444 pageref 459 pageref
445 pageref{LABEL} 460 \pageref{LABEL}
446 Refer to the page number where \label{LABEL} exists. 461 Refer to the page number where \label{LABEL} exists.
447 462
448 ( 463 (
449 \( EQUATION \) 464 \( EQUATION \)
450 Produce an in-text equation. 465 Produce an in-text equation.
667 Define a subsubitem. 682 Define a subsubitem.
668 683
669 makebox 684 makebox
670 \makebox[WID][POS]{OBJECT} \makebox(X,Y)[POS]{OBJECT} 685 \makebox[WID][POS]{OBJECT} \makebox(X,Y)[POS]{OBJECT}
671 First form will place OBJECT at position POS and width WID in a \box. 686 First form will place OBJECT at position POS and width WID in a \box.
672 For POS, object will be placed flush-left if l, flush-right if r, and 687 For POS, object will be placed flush-left if `l', flush-right if `r',
673 centered if nothing is given 688 splattering words in the same space if `s', and centered if nothing is given
674 In the second form, object will be placed in a \hbox sized (X,Y) (in 689 in the second form, object will be placed in a \hbox sized (X,Y) (in
675 \unitlength) within a picture environment. POS is the same as the first form. 690 \unitlength) within a picture environment. POS is the same as the first form.
691
692
676 693
677 mbox 694 mbox
678 \mbox{OBJECT} 695 \mbox{OBJECT}
679 Same as \makebox{OBJECT}. 696 Same as \makebox{OBJECT}.
680 697
693 sbox 710 sbox
694 \sbox{\CMD}{TEXT} 711 \sbox{\CMD}{TEXT}
695 Same as \savebox. \sbox is robust, and \savebox is fragile. 712 Same as \savebox. \sbox is robust, and \savebox is fragile.
696 713
697 framebox 714 framebox
698 \framebox{OBJECT} 715 \framebox[WID][POS]{OBJECT} \framebox(X,Y)[POS]{OBJECT}
699 Do the same thing as \makebox with a frame. 716 Do the same thing as \makebox with a frame.
700 The frame's width and space between the object are decided by \framerule 717 The frame's width and space between the object are decided by \framerule
701 and \framesep. If used as \framebox(X,Y){OBJECT} in a picture 718 and \framesep. If used as \framebox(X,Y){OBJECT} in a picture
702 environment, width of frame will be dependant to the picture 719 environment, width of frame will be dependant to the picture
703 environment's line width, and space between the object and frame can not 720 environment's line width, and space between the object and frame can not
705 722
706 fbox 723 fbox
707 \fbox{OBJECT} 724 \fbox{OBJECT}
708 Same as \framebox{OBJECT}. 725 Same as \framebox{OBJECT}.
709 \fbox is robust, \framebox fragile. 726 \fbox is robust, \framebox fragile.
727
728 Rule width of \fbox can be controled by setting \fboxrule
729
730 {
731 \fboxrule=2\fboxrule
732 \fbox{contents of double width of rule}
733 }
710 734
711 parbox 735 parbox
712 \parbox[POS]{WIDTH}{TEXT} 736 \parbox[POS]{WIDTH}{TEXT}
713 Make a box of width WIDTH using TEXT. The box's position by POS is; 737 Make a box of width WIDTH using TEXT. The box's position by POS is;
714 c : centering (default) 738 c : centering (default)
1216 a negative skip to compensate for any positive space 1240 a negative skip to compensate for any positive space
1217 it occupies. (See PLAIN.TEX.) 1241 it occupies. (See PLAIN.TEX.)
1218 1242
1219 documentstyle 1243 documentstyle
1220 \documentstyle[OPTION1,OPTION2, ... ,OPTIONn]{STYLE} 1244 \documentstyle[OPTION1,OPTION2, ... ,OPTIONn]{STYLE}
1221 The user starts his file with the command as above 1245 The user starts one's file with the command as above
1222 which saves the OPTION's and \input's the file STYLE.STY. 1246 which loads the OPTION's respectively and \input's the file STYLE.sty.
1247
1248 documentclass
1249 \documentclass[OPTION1,OPTION2, ... ,OPTIONn]{STYLE}
1250 In LaTeX2e, user starts one's file with the command as above
1251 which loads the OPTION's respectively and \input's the file STYLE.cls.
1252
1253 usepackage
1254 \usepackage[OPTIONS]{PACKAGE}
1255 Use additional package `PACKAGE' with option `OPTION'.
1223 1256
1224 verb 1257 verb
1225 \verb#CONTENTS# 1258 \verb#CONTENTS#
1226 The command \verb produces in-line verbatim text, where the argument 1259 The command \verb produces in-line verbatim text, where the argument
1227 is delimited by any pair of characters. E.g., \verb #...# takes 1260 is delimited by any pair of characters. E.g., \verb #...# takes
1285 1318
1286 twocolumn 1319 twocolumn
1287 \twocolumn[STRING] 1320 \twocolumn[STRING]
1288 Clear page and start two-column typesetting. 1321 Clear page and start two-column typesetting.
1289 Optional argument [STRING] specifies the page-acrossing title. 1322 Optional argument [STRING] specifies the page-acrossing title.
1323
1324 If you want to output one-column title page with two-column body,
1325 describe like this;
1326 \twocolumn[
1327 \begin{titlepage}
1328 {\LARGE YourTitle}
1329 \vspace*{1em}
1330 \begin{abstract} Your Abstract blah blah... \end{abstract}
1331 \end{titlepage}
1332 ]
1333
1290 ->onecolumn 1334 ->onecolumn
1291 1335
1292 onecolumn 1336 onecolumn
1293 \onecolumn 1337 \onecolumn
1294 Clear page and start one-column typesetting. 1338 Clear page and start one-column typesetting.
1455 1499
1456 Require `\usepackage{fancybox}` 1500 Require `\usepackage{fancybox}`
1457 1501
1458 <ref fancybox> 1502 <ref fancybox>
1459 1503
1460 1504 quote
1505 \begin{quote} ... \end{quote}
1506 quotation without paragraph
1507
1508 quotation
1509 \begin{quotation} ... \end{quotation}
1510 quoted environment which might contains paragraphs
1511
1512 textcircled
1513 \textcircled{CHAR}
1514 Enclose `char' with small circle. Because this circle is as large as one
1515 character, you had better encolose `CHAR' with {\small ...}, {\tiny ...},
1516 {\scriptsize ...}.
1517
1518 hfill
1519 \hfill
1520 Insert a space as wide as possible. Same as \hspace{\fill}.
1521
1522 foo\hfill bar
1523 produces;
1524 foo bar
1525
1526 foo\hfill bar\hfill baz
1527 produces;
1528 foo bar baz
1529
1530 \hfill can't produce space at the beginning of the line because \hfill
1531 is a kind of \hspace{}. If you make right-justified world in a line,
1532 write \hspace*{\fill}.
1533
1534 hfil
1535 \hfil
1536 Same as \hfill, but little bit weak.
1537
1538 vfill
1539 \vfill
1540 Make vertical space in utmost length , the same as \vspace{\fill}.
1541 cf. \hfill
1542
1543 hrulefill
1544 \hrulefill
1545 Draw underline in utmost length.
1546
1547 backslashbox
1548 \usepackage{slashbox} \backslashbox{A}{B}
1549 Draw a back-slash in a column of tabular.
1550 \begin{tabular}
1551 \hline
1552 \backslashbox{A}{B} & hoge \\ \hline
1553 \end{tabular}
1554
1555 +----+--------+
1556 | \ B| |
1557 | A\ | hoge |
1558 +----+--------+
1559
1560
1561 slashbox
1562 \slashbox{A}{B}
1563 Draw long slash line in a column of tabular.
1564 See also backslashbox.
1565
1566 ooalign
1567 {\ooalign{String1\crcr String2...}
1568 Set line spacing to zero and shift to double-strike mode.
1569 This can be used for generating circled character.
1570 Look this;
1571
1572 \newcommand{\maru}[1]{{\ooalign {\hfill$\scriptstyle#1$\hfill\crcr$\bigcirc$}}}
1573
1574 \crcr is the equivalent of \\ for tabulars.
1575 Note that \ooalign change the spacing parameters. So you should enclose
1576 \ooalign itself with { }.
1577
1578 maru
1579 \maru{R}
1580 Circle one character.
1581 Declare the \newcommand as below;
1582 \newcommand{\maru}[1]{{\ooalign {\hfill$\scriptstyle#1$\hfill\crcr$\bigcirc$}}}
1583
1584 today
1585 \date{\today}
1586 Use this as the argument of \date{}.
1587 Set the document's date in title to today.
1588
1589 NamedColor
1590 \textcolor[named]{COLOR}{TEXT}, for example.
1591 With `\usepackage{color}', you can use colors listed below.
1592
1593 GreenYellow Yellow Goldenrod Dandelion Apricot Peach Melon YellowOrange
1594 Orange BurntOrange Bittersweet RedOrange Mahogany Maroon BrickRed Red
1595 OrangeRed RubineRed WildStrawberry Salmon CarnationPink Magenta
1596 VioletRed Rhodamine Mulberry RedViolet Fuchsia Lavender Thistle
1597 OrchidDarkOrchid Purple Plum Violet RoyalPurple BlueViolet Periwinkle
1598 CadetBlue CornflowerBlue MidnightBlue NavyBlue RoyalBlue Blue Cerulean
1599 Cyan ProcessBlue SkyBlue Turquoise TealBlue Aquamarine BlueGreen Emerald
1600 JungleGreen SeaGreen Green ForestGreen PineGreen LimeGreen YellowGreen
1601 SpringGreen OliveGreen RawSienna Sepia Brown Tan Gray Black White)
1602
1603 See also http://www.yatex.org/help/color.tex
1604
1605 textcolor
1606 \textcolor{COLOR}{TEXT}
1607 Put the TEXT colored with COLOR.
1608
1609 <refer NamedColor>
1610
1611 pagecolor
1612 \pagecolor{COLOR}
1613 Set background color of the page to COLOR.
1614
1615 <refer NamedColor>
1616
1617 color
1618 \color{COLOR}
1619 Set text color of the page to COLOR.
1620
1621 <refer NamedColor>
1622
1623 colorbox
1624 \colorbox{COLOR}{TEXT}
1625 Put TEXT in the box whose background color is COLRO.
1626
1627 <refer NamedColor>
1628
1629 fcolorbox
1630 \fcolorbox{FCOLOR}{BGCOLOR}{TEXT}
1631 Put text int the box whose frame color is FCOLOR and background BGCOLOR.
1632
1633 <refer NamedColor>
1634
1635 rotatebox
1636 \rotatebox{ANGLE}{TEXT}
1637 Put TEXT with rotated by ANGLE-degrees, unclockwise.
1638 Require `\usepackage{graphicx}'.
1639
1640 resizebox
1641 \resizebox{WIDTH}{HEIGHT}{TEXT}
1642 Put TEXT enlarging/shrinking to WIDTH and HEIGHT.
1643 You can omit either of WIDHT or HEIGHT. In that case, specify `!'.
1644 \resizebox{!}{40mm}{TEXT} outputs TEXT with 40mm in height.
1645 Require `\usepackage{graphicx}'.
1646
1647 scalebox
1648 \scalebox{MAG}[V-MAG]{TEXT}
1649 Put TEXT maginifiyng by MAG. V-MAG for vertical magnification factor is
1650 optional. Negative values for magnification factor flip the TEXT
1651 in that direction.
1652
1653 Require `\usepackage{graphicx}'.
1654
1655 reflectbox
1656 \reflectbox{TEXT}
1657 Flip TEXT horizontally.
1658 Equivalent to \scalebox{-1}[1]{TEXT}.
1659 Require `\usepackage{graphicx}'.
1660
1661 ulem
1662 \usepackage{ulem}
1663 \usepackage{ulem}
1664 The `ulem' package provides macros listed below.
1665 \uline{Underlined Text}
1666 \uwave{Waved-Unlderlined Text}
1667 \uuline{Double Underlined Text}
1668
1669 (Information by TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>)
1670 uline
1671 \uline{TEXT}
1672 Put TEXT with underline.
1673
1674 <refer ulem>
1675
1676 uwave
1677 \uwave{TEXT}
1678 Put TEXT with waved underline.
1679
1680 <refer ulem>
1681
1682 uuline
1683 \uuline{TEXT}
1684 Put TEXT with double underline.
1685
1686 <refer ulem>
1687 showkeys.sty
1688 \usepackage[options]{showkeys}
1689 In margin area, output `(?)' marks for unlabeled math-expressions,
1690 `?label?' marks for unreferred labels.
1691 Optional arguments are one of;
1692 showrefs, norefs, showcites, nocites, msgs, nomsgs, chkunlbld,
1693 ignoreunlbld.
1694 msgs/nomsgs specifies whether output messages in *.log file or not.
1695
1696 `\usepackage{showkeys}' should be located before the declaration
1697 for AMS-LaTeX or HyperRef, if any.
1698
1699 Another style `refcheck.sty' can also output labeling information
1700 including `\ref{***}' macros themselves.
1701
1702 (Information by Masaki Shigemori <mshige@ucla.edu>)
1703
1704 table*
1705 \begin{table*} ... \end{table*}
1706 Put tabular in one column at the top of page even if in twocolumn mode.
1707
1708 figure*
1709 \begin{figure*} ... \end{figure*}
1710 Put figure in one column at the top of page even if in twocolumn mode.
1711 If you put figure bottom of page instead of top, use nidanfloat.sty
1712 instead.
1713 \begin{figure*}[b]
1714 \includegraphics{blahblahblah}
1715 \caption{foo bar baz}
1716 \end{figure*}
1717
1718 includegraphics
1719 \usepackage{graphicx} ... \includegraphics[Options]{graphicfile.eps}
1720 Include graphics。Requires `graphicx' package.
1721 Possible [Options] are as follows.
1722 scale=X
1723 width=W
1724 height=H
1725 draft (Frame only)
1726 angle=R
1727 origin=RotationOrigin (One of `c', `tl', `tr', `bl' or `br')
1728 bb=llx lly urx ury (Specify BoundingBox)
1729 viewport=llx lly urx ury (Rerative to BoundingBox)
1730 trim=left bottom right top
1731
1732 abstract
1733 \begin{abstract} ... \end{abstract}
1734 Output abstract
1735
1736 \langle
1737 $\langle$
1738
1739 `<' in math-modes.
1740
1741 \langle
1742 $rlangle$
1743
1744 `>' in math-modes.
1745
1746 \slash
1747 \slash
1748 slash(/) itself.
1749
1750 \textbackslash
1751 \textbackslash
1752 backslash(\) itself.
1461 1753
1462 YaTeX 1754 YaTeX
1463 (setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist)) 1755 (setq auto-mode-alist (cons '("\\.tex$" . yatex-mode) auto-mode-alist))
1464 The mode you are probably using now. 1756 The mode you are probably using now.
1465 Bells and whistles for using LaTeX at a breeze. 1757 Bells and whistles for using LaTeX at a breeze.

yatex.org