n wiki seems to be very limited, and I was not able to find any
> user-supplied arguments for increasing this vertical distance.
>
> There are various solutions available for LaTex, and they require external
> packages (e.g., BigStrut, vphantom) that redefine the strut height.
>
t;>>
> >>> There are various solutions available for LaTex, and they require
> external
> >>> packages (e.g., BigStrut, vphantom) that redefine the strut height.
> >>>
> >>> I hope I'm missing something simple... Any help would be greatly
> &g
cal distance.
> >
> > There are various solutions available for LaTex, and they require
> external
> > packages (e.g., BigStrut, vphantom) that redefine the strut height.
> >
> > I hope I'm missing something simple... Any help would be greatly
> > apprecia
-supplied arguments for increasing this vertical distance.
There are various solutions available for LaTex, and they require external
packages (e.g., BigStrut, vphantom) that redefine the strut height.
I hope I'm missing something simple... Any help would be greatly
appreciated!
Hey, this is context. We
arguments for increasing this vertical distance.
> >
> > There are various solutions available for LaTex, and they require external
> > packages (e.g., BigStrut, vphantom) that redefine the strut height.
> >
> > I hope I'm missing something simple... Any help would be greatl
y limited, and I was not able to find
> any user-supplied arguments for increasing this vertical distance.
>
> There are various solutions available for LaTex, and they require external
> packages (e.g., BigStrut, vphantom) that redefine the strut height.
>
> I hope I'm missing
.
There are various solutions available for LaTex, and they require external
packages (e.g., BigStrut, vphantom) that redefine the strut height.
I hope I'm missing something simple... Any help would be greatly
appreciated!
DY Hung
formula
>> \sqrt[3]{4n} \ne \sqrt[3] {n}
>> \stopformula
>> \stoptext
>
> Make the quantities whose roots are being taken to be of the same size.
>
> \starttext
>
> % The simplest solution:
> \startformula
> \sqrt[3]{4n} \ne \sqrt[3] {\vphantom{4} n}
> \stopf
the quantities whose roots are being taken to be of the same size.
\starttext
% The simplest solution:
\startformula
\sqrt[3]{4n} \ne \sqrt[3] {\vphantom{4} n}
\stopformula
% More general
% \strut = \vphantom{(}, which is too big
\startformula
\sqrt[3]{\strut 4n} \ne \sqrt[3] {\strut n}
\stopformula
% We
ken to be of the same size.
\starttext
% The simplest solution:
\startformula
\sqrt[3]{4n} \ne \sqrt[3] {\vphantom{4} n}
\stopformula
% More general
% \strut = \vphantom{(}, which is too big
\startformula
\sqrt[3]{\strut 4n} \ne \sqrt[3] {\strut n}
\stopformula
% We can define our own phanto
Hi,
Does anyone have a suggestion to generate a better result
for the symmetry specification:
\starttext
${2\over a}{2\over b}{2\over m}$
\stoptext
I tried:
\starttext
${2\over \vphantom{b}a}{2\over \vphantom{b}b}{2\over \vphantom{b}m}$
\stoptext
but this leaves too much vertical space
Alan BRASLAU <mailto:alan.bras...@cea.fr>
4. November 2015 um 17:50
Hi,
Does anyone have a suggestion to generate a better result
for the symmetry specification:
\starttext
${2\over a}{2\over b}{2\over m}$
\stoptext
I tried:
\starttext
${2\over \vphantom{b}a}{2\over \vphantom{b}b}{
Thank you, Wolfgang.
I had stopped using the \frac command a while ago
as it was *seriously broken*, previously.
Why, however, does the TeX construction {a\over b}
not work correctly, and more precisely, why does the TeX
command \vphantom{b} not give the desired result?
Alan
On Wed, 4 Nov
On 1/12/2013 10:37 PM, Wolfgang Werners-Lucchini wrote:
Hallo,
the following was ok with mkII:
% coding: utf-8
\def\B{\vphantom{\bigg)}}
\setupbodyfont[11pt,sans]
\starttext
\startitemize[a,columns,three,joinedup][grid=no,width=8mm,right=)]
\item $\B 5b\cdot (3a+4b-5c)$
\item $\B 3xy\cdot (2x
Hallo,
the following was ok with mkII:
% coding: utf-8
\def\B{\vphantom{\bigg)}}
\setupbodyfont[11pt,sans]
\starttext
\startitemize[a,columns,three,joinedup][grid=no,width=8mm,right=)]
\item $\B 5b\cdot (3a+4b-5c)$
\item $\B 3xy\cdot (2x-6y-xy)$
\item $\B (-0{,}5x)\cdot (3y-5x)$
\item $\B (2z-3x
Hi,
In the following minimal example
\startformula
P = \left(\vphantom{\sum}\smash{\sum_{\startsubstack
1 \le i \le p \NR
1 \le j \le q \NR
1 \le k \le r \NR
\stopsubstack}}
a_{ij}b_{jk}c_{ki}
\right)
\stopformula
\smash does not work properly in mkiv – in mkii it runs just fine!
Best regards
…) is the
following: add a \vphantom before the first occurence of the synonim,
that is
\vphantom{\abs}
assuming that \abs is already defined: rewriting your example one gets:
\definesynonyms[testAbbrev][testAbbrevs][\infull]
%\setupsynonyms[testAbbrev][next=\autoinsertnextspace]
\testAbbrev[abs]{\sc abs
Thanks for the phantom hint!
I made a macro that I'll put at the beginning of each component file, after
the chapter header:
\def\synCorr{\vphantom{all synonym macros go here}\vskip-\lineheight}
I think this will do it for the moment.
Thanks and Greetings
Thomas
Otared Kavian mailto:ota
Thomas Floeren wrote:
Thanks for the phantom hint!
I made a macro that I'll put at the beginning of each component file, after
the chapter header:
\def\synCorr{\vphantom{all synonym macros go here}\vskip-\lineheight}
I think this will do it for the moment.
it's fixed in the beta
{\vphantom{all synonym macros go here}\vskip-
\lineheight}
I think this will do it for the moment.
it's fixed in the beta
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
Tomas
Thomas Floeren wrote:
Thanks for the phantom hint!
I made a macro that I'll put at the beginning of each component
file, after
the chapter header:
\def\synCorr{\vphantom{all synonym macros go here}\vskip-
\lineheight}
I think this will do it for the moment.
it's fixed in the beta
={\,\right\vert}]
% double vertical bars
\definemathmatrix
[Vmatrix]
[left={\left\Vert\,},right={\,\right\Vert}]
\def\PD#1#2{\frac{\partial #1}{\partial #2}}
\def\ann{\mathscr{Q}^{\vphantom{*}}}
\def\mathscr#1{{\gothic #1}}
\def\cre{\mathscr{Q}^*}
\def\dirac{{\mathfrak{D}}}
\def\pform{\mathfrak{p
Actually I used to have such alignments with the following structure
(in good old plain TeX...):
\starttext
\startformula
\cases{
\eqalign{
-\Delta u + g(u) = f \cr
\displaystyle {\partial u \over \partial {\bf n} } = h(u) \cr
} \quad \eqalign{
\hbox{in } \Omega \cr
\vphantom{{\partial u \over
\vphantom{{\partial u \over \partial {\bf n} }} \hbox{on } \partial\Omega
\cr
}
}
\stopformula
\stoptext
(which gives approximately the same result as the first example above, but
clearly the math-alignment structure set up by Aditya and Hans is much more
elegant. (Although I prefer
}}
\def\SOME#1{\presuper{i}{#1}}
\let\DEFINED=\colonequals
\let\BYDEFINITION=\equalscolon
\let\ESTIMATE=\hat
\def\COST{{\cal J}}
\def\presuper#1#2%
{\mathop{}%
\mathopen{\vphantom{#2}}^{#1}%
\kern-\scriptspace%
#2}
\abbreviation {RHS} {right hand side}
\def\DESIGN
{\dosingleempty\doDESIGN
Hi everyone,
I ran into trouble while trying to compile
\startreusableMPgraphic{try}
label(textext{$x\vphantom{y}z$}, origin);
\stopreusableMPgraphic
\reuseMPgraphic{try}
Is this a bug?
Olivier
___
If your
Olivier wrote:
Hi everyone,
I ran into trouble while trying to compile
\startreusableMPgraphic{try}
label(textext{$x\vphantom{y}z$}, origin);
\stopreusableMPgraphic
\reuseMPgraphic{try}
Is this a bug?
Well, the error message is not nice, and maybe
an \unexpanded in front
Hi Taco,
Quoting Taco Hoekwater :
-- was [EMAIL PROTECTED] on Feb 15, 2008 at 05:25:16PM --
\startreusableMPgraphic{try}
label(textext{$x\vphantom{y}z$}, origin);
\stopreusableMPgraphic
\reuseMPgraphic{try}
Well, the error message is not nice, and maybe
an \unexpanded in front
Height of formula 2: \the\ht\scratchbox
Ahhh! The HEIGHT (not the width) ist the problem!?
So:
\startcolumns
\dontleavehmode
\vphantom{$a_n=\frac{(-1)^n}{\sqrt{n}}-3$}$a_n=2+\frac{1}{n+1}$%
$a_n=\frac{(-1)^n}{\sqrt{n}}-3$
\stopcolumns
works too.
Is there something like an \mathstrut macro
{\vphantom{\big)}} (replace \big by \bigg, \Big, to suit
your need). If you really want something big you can try
\def\bigmathstrut{\vphantom{\frac{\displaystyle\sum_{(}^{)}}{\displaystyle\sum_{)}^{(}}}
Usually things do not grow bigger than this.
Aditya
\vphantom, something like
\eqalign{
a = \left( expr 1 \vphantom{expr 2} \right.
\left. \vphantom { expr 1} expr 2 \right) }
but this quickly becomes unmanageable if you have more than two expressions.
A more sophisticated approach is taken by nath package in latex, see
its documentation
=#1: bla \hotkey{Alt} bla \hotkey{Space} bla\blank}
\starttext
\Test{no}
\Test{yes}
\Test{global}
\Test{local}
\stoptext
Any hint is appreciated!
Cheers, Peter
P.S.: My workaround:
\def\hotkey#1{\inframed[background=screen,offset=overlay,
height=\lineheight,corner=00]{~\vphantom{Sp}#1
Aditya Mahajan wrote:
Actually, I only want a pre superscipt, so the following works for me
\def\presuper#1#2%
{\mathop{}% To prevent preceeding mathord atoms to approach
\mathopen{\vphantom{#2}}^{#1}% To prevent space between prescript
% and next
Actually, I only want a pre superscipt, so the following works for me
\def\presuper#1#2%
{\mathop{}% To prevent preceeding mathord atoms to approach
\mathopen{\vphantom{#2}}^{#1}% To prevent space between prescript
% and next atom.
\kern-\scriptspace
the main fraction bar in the following expression,
making it a tad longer?
Just add a bit of whitespace to the right and left:
\dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}
{\,\dfrac{4x^3-9x}{2x^2+5x-12}\,}
You may want to add a \vphantom command as well to separate the
fractions from the main
fraction bar in the following expression,
making it a tad longer?
Just add a bit of whitespace to the right and left:
\dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}
{\,\dfrac{4x^3-9x}{2x^2+5x-12}\,}
You may want to add a \vphantom command as well to separate the
fractions from the main bar
-12}\,}
You may want to add a \vphantom command as well to separate the
fractions from the main bar a bit more.
\dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}{\,\dfrac{4x^3-9x}{2x^2
+5x-12}\,}.
\placeformula
\startformula
\dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12
}\,}
{\,\dfrac{4x^3-9x}{2x^2+5x-12}\,}
You may want to add a \vphantom command as well to separate the
fractions from the main bar a bit more.
\dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}{\,\dfrac{4x^3-9x}{2x^2
+5x-12}\,}.
\placeformula
\startformula
\dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3
a bit of whitespace to the right and left:
\dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}
{\,\dfrac{4x^3-9x}{2x^2+5x-12}\,}
You may want to add a \vphantom command as well to separate the
fractions from the main bar a bit more.
\dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}{\,\dfrac{4x^3-9x}{2x^2
David Arnold wrote:
All,
How can I extend the main fraction bar in the following expression,
making it a tad longer?
Just add a bit of whitespace to the right and left:
\dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}
{\,\dfrac{4x^3-9x}{2x^2+5x-12}\,}
You may want to add a \vphantom
Hello,
concerning this subject, I have another feature request:
\unexpanded\def\HideV#1{\vphantom{#1}}
\starttext
\chardef\characteralignmentmode=5 % align on left side of the character
\setupTABLE[aligncharacter=yes]
\bTABLE
\bTR\bTD 1,23\%\eTD\eTR
\bTR\bTD 12,3\%\eTD\eTR
\bTR\bTD 123\HideV
Hi Peter,
I am not sure what you want achieve here. Can you create
a fake table that shows what you have in mind?
Taco
(Also, I assume you meant \hphantom not \v...?)
Peter Münster wrote:
Hello,
concerning this subject, I have another feature request:
\unexpanded\def\HideV#1{\vphantom{#1
[EMAIL PROTECTED] collect para attributes
\ruledvbox to \!!h{\hsize=\!!w %
\vss
[EMAIL PROTECTED] single line
[EMAIL PROTECTED]
\hbox to \!!w {\getvalue\s!dummy \vphantom{K}\getvalue\!!name \hss}%
}%
[EMAIL PROTECTED]
\hbox to \!!w {\getvalue\s!dummy \vphantom{K} \getvalue\!!name \hss}%
}%
[EMAIL
, being \vphantom(, is being
misinterpreted as a delimiter (as '(' is active in nath), but that's
just a layman's guess.
Bingo. In nath this is now fixed by letting \mathstrut use |
instead of (.
:-)
I'll try to get the new amsl and nath modules out today.
Thanks, great work.
I don't want
\nextbox [EMAIL PROTECTED] [EMAIL PROTECTED] #1{#2
}$}
...
l.4 ...race{\mathstrut rr\dots r}_{n \text{times}}
?
My guess is that the expansion of \mathstrut, being \vphantom(, is being
misinterpreted as a delimiter (as '(' is active in nath), but that's
width#1 height
0bp}}_{\hbox{\strut #2}}$}
\def\rightbracedescription#1#2{$\displaystyle{\left.\vphantom{\hbox{\vrule
width0bp height#1 depth#1}}\right\}\hbox{\strut #2}}$}
However, the width has to be given manually - it doesn't care about the
actual size of the object it has to be applied to. How
#1#2{$\underbrace{\hbox{\vrule width#1 height
0bp}}_{\hbox{\strut #2}}$}
\def\rightbracedescription#1#2{$\displaystyle{\left.\vphantom{\hbox{\vrule
width0bp height#1 depth#1}}\right\}\hbox{\strut #2}}$}
However, the width has to be given manually - it doesn't care about the
I do not understand what
47 matches
Mail list logo