Never mind. Yes, it is possible, and here is the code to do it:
\begin{equation}
\makebox[3.2cm][l]{\rule[-1.366cm]{0cm}{2.732cm}\Cnode[radius=0.5cm](0.5,-0.866){A}\rput(0.5,-0.866){a}
\Cnode[radius=0.5cm](2.5,-0.866){B}\rput(2.5,-0.866){b}
\Cnode[radius=0.5cm](1.5,0.866){C}\rput(1.5,0.866){c ...
Search found 11 matches
- Thu Nov 19, 2009 5:03 am
- Forum: Graphics, Figures & Tables
- Topic: pst-node/pstricks object inside equation environment?
- Replies: 1
- Views: 1865
- Thu Nov 19, 2009 4:20 am
- Forum: Graphics, Figures & Tables
- Topic: pst-node/pstricks object inside equation environment?
- Replies: 1
- Views: 1865
pst-node/pstricks object inside equation environment?
I need to typeset a few cluster diagrams (statistical mechanics) and planning to use the handy pst-node in pstricks to do that. Basically, it's some circles and connecting lines.
However, I wanted to display the diagram(s) inside an equation environment. Is it possible to contain the pspicture ...
However, I wanted to display the diagram(s) inside an equation environment. Is it possible to contain the pspicture ...
- Thu Oct 01, 2009 9:06 pm
- Forum: Math & Science
- Topic: How to typeset several "full-size" equations inside one
- Replies: 4
- Views: 3027
How to typeset several "full-size" equations inside one
Thank you for the suggestion. dcases works great.
aligned does the full-size scaling too, but it's not really for case statements, since the alignment is not to the left bracket but instead about some center point.
aligned does the full-size scaling too, but it's not really for case statements, since the alignment is not to the left bracket but instead about some center point.
- Thu Oct 01, 2009 3:46 am
- Forum: Math & Science
- Topic: How to typeset several "full-size" equations inside one
- Replies: 4
- Views: 3027
How to typeset several "full-size" equations inside one
you could use the cases environment provided by the amsmath package; it is described in page 8 of the amsmath user guide . For the fractions issue, you can use the \dfrac command.
Thank you for the reply. It appears that aligned might do the job, since they say it figures the width for the ...
- Thu Oct 01, 2009 3:28 am
- Forum: Math & Science
- Topic: How to typeset several "full-size" equations inside one
- Replies: 4
- Views: 3027
How to typeset several "full-size" equations inside one
Hello, and thanks for reading!
I need to typeset a "case" statement of the type "A = { ...", where "..." consists of 2 lines of equations with their respective conditions. If I use the "\begin{array} ... \end{array}" inside the equation environment, my fractions are dwarfed like within the ...
I need to typeset a "case" statement of the type "A = { ...", where "..." consists of 2 lines of equations with their respective conditions. If I use the "\begin{array} ... \end{array}" inside the equation environment, my fractions are dwarfed like within the ...
- Fri Aug 07, 2009 5:15 pm
- Forum: Document Classes
- Topic: What is \p@ in "\vskip 60\p@" (standard class)
- Replies: 2
- Views: 3866
Re: What is \p@ in "\vskip 60\p@" (standard class)
Many thanks - I will definitely get the TeXbook then. I always figured - I just want to use LaTeX, so it's probably an overkill! But I like being able to understand all the internal code in classes.dtx and such when I try to design something of my own.
- Fri Aug 07, 2009 4:52 pm
- Forum: Document Classes
- Topic: What is \p@ in "\vskip 60\p@" (standard class)
- Replies: 2
- Views: 3866
What is \p@ in "\vskip 60\p@" (standard class)
I'm at a bit of a loss trying to find what all these weird-looking TeX primitives mean: online searches seem useless, and the LaTeX Companion doesn't really address these.
In classes.dtx file, there is a line inside the definition for \maketitle macro which reads:
\vskip 60\p@
and the authors ...
In classes.dtx file, there is a line inside the definition for \maketitle macro which reads:
\vskip 60\p@
and the authors ...
- Wed Aug 05, 2009 7:03 am
- Forum: General
- Topic: When can \newcommand not replace \def ?
- Replies: 1
- Views: 4120
When can \newcommand not replace \def ?
I am wondering about the general equivalence of \newcommand and the TeX primitive \def. The authors of main LaTeX books advise against using \def and for using \newcommand instead. But I distinctly remember reading that in certain instances, \def must be used instead of \newcommand... Could anyone ...
- Wed Aug 05, 2009 1:17 am
- Forum: Document Classes
- Topic: Standard classes: relationship between \author and \@author?
- Replies: 4
- Views: 3919
Standard classes: relationship between \author and \@author?
I cannot find any information about the differences between "\title" and "\@title" or "\author" and "\@author" in the standard report class file (report.cls), if any.
My understanding is that since we use commands "\author{}" and "\title{}" in the preamble of the document to set those variables ...
My understanding is that since we use commands "\author{}" and "\title{}" in the preamble of the document to set those variables ...
- Tue Aug 04, 2009 11:33 pm
- Forum: Document Classes
- Topic: Standard classes: relationship between \author and \@author?
- Replies: 4
- Views: 3919
Standard classes: relationship between \author and \@author?
There is nothing magic about \@title, \@author, etc. The main idea is to use a different name from \author, \title, and so on so that
\author{First}
\author{Second}
does not give odd results. If you did something like:
\def\author#1{\def\author{#1}}
then things would go wrong if \author was ...
\author{First}
\author{Second}
does not give odd results. If you did something like:
\def\author#1{\def\author{#1}}
then things would go wrong if \author was ...