Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
French accents on letters in plots

Subject: French accents on letters in plots

From: paulr

Date: 26 Jul, 2005 14:58:11

Message: 1 of 8

Hi,

how to a put a accent aigu on a letter in a plot title. The tex
command is to preceed the letter with \'

When I try this it thinks that I am closing the string with the '

Is there any way around this?

I want the word Moravka to have a accent aigu on the first letter a.

Subject: French accents on letters in plots

From: PB

Date: 26 Jul, 2005 15:17:41

Message: 2 of 8

paulr wrote:
>
>
> Hi,
>
> how to a put a accent aigu on a letter in a plot title. The tex
> command is to preceed the letter with \'
>
> When I try this it thinks that I am closing the string with the '
>
> Is there any way around this?
>
> I want the word Moravka to have a accent aigu on the first letter
a.

Hi paulr!

I don´t know french or the accent aigu, is it this one?

figure;
title('{Mor\''avka}','interpreter','latex')
%?

/PB

Subject: French accents on letters in plots

From: paulr

Date: 26 Jul, 2005 15:37:40

Message: 3 of 8

PB wrote:
>
>
> paulr wrote:
>>
>>
>> Hi,
>>
>> how to a put a accent aigu on a letter in a plot title. The
tex
>> command is to preceed the letter with \'
>>
>> When I try this it thinks that I am closing the string with the
'
>>
>> Is there any way around this?
>>
>> I want the word Moravka to have a accent aigu on the first
letter
> a.
>
> Hi paulr!
>
> I don´t know french or the accent aigu, is it this one?
>
> figure;
> title('{Mor\''avka}','interpreter','latex')
> %?
>
> /PB

I'm using Matlab 6.5 and this doesn't seem to work. All I get is the
above string with the backslash, squiggly brackets, etc.

Subject: French accents on letters in plots

From: CD

Date: 26 Jul, 2005 17:04:50

Message: 4 of 8

paulr wrote:
>
>
> PB wrote:
>>
>>
>> paulr wrote:
>>>
>>>
>>> Hi,
>>>
>>> how to a put a accent aigu on a letter in a plot title.
The
> tex
>>> command is to preceed the letter with \'
>>>
>>> When I try this it thinks that I am closing the string with
> the
> '
>>>
>>> Is there any way around this?
>>>
>>> I want the word Moravka to have a accent aigu on the first
> letter
>> a.
>>
>> Hi paulr!
>>
>> I don´t know french or the accent aigu, is it this one?
>>
>> figure;
>> title('{Mor\''avka}','interpreter','latex')
>> %?
>>
>> /PB
>
> I'm using Matlab 6.5 and this doesn't seem to work. All I get is
> the
> above string with the backslash, squiggly brackets, etc.

I don't think that Matlab 6.5 supports 'latex' as the interpreter.
Try 'tex' instead. And make sure you realize that after the
backslash is an escaped single quote (two single quotes in a row) not
a double quote.

As a caveat, I haven't tested this, and when I used to work with 6.5,
I was constantly disappointed by the limited number of TeX commands
that were supported... Good luck.

CD

Subject: French accents on letters in plots

From: paulr

Date: 26 Jul, 2005 19:25:45

Message: 5 of 8

CD wrote:
>
>
> paulr wrote:
>>
>>
>> PB wrote:
>>>
>>>
>>> paulr wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> how to a put a accent aigu on a letter in a plot title.
> The
>> tex
>>>> command is to preceed the letter with \'
>>>>
>>>> When I try this it thinks that I am closing the string
> with
>> the
>> '
>>>>
>>>> Is there any way around this?
>>>>
>>>> I want the word Moravka to have a accent aigu on the
> first
>> letter
>>> a.
>>>
>>> Hi paulr!
>>>
>>> I don´t know french or the accent aigu, is it this one?
>>>
>>> figure;
>>> title('{Mor\''avka}','interpreter','latex')
>>> %?
>>>
>>> /PB
>>
>> I'm using Matlab 6.5 and this doesn't seem to work. All I get
is
>> the
>> above string with the backslash, squiggly brackets, etc.
>
> I don't think that Matlab 6.5 supports 'latex' as the interpreter.
> Try 'tex' instead. And make sure you realize that after the
> backslash is an escaped single quote (two single quotes in a row)
> not
> a double quote.
>
> As a caveat, I haven't tested this, and when I used to work with
> 6.5,
> I was constantly disappointed by the limited number of TeX commands
> that were supported... Good luck.
>
> CD

No go.

All I get is

{Mor\'avka}

as the title.

Subject: French accents on letters in plots

From: Jerome

Date: 27 Jul, 2005 03:05:13

Message: 6 of 8

paulr wrote:
>
> I want the word Moravka to have a accent aigu on the first letter
a.

Hi,

I think it's in a letter from the ASCII table.

try this :
char([192:197 224:229])

so this should work on every system :

figure
title(sprintf('Mor%cvka',char(225)))

Hope this helps
Jérôme

PS: I would love hearing you (english speaking guys) pronouncing (in
french) the word "aigu" :D

Subject: French accents on letters in plots

From: PB

Date: 27 Jul, 2005 09:37:21

Message: 7 of 8

Thus spake <Jérôme>:
<SNiP>
> PS: I would love hearing you (english speaking guys) pronouncing (in
> french) the word "aigu" :D

Does it sound somehting like <égy>?

/PB

--
A: Because it messes up the order in which people normally
read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Subject: French accents on letters in plots

From: Jerome

Date: 27 Jul, 2005 04:03:36

Message: 8 of 8

PB wrote:

>
> Does it sound somehting like <égy>?
>

Seems pretty good...something like <egy> ;)
(I'm not a specialist of phonetics)

Jérôme

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us