Prev: Surf Vs Image
Next: sigTOOL
From: Assaf Weinstein on 15 Jun 2010 13:02 Doug Schwarz <see(a)sig.for.address.edu> wrote in message <giORn.99683$0B5.50188(a)newsfe05.iad>... > Assaf Weinstein wrote: > > Walter Roberson <roberson(a)hushmail.com> wrote in message > > <IWNRn.99682$0B5.59461(a)newsfe05.iad>... > >> Assaf Weinstein wrote: > >> > >> > I am trying to put a tilde (~) over a character in a text string > >> (with > tex interpretation), but can't make it work (i try "\tilder" - > >> to put a > tilde over the character 'r'). What syntax exactly should I > >> use? > >> > >> Try "\{tilde}r" -- I do not promise that it will work, but \tilder > >> definitely will not. > > > > -Nope, that doesnt work either.. thanks anyway > > You can't do it at all with the tex interpreter. You will have to use > latex and the syntax is > > \tilde{r} > > Furthermore, you must be in math mode so the \tilde{r} must appear > between dollar signs (single or double): > > '$$ \tilde{r} $$' > > -- > Doug Schwarz > dmschwarz&ieee,org > Make obvious changes to get real email address. -Thanks so much, Doug! this was very helpful.. assaf
From: Assaf Weinstein on 16 Jun 2010 04:53 "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <hv8bmd$gn8$1(a)fred.mathworks.com>... > Doug Schwarz <see(a)sig.for.address.edu> wrote in message <giORn.99683$0B5.50188(a)newsfe05.iad>... > > Assaf Weinstein wrote: > > > Walter Roberson <roberson(a)hushmail.com> wrote in message > > > <IWNRn.99682$0B5.59461(a)newsfe05.iad>... > > >> Assaf Weinstein wrote: > > >> > > >> > I am trying to put a tilde (~) over a character in a text string > > >> (with > tex interpretation), but can't make it work (i try "\tilder" - > > >> to put a > tilde over the character 'r'). What syntax exactly should I > > >> use? > > >> > > >> Try "\{tilde}r" -- I do not promise that it will work, but \tilder > > >> definitely will not. > > > > > > -Nope, that doesnt work either.. thanks anyway > > > > You can't do it at all with the tex interpreter. You will have to use > > latex and the syntax is > > > > \tilde{r} > > > > Furthermore, you must be in math mode so the \tilde{r} must appear > > between dollar signs (single or double): > > > > '$$ \tilde{r} $$' > > > > -- > > Doug Schwarz > > dmschwarz&ieee,org > > Make obvious changes to get real email address. > > -Thanks so much, Doug! this was very helpful.. > > assaf Actually - one more thing about this - if I want to keep entering an equation in the same expression, ie I want to write: "\tilde r =5" - how do I do this? $$ \tilde{r} =5$$ doesn't work... Thank you! asaf
From: Doug Schwarz on 16 Jun 2010 10:01
Assaf Weinstein wrote: > "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in > message <hv8bmd$gn8$1(a)fred.mathworks.com>... >> Doug Schwarz <see(a)sig.for.address.edu> wrote in message >> <giORn.99683$0B5.50188(a)newsfe05.iad>... >> > Assaf Weinstein wrote: >> > > Walter Roberson <roberson(a)hushmail.com> wrote in message > > >> <IWNRn.99682$0B5.59461(a)newsfe05.iad>... >> > >> Assaf Weinstein wrote: >> > >> >> > >> > I am trying to put a tilde (~) over a character in a text >> string > >> (with > tex interpretation), but can't make it work (i try >> "\tilder" - > >> to put a > tilde over the character 'r'). What syntax >> exactly should I > >> use? >> > >> >> > >> Try "\{tilde}r" -- I do not promise that it will work, but >> \tilder > >> definitely will not. >> > > > > -Nope, that doesnt work either.. thanks anyway >> > > You can't do it at all with the tex interpreter. You will have to >> use > latex and the syntax is >> > > \tilde{r} >> > > Furthermore, you must be in math mode so the \tilde{r} must appear >> > between dollar signs (single or double): >> > > '$$ \tilde{r} $$' >> > > -- > Doug Schwarz >> > dmschwarz&ieee,org >> > Make obvious changes to get real email address. >> >> -Thanks so much, Doug! this was very helpful.. >> >> assaf > > > Actually - one more thing about this - > if I want to keep entering an equation in the same expression, ie I want > to write: > "\tilde r =5" - how do I do this? $$ \tilde{r} =5$$ doesn't work... > > Thank you! > > asaf Hmm, that should work. Let's be explicit. Try text(x,y,'$$\tilde{r}=5$$','Interpreter','latex') with some suitable x and y values. -- Doug Schwarz dmschwarz&ieee,org Make obvious changes to get real email address. |