Re: OT: checked box symbol
Hello On Mon, Sep 19, 2011 at 11:44 AM, Olivier Ripoll durocortorum73-gm...@yahoo.fr wrote: Using the normal Palatino font, I can get the checkboxes (3 states of them) using the insert-special characters-symbols... (in the miscellaneous symbols category). I tried your suggestion and after inspecting the resulting PDF I noticed that the checkboxes weren't Palatino, but provided by 'wasysym'. As I complained in the original post, I didn't quite like them. It's nice to know that LyX is able to perform such substitutions on the fly, but in this case it's not what I want. When using xetex/luatex (documents- settings- fonts), and choosing Palatina Lynotype font, they are replaced by a spiral in the pdf. Probably they are not available in that font, because they work fine with Deja Vu Sans. I don't have Palatina Lynotype, but I found a way to trick LyX when using non-TeX fonts: select 'URW Palladio' for Roman and 'Deja Vu Sans' for Sans Serif, and then write your text in Roman but make sure that the symbols inserted are marked as Sans. (See attached.) I think I may go with this solution. The only caveat is that this assumes that you don't use Sans for much else in the document. Thank you Liviu newfile1.lyx Description: Binary data
Re: OT: checked box symbol
Hello On Tue, Sep 20, 2011 at 9:10 AM, Guenter Milde mi...@users.berlios.de wrote: You could, e.g. use TeXGyre Pagella as main font. Then set up a secondary font containing the required symbol with fontspec in the user preamble I tried this approach and after a bit of experimenting I came up with a solution that allows me to use the necessary main fonts and add a secondary 'DejaVu Sans' font family just for the checkbox. and use it changing fonts with ERT or a text style. Now I can only use ERT to insert the checkbox. (See attached.) To use a text style, would I need to define a custom inset in a new module? Or is there a simpler approach? Regards Liviu newfile1.lyx Description: Binary data
Re: OT: checked box symbol
On Mon, Sep 19, 2011 at 10:45 AM, PhilipPirrip p...@net.hr wrote: How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox That's an interesting approach, albeit a bit hackish. For the moment I think I'll stick to Guenter's suggestion. Regards Liviu or making a math macro of that kind? I can see that there's also a kern command implemented in the math environment in LyX, but I don't know how to use it. Yet another way would be to use http://www.fileformat.info/info/unicode/char/2611/ballot_box_with_check.svg -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: OT: checked box symbol
On 09/25/2011 12:21 PM, Liviu Andronic wrote: On Mon, Sep 19, 2011 at 10:45 AM, PhilipPirripp...@net.hr wrote: How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox That's an interesting approach, albeit a bit hackish. For the moment I think I'll stick to Guenter's suggestion. Well, hackish is what you get any time you type a word LyX in your document, isn't it? :)
Re: OT: checked box symbol
Hello On Mon, Sep 19, 2011 at 11:44 AM, Olivier Ripoll durocortorum73-gm...@yahoo.fr wrote: Using the normal Palatino font, I can get the checkboxes (3 states of them) using the insert-special characters-symbols... (in the miscellaneous symbols category). I tried your suggestion and after inspecting the resulting PDF I noticed that the checkboxes weren't Palatino, but provided by 'wasysym'. As I complained in the original post, I didn't quite like them. It's nice to know that LyX is able to perform such substitutions on the fly, but in this case it's not what I want. When using xetex/luatex (documents- settings- fonts), and choosing Palatina Lynotype font, they are replaced by a spiral in the pdf. Probably they are not available in that font, because they work fine with Deja Vu Sans. I don't have Palatina Lynotype, but I found a way to trick LyX when using non-TeX fonts: select 'URW Palladio' for Roman and 'Deja Vu Sans' for Sans Serif, and then write your text in Roman but make sure that the symbols inserted are marked as Sans. (See attached.) I think I may go with this solution. The only caveat is that this assumes that you don't use Sans for much else in the document. Thank you Liviu newfile1.lyx Description: Binary data
Re: OT: checked box symbol
Hello On Tue, Sep 20, 2011 at 9:10 AM, Guenter Milde mi...@users.berlios.de wrote: You could, e.g. use TeXGyre Pagella as main font. Then set up a secondary font containing the required symbol with fontspec in the user preamble I tried this approach and after a bit of experimenting I came up with a solution that allows me to use the necessary main fonts and add a secondary 'DejaVu Sans' font family just for the checkbox. and use it changing fonts with ERT or a text style. Now I can only use ERT to insert the checkbox. (See attached.) To use a text style, would I need to define a custom inset in a new module? Or is there a simpler approach? Regards Liviu newfile1.lyx Description: Binary data
Re: OT: checked box symbol
On Mon, Sep 19, 2011 at 10:45 AM, PhilipPirrip p...@net.hr wrote: How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox That's an interesting approach, albeit a bit hackish. For the moment I think I'll stick to Guenter's suggestion. Regards Liviu or making a math macro of that kind? I can see that there's also a kern command implemented in the math environment in LyX, but I don't know how to use it. Yet another way would be to use http://www.fileformat.info/info/unicode/char/2611/ballot_box_with_check.svg -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: OT: checked box symbol
On 09/25/2011 12:21 PM, Liviu Andronic wrote: On Mon, Sep 19, 2011 at 10:45 AM, PhilipPirripp...@net.hr wrote: How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox That's an interesting approach, albeit a bit hackish. For the moment I think I'll stick to Guenter's suggestion. Well, hackish is what you get any time you type a word LyX in your document, isn't it? :)
Re: OT: checked box symbol
Hello On Mon, Sep 19, 2011 at 11:44 AM, Olivier Ripollwrote: > Using the "normal" Palatino font, I can get the checkboxes (3 states of > them) using the insert->special characters->symbols... (in the > "miscellaneous symbols" category). > I tried your suggestion and after inspecting the resulting PDF I noticed that the checkboxes weren't Palatino, but provided by 'wasysym'. As I complained in the original post, I didn't quite like them. It's nice to know that LyX is able to perform such substitutions on the fly, but in this case it's not what I want. > When using xetex/luatex (documents-> settings-> fonts), and choosing > "Palatina Lynotype" font, they are replaced by a spiral in the pdf. Probably > they are not available in that font, because they work fine with Deja Vu > Sans. > I don't have "Palatina Lynotype", but I found a way to trick LyX when using non-TeX fonts: select 'URW Palladio' for Roman and 'Deja Vu Sans' for Sans Serif, and then write your text in Roman but make sure that the symbols inserted are marked as Sans. (See attached.) I think I may go with this solution. The only caveat is that this assumes that you don't use Sans for much else in the document. Thank you Liviu newfile1.lyx Description: Binary data
Re: OT: checked box symbol
Hello On Tue, Sep 20, 2011 at 9:10 AM, Guenter Mildewrote: > You could, e.g. use TeXGyre Pagella as main font. > Then set up a secondary font containing the required symbol with fontspec > in the user preamble > I tried this approach and after a bit of experimenting I came up with a solution that allows me to use the necessary main fonts and add a secondary 'DejaVu Sans' font family just for the checkbox. > and use it changing fonts with ERT or a text style. > Now I can only use ERT to insert the checkbox. (See attached.) To use a text style, would I need to define a custom inset in a new module? Or is there a simpler approach? Regards Liviu newfile1.lyx Description: Binary data
Re: OT: checked box symbol
On Mon, Sep 19, 2011 at 10:45 AM, PhilipPirripwrote: > How about playing with > > preamble: > \usepackage{amssymb} > \usepackage{wasysym} > \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} > > > text > ctrl-m \cbox > That's an interesting approach, albeit a bit hackish. For the moment I think I'll stick to Guenter's suggestion. Regards Liviu > > > or making a math macro of that kind? > > > I can see that there's also a kern command implemented in the math > environment in LyX, but I don't know how to use it. > > > > Yet another way would be to use > http://www.fileformat.info/info/unicode/char/2611/ballot_box_with_check.svg > > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: OT: checked box symbol
On 09/25/2011 12:21 PM, Liviu Andronic wrote: On Mon, Sep 19, 2011 at 10:45 AM, PhilipPirripwrote: How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox That's an interesting approach, albeit a bit hackish. For the moment I think I'll stick to Guenter's suggestion. Well, hackish is what you get any time you type a word "LyX" in your document, isn't it? :)
Re: OT: checked box symbol
On 2011-09-19, Liviu Andronic wrote: On Mon, Sep 19, 2011 at 8:28 AM, Guenter Milde mi...@users.berlios.de wrote: I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Do you know if I could continue using Palatino (Palladio) in my document (with LM for the rest), while randomly inserting Unicode chars like this that would use an OpenType font? I'd like to keep working with Palatino. You could, e.g. use TeXGyre Pagella as main font. Then set up a secondary font containing the required symbol with fontspec in the user preamble and use it changing fonts with ERT or a text style. See fontspec.pdf. Günter
Re: OT: checked box symbol
On 2011-09-19, Liviu Andronic wrote: On Mon, Sep 19, 2011 at 8:28 AM, Guenter Milde mi...@users.berlios.de wrote: I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Do you know if I could continue using Palatino (Palladio) in my document (with LM for the rest), while randomly inserting Unicode chars like this that would use an OpenType font? I'd like to keep working with Palatino. You could, e.g. use TeXGyre Pagella as main font. Then set up a secondary font containing the required symbol with fontspec in the user preamble and use it changing fonts with ERT or a text style. See fontspec.pdf. Günter
Re: OT: checked box symbol
On 2011-09-19, Liviu Andronic wrote: > On Mon, Sep 19, 2011 at 8:28 AM, Guenter Mildewrote: >>> I could use XeTeX and insert the Unicode >>> U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile >>> my document in a Windows environment. > Do you know if I could continue using Palatino (Palladio) in my > document (with LM for the rest), while randomly inserting Unicode > chars like this that would use an OpenType font? I'd like to keep > working with Palatino. You could, e.g. use TeXGyre Pagella as main font. Then set up a secondary font containing the required symbol with fontspec in the user preamble and use it changing fonts with ERT or a text style. See fontspec.pdf. Günter
OT: checked box symbol
Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Would you have some other suggestions? Regards Liviu [1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: OT: checked box symbol
On 2011-09-19, Liviu Andronic wrote: Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I don't know of any other. I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. If the Windows environment in question has a xetex engine and a font that contains the symbol, it should work. Günter
Re: OT: checked box symbol
On Mon, Sep 19, 2011 at 8:28 AM, Guenter Milde mi...@users.berlios.de wrote: I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. If the Windows environment in question has a xetex engine and a font that contains the symbol, it should work. Do you know if I could continue using Palatino (Palladio) in my document (with LM for the rest), while randomly inserting Unicode chars like this that would use an OpenType font? I'd like to keep working with Palatino. However, to answer your question, the Windows environment on the other side of my laptop is badly out of date and features MiKTeX 2.8 (which complains when trying to compile with XeTeX) and a broken Sweave installation (I still haven't figured what I managed to break when upgrading R). Since when using Windows I'm anyways mainly relying on TeXLive on Xubuntu on a Virtual Machine, I may just go haywire and experiment with LyX with TL on Windows. Regards Liviu
Re: OT: checked box symbol
How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox or making a math macro of that kind? I can see that there's also a kern command implemented in the math environment in LyX, but I don't know how to use it. Yet another way would be to use http://www.fileformat.info/info/unicode/char/2611/ballot_box_with_check.svg
Re: OT: checked box symbol
On 19.09.2011 08:10, Liviu Andronic wrote: Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Hi, Using the normal Palatino font, I can get the checkboxes (3 states of them) using the insert-special characters-symbols... (in the miscellaneous symbols category). When using xetex/luatex (documents- settings- fonts), and choosing Palatina Lynotype font, they are replaced by a spiral in the pdf. Probably they are not available in that font, because they work fine with Deja Vu Sans. Best regards. Olivier. (LyX 2.0.1, MikTeX 2.9 on windows 7) Would you have some other suggestions? Regards Liviu [1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
OT: checked box symbol
Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Would you have some other suggestions? Regards Liviu [1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: OT: checked box symbol
On 2011-09-19, Liviu Andronic wrote: Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I don't know of any other. I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. If the Windows environment in question has a xetex engine and a font that contains the symbol, it should work. Günter
Re: OT: checked box symbol
On Mon, Sep 19, 2011 at 8:28 AM, Guenter Milde mi...@users.berlios.de wrote: I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. If the Windows environment in question has a xetex engine and a font that contains the symbol, it should work. Do you know if I could continue using Palatino (Palladio) in my document (with LM for the rest), while randomly inserting Unicode chars like this that would use an OpenType font? I'd like to keep working with Palatino. However, to answer your question, the Windows environment on the other side of my laptop is badly out of date and features MiKTeX 2.8 (which complains when trying to compile with XeTeX) and a broken Sweave installation (I still haven't figured what I managed to break when upgrading R). Since when using Windows I'm anyways mainly relying on TeXLive on Xubuntu on a Virtual Machine, I may just go haywire and experiment with LyX with TL on Windows. Regards Liviu
Re: OT: checked box symbol
How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox or making a math macro of that kind? I can see that there's also a kern command implemented in the math environment in LyX, but I don't know how to use it. Yet another way would be to use http://www.fileformat.info/info/unicode/char/2611/ballot_box_with_check.svg
Re: OT: checked box symbol
On 19.09.2011 08:10, Liviu Andronic wrote: Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Hi, Using the normal Palatino font, I can get the checkboxes (3 states of them) using the insert-special characters-symbols... (in the miscellaneous symbols category). When using xetex/luatex (documents- settings- fonts), and choosing Palatina Lynotype font, they are replaced by a spiral in the pdf. Probably they are not available in that font, because they work fine with Deja Vu Sans. Best regards. Olivier. (LyX 2.0.1, MikTeX 2.9 on windows 7) Would you have some other suggestions? Regards Liviu [1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
OT: checked box symbol
Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Would you have some other suggestions? Regards Liviu [1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: OT: checked box symbol
On 2011-09-19, Liviu Andronic wrote: > Hello > This is slightly off topic. I'm looking for a (decent) LaTeX symbol > that would display a box that contains a check mark. I looked into the > 'The Comprehensive LaTeX Symbol List' [1], but it only suggests > \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy > executions (to my taste). I don't know of any other. > I could use XeTeX and insert the Unicode > U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile > my document in a Windows environment. If the Windows environment in question has a xetex engine and a font that contains the symbol, it should work. Günter
Re: OT: checked box symbol
On Mon, Sep 19, 2011 at 8:28 AM, Guenter Mildewrote: >> I could use XeTeX and insert the Unicode >> U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile >> my document in a Windows environment. > > If the Windows environment in question has a xetex engine and a font that > contains the symbol, it should work. > Do you know if I could continue using Palatino (Palladio) in my document (with LM for the rest), while randomly inserting Unicode chars like this that would use an OpenType font? I'd like to keep working with Palatino. However, to answer your question, the Windows environment on the other side of my laptop is badly out of date and features MiKTeX 2.8 (which complains when trying to compile with XeTeX) and a broken Sweave installation (I still haven't figured what I managed to break when upgrading R). Since when using Windows I'm anyways mainly relying on TeXLive on Xubuntu on a Virtual Machine, I may just go haywire and experiment with LyX with TL on Windows. Regards Liviu
Re: OT: checked box symbol
How about playing with preamble: \usepackage{amssymb} \usepackage{wasysym} \newcommand{\cbox}{\ensuremath\square\kern-0.7em\raise.3ex\hbox{\checkmark}} text ctrl-m \cbox or making a math macro of that kind? I can see that there's also a kern command implemented in the math environment in LyX, but I don't know how to use it. Yet another way would be to use http://www.fileformat.info/info/unicode/char/2611/ballot_box_with_check.svg
Re: OT: checked box symbol
On 19.09.2011 08:10, Liviu Andronic wrote: Hello This is slightly off topic. I'm looking for a (decent) LaTeX symbol that would display a box that contains a check mark. I looked into the 'The Comprehensive LaTeX Symbol List' [1], but it only suggests \CheckedBox in 'wasysym' and \Checkedbox in 'marvosym', both sloppy executions (to my taste). I could use XeTeX and insert the Unicode U+2611 ☑, which looks nice, but I'm not sure I'll be able to compile my document in a Windows environment. Hi, Using the "normal" Palatino font, I can get the checkboxes (3 states of them) using the insert->special characters->symbols... (in the "miscellaneous symbols" category). When using xetex/luatex (documents-> settings-> fonts), and choosing "Palatina Lynotype" font, they are replaced by a spiral in the pdf. Probably they are not available in that font, because they work fine with Deja Vu Sans. Best regards. Olivier. (LyX 2.0.1, MikTeX 2.9 on windows 7) Would you have some other suggestions? Regards Liviu [1] http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf