search for: displaystyle

Displaying 4 results from an estimated 4 matches for "displaystyle".

Did you mean: displaystate
2010 Apr 27
1
TikzDevice and texi2dvi
...anels lines(xi,yi,type='s') lines(range(xi),c(0,0)) lines(xi,yi,type='h') #Add some equations as labels title(main="$p(x)=\\frac{1}{\\sqrt{2\\pi}}e^{-\\frac{x^2}{2}}$") int <- integrate(dnorm,min(xi),max(xi),subdivisions=length(xi)) text(2.8, 0.3, paste("\\small$\\displaystyle\\int_{", min(xi), "}^{", max(xi), "}p(x)dx\\approx", round(int[['value']],3), '$', sep='')) #Close the device dev.off() # Compile the tex file tools::texi2dvi('normal.tex',pdf=T) # optionally view it: # system(paste(getOption('...
1997 Sep 01
1
R-alpha: old Rdoc 2 new Rdoc
...$text =~ s/greeksigma/\\sigma/sg; $text =~ s/greeklambda/\\lambda/sg; $text =~ s/boldgreekbeta/\\mathbf\{\\beta\}/sg; $text =~ s/boldgreekepsilon/\\mathbf\{\\epsilon\}/sg; print stderr "1 " if $opt_debug; replace_command_all("SQRT", "sqrt"); replace_command_all("DISPLAYSTYLE", "displaystyle"); while($text =~ /PAREN($ID)/){ $id = $1; $text =~ s/PAREN$id(.*)$id/\\left($1\\right)/s; } print stderr "2 ... " if $opt_debug; while(($text =~ /(SUP)($ID)/) || ($text =~ /(SUB)($ID)/) || ($text =~ /(OVER)($ID)/) || ($text =~ /...
2004 Nov 09
0
Is nesting {} inside \eqn OK?
..., here is a fuller excerpt from the input file: -------------------------------------------- With \eqn{J} possible outcomes and \eqn{p_j}{p(j)} the probability of the \eqn{j}'th outcome, the formula is \deqn{\newcommand{\B}{{\bf \beta}}\newcommand{\X}{{\bf X}} p_j = \frac{e^{\X\B_j}}{\displaystyle\sum_{k=0}^J e^{\X\B_k}}.}{ p(j) = exp[X*b(j)]/sum{exp[X*b(k)], k=0 to J}.} \eqn{{\bf\beta}_j}{b(j)} is the vector of coefficients for outcome \eqn{j} and \eqn{{\bf X}}{X} are the covariates. -------------------------------------------- By the way, the \newcommand is not global, so I can...
2008 Apr 24
2
RFC: What should ?foo do?
Currently ?foo does help("foo"), which looks for a man page with alias foo. If foo happens to be a function call, it will do a bit more, so ?mean(something) will find the mean method for something if mean happens to be an S4 generic. There are also the type?foo variations, e.g. methods?foo, or package?foo. I think these are all too limited. The easiest search should be the most