Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread Christian Ridderström

(reposting with correctly spelled subject, to help search engines)

On Thu, 30 Jul 2009, Christian Ridderström wrote:


Hi,

I searched the lists for how to type a degree symbol in LyX under Windows and 
didn't find something that I thought was really easy. So here's an 
alternative (which may well have drawbacks), e.g that it requires your 
keyboard to have some kind of numeric key pad. Here goes:


In order to type the degree symbol, press and hold down the Alt key while on 
the numeric key pad typing 0176.  (The '0' is needed.)


This method worked in my LyX under Windows XP.

The page
 http://tlt.its.psu.edu/suggestions/international/accents/codealt.html
contains similar codes for lots of other symbols.

Caveat: There might be drawbacks with this method that I haven't tested, and 
it would be much nicer if I had the equivalent of a Compose-key in Windows.


cheers,
Christian




--
Christian Ridderström   Mobile: +46-8 768 39 44

RE: Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread Vincent van Ravesteijn - TNW
In order to type the degree symbol, press and hold
down the Alt key while on the numeric key pad typing
0176.  (The '0' is needed.)

Why not 

$^\circ$, or 

\usepackage{gensymb}
\degree

I like the output of these commands better than the Alt+0176 symbol.

See also: 
http://anthony.liekens.net/index.php/LaTeX/DegreesNotation

Vincent


Re: Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread William Adams

On Jul 30, 2009, at 4:22 AM, Christian Ridderström wrote:

Caveat: There might be drawbacks with this method that I haven't  
tested, and it would be much nicer if I had the equivalent of a  
Compose-key in Windows.



Interestingly, one of the earliest utilities for Windows was DEC's  
COMPOSE.EXE which emulated the Compose key on their dedicated word  
processing equipment.


Unfortunately, Microsoft broke it sometime during the Windows 95 beta.

There is a free successor, ``AllChars'', now available at:

http://allchars.zwolnet.com/

William

--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.



Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread Christian Ridderström

(reposting with correctly spelled subject, to help search engines)

On Thu, 30 Jul 2009, Christian Ridderström wrote:


Hi,

I searched the lists for how to type a degree symbol in LyX under Windows and 
didn't find something that I thought was really easy. So here's an 
alternative (which may well have drawbacks), e.g that it requires your 
keyboard to have some kind of numeric key pad. Here goes:


In order to type the degree symbol, press and hold down the Alt key while on 
the numeric key pad typing 0176.  (The '0' is needed.)


This method worked in my LyX under Windows XP.

The page
 http://tlt.its.psu.edu/suggestions/international/accents/codealt.html
contains similar codes for lots of other symbols.

Caveat: There might be drawbacks with this method that I haven't tested, and 
it would be much nicer if I had the equivalent of a Compose-key in Windows.


cheers,
Christian




--
Christian Ridderström   Mobile: +46-8 768 39 44

RE: Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread Vincent van Ravesteijn - TNW
In order to type the degree symbol, press and hold
down the Alt key while on the numeric key pad typing
0176.  (The '0' is needed.)

Why not 

$^\circ$, or 

\usepackage{gensymb}
\degree

I like the output of these commands better than the Alt+0176 symbol.

See also: 
http://anthony.liekens.net/index.php/LaTeX/DegreesNotation

Vincent


Re: Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread William Adams

On Jul 30, 2009, at 4:22 AM, Christian Ridderström wrote:

Caveat: There might be drawbacks with this method that I haven't  
tested, and it would be much nicer if I had the equivalent of a  
Compose-key in Windows.



Interestingly, one of the earliest utilities for Windows was DEC's  
COMPOSE.EXE which emulated the Compose key on their dedicated word  
processing equipment.


Unfortunately, Microsoft broke it sometime during the Windows 95 beta.

There is a free successor, ``AllChars'', now available at:

http://allchars.zwolnet.com/

William

--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.



Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread Christian Ridderström

(reposting with correctly spelled subject, to help search engines)

On Thu, 30 Jul 2009, Christian Ridderström wrote:


Hi,

I searched the lists for how to type a degree symbol in LyX under Windows and 
didn't find something that I thought was really easy. So here's an 
alternative (which may well have drawbacks), e.g that it requires your 
keyboard to have some kind of numeric key pad. Here goes:


In order to type the degree symbol, press and hold down the Alt key while on 
the numeric key pad typing 0176.  (The '0' is needed.)


This method worked in my LyX under Windows XP.

The page
 http://tlt.its.psu.edu/suggestions/international/accents/codealt.html
contains similar codes for lots of other symbols.

Caveat: There might be drawbacks with this method that I haven't tested, and 
it would be much nicer if I had the equivalent of a Compose-key in Windows.


cheers,
Christian




--
Christian Ridderström   Mobile: +46-8 768 39 44

RE: Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread Vincent van Ravesteijn - TNW
>In order to type the degree symbol, press and hold
>down the Alt key while on the numeric key pad typing
>0176.  (The '0' is needed.)

Why not 

$^\circ$, or 

\usepackage{gensymb}
\degree

I like the output of these commands better than the Alt+0176 symbol.

See also: 
http://anthony.liekens.net/index.php/LaTeX/DegreesNotation

Vincent


Re: Tip: How to type degree symbol in Windows using the numeric key pad

2009-07-30 Thread William Adams

On Jul 30, 2009, at 4:22 AM, Christian Ridderström wrote:

Caveat: There might be drawbacks with this method that I haven't  
tested, and it would be much nicer if I had the equivalent of a  
Compose-key in Windows.



Interestingly, one of the earliest utilities for Windows was DEC's  
COMPOSE.EXE which emulated the Compose key on their dedicated word  
processing equipment.


Unfortunately, Microsoft broke it sometime during the Windows 95 beta.

There is a free successor, ``AllChars'', now available at:

http://allchars.zwolnet.com/

William

--
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.



Re: Degree symbol

2009-03-05 Thread Guenter Milde
On 2009-03-04, Yago wrote:

 With LyX 1.5.6 the degree symbol was, for example:

 $sin30\textrm{\textdegree}$

 But with LyX 1.6.1 this code makes nothing in my dvi output, only sin30 =
 with no degree symbol. 

It works OK here. Maybe a font problem?

 Exporting the LyX file to LaTeX code, I wondering 
 with this code included by LyX because that's no exists in my preamble:

 %% LyX specific LaTeX commands.
 \declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
 \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
 \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
 {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
 \endgroup\else#1\fi}

This is a fallback for Unicode characters that do not have a math definition.
(LyX 1.5.6 did silently drop these!)

What is the LaTeX code for your (non-working) example?

 And I suspect that this code is the problem, but I don't know how can I =
 suppress it. 

This definition will only be inserted if there is some math box with
non-math Unicode chars inside in the document. It will dissapear in a
minimal example.

Alternatively, try if deleting (or commenting) these lines and running
LaTeX by hand helps (i doubt it).

 Or what's is the code to obtain the degree symbol in LyX =
 1.6.1; I don't want the symbol: \lyxmathsym{=BA}. Thanks for your help.

I simply press the right key. Alternatively, you can switch to text mode
and insert \textdegree as ERT or use ^\circ in math mode.

Günter

 --=_NextPart_000_0003_01C99D25.946C5C10--




Re: Degree symbol

2009-03-05 Thread Guenter Milde
On 2009-03-04, Yago wrote:

 With LyX 1.5.6 the degree symbol was, for example:

 $sin30\textrm{\textdegree}$

 But with LyX 1.6.1 this code makes nothing in my dvi output, only sin30 =
 with no degree symbol. 

It works OK here. Maybe a font problem?

 Exporting the LyX file to LaTeX code, I wondering 
 with this code included by LyX because that's no exists in my preamble:

 %% LyX specific LaTeX commands.
 \declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
 \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
 \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
 {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
 \endgroup\else#1\fi}

This is a fallback for Unicode characters that do not have a math definition.
(LyX 1.5.6 did silently drop these!)

What is the LaTeX code for your (non-working) example?

 And I suspect that this code is the problem, but I don't know how can I =
 suppress it. 

This definition will only be inserted if there is some math box with
non-math Unicode chars inside in the document. It will dissapear in a
minimal example.

Alternatively, try if deleting (or commenting) these lines and running
LaTeX by hand helps (i doubt it).

 Or what's is the code to obtain the degree symbol in LyX =
 1.6.1; I don't want the symbol: \lyxmathsym{=BA}. Thanks for your help.

I simply press the right key. Alternatively, you can switch to text mode
and insert \textdegree as ERT or use ^\circ in math mode.

Günter

 --=_NextPart_000_0003_01C99D25.946C5C10--




Re: Degree symbol

2009-03-05 Thread Guenter Milde
On 2009-03-04, Yago wrote:

> With LyX 1.5.6 the degree symbol was, for example:

> $sin30\textrm{\textdegree}$

> But with LyX 1.6.1 this code makes nothing in my dvi output, only sin30 =
> with no degree symbol. 

It works OK here. Maybe a font problem?

> Exporting the LyX file to LaTeX code, I wondering 
> with this code included by LyX because that's no exists in my preamble:

> %% LyX specific LaTeX commands.
> \declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
> \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
> \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
> {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
> \endgroup\else#1\fi}

This is a fallback for Unicode characters that do not have a math definition.
(LyX 1.5.6 did silently drop these!)

What is the LaTeX code for your (non-working) example?

> And I suspect that this code is the problem, but I don't know how can I =
> suppress it. 

This definition will only be inserted if there is some math box with
non-math Unicode chars inside in the document. It will dissapear in a
minimal example.

Alternatively, try if deleting (or commenting) these lines and running
LaTeX by hand helps (i doubt it).

> Or what's is the code to obtain the degree symbol in LyX =
> 1.6.1; I don't want the symbol: \lyxmathsym{=BA}. Thanks for your help.

I simply press the right key. Alternatively, you can switch to text mode
and insert \textdegree as ERT or use ^\circ in math mode.

Günter

> --=_NextPart_000_0003_01C99D25.946C5C10--




Re: Degree symbol

2009-03-04 Thread Uwe Stöhr

Yago schrieb:


With LyX 1.5.6 the degree symbol was, for example:

$sin30\textrm{\textdegree}$


You can alternatively insert it directly, see sec. 16.4 of the Math manual that you find in LyX's 
the Help menu.


regards Uwe


Re: Degree symbol

2009-03-04 Thread Uwe Stöhr

Yago schrieb:


With LyX 1.5.6 the degree symbol was, for example:

$sin30\textrm{\textdegree}$


You can alternatively insert it directly, see sec. 16.4 of the Math manual that you find in LyX's 
the Help menu.


regards Uwe


Re: Degree symbol

2009-03-04 Thread Uwe Stöhr

Yago schrieb:


With LyX 1.5.6 the degree symbol was, for example:

$sin30\textrm{\textdegree}$


You can alternatively insert it directly, see sec. 16.4 of the Math manual that you find in LyX's 
the Help menu.


regards Uwe


How to write degree symbol ° ?

2009-02-19 Thread Hubert Christiaen

I have big probems for entering a degree symbol as in 'cos 30°'. If entered as 
such from the keyboard in TeX, it's not accepted. If entered in Lyx, it's 
represented as '\lyxmathsym{\textdegree}', but when it comes to producing 
output an error is the result.

The '\textdegree' alone seems not visible in the output.  In some 
places '\mbox{°}' is accepted, where the degree symbol is internally written 
as \textdegree. It seems in fact that it is the 'lyxmathsym{}' which is not 
understood in producing the output.

Sincerely,
Hubert
-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 I have big probems for entering a degree symbol as in 'cos 30°'. If entered as
 such from the keyboard in TeX, it's not accepted.

What, exactly, are you entering?

 If entered in Lyx, it's
 represented as '\lyxmathsym{\textdegree}', but when it comes to producing
 output an error is the result.


What error?

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 What, exactly, are you entering?
 The degree symbol by the key on the keyboard, just one hit.

I see it now, I do not have this key on any of my keyboard layouts:
http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png

Try using just \textdegree as I see through google lots of problems
with this specific character, but that looks like the common solution.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Uwe Stöhr

Dotan Cohen schrieb:


I see it now, I do not have this key on any of my keyboard layouts:
http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png


But you have it in your keyboard right beside the 0 key.

The degrre sign is btw. a bit different than other units. The Appendix A of the Math manual that you 
find in the Help menu of LyX explaines this.


regards Uwe


Re: How to write degree symbol ° ?

2009-02-19 Thread Sengottuvelavan t.p.
For my report i did this

Go to Insert menu - special symbols - geometric shapes

U can find a small circle looking similar to degree ...insert it and cut it


Now after typing cos 30 ...paste it in the superscript..This looked well in
output


Re: How to write degree symbol ° ?

2009-02-19 Thread James C. Sutherland


On Feb 19, 2009, at 2:07 AM, Hubert Christiaen wrote:



I have big probems for entering a degree symbol as in 'cos 30°'. If  
entered as
such from the keyboard in TeX, it's not accepted. If entered in Lyx,  
it's
represented as '\lyxmathsym{\textdegree}', but when it comes to  
producing

output an error is the result.


I simply use a ^\circ in math mode.  This works well.

Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 I see it now, I do not have this key on any of my keyboard layouts:

 http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png

 But you have it in your keyboard right beside the 0 key.


No, I posted the Belgian keyboard that _does_ have the degree symbol
to show that there are keyboards with this symbol. My keyboards (US
English, Dvorak, Hebrew, and the occasional Russian and Arabic) do not
have this symbol.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Uwe Stöhr

Dotan Cohen schrieb:


No, I posted the Belgian keyboard that _does_ have the degree symbol
to show that there are keyboards with this symbol. My keyboards (US
English, Dvorak, Hebrew, and the occasional Russian and Arabic) do not
have this symbol.


OK. But you can have a look if you can switch on your OS to the US 
international keyboard layout:
http://en.wikipedia.org/wiki/Keyboard_layout#United_States

Then the right Alt key is redefined to be the AltGr key and then you can access many more characters 
directly.


regards Uwe


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 international keyboard layout:
 http://en.wikipedia.org/wiki/Keyboard_layout#United_States


Switched, thank you! There are three or four characters in there that
I use often enough to warrant it!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


International keyboard (Was: How to write degree symbol)

2009-02-19 Thread Dotan Cohen
 OK. But you can have a look if you can switch on your OS to the US
 international keyboard layout:
 http://en.wikipedia.org/wiki/Keyboard_layout#United_States

 Then the right Alt key is redefined to be the AltGr key and then you can
 access many more characters directly.


It should be known that the US-int keyboard does modify the way the
tilde, quote, and caret keys work even when not using AltGr. A similar
keyboard layout that does not have the averse effects is altgr-intl,
at least in KDE 3.5.10.

Sorry for the off-topic post, but it is relevant enough to the
discussion and might fal under the category of gotcha.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Yago
I have an spanish keyboard and when I want to type the degree symbol, I put 
this in math mode:


$90\textrm\textdegree$

for to obtain 90º.
- Original Message - 
From: Dotan Cohen dotanco...@gmail.com

To: Uwe Stöhr uwesto...@web.de
Cc: lyx-users@lists.lyx.org
Sent: Thursday, February 19, 2009 4:11 PM
Subject: Re: How to write degree symbol ° ?



international keyboard layout:
http://en.wikipedia.org/wiki/Keyboard_layout#United_States



Switched, thank you! There are three or four characters in there that
I use often enough to warrant it!

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü





Re: How to write degree symbol ° ?

2009-02-19 Thread Waluyo Adi Siswanto

 I simply use a ^\circ in math mode.  This works well.

Yes I alway do from the math mode, after power command ^ then from
operators math toolbar, I select circ. So it is exactly ^\circ. And the
result so far it's ok to me.
---
was



How to write degree symbol ° ?

2009-02-19 Thread Hubert Christiaen

I have big probems for entering a degree symbol as in 'cos 30°'. If entered as 
such from the keyboard in TeX, it's not accepted. If entered in Lyx, it's 
represented as '\lyxmathsym{\textdegree}', but when it comes to producing 
output an error is the result.

The '\textdegree' alone seems not visible in the output.  In some 
places '\mbox{°}' is accepted, where the degree symbol is internally written 
as \textdegree. It seems in fact that it is the 'lyxmathsym{}' which is not 
understood in producing the output.

Sincerely,
Hubert
-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 I have big probems for entering a degree symbol as in 'cos 30°'. If entered as
 such from the keyboard in TeX, it's not accepted.

What, exactly, are you entering?

 If entered in Lyx, it's
 represented as '\lyxmathsym{\textdegree}', but when it comes to producing
 output an error is the result.


What error?

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 What, exactly, are you entering?
 The degree symbol by the key on the keyboard, just one hit.

I see it now, I do not have this key on any of my keyboard layouts:
http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png

Try using just \textdegree as I see through google lots of problems
with this specific character, but that looks like the common solution.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Uwe Stöhr

Dotan Cohen schrieb:


I see it now, I do not have this key on any of my keyboard layouts:
http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png


But you have it in your keyboard right beside the 0 key.

The degrre sign is btw. a bit different than other units. The Appendix A of the Math manual that you 
find in the Help menu of LyX explaines this.


regards Uwe


Re: How to write degree symbol ° ?

2009-02-19 Thread Sengottuvelavan t.p.
For my report i did this

Go to Insert menu - special symbols - geometric shapes

U can find a small circle looking similar to degree ...insert it and cut it


Now after typing cos 30 ...paste it in the superscript..This looked well in
output


Re: How to write degree symbol ° ?

2009-02-19 Thread James C. Sutherland


On Feb 19, 2009, at 2:07 AM, Hubert Christiaen wrote:



I have big probems for entering a degree symbol as in 'cos 30°'. If  
entered as
such from the keyboard in TeX, it's not accepted. If entered in Lyx,  
it's
represented as '\lyxmathsym{\textdegree}', but when it comes to  
producing

output an error is the result.


I simply use a ^\circ in math mode.  This works well.

Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 I see it now, I do not have this key on any of my keyboard layouts:

 http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png

 But you have it in your keyboard right beside the 0 key.


No, I posted the Belgian keyboard that _does_ have the degree symbol
to show that there are keyboards with this symbol. My keyboards (US
English, Dvorak, Hebrew, and the occasional Russian and Arabic) do not
have this symbol.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Uwe Stöhr

Dotan Cohen schrieb:


No, I posted the Belgian keyboard that _does_ have the degree symbol
to show that there are keyboards with this symbol. My keyboards (US
English, Dvorak, Hebrew, and the occasional Russian and Arabic) do not
have this symbol.


OK. But you can have a look if you can switch on your OS to the US 
international keyboard layout:
http://en.wikipedia.org/wiki/Keyboard_layout#United_States

Then the right Alt key is redefined to be the AltGr key and then you can access many more characters 
directly.


regards Uwe


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
 international keyboard layout:
 http://en.wikipedia.org/wiki/Keyboard_layout#United_States


Switched, thank you! There are three or four characters in there that
I use often enough to warrant it!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


International keyboard (Was: How to write degree symbol)

2009-02-19 Thread Dotan Cohen
 OK. But you can have a look if you can switch on your OS to the US
 international keyboard layout:
 http://en.wikipedia.org/wiki/Keyboard_layout#United_States

 Then the right Alt key is redefined to be the AltGr key and then you can
 access many more characters directly.


It should be known that the US-int keyboard does modify the way the
tilde, quote, and caret keys work even when not using AltGr. A similar
keyboard layout that does not have the averse effects is altgr-intl,
at least in KDE 3.5.10.

Sorry for the off-topic post, but it is relevant enough to the
discussion and might fal under the category of gotcha.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Yago
I have an spanish keyboard and when I want to type the degree symbol, I put 
this in math mode:


$90\textrm\textdegree$

for to obtain 90º.
- Original Message - 
From: Dotan Cohen dotanco...@gmail.com

To: Uwe Stöhr uwesto...@web.de
Cc: lyx-users@lists.lyx.org
Sent: Thursday, February 19, 2009 4:11 PM
Subject: Re: How to write degree symbol ° ?



international keyboard layout:
http://en.wikipedia.org/wiki/Keyboard_layout#United_States



Switched, thank you! There are three or four characters in there that
I use often enough to warrant it!

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü





Re: How to write degree symbol ° ?

2009-02-19 Thread Waluyo Adi Siswanto

 I simply use a ^\circ in math mode.  This works well.

Yes I alway do from the math mode, after power command ^ then from
operators math toolbar, I select circ. So it is exactly ^\circ. And the
result so far it's ok to me.
---
was



How to write degree symbol ° ?

2009-02-19 Thread Hubert Christiaen

I have big probems for entering a degree symbol as in 'cos 30°'. If entered as 
such from the keyboard in TeX, it's not accepted. If entered in Lyx, it's 
represented as '\lyxmathsym{\textdegree}', but when it comes to producing 
output an error is the result.

The '\textdegree' alone seems not visible in the output.  In some 
places '\mbox{°}' is accepted, where the degree symbol is internally written 
as \textdegree. It seems in fact that it is the 'lyxmathsym{}' which is not 
understood in producing the output.

Sincerely,
Hubert
-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
> I have big probems for entering a degree symbol as in 'cos 30°'. If entered as
> such from the keyboard in TeX, it's not accepted.

What, exactly, are you entering?

> If entered in Lyx, it's
> represented as '\lyxmathsym{\textdegree}', but when it comes to producing
> output an error is the result.
>

What error?

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
>> What, exactly, are you entering?
> The degree symbol by the key on the keyboard, just one hit.

I see it now, I do not have this key on any of my keyboard layouts:
http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png

Try using just \textdegree as I see through google lots of problems
with this specific character, but that looks like the common solution.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Uwe Stöhr

Dotan Cohen schrieb:


I see it now, I do not have this key on any of my keyboard layouts:
http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png


But you have it in your keyboard right beside the "0" key.

The degrre sign is btw. a bit different than other units. The Appendix A of the Math manual that you 
find in the Help menu of LyX explaines this.


regards Uwe


Re: How to write degree symbol ° ?

2009-02-19 Thread Sengottuvelavan t.p.
For my report i did this

Go to Insert menu - special symbols - geometric shapes

U can find a small circle looking similar to degree ...insert it and cut it


Now after typing cos 30 ...paste it in the superscript..This looked well in
output


Re: How to write degree symbol ° ?

2009-02-19 Thread James C. Sutherland


On Feb 19, 2009, at 2:07 AM, Hubert Christiaen wrote:



I have big probems for entering a degree symbol as in 'cos 30°'. If  
entered as
such from the keyboard in TeX, it's not accepted. If entered in Lyx,  
it's
represented as '\lyxmathsym{\textdegree}', but when it comes to  
producing

output an error is the result.


I simply use a ^\circ in math mode.  This works well.

Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
>> I see it now, I do not have this key on any of my keyboard layouts:
>>
>> http://upload.wikimedia.org/wikipedia/commons/9/93/Belgian_keyboard_layout.png
>
> But you have it in your keyboard right beside the "0" key.
>

No, I posted the Belgian keyboard that _does_ have the degree symbol
to show that there are keyboards with this symbol. My keyboards (US
English, Dvorak, Hebrew, and the occasional Russian and Arabic) do not
have this symbol.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Uwe Stöhr

Dotan Cohen schrieb:


No, I posted the Belgian keyboard that _does_ have the degree symbol
to show that there are keyboards with this symbol. My keyboards (US
English, Dvorak, Hebrew, and the occasional Russian and Arabic) do not
have this symbol.


OK. But you can have a look if you can switch on your OS to the US 
international keyboard layout:
http://en.wikipedia.org/wiki/Keyboard_layout#United_States

Then the right Alt key is redefined to be the AltGr key and then you can access many more characters 
directly.


regards Uwe


Re: How to write degree symbol ° ?

2009-02-19 Thread Dotan Cohen
> international keyboard layout:
> http://en.wikipedia.org/wiki/Keyboard_layout#United_States
>

Switched, thank you! There are three or four characters in there that
I use often enough to warrant it!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


International keyboard (Was: How to write degree symbol)

2009-02-19 Thread Dotan Cohen
> OK. But you can have a look if you can switch on your OS to the US
> international keyboard layout:
> http://en.wikipedia.org/wiki/Keyboard_layout#United_States
>
> Then the right Alt key is redefined to be the AltGr key and then you can
> access many more characters directly.
>

It should be known that the US-int keyboard does modify the way the
tilde, quote, and caret keys work even when not using AltGr. A similar
keyboard layout that does not have the averse effects is altgr-intl,
at least in KDE 3.5.10.

Sorry for the off-topic post, but it is relevant enough to the
discussion and might fal under the category of "gotcha".

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: How to write degree symbol ° ?

2009-02-19 Thread Yago
I have an spanish keyboard and when I want to type the degree symbol, I put 
this in math mode:


$90\textrm\textdegree$

for to obtain 90º.
- Original Message - 
From: "Dotan Cohen" <dotanco...@gmail.com>

To: "Uwe Stöhr" <uwesto...@web.de>
Cc: <lyx-users@lists.lyx.org>
Sent: Thursday, February 19, 2009 4:11 PM
Subject: Re: How to write degree symbol ° ?



international keyboard layout:
http://en.wikipedia.org/wiki/Keyboard_layout#United_States



Switched, thank you! There are three or four characters in there that
I use often enough to warrant it!

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü





Re: How to write degree symbol ° ?

2009-02-19 Thread Waluyo Adi Siswanto

> I simply use a ^\circ in math mode.  This works well.

Yes I alway do from the math mode, after power command ^ then from
operators math toolbar, I select circ. So it is exactly ^\circ. And the
result so far it's ok to me.
---
was



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-16 Thread John Pye
Hi Ignacio

You are right -- thanks!  (The sequence Compose o o worked for me; the
other one didn't -- I don't have an AltGr key).

But any thoughts on why this compose sequence is different from that
required in GNOME programs like gnome-terminal and gedit, etc?

If I have to learn different compose sequences for different programs,
that's really fairly poor, right?

Cheers
JP

Ignacio García wrote:
 In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
 1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
 2. If the Compose key is OK, with the binding Compose-o-o

 Regards
 Ignacio


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-16 Thread John Pye
Hi Ignacio

You are right -- thanks!  (The sequence Compose o o worked for me; the
other one didn't -- I don't have an AltGr key).

But any thoughts on why this compose sequence is different from that
required in GNOME programs like gnome-terminal and gedit, etc?

If I have to learn different compose sequences for different programs,
that's really fairly poor, right?

Cheers
JP

Ignacio García wrote:
 In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
 1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
 2. If the Compose key is OK, with the binding Compose-o-o

 Regards
 Ignacio


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-16 Thread John Pye
Hi Ignacio

You are right -- thanks!  (The sequence Compose o o worked for me; the
other one didn't -- I don't have an AltGr key).

But any thoughts on why this compose sequence is different from that
required in GNOME programs like gnome-terminal and gedit, etc?

If I have to learn different compose sequences for different programs,
that's really fairly poor, right?

Cheers
JP

Ignacio García wrote:
> In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
> 1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
> 2. If the Compose key is OK, with the binding Compose-o-o
>
> Regards
> Ignacio


RE: degree symbol in lyx on ubuntu with the Compose key

2007-03-13 Thread Ignacio García

In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio


RE: degree symbol in lyx on ubuntu with the Compose key

2007-03-13 Thread Ignacio García

In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio


RE: degree symbol in lyx on ubuntu with the Compose key

2007-03-13 Thread Ignacio García

In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio


Re: How to insert the degree symbol

2007-03-11 Thread Ignacio Garcia

Darren Freeman wrote:
 Hi all,

 I looked around and didn't see this - hopefully not blatantly obvious.

 How do I insert the degree symbol? As in, 360 degrees to a circle. I
 guess there should also be minutes and seconds.

 Have fun,
 Darren



In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio

-
Tu email con tu propio nombre por sólo 4 € + IVA / año www.dominios.ya.com 
(Código descuento: domte4)
Ya.com ADSL 24h + Llamadas Nacionales y Locales 24h + Llamadas a MÓVILES.
Desde 9,95 €/mes+IVA. http://acceso.ya.com/ADSLllamadas/3mbvoz/


Re: How to insert the degree symbol

2007-03-11 Thread Ignacio Garcia

Darren Freeman wrote:
 Hi all,

 I looked around and didn't see this - hopefully not blatantly obvious.

 How do I insert the degree symbol? As in, 360 degrees to a circle. I
 guess there should also be minutes and seconds.

 Have fun,
 Darren



In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio

-
Tu email con tu propio nombre por sólo 4 € + IVA / año www.dominios.ya.com 
(Código descuento: domte4)
Ya.com ADSL 24h + Llamadas Nacionales y Locales 24h + Llamadas a MÓVILES.
Desde 9,95 €/mes+IVA. http://acceso.ya.com/ADSLllamadas/3mbvoz/


Re: How to insert the degree symbol

2007-03-11 Thread Ignacio Garcia

Darren Freeman wrote:
> Hi all,
>
> I looked around and didn't see this - hopefully not blatantly obvious.
>
> How do I insert the "degree" symbol? As in, 360 degrees to a circle. I
> guess there should also be minutes and seconds.
>
> Have fun,
> Darren
>
>

In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
2. If the Compose key is OK, with the binding Compose-o-o

Regards
Ignacio

-
Tu email con tu propio nombre por sólo 4 € + IVA / año www.dominios.ya.com 
(Código descuento: domte4)
Ya.com ADSL 24h + Llamadas Nacionales y Locales 24h + Llamadas a MÓVILES.
Desde 9,95 €/mes+IVA. http://acceso.ya.com/ADSLllamadas/3mbvoz/


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-09 Thread Helge Hafting

Michael Wojcik wrote:

John Pye wrote:

Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0


At this point, a LyX developer will have to weigh in, I'm afraid.  
I've been meaning to grab the LyX sources and familiarize myself with 
the code, but haven't had time yet.  (My rather limited time for 
mucking about with other people's sources is currently taken up with 
writing Wireshark dissectors...)


The Can't encode the text by itself makes me suspicious that the ISO 
8859-1 codec isn't recognizing the degree symbol.  But the degree 
symbol is in ISO 8859-1 - it's code point 176.[1]

Are you sure you're getting a degree symbol and not a zero exponent?
Those two are different - degree is a perfect circle while the zero exponent
is a tiny 0.

When I type ^0 I get a zero exponent: ⁰
Typing ALT 0 (in an xterm) gives me the degree: °

The degree symbol works when I paste it into LyX.  The zero exponent
does not print unless I change the document encoding to utf8x.
This encoding is available in LyX 1.5 - I don't know about earlier releases.

Helge Hafting








Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-09 Thread John Pye
Helge Hafting wrote:
 Are you sure you're getting a degree symbol and not a zero exponent?
 Those two are different - degree is a perfect circle while the zero
 exponent
 is a tiny 0.

 When I type ^0 I get a zero exponent: ⁰
 Typing ALT 0 (in an xterm) gives me the degree: °

 The degree symbol works when I paste it into LyX.  The zero exponent
 does not print unless I change the document encoding to utf8x.
 This encoding is available in LyX 1.5 - I don't know about earlier
 releases.

 Helge Hafting

On my keyboard, the r-alt ^ 0 sequence gives me the degree symbol: °

Interestingly, the sequence r-alt 0 ^ also gives me that. So obviously
the r-alt 0 can't work in this case.

I don't know what gives me the 0 exponent. I haven't messed with any
mappings other than to set right-alt as my compose key. This is a
standard Ubuntu 6.10 system.

Cheers
JP


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-09 Thread Helge Hafting

Michael Wojcik wrote:

John Pye wrote:

Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0


At this point, a LyX developer will have to weigh in, I'm afraid.  
I've been meaning to grab the LyX sources and familiarize myself with 
the code, but haven't had time yet.  (My rather limited time for 
mucking about with other people's sources is currently taken up with 
writing Wireshark dissectors...)


The Can't encode the text by itself makes me suspicious that the ISO 
8859-1 codec isn't recognizing the degree symbol.  But the degree 
symbol is in ISO 8859-1 - it's code point 176.[1]

Are you sure you're getting a degree symbol and not a zero exponent?
Those two are different - degree is a perfect circle while the zero exponent
is a tiny 0.

When I type ^0 I get a zero exponent: ⁰
Typing ALT 0 (in an xterm) gives me the degree: °

The degree symbol works when I paste it into LyX.  The zero exponent
does not print unless I change the document encoding to utf8x.
This encoding is available in LyX 1.5 - I don't know about earlier releases.

Helge Hafting








Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-09 Thread John Pye
Helge Hafting wrote:
 Are you sure you're getting a degree symbol and not a zero exponent?
 Those two are different - degree is a perfect circle while the zero
 exponent
 is a tiny 0.

 When I type ^0 I get a zero exponent: ⁰
 Typing ALT 0 (in an xterm) gives me the degree: °

 The degree symbol works when I paste it into LyX.  The zero exponent
 does not print unless I change the document encoding to utf8x.
 This encoding is available in LyX 1.5 - I don't know about earlier
 releases.

 Helge Hafting

On my keyboard, the r-alt ^ 0 sequence gives me the degree symbol: °

Interestingly, the sequence r-alt 0 ^ also gives me that. So obviously
the r-alt 0 can't work in this case.

I don't know what gives me the 0 exponent. I haven't messed with any
mappings other than to set right-alt as my compose key. This is a
standard Ubuntu 6.10 system.

Cheers
JP


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-09 Thread Helge Hafting

Michael Wojcik wrote:

John Pye wrote:

Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0


At this point, a LyX developer will have to weigh in, I'm afraid.  
I've been meaning to grab the LyX sources and familiarize myself with 
the code, but haven't had time yet.  (My rather limited time for 
mucking about with other people's sources is currently taken up with 
writing Wireshark dissectors...)


The "Can't encode the text" by itself makes me suspicious that the ISO 
8859-1 codec isn't recognizing the degree symbol.  But the degree 
symbol is in ISO 8859-1 - it's code point 176.[1]

Are you sure you're getting a degree symbol and not a zero exponent?
Those two are different - degree is a perfect circle while the zero exponent
is a tiny "0".

When I type ^0 I get a zero exponent: ⁰
Typing ALT 0 (in an xterm) gives me the degree: °

The degree symbol works when I paste it into LyX.  The zero exponent
does not print unless I change the document encoding to utf8x.
This encoding is available in LyX 1.5 - I don't know about earlier releases.

Helge Hafting








Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-09 Thread John Pye
Helge Hafting wrote:
> Are you sure you're getting a degree symbol and not a zero exponent?
> Those two are different - degree is a perfect circle while the zero
> exponent
> is a tiny "0".
>
> When I type ^0 I get a zero exponent: ⁰
> Typing ALT 0 (in an xterm) gives me the degree: °
>
> The degree symbol works when I paste it into LyX.  The zero exponent
> does not print unless I change the document encoding to utf8x.
> This encoding is available in LyX 1.5 - I don't know about earlier
> releases.
>
> Helge Hafting

On my keyboard, the r-alt ^ 0 sequence gives me the degree symbol: °

Interestingly, the sequence r-alt 0 ^ also gives me that. So obviously
the r-alt 0 can't work in this case.

I don't know what gives me the 0 exponent. I haven't messed with any
mappings other than to set right-alt as my compose key. This is a
standard Ubuntu 6.10 system.

Cheers
JP


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-08 Thread John Pye
Hi Michael,

I'm still trying to work out what's stopping my degree symbol from
showing up..

Michael Wojcik wrote:
 You could probably suppress that by filtering the LyX output through
 something to strip out the control characters.  For example:

 lyx -dbg key 21 | tr -dc '[:print:]\n'

 That should remove all characters that aren't printable, except newline.
That worked very nicely! You are wasted on the Windows world! The output
is at the bottom (ctrl-N r-alt ' e r-alt ^ 0). Lyx says Oof. Can't
encode the text ! -- which sounds like an error message, maybe?

Cheers
JP


Init key to 65535, Greek_psi
isOK is 1
isOK is 1
Init key to 65535, Greek_omega
isOK is 1
isOK is 1
Init key to 65535, Greek_switch
isOK is 1
isOK is 1
Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
KeySym is
isOK is 1
isMod is 0
encoding is
Using codec ISO 8859-1
ISOEncoded returning value 14
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) action first set to [3]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state)action now set to [3]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) Key [action=3][Ctrl+N]
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0,
KeySym is
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 233
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) action first set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state)action now set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) Key [action=-1][]
isText for key 0 isPrint is 1
isText() is true, inserting.
Cannot decode:
SelfInsert arg[`']
Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) action first set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state)action now set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) Key [action=-1][]
isText for key 0 isPrint is 1
isText() is true, inserting.
Save changed document?

The document newfile1.lyx has unsaved changes.

Do you want to save the document or discard the changes?
Assuming answer is Save
Discard
Cancel
[EMAIL PROTECTED]:~/ascend$




Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-08 Thread Michael Wojcik

John Pye wrote:

Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0


At this point, a LyX developer will have to weigh in, I'm afraid.  I've 
been meaning to grab the LyX sources and familiarize myself with the 
code, but haven't had time yet.  (My rather limited time for mucking 
about with other people's sources is currently taken up with writing 
Wireshark dissectors...)


The Can't encode the text by itself makes me suspicious that the ISO 
8859-1 codec isn't recognizing the degree symbol.  But the degree symbol 
is in ISO 8859-1 - it's code point 176.[1]


So my suspicions are on the lines Setting key to 0, ? and KeySym is 
?, which might mean that the input decoding process failed to recognize 
the composed character.


But at this point I think someone will actually have to look at the code 
to help you, I'm afraid.


Someone mentioned a similar problem in 2004, apparently unresolved.[2]


[1] http://htmlhelp.com/reference/charset/iso160-191.gif
[2] http://marc.theaimsgroup.com/?l=lyx-usersm=108853821905898w=2


--
Michael Wojcik



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-08 Thread John Pye
Hi Michael,

I'm still trying to work out what's stopping my degree symbol from
showing up..

Michael Wojcik wrote:
 You could probably suppress that by filtering the LyX output through
 something to strip out the control characters.  For example:

 lyx -dbg key 21 | tr -dc '[:print:]\n'

 That should remove all characters that aren't printable, except newline.
That worked very nicely! You are wasted on the Windows world! The output
is at the bottom (ctrl-N r-alt ' e r-alt ^ 0). Lyx says Oof. Can't
encode the text ! -- which sounds like an error message, maybe?

Cheers
JP


Init key to 65535, Greek_psi
isOK is 1
isOK is 1
Init key to 65535, Greek_omega
isOK is 1
isOK is 1
Init key to 65535, Greek_switch
isOK is 1
isOK is 1
Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
KeySym is
isOK is 1
isMod is 0
encoding is
Using codec ISO 8859-1
ISOEncoded returning value 14
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) action first set to [3]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state)action now set to [3]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) Key [action=3][Ctrl+N]
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0,
KeySym is
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 233
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) action first set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state)action now set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) Key [action=-1][]
isText for key 0 isPrint is 1
isText() is true, inserting.
Cannot decode:
SelfInsert arg[`']
Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) action first set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state)action now set to [-1]
void LyXFunc::processKeySym(boost::shared_ptrLyXKeySym,
key_modifier::state) Key [action=-1][]
isText for key 0 isPrint is 1
isText() is true, inserting.
Save changed document?

The document newfile1.lyx has unsaved changes.

Do you want to save the document or discard the changes?
Assuming answer is Save
Discard
Cancel
[EMAIL PROTECTED]:~/ascend$




Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-08 Thread Michael Wojcik

John Pye wrote:

Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0


At this point, a LyX developer will have to weigh in, I'm afraid.  I've 
been meaning to grab the LyX sources and familiarize myself with the 
code, but haven't had time yet.  (My rather limited time for mucking 
about with other people's sources is currently taken up with writing 
Wireshark dissectors...)


The Can't encode the text by itself makes me suspicious that the ISO 
8859-1 codec isn't recognizing the degree symbol.  But the degree symbol 
is in ISO 8859-1 - it's code point 176.[1]


So my suspicions are on the lines Setting key to 0, ? and KeySym is 
?, which might mean that the input decoding process failed to recognize 
the composed character.


But at this point I think someone will actually have to look at the code 
to help you, I'm afraid.


Someone mentioned a similar problem in 2004, apparently unresolved.[2]


[1] http://htmlhelp.com/reference/charset/iso160-191.gif
[2] http://marc.theaimsgroup.com/?l=lyx-usersm=108853821905898w=2


--
Michael Wojcik



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-08 Thread John Pye
Hi Michael,

I'm still trying to work out what's stopping my degree symbol from
showing up..

Michael Wojcik wrote:
> You could probably suppress that by filtering the LyX output through
> something to strip out the control characters.  For example:
>
> lyx -dbg key 2>&1 | tr -dc '[:print:]\n'
>
> That should remove all characters that aren't printable, except newline.
That worked very nicely! You are wasted on the Windows world! The output
is at the bottom (ctrl-N r-alt ' e r-alt ^ 0). Lyx says "Oof. Can't
encode the text !" -- which sounds like an error message, maybe?

Cheers
JP


Init key to 65535, Greek_psi
isOK is 1
isOK is 1
Init key to 65535, Greek_omega
isOK is 1
isOK is 1
Init key to 65535, Greek_switch
isOK is 1
isOK is 1
Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
KeySym is
isOK is 1
isMod is 0
encoding is
Using codec ISO 8859-1
ISOEncoded returning value 14
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state) action first set to [3]
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state)action now set to [3]
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state) Key [action=3][Ctrl+N]
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0,
KeySym is
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 233
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state) action first set to [-1]
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state)action now set to [-1]
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state) Key [action=-1][]
isText for key 0 isPrint is 1
isText() is true, inserting.
Cannot decode:
SelfInsert arg[`']
Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state) action first set to [-1]
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state)action now set to [-1]
void LyXFunc::processKeySym(boost::shared_ptr,
key_modifier::state) Key [action=-1][]
isText for key 0 isPrint is 1
isText() is true, inserting.
Save changed document?

The document newfile1.lyx has unsaved changes.

Do you want to save the document or discard the changes?
Assuming answer is 


[EMAIL PROTECTED]:~/ascend$




Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-08 Thread Michael Wojcik

John Pye wrote:

Setting key to 4128,
KeySym is Shift_L
isOK is 1
isMod is 1
isModifier true
sending IMStart with 0 chars to 0x86031c8
sending IMEnd with 1 chars to 0x86031c8, text=
Setting key to 0, ?
KeySym is ?
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
Oof. Can't encode the text !
ISOEncoded returning value 0


At this point, a LyX developer will have to weigh in, I'm afraid.  I've 
been meaning to grab the LyX sources and familiarize myself with the 
code, but haven't had time yet.  (My rather limited time for mucking 
about with other people's sources is currently taken up with writing 
Wireshark dissectors...)


The "Can't encode the text" by itself makes me suspicious that the ISO 
8859-1 codec isn't recognizing the degree symbol.  But the degree symbol 
is in ISO 8859-1 - it's code point 176.[1]


So my suspicions are on the lines "Setting key to 0, ?" and "KeySym is 
?", which might mean that the input decoding process failed to recognize 
the composed character.


But at this point I think someone will actually have to look at the code 
to help you, I'm afraid.


Someone mentioned a similar problem in 2004, apparently unresolved.[2]


[1] http://htmlhelp.com/reference/charset/iso160-191.gif
[2] http://marc.theaimsgroup.com/?l=lyx-users=108853821905898=2


--
Michael Wojcik



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread John Pye
Hi Michael

Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.

When I ran the debug thing like you said, I got some crazy output. The
sort of thing I usually see when I've got memory-related bugs in code
I've written. The following (see below) is from opening LyX as you said,
and typing EXACTLY:

ctrl-N
right-alt ' e
right-alt ^ 0
exit via window manager [X].

The first symbol (é) showed up in LyX. The second (°) did not. Have not
pasted *all* the output, as a lot of it was repetitive stuff like this:

Init key to 65535, Greek_epsilon
isOK is 1
isOK is 1
Init key to 65535, Greek_zeta
isOK is 1
...

Thoughts?

Cheers
JP


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
K␊≤S≤└ ␋⎽
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 14
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=3][C├⎼┌+N]
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=é
S␊├├␋┼± ┐␊≤ ├⎺ 0, é
K␊≤S≤└ ␋⎽ é
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 233
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
C▒┼┼⎺├ ␍␊␌⎺␍␊: é
S␊┌°I┼⎽␊⎼├ ▒⎼±[◆é']
S␊├├␋┼± ┐␊≤ ├⎺ 4128,
K␊≤S≤└ ␋⎽ S␤␋°├_L
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 1
␋⎽M⎺␍␋°␋␊⎼ ├⎼┤␊
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=⁰
S␊├├␋┼± ┐␊≤ ├⎺ 0, ?
K␊≤S≤└ ␋⎽ ?
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
O⎺°. C▒┼'├ ␊┼␌⎺␍␊ ├␤␊ ├␊│├ !
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 0
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
S▒┴␊ ␌␤▒┼±␊␍ ␍⎺␌┤└␊┼├?

T␤␊ ␍⎺␌┤└␊┼├ ┼␊┬°␋┌␊1.┌≤│ ␤▒⎽ ┤┼⎽▒┴␊␍ ␌␤▒┼±␊⎽.

D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ⎽▒┴␊ ├␤␊ ␍⎺␌┤└␊┼├ ⎺⎼ ␍␋⎽␌▒⎼␍ ├␤␊ ␌␤▒┼±␊⎽?
A⎽⎽┤└␋┼± ▒┼⎽┬␊⎼ ␋⎽ S▒┴␊
D␋⎽␌▒⎼␍
C▒┼␌␊┌
[EMAIL PROTECTED]:·$



Michael Wojcik wrote:
 John Pye wrote:

 Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
 key (I chose 'right ALT'). Once that is done, I can open a text editor
 (gedit) and get all the accented characters é and ô and ñ etc very
 nicely. I can even get the degree symbol using the sequence of keys
 (pressed and released in sequence): right-alt ^ 0. Like so: °

 But when I move over to LyX, the accented character come out correctly,
 but the degree symbol does not appear. Nothing appears when I use the
 same key sequence as above.

 I can copy the degree symbol and paste into LyX using Paste External
 Selection As Paragraphs, but I cannot generate the character directly in
 LyX.

 Try running LyX with lyx -dbg key and see what debug output you get
 when you try to insert the degree symbol using your compose key.

 When you paste the degree symbol into a document, does it appear
 correctly in DVI and PDF output?



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread Michael Wojcik

John Pye wrote:


Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.


Well, that's good, anyway.


When I ran the debug thing like you said, I got some crazy output.


[I've snipped the output, in case the non-ASCII characters pose problems 
for other readers.]


It appears that LyX is producing control characters in its debug output 
here, and that's changing the output character set in the tty where you 
ran lyx.


I don't know why LyX would be doing that - if it's a bug, or caused by 
something in your environment.  It's been a long time since I ran LyX on 
Linux.  (I actually prefer a Unix/Linux environment, but because I have 
to do most of my development work on Windows, it's easier to run LyX there.)


You could probably suppress that by filtering the LyX output through 
something to strip out the control characters.  For example:


lyx -dbg key 21 | tr -dc '[:print:]\n'

That should remove all characters that aren't printable, except newline.


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1


Maybe the Unicode locale is a problem; you could try using a different 
locale, just to see if that has any effect.


Other than that, I don't have any ideas.  I haven't had to muck about 
with LyX's input handling on Linux.


--
Michael Wojcik



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread John Pye
Hi Michael

Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.

When I ran the debug thing like you said, I got some crazy output. The
sort of thing I usually see when I've got memory-related bugs in code
I've written. The following (see below) is from opening LyX as you said,
and typing EXACTLY:

ctrl-N
right-alt ' e
right-alt ^ 0
exit via window manager [X].

The first symbol (é) showed up in LyX. The second (°) did not. Have not
pasted *all* the output, as a lot of it was repetitive stuff like this:

Init key to 65535, Greek_epsilon
isOK is 1
isOK is 1
Init key to 65535, Greek_zeta
isOK is 1
...

Thoughts?

Cheers
JP


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
K␊≤S≤└ ␋⎽
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 14
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=3][C├⎼┌+N]
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=é
S␊├├␋┼± ┐␊≤ ├⎺ 0, é
K␊≤S≤└ ␋⎽ é
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 233
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
C▒┼┼⎺├ ␍␊␌⎺␍␊: é
S␊┌°I┼⎽␊⎼├ ▒⎼±[◆é']
S␊├├␋┼± ┐␊≤ ├⎺ 4128,
K␊≤S≤└ ␋⎽ S␤␋°├_L
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 1
␋⎽M⎺␍␋°␋␊⎼ ├⎼┤␊
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=⁰
S␊├├␋┼± ┐␊≤ ├⎺ 0, ?
K␊≤S≤└ ␋⎽ ?
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
O⎺°. C▒┼'├ ␊┼␌⎺␍␊ ├␤␊ ├␊│├ !
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 0
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼L≤XK␊≤S≤└,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
S▒┴␊ ␌␤▒┼±␊␍ ␍⎺␌┤└␊┼├?

T␤␊ ␍⎺␌┤└␊┼├ ┼␊┬°␋┌␊1.┌≤│ ␤▒⎽ ┤┼⎽▒┴␊␍ ␌␤▒┼±␊⎽.

D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ⎽▒┴␊ ├␤␊ ␍⎺␌┤└␊┼├ ⎺⎼ ␍␋⎽␌▒⎼␍ ├␤␊ ␌␤▒┼±␊⎽?
A⎽⎽┤└␋┼± ▒┼⎽┬␊⎼ ␋⎽ S▒┴␊
D␋⎽␌▒⎼␍
C▒┼␌␊┌
[EMAIL PROTECTED]:·$



Michael Wojcik wrote:
 John Pye wrote:

 Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
 key (I chose 'right ALT'). Once that is done, I can open a text editor
 (gedit) and get all the accented characters é and ô and ñ etc very
 nicely. I can even get the degree symbol using the sequence of keys
 (pressed and released in sequence): right-alt ^ 0. Like so: °

 But when I move over to LyX, the accented character come out correctly,
 but the degree symbol does not appear. Nothing appears when I use the
 same key sequence as above.

 I can copy the degree symbol and paste into LyX using Paste External
 Selection As Paragraphs, but I cannot generate the character directly in
 LyX.

 Try running LyX with lyx -dbg key and see what debug output you get
 when you try to insert the degree symbol using your compose key.

 When you paste the degree symbol into a document, does it appear
 correctly in DVI and PDF output?



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread Michael Wojcik

John Pye wrote:


Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.


Well, that's good, anyway.


When I ran the debug thing like you said, I got some crazy output.


[I've snipped the output, in case the non-ASCII characters pose problems 
for other readers.]


It appears that LyX is producing control characters in its debug output 
here, and that's changing the output character set in the tty where you 
ran lyx.


I don't know why LyX would be doing that - if it's a bug, or caused by 
something in your environment.  It's been a long time since I ran LyX on 
Linux.  (I actually prefer a Unix/Linux environment, but because I have 
to do most of my development work on Windows, it's easier to run LyX there.)


You could probably suppress that by filtering the LyX output through 
something to strip out the control characters.  For example:


lyx -dbg key 21 | tr -dc '[:print:]\n'

That should remove all characters that aren't printable, except newline.


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1


Maybe the Unicode locale is a problem; you could try using a different 
locale, just to see if that has any effect.


Other than that, I don't have any ideas.  I haven't had to muck about 
with LyX's input handling on Linux.


--
Michael Wojcik



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread John Pye
Hi Michael

Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.

When I ran the debug thing like you said, I got some crazy output. The
sort of thing I usually see when I've got memory-related bugs in code
I've written. The following (see below) is from opening LyX as you said,
and typing EXACTLY:

ctrl-N
right-alt ' e
right-alt ^ 0
exit via window manager [X].

The first symbol (é) showed up in LyX. The second (°) did not. Have not
pasted *all* the output, as a lot of it was repetitive stuff like this:

Init key to 65535, Greek_epsilon
isOK is 1
isOK is 1
Init key to 65535, Greek_zeta
isOK is 1
...

Thoughts?

Cheers
JP


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1
Setting key to 4129,
KeySym is Control_L
isOK is 1
isMod is 1
isModifier true
Setting key to 78,
K␊≤S≤└ ␋⎽
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 14
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [3]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=3][C├⎼┌+N]
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=é
S␊├├␋┼± ┐␊≤ ├⎺ 0, é
K␊≤S≤└ ␋⎽ é
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 233
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
C▒┼┼⎺├ ␍␊␌⎺␍␊: é
S␊┌°I┼⎽␊⎼├ ▒⎼±[◆é']
S␊├├␋┼± ┐␊≤ ├⎺ 4128,
K␊≤S≤└ ␋⎽ S␤␋°├_L
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 1
␋⎽M⎺␍␋°␋␊⎼ ├⎼┤␊
⎽␊┼␍␋┼± IMS├▒⎼├ ┬␋├␤ 0 ␌␤▒⎼⎽ ├⎺ 0│8603198
⎽␊┼␍␋┼± IME┼␍ ┬␋├␤ 1 ␌␤▒⎼⎽ ├⎺ 0│8603198, ├␊│├=⁰
S␊├├␋┼± ┐␊≤ ├⎺ 0, ?
K␊≤S≤└ ␋⎽ ?
␋⎽OK ␋⎽ 1
␋⎽M⎺␍ ␋⎽ 0
␊┼␌⎺␍␋┼± ␋⎽ ␋⎽⎺8859-1
U⎽␋┼± ␌⎺␍␊␌ ISO 8859-1
O⎺°. C▒┼'├ ␊┼␌⎺␍␊ ├␤␊ ├␊│├ !
ISOE┼␌⎺␍␊␍ ⎼␊├┤⎼┼␋┼± ┴▒┌┤␊ 0
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) ▒␌├␋⎺┼ °␋⎼⎽├ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊)▒␌├␋⎺┼ ┼⎺┬ ⎽␊├ ├⎺ [-1]
┴⎺␋␍ L≤XF┤┼␌::⎻⎼⎺␌␊⎽⎽K␊≤S≤└(␉⎺⎺⎽├::⎽␤▒⎼␊␍_⎻├⎼<L≤XK␊≤S≤└>,
┐␊≤_└⎺␍␋°␋␊⎼::⎽├▒├␊) K␊≤ [▒␌├␋⎺┼=-1][]
␋⎽T␊│├ °⎺⎼ ┐␊≤ 0 ␋⎽P⎼␋┼├ ␋⎽ 1
␋⎽T␊│├() ␋⎽ ├⎼┤␊, ␋┼⎽␊⎼├␋┼±.
S▒┴␊ ␌␤▒┼±␊␍ ␍⎺␌┤└␊┼├?

T␤␊ ␍⎺␌┤└␊┼├ ┼␊┬°␋┌␊1.┌≤│ ␤▒⎽ ┤┼⎽▒┴␊␍ ␌␤▒┼±␊⎽.

D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ⎽▒┴␊ ├␤␊ ␍⎺␌┤└␊┼├ ⎺⎼ ␍␋⎽␌▒⎼␍ ├␤␊ ␌␤▒┼±␊⎽?
A⎽⎽┤└␋┼± ▒┼⎽┬␊⎼ ␋⎽ ▒┴␊
␋⎽␌▒⎼␍
▒┼␌␊┌
[EMAIL PROTECTED]:·$



Michael Wojcik wrote:
> John Pye wrote:
>>
>> Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
>> key (I chose 'right ALT'). Once that is done, I can open a text editor
>> (gedit) and get all the accented characters é and ô and ñ etc very
>> nicely. I can even get the degree symbol using the sequence of keys
>> (pressed and released in sequence): right-alt ^ 0. Like so: °
>>
>> But when I move over to LyX, the accented character come out correctly,
>> but the degree symbol does not appear. Nothing appears when I use the
>> same key sequence as above.
>>
>> I can copy the degree symbol and paste into LyX using Paste External
>> Selection As Paragraphs, but I cannot generate the character directly in
>> LyX.
>
> Try running LyX with "lyx -dbg key" and see what debug output you get
> when you try to insert the degree symbol using your compose key.
>
> When you paste the degree symbol into a document, does it appear
> correctly in DVI and PDF output?
>


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-07 Thread Michael Wojcik

John Pye wrote:


Thanks for replying. I tried pasting the degree symbol and viewing with
pdflatex. All looks fine. I pasted some accented latin-1 letters as
well, all worked fine.


Well, that's good, anyway.


When I ran the debug thing like you said, I got some crazy output.


[I've snipped the output, in case the non-ASCII characters pose problems 
for other readers.]


It appears that LyX is producing control characters in its debug output 
here, and that's changing the output character set in the tty where you 
ran lyx.


I don't know why LyX would be doing that - if it's a bug, or caused by 
something in your environment.  It's been a long time since I ran LyX on 
Linux.  (I actually prefer a Unix/Linux environment, but because I have 
to do most of my development work on Windows, it's easier to run LyX there.)


You could probably suppress that by filtering the LyX output through 
something to strip out the control characters.  For example:


lyx -dbg key 2>&1 | tr -dc '[:print:]\n'

That should remove all characters that aren't printable, except newline.


Warning: this system's locale uses Unicode.
Language code:en_US
Setting new encoding for Qt:iso8859-1


Maybe the Unicode locale is a problem; you could try using a different 
locale, just to see if that has any effect.


Other than that, I don't have any ideas.  I haven't had to muck about 
with LyX's input handling on Linux.


--
Michael Wojcik



Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-06 Thread Roland Schmitz
Hi John,

when i'm looking for Symbols, i use
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Here you ca find almost everything ;-}

-- 

Mit freundlichen Gruessen   Yours Sincerely

Roland Schmitz


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-06 Thread Roland Schmitz
Hi John,

when i'm looking for Symbols, i use
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Here you ca find almost everything ;-}

-- 

Mit freundlichen Gruessen   Yours Sincerely

Roland Schmitz


Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-06 Thread Roland Schmitz
Hi John,

when i'm looking for Symbols, i use
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
Here you ca find "almost everything" ;-}

-- 

Mit freundlichen Gruessen   Yours Sincerely

Roland Schmitz


degree symbol in lyx on ubuntu with the Compose key

2007-03-05 Thread John Pye
Hi all

I have been trying to work out how to make the degree symbol appear in
Lyx. There was a thread on this recently but it was all about using
mathematical equations, whereas I want to just insert the symbol as a
regular character.

Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
key (I chose 'right ALT'). Once that is done, I can open a text editor
(gedit) and get all the accented characters é and ô and ñ etc very
nicely. I can even get the degree symbol using the sequence of keys
(pressed and released in sequence): right-alt  ^  0.  Like so: °

But when I move over to LyX, the accented character come out correctly,
but the degree symbol does not appear. Nothing appears when I use the
same key sequence as above.

I can copy the degree symbol and paste into LyX using Paste External
Selection As Paragraphs, but I cannot generate the character directly in
LyX.

This is ubuntu 6.10 running standard deb package LyX 1.4.3.

Has anyone using Ubuntu been able to make this work correctly?

Cheers
JP


-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



degree symbol in lyx on ubuntu with the Compose key

2007-03-05 Thread John Pye
Hi all

I have been trying to work out how to make the degree symbol appear in
Lyx. There was a thread on this recently but it was all about using
mathematical equations, whereas I want to just insert the symbol as a
regular character.

Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
key (I chose 'right ALT'). Once that is done, I can open a text editor
(gedit) and get all the accented characters é and ô and ñ etc very
nicely. I can even get the degree symbol using the sequence of keys
(pressed and released in sequence): right-alt  ^  0.  Like so: °

But when I move over to LyX, the accented character come out correctly,
but the degree symbol does not appear. Nothing appears when I use the
same key sequence as above.

I can copy the degree symbol and paste into LyX using Paste External
Selection As Paragraphs, but I cannot generate the character directly in
LyX.

This is ubuntu 6.10 running standard deb package LyX 1.4.3.

Has anyone using Ubuntu been able to make this work correctly?

Cheers
JP


-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



degree symbol in lyx on ubuntu with the Compose key

2007-03-05 Thread John Pye
Hi all

I have been trying to work out how to make the degree symbol appear in
Lyx. There was a thread on this recently but it was all about using
mathematical equations, whereas I want to just insert the symbol as a
regular character.

Under Ubuntu, one can use the Keyboard preferences to set up a 'Compose'
key (I chose 'right ALT'). Once that is done, I can open a text editor
(gedit) and get all the accented characters é and ô and ñ etc very
nicely. I can even get the degree symbol using the sequence of keys
(pressed and released in sequence): right-alt  ^  0.  Like so: °

But when I move over to LyX, the accented character come out correctly,
but the degree symbol does not appear. Nothing appears when I use the
same key sequence as above.

I can copy the degree symbol and paste into LyX using Paste External
Selection As Paragraphs, but I cannot generate the character directly in
LyX.

This is ubuntu 6.10 running standard deb package LyX 1.4.3.

Has anyone using Ubuntu been able to make this work correctly?

Cheers
JP


-- 
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/



Re: How to insert the degree symbol

2007-03-01 Thread Michael Abshoff
Darren Freeman wrote:
 Hi all,

 I looked around and didn't see this - hopefully not blatantly obvious.

 How do I insert the degree symbol? As in, 360 degrees to a circle. I
 guess there should also be minutes and seconds.

 Have fun,
 Darren



Hello Darren,

in math-mode or with ERT you can use ^\circ

Cheers,

Michael



Re: How to insert the degree symbol

2007-03-01 Thread Michael Wojcik

Darren Freeman wrote:


I looked around and didn't see this - hopefully not blatantly obvious.

How do I insert the degree symbol? As in, 360 degrees to a circle. I
guess there should also be minutes and seconds.


You don't mention what platform you're running on.  On Windows, you can 
just insert the character normally, using Character Map or Alt-0176 (on 
the numeric keypad), or any of the various utilities that let you type 
characters not on your keyboard (eg AllChars).


You can also use \textdegree in ERT for the degree sign.

For minutes my preference would be to use the straight apostrophe and 
double-quote.  The straight double-quote character is available as 
Insert | Special Character | Ordinary Quote. (cua.bind also supposedly 
makes it C-quotedbl, but that doesn't work for me with LyX 1.3.5 on 
Windows; might be fixed in a less ancient version.)


However, there's no obvious LyX mechanism to get straight apostrophe. 
In fact, I don't even know if there's a way to get it in LaTeX.  It's 
not listed in the LaTeX ISO entity reference [1].


There's also prime and Prime (aka double prime), which are ^\prime and 
{''}, respectively, in math-mode; you can also enter those in ERT as 
$^\prime$ and ${''}$.  The LaTeX ISO character reference sheet lists 
these as prime or minute and double prime or second, so I guess 
they're the official minute/second glyphs.  Not terribly lovely or 
convenient, though.


There's also variant prime, {'} in math-mode or ${'}$ in ERT, as 
an alternative to ^\prime; that's a bit more consistent.


I suppose you could put the whole expression in math-mode, and use 
^\circ (superscript circle) for the degree sign.  That's a bit tricky 
if you're not used to working in math mode.  Say for example you want 20 
degrees, 30 minutes, 40 seconds.  Enter math mode (the a+b/c button on 
the toolbar), then type 20^\circ (without the quotes).  Press 
right-arrow twice to terminate the \circ entity and get out of the 
superscript box.  Type 30\{' and press right-arrow to get past the }, 
which LyX automatically inserts for you.  Type 40\{'' and press 
right-arrow to get past the }, then space to get out of math-mode.



So, in summary, I'd say math-mode works OK, but this looks like a golden 
opportunity to practice LyX customization to make it easier to enter 
this kind of information, if you have to do it more than once or twice.



[1] http://www.bitjungle.com/isoent/

--
Michael Wojcik



Re: How to insert the degree symbol

2007-03-01 Thread Michael Abshoff
Darren Freeman wrote:
 Hi all,

 I looked around and didn't see this - hopefully not blatantly obvious.

 How do I insert the degree symbol? As in, 360 degrees to a circle. I
 guess there should also be minutes and seconds.

 Have fun,
 Darren



Hello Darren,

in math-mode or with ERT you can use ^\circ

Cheers,

Michael



Re: How to insert the degree symbol

2007-03-01 Thread Michael Wojcik

Darren Freeman wrote:


I looked around and didn't see this - hopefully not blatantly obvious.

How do I insert the degree symbol? As in, 360 degrees to a circle. I
guess there should also be minutes and seconds.


You don't mention what platform you're running on.  On Windows, you can 
just insert the character normally, using Character Map or Alt-0176 (on 
the numeric keypad), or any of the various utilities that let you type 
characters not on your keyboard (eg AllChars).


You can also use \textdegree in ERT for the degree sign.

For minutes my preference would be to use the straight apostrophe and 
double-quote.  The straight double-quote character is available as 
Insert | Special Character | Ordinary Quote. (cua.bind also supposedly 
makes it C-quotedbl, but that doesn't work for me with LyX 1.3.5 on 
Windows; might be fixed in a less ancient version.)


However, there's no obvious LyX mechanism to get straight apostrophe. 
In fact, I don't even know if there's a way to get it in LaTeX.  It's 
not listed in the LaTeX ISO entity reference [1].


There's also prime and Prime (aka double prime), which are ^\prime and 
{''}, respectively, in math-mode; you can also enter those in ERT as 
$^\prime$ and ${''}$.  The LaTeX ISO character reference sheet lists 
these as prime or minute and double prime or second, so I guess 
they're the official minute/second glyphs.  Not terribly lovely or 
convenient, though.


There's also variant prime, {'} in math-mode or ${'}$ in ERT, as 
an alternative to ^\prime; that's a bit more consistent.


I suppose you could put the whole expression in math-mode, and use 
^\circ (superscript circle) for the degree sign.  That's a bit tricky 
if you're not used to working in math mode.  Say for example you want 20 
degrees, 30 minutes, 40 seconds.  Enter math mode (the a+b/c button on 
the toolbar), then type 20^\circ (without the quotes).  Press 
right-arrow twice to terminate the \circ entity and get out of the 
superscript box.  Type 30\{' and press right-arrow to get past the }, 
which LyX automatically inserts for you.  Type 40\{'' and press 
right-arrow to get past the }, then space to get out of math-mode.



So, in summary, I'd say math-mode works OK, but this looks like a golden 
opportunity to practice LyX customization to make it easier to enter 
this kind of information, if you have to do it more than once or twice.



[1] http://www.bitjungle.com/isoent/

--
Michael Wojcik



Re: How to insert the degree symbol

2007-03-01 Thread Michael Abshoff
Darren Freeman wrote:
> Hi all,
>
> I looked around and didn't see this - hopefully not blatantly obvious.
>
> How do I insert the "degree" symbol? As in, 360 degrees to a circle. I
> guess there should also be minutes and seconds.
>
> Have fun,
> Darren
>
>

Hello Darren,

in math-mode or with ERT you can use ^\circ

Cheers,

Michael



Re: How to insert the degree symbol

2007-03-01 Thread Michael Wojcik

Darren Freeman wrote:


I looked around and didn't see this - hopefully not blatantly obvious.

How do I insert the "degree" symbol? As in, 360 degrees to a circle. I
guess there should also be minutes and seconds.


You don't mention what platform you're running on.  On Windows, you can 
just insert the character normally, using Character Map or Alt-0176 (on 
the numeric keypad), or any of the various utilities that let you type 
characters not on your keyboard (eg AllChars).


You can also use \textdegree in ERT for the degree sign.

For minutes my preference would be to use the straight apostrophe and 
double-quote.  The straight double-quote character is available as 
Insert | Special Character | Ordinary Quote. (cua.bind also supposedly 
makes it C-quotedbl, but that doesn't work for me with LyX 1.3.5 on 
Windows; might be fixed in a less ancient version.)


However, there's no obvious LyX mechanism to get straight apostrophe. 
In fact, I don't even know if there's a way to get it in LaTeX.  It's 
not listed in the LaTeX ISO entity reference [1].


There's also prime and Prime (aka double prime), which are "^\prime" and 
"{''}", respectively, in math-mode; you can also enter those in ERT as 
"$^\prime$" and "${''}$".  The LaTeX ISO character reference sheet lists 
these as "prime or minute" and "double prime or second", so I guess 
they're the official minute/second glyphs.  Not terribly lovely or 
convenient, though.


There's also "variant prime", "{'}" in math-mode or "${'}$" in ERT, as 
an alternative to ^\prime; that's a bit more consistent.


I suppose you could put the whole expression in math-mode, and use 
"^\circ" (superscript circle) for the degree sign.  That's a bit tricky 
if you're not used to working in math mode.  Say for example you want 20 
degrees, 30 minutes, 40 seconds.  Enter math mode (the "a+b/c" button on 
the toolbar), then type "20^\circ" (without the quotes).  Press 
right-arrow twice to terminate the \circ entity and get out of the 
superscript box.  Type "30\{'" and press right-arrow to get past the }, 
which LyX automatically inserts for you.  Type "40\{''" and press 
right-arrow to get past the }, then space to get out of math-mode.



So, in summary, I'd say math-mode works OK, but this looks like a golden 
opportunity to practice LyX customization to make it easier to enter 
this kind of information, if you have to do it more than once or twice.



[1] http://www.bitjungle.com/isoent/

--
Michael Wojcik



Degree symbol?

2004-02-14 Thread Maria Torres
How do I insert the degree circle symbol?
Thanks,
Maria

=
 
And now a note from our sponsors!

Language translations services! 
English, Spanish, Portuguese, Italian, German, Russian, Japanese, Chinese, and Korean! 
E-mail [EMAIL PROTECTED]

Brand new DVD's at huge discounts! All adult genres! 
E-mail [EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


Re: Degree symbol?

2004-02-14 Thread Vaclav Smidl
As far as I know, there is no standard macro for this.
(I guess in some fonts it is character 228).

However, I usually use:
\newcommand\degree{\ensuremath{^{\circ}}}
in preamble, and then \degree{} in ERT in text.

Vasek



On Saturday 14 of February 2004 15:58, Maria Torres wrote:
 How do I insert the degree circle symbol?
 Thanks,
 Maria

 =
 
 And now a note from our sponsors!

 Language translations services!
 English, Spanish, Portuguese, Italian, German, Russian, Japanese, Chinese,
 and Korean! E-mail [EMAIL PROTECTED]

 Brand new DVD's at huge discounts! All adult genres!
 E-mail [EMAIL PROTECTED]

 __
 Do you Yahoo!?
 Yahoo! Finance: Get your refund fast by filing online.
 http://taxes.yahoo.com/filing.html



RE: Degree symbol?

2004-02-14 Thread Jim Ragsdale
I usually use \textdegree for the little circle or \textcelsius if I want
degreeC. \textdegree works but \textcelsius i need to put
\usepackage{textcomp} in the preamble. What is the proper way to include
symbols like these? Do you put them in ERT? I have tried mathmode and it
works but produces a Latex warning. I just tried ERT today, and that seems
to work.

What about textmode? Is that just the environment when you hit Ctrl-M twice?
What is it used for?

Thanks,
Jim Ragsdale

 -Original Message-
 From: Maria Torres [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 14, 2004 2:59 PM
 To: [EMAIL PROTECTED]
 Subject: Degree symbol?


 How do I insert the degree circle symbol?
 Thanks,
 Maria

 =
 
 And now a note from our sponsors!

 Language translations services!
 English, Spanish, Portuguese, Italian, German, Russian, Japanese,
 Chinese, and Korean! E-mail [EMAIL PROTECTED]

 Brand new DVD's at huge discounts! All adult genres!
 E-mail [EMAIL PROTECTED]

 __
 Do you Yahoo!?
 Yahoo! Finance: Get your refund fast by filing online.
 http://taxes.yahoo.com/filing.html



Degree symbol?

2004-02-14 Thread Maria Torres
How do I insert the degree circle symbol?
Thanks,
Maria

=
 
And now a note from our sponsors!

Language translations services! 
English, Spanish, Portuguese, Italian, German, Russian, Japanese, Chinese, and Korean! 
E-mail [EMAIL PROTECTED]

Brand new DVD's at huge discounts! All adult genres! 
E-mail [EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


Re: Degree symbol?

2004-02-14 Thread Vaclav Smidl
As far as I know, there is no standard macro for this.
(I guess in some fonts it is character 228).

However, I usually use:
\newcommand\degree{\ensuremath{^{\circ}}}
in preamble, and then \degree{} in ERT in text.

Vasek



On Saturday 14 of February 2004 15:58, Maria Torres wrote:
 How do I insert the degree circle symbol?
 Thanks,
 Maria

 =
 
 And now a note from our sponsors!

 Language translations services!
 English, Spanish, Portuguese, Italian, German, Russian, Japanese, Chinese,
 and Korean! E-mail [EMAIL PROTECTED]

 Brand new DVD's at huge discounts! All adult genres!
 E-mail [EMAIL PROTECTED]

 __
 Do you Yahoo!?
 Yahoo! Finance: Get your refund fast by filing online.
 http://taxes.yahoo.com/filing.html



RE: Degree symbol?

2004-02-14 Thread Jim Ragsdale
I usually use \textdegree for the little circle or \textcelsius if I want
degreeC. \textdegree works but \textcelsius i need to put
\usepackage{textcomp} in the preamble. What is the proper way to include
symbols like these? Do you put them in ERT? I have tried mathmode and it
works but produces a Latex warning. I just tried ERT today, and that seems
to work.

What about textmode? Is that just the environment when you hit Ctrl-M twice?
What is it used for?

Thanks,
Jim Ragsdale

 -Original Message-
 From: Maria Torres [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 14, 2004 2:59 PM
 To: [EMAIL PROTECTED]
 Subject: Degree symbol?


 How do I insert the degree circle symbol?
 Thanks,
 Maria

 =
 
 And now a note from our sponsors!

 Language translations services!
 English, Spanish, Portuguese, Italian, German, Russian, Japanese,
 Chinese, and Korean! E-mail [EMAIL PROTECTED]

 Brand new DVD's at huge discounts! All adult genres!
 E-mail [EMAIL PROTECTED]

 __
 Do you Yahoo!?
 Yahoo! Finance: Get your refund fast by filing online.
 http://taxes.yahoo.com/filing.html



Degree symbol?

2004-02-14 Thread Maria Torres
How do I insert the degree circle symbol?
Thanks,
Maria

=
 
And now a note from our sponsors!

Language translations services! 
English, Spanish, Portuguese, Italian, German, Russian, Japanese, Chinese, and Korean! 
E-mail [EMAIL PROTECTED]

Brand new DVD's at huge discounts! All adult genres! 
E-mail [EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


Re: Degree symbol?

2004-02-14 Thread Vaclav Smidl
As far as I know, there is no standard macro for this.
(I guess in some fonts it is character 228).

However, I usually use:
\newcommand\degree{\ensuremath{^{\circ}}}
in preamble, and then \degree{} in ERT in text.

Vasek



On Saturday 14 of February 2004 15:58, Maria Torres wrote:
> How do I insert the degree circle symbol?
> Thanks,
> Maria
>
> =
> 
> And now a note from our sponsors!
>
> Language translations services!
> English, Spanish, Portuguese, Italian, German, Russian, Japanese, Chinese,
> and Korean! E-mail [EMAIL PROTECTED]
>
> Brand new DVD's at huge discounts! All adult genres!
> E-mail [EMAIL PROTECTED]
>
> __
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html



RE: Degree symbol?

2004-02-14 Thread Jim Ragsdale
I usually use \textdegree for the little circle or \textcelsius if I want
degreeC. \textdegree works but \textcelsius i need to put
\usepackage{textcomp} in the preamble. What is the proper way to include
symbols like these? Do you put them in ERT? I have tried mathmode and it
works but produces a Latex warning. I just tried ERT today, and that seems
to work.

What about textmode? Is that just the environment when you hit Ctrl-M twice?
What is it used for?

Thanks,
Jim Ragsdale

> -Original Message-
> From: Maria Torres [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 14, 2004 2:59 PM
> To: [EMAIL PROTECTED]
> Subject: Degree symbol?
>
>
> How do I insert the degree circle symbol?
> Thanks,
> Maria
>
> =
> 
> And now a note from our sponsors!
>
> Language translations services!
> English, Spanish, Portuguese, Italian, German, Russian, Japanese,
> Chinese, and Korean! E-mail [EMAIL PROTECTED]
>
> Brand new DVD's at huge discounts! All adult genres!
> E-mail [EMAIL PROTECTED]
>
> __
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html



degree symbol

2001-11-08 Thread Rodney Kanno

How do I insert a degree symbol? I tried doing a insert = special 
character = superscript = o but the o does not look quite right...is 
there another way of doing this?

Rodney




  1   2   >