Re: [NTG-context] tilde character
Am 14.03.22 um 18:45 schrieb Aditya Mahajan: On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote: Hi, I’ve a stupid question: How do I get the default tilde character from a font? ~ is a fixed space \texttilde gives a tilde accent \utfchar{0x007E} yields a space (probably the same as ~) \textasciitilde Thank you! Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] tilde character
On Mon, 14 Mar 2022 18:36:08 +0100 Henning Hraban Ramm via ntg-context wrote: > How do I get the default tilde character from a font? \starttext \startasciimode a~b \stopasciimode a\textasciitilde b \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] tilde character
Henning Hraban Ramm via ntg-context schrieb am 14.03.2022 um 18:36: Hi, I’ve a stupid question: How do I get the default tilde character from a font? ~ is a fixed space \texttilde gives a tilde accent \utfchar{0x007E} yields a space (probably the same as ~) \lettertilde Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] tilde character
On Mon, 14 Mar 2022, Henning Hraban Ramm via ntg-context wrote: > Hi, I’ve a stupid question: How do I get the default tilde character > from a font? > > ~ is a fixed space > \texttilde gives a tilde accent > \utfchar{0x007E} yields a space (probably the same as ~) \textasciitilde Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] tilde character
Hi, I’ve a stupid question: How do I get the default tilde character from a font? ~ is a fixed space \texttilde gives a tilde accent \utfchar{0x007E} yields a space (probably the same as ~) Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] tilde in math
On 8/11/2017 7:45 PM, Alan Braslau wrote: On Fri, 11 Aug 2017 16:15:06 +0200 Hans Hagenwrote: Question: does anyone rely on ~ being active and a nbsp in math mode? Hi Hans, This is quite common practice in the TeX world. I have configured my text editor to highlight the utf-8 nbsp, and I use it largely in text mode. However, it is often my practice to still use the tilde in math mode, as its explicit presence is always there for a reason, in order to achieve some effect. So I am accustomed to interpreting the tilde in math mode in this way. The question as to whether or not this use within ConTeXt should be promoted/encouraged is another one. Let me simply suggest that many users simply copy equations from one source to another, and so it may be valuable to remain compatible with (La)TeX usage. it can become an option some day then ... because it permits auto-resolving ~= to the proper symbol (as we do with := and such) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] tilde in math
On Fri, 11 Aug 2017 16:15:06 +0200 Hans Hagenwrote: > Question: does anyone rely on ~ being active and a nbsp in math mode? Hi Hans, This is quite common practice in the TeX world. I have configured my text editor to highlight the utf-8 nbsp, and I use it largely in text mode. However, it is often my practice to still use the tilde in math mode, as its explicit presence is always there for a reason, in order to achieve some effect. So I am accustomed to interpreting the tilde in math mode in this way. The question as to whether or not this use within ConTeXt should be promoted/encouraged is another one. Let me simply suggest that many users simply copy equations from one source to another, and so it may be valuable to remain compatible with (La)TeX usage. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] tilde in math
Hi, Question: does anyone rely on ~ being active and a nbsp in math mode? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] tilde
Hallo, if I want a non-breaking-space I use a tilde '~' sign. For example in: bakerstreet~13 This has worked in my old context. But now, after my update, I get an very long space. Minimal example: \starttext \framed[align=flushright,width=broad]{Hello~World!} \stoptext Is this a bug? What else kann I use for a non-breaking-space? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] tilde
On 2011-10-25 Wolfgang Werners-Lucchini w...@musensturm.de wrote: if I want a non-breaking-space I use a tilde '~' sign. For example in: bakerstreet~13 This has worked in my old context. But now, after my update, I get an very long space. Minimal example: \starttext \framed[align=flushright,width=broad]{Hello~World!} \stoptext Is this a bug? Confirmed. Works here with 2011.06.11 16:45 and fails with 2011.10.24 21:26. What else kann I use for a non-breaking-space? Use a 'NO-BREAK SPACE' (U+00A0). But the behaviour persists. Maybe a better minimal example: \starttext \framed[align=flushright,width=broad]{Hello~World!} \framed[align=flushright,width=broad]{Hello World!} \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Tilde in page numbers
Hey list, I have my page numbers setup as follows so that page numbers are flanked with tildes. \setuppagenumbering [location=right, way=bytext, left={\~},right={\~}, color=colour_page_number, style=bold] ConTeXt chokes on the parameters to left and right: ! Undefined control sequence. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tilde in page numbers
On Wed, Jul 6, 2011 at 7:59 AM, Kip Warner k...@thevertigo.com wrote: Hey list, I have my page numbers setup as follows so that page numbers are flanked with tildes. \setuppagenumbering [location=right, way=bytext, left={\~},right={\~}, color=colour_page_number, style=bold] ConTeXt chokes on the parameters to left and right: ! Undefined control sequence. (untested) what about \lettertilde instead of \~ ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tilde in page numbers
On Wed, 2011-07-06 at 08:08 +0200, luigi scarso wrote: (untested) what about \lettertilde instead of \~ ? Thanks Luigi. That did it. Although, I think if I was using it properly as an escape sequence, then perhaps we have found a bug. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tilde in page numbers
On Tue, 5 Jul 2011, Kip Warner wrote: On Wed, 2011-07-06 at 08:08 +0200, luigi scarso wrote: (untested) what about \lettertilde instead of \~ ? Thanks Luigi. That did it. Although, I think if I was using it properly as an escape sequence, \~ is the plain TeX macro for placing the ~ accent. Try \~a etc. The correct way to access a tilde is \lettertilde and \texttilde (or \textasciitilde) depending on what glyph you want. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tilde in page numbers
On Wed, Jul 6, 2011 at 8:13 AM, Kip Warner k...@thevertigo.com wrote: On Wed, 2011-07-06 at 08:08 +0200, luigi scarso wrote: (untested) what about \lettertilde instead of \~ ? Thanks Luigi. That did it. Although, I think if I was using it properly as an escape sequence, then perhaps we have found a bug. As Aditya said \~ is a plain TeX macro. As general rule it doesn't hurt to know about plain TeX, at least for mkii (and yes, it's not like laTeX.) -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tilde in page numbers
On Wed, 2011-07-06 at 02:23 -0400, Aditya Mahajan wrote: \~ is the plain TeX macro for placing the ~ accent. Try \~a etc. The correct way to access a tilde is \lettertilde and \texttilde (or \textasciitilde) depending on what glyph you want. Aditya Thanks Aditya. If I had more time, I'd be updating the wiki and pdfs with all the answers to these questions. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___