Re: Can I name a font?
On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote: By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? \underline{text}. However, underlined text won't break at line end. For a breakable underline text, use the \ul command from soul.sty.
Re: Can I name a font?
On Tuesday 11 September 2001 11:08, Dekel Tsur wrote: On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote: By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? \underline{text}. However, underlined text won't break at line end. For a breakable underline text, use the \ul command from soul.sty. On the subject of font packages, a couple of questions: 1. Is there any documentation for the lucida packages? I've been trying sticking things in my preamble, but the results are pretty hit or miss. 2. Does anyone know how to get shadow and outline effects? I assume these are raw TeX commands, as I can't find any LaTeX command to do this. Robin
Re: Can I name a font?
On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote: By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? \underline{text}. However, underlined text won't break at line end. For a breakable underline text, use the \ul command from soul.sty.
Re: Can I name a font?
On Tuesday 11 September 2001 11:08, Dekel Tsur wrote: On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote: By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? \underline{text}. However, underlined text won't break at line end. For a breakable underline text, use the \ul command from soul.sty. On the subject of font packages, a couple of questions: 1. Is there any documentation for the lucida packages? I've been trying sticking things in my preamble, but the results are pretty hit or miss. 2. Does anyone know how to get shadow and outline effects? I assume these are raw TeX commands, as I can't find any LaTeX command to do this. Robin
Re: Can I name a font?
On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote: > By the way, if \textsf is sans, and \textbf is bold, anyone know how to make > underline? \underline{text}. However, underlined text won't break at line end. For a breakable underline text, use the \ul command from soul.sty.
Re: Can I name a font?
On Tuesday 11 September 2001 11:08, Dekel Tsur wrote: > On Mon, Sep 10, 2001 at 04:52:47PM -0400, Steve Litt wrote: > > By the way, if \textsf is sans, and \textbf is bold, anyone know how to > > make underline? > > \underline{text}. > However, underlined text won't break at line end. > For a breakable underline text, use the \ul command from soul.sty. On the subject of font packages, a couple of questions: 1. Is there any documentation for the lucida packages? I've been trying sticking things in my preamble, but the results are pretty hit or miss. 2. Does anyone know how to get shadow and outline effects? I assume these are raw TeX commands, as I can't find any LaTeX command to do this. Robin
Re: Can I name a font?
On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. No. This is one of the main missing features of LyX, but there are plans to add it soon. In the meantime, you can use the following hack: Use colors for character styles, and put \usepackage{mystyles} in the preamble (you can put it in the layout file), where mystyles.sty is something like \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% } (the % at the end of the lines is important)
Re: Can I name a font?
On Monday 10 September 2001 06:57, Dekel Tsur wrote: On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. No. This is one of the main missing features of LyX, but there are plans to add it soon. In the meantime, you can use the following hack: Use colors for character styles, and put \usepackage{mystyles} in the preamble (you can put it in the layout file), where mystyles.sty is something like \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% } (the % at the end of the lines is important) You're a genius Dekel! I used your coloration method to do EXACTLY what's needed in my book. Each color is a character style, and it leaves its own name in the .lyx file for future parsing and easy modification. So red is the steps character style, and magenta is the chapters character style, and I can change all instances with a single change to the stuff inside the preamble/endpreamble in my .layout file. The one significant change to your example was the inclusion of a third ifthenelse{}{} so that #2 gets printed if it's not red or magenta. You might think it would be confusing remembering red is steps and magenta is Chapters, but I'll put a note on my monitor to remember, and maybe a comment in the document. Thank you very much. This fixed a BIG problem for me. \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{{\LARGE\textsf{#2}}}{}% Steps \ifthenelse{\equal{#1}{magenta}}{{\LARGE\textit{\textsf{#2{}% Chapters \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{red}}{}{#2}% fallthrough } By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Can I name a font?
On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. No. This is one of the main missing features of LyX, but there are plans to add it soon. In the meantime, you can use the following hack: Use colors for character styles, and put \usepackage{mystyles} in the preamble (you can put it in the layout file), where mystyles.sty is something like \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% } (the % at the end of the lines is important)
Re: Can I name a font?
On Monday 10 September 2001 06:57, Dekel Tsur wrote: On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. No. This is one of the main missing features of LyX, but there are plans to add it soon. In the meantime, you can use the following hack: Use colors for character styles, and put \usepackage{mystyles} in the preamble (you can put it in the layout file), where mystyles.sty is something like \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% } (the % at the end of the lines is important) You're a genius Dekel! I used your coloration method to do EXACTLY what's needed in my book. Each color is a character style, and it leaves its own name in the .lyx file for future parsing and easy modification. So red is the steps character style, and magenta is the chapters character style, and I can change all instances with a single change to the stuff inside the preamble/endpreamble in my .layout file. The one significant change to your example was the inclusion of a third ifthenelse{}{} so that #2 gets printed if it's not red or magenta. You might think it would be confusing remembering red is steps and magenta is Chapters, but I'll put a note on my monitor to remember, and maybe a comment in the document. Thank you very much. This fixed a BIG problem for me. \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{{\LARGE\textsf{#2}}}{}% Steps \ifthenelse{\equal{#1}{magenta}}{{\LARGE\textit{\textsf{#2{}% Chapters \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{red}}{}{#2}% fallthrough } By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Can I name a font?
On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: > I'd like to create my own custom font (in LyX, not just in Latex). According > to Customization.lyx, > > Is there a name property to give it a name so I can bind it to a menu? Is > there a latex property so I can associate it with a latex font? > > What I'm trying to do is create a custom character style (NOT an Environment) > called "step" that I use for steps in the Universal Troubleshooting Process. > There are hundreds of occurrences of these, so I don't want to use > font-underline or something like that. Nor do I want to stop every time and > go into tex mode. What I'd like to do is highlight the phrase, and > Layout->StepStyle, and have the right thing happen in LyX and in the > Postscript output. There are several other character styles I need to do, but > once I have one I can do the rest myself. No. This is one of the main missing features of LyX, but there are plans to add it soon. In the meantime, you can use the following hack: Use colors for character styles, and put \usepackage{mystyles} in the preamble (you can put it in the layout file), where mystyles.sty is something like \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% } (the % at the end of the lines is important)
Re: Can I name a font?
On Monday 10 September 2001 06:57, Dekel Tsur wrote: > On Sat, Sep 08, 2001 at 05:54:31PM -0400, Steve Litt wrote: > > I'd like to create my own custom font (in LyX, not just in Latex). > > According to Customization.lyx, > > > > Is there a name property to give it a name so I can bind it to a menu? Is > > there a latex property so I can associate it with a latex font? > > > > What I'm trying to do is create a custom character style (NOT an > > Environment) called "step" that I use for steps in the Universal > > Troubleshooting Process. There are hundreds of occurrences of these, so I > > don't want to use font-underline or something like that. Nor do I want to > > stop every time and go into tex mode. What I'd like to do is highlight > > the phrase, and Layout->StepStyle, and have the right thing happen in LyX > > and in the Postscript output. There are several other character styles I > > need to do, but once I have one I can do the rest myself. > > No. This is one of the main missing features of LyX, but there are plans to > add it soon. > > In the meantime, you can use the following hack: > Use colors for character styles, and put \usepackage{mystyles} in the > preamble (you can put it in the layout file), where mystyles.sty is > something like > > \usepackage{ifthen} > \renewcommand{\textcolor}[2]{% > \ifthenelse{\equal{#1}{red}}{\textit{#2}}{}% > \ifthenelse{\equal{#1}{green}}{\textbf{#2}}{}% > } > > (the % at the end of the lines is important) You're a genius Dekel! I used your coloration method to do EXACTLY what's needed in my book. Each color is a character style, and it leaves its own name in the .lyx file for future parsing and easy modification. So red is the "steps" character style, and magenta is the "chapters" character style, and I can change all instances with a single change to the stuff inside the preamble/endpreamble in my .layout file. The one significant change to your example was the inclusion of a third ifthenelse{}{} so that #2 gets printed if it's not red or magenta. You might think it would be confusing remembering red is steps and magenta is Chapters, but I'll put a note on my monitor to remember, and maybe a comment in the document. Thank you very much. This fixed a BIG problem for me. \usepackage{ifthen} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{red}}{{\LARGE\textsf{#2}}}{}% Steps \ifthenelse{\equal{#1}{magenta}}{{\LARGE\textit{\textsf{#2{}% Chapters \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{red}}{}{#2}% fallthrough } By the way, if \textsf is sans, and \textbf is bold, anyone know how to make underline? Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Can I name a font?
From: Steve Litt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Can I name a font? Date: Sat, 8 Sep 2001 17:54:31 -0400 I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Font Family [Roman, Sans, Typewriter] Series [Medium, Bold] Shape [Up, Italic, SmallCaps, Slanted] Size [tiny, small, normal, large, larger, largest, huge, giant] Color [none, black, white, red, green, blue, cyan, magenta, yellow] Latex [no_latex, latex] EndFont Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. The Font button should fit your needs. Just choose the required settings in the Layout-Character, then this particular setting is toggled by the Font button. -- Jean-Pierre
Re: Can I name a font?
From: Steve Litt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Can I name a font? Date: Sat, 8 Sep 2001 17:54:31 -0400 I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Font Family [Roman, Sans, Typewriter] Series [Medium, Bold] Shape [Up, Italic, SmallCaps, Slanted] Size [tiny, small, normal, large, larger, largest, huge, giant] Color [none, black, white, red, green, blue, cyan, magenta, yellow] Latex [no_latex, latex] EndFont Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. The Font button should fit your needs. Just choose the required settings in the Layout-Character, then this particular setting is toggled by the Font button. -- Jean-Pierre
Re: Can I name a font?
>>From: Steve Litt <[EMAIL PROTECTED]> >>To: [EMAIL PROTECTED] >>Subject: Can I name a font? >>Date: Sat, 8 Sep 2001 17:54:31 -0400 >> >>I'd like to create my own custom font (in LyX, not just in Latex). According >>to Customization.lyx, >> >>Font >> Family [Roman, Sans, Typewriter] >> Series [Medium, Bold] >> Shape [Up, Italic, SmallCaps, Slanted] >> Size [tiny, small, normal, large, larger, largest, huge, giant] >> Color [none, black, white, red, green, blue, cyan, magenta, yellow] >> Latex [no_latex, latex] >>EndFont >> >>Is there a name property to give it a name so I can bind it to a menu? Is >>there a latex property so I can associate it with a latex font? >> >>What I'm trying to do is create a custom character style (NOT an Environment) >>called "step" that I use for steps in the Universal Troubleshooting Process. >>There are hundreds of occurrences of these, so I don't want to use >>font-underline or something like that. Nor do I want to stop every time and >>go into tex mode. What I'd like to do is highlight the phrase, and >>Layout->StepStyle, and have the right thing happen in LyX and in the >>Postscript output. There are several other character styles I need to do, but >>once I have one I can do the rest myself. >> The Font button should fit your needs. Just choose the required settings in the Layout->Character, then this particular setting is toggled by the Font button. -- Jean-Pierre
Can I name a font?
I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Font Family [Roman, Sans, Typewriter] Series [Medium, Bold] Shape [Up, Italic, SmallCaps, Slanted] Size [tiny, small, normal, large, larger, largest, huge, giant] Color [none, black, white, red, green, blue, cyan, magenta, yellow] Latex [no_latex, latex] EndFont Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. Thanks STeve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Can I name a font?
I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Font Family [Roman, Sans, Typewriter] Series [Medium, Bold] Shape [Up, Italic, SmallCaps, Slanted] Size [tiny, small, normal, large, larger, largest, huge, giant] Color [none, black, white, red, green, blue, cyan, magenta, yellow] Latex [no_latex, latex] EndFont Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called step that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout-StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. Thanks STeve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Can I name a font?
I'd like to create my own custom font (in LyX, not just in Latex). According to Customization.lyx, Font Family [Roman, Sans, Typewriter] Series [Medium, Bold] Shape [Up, Italic, SmallCaps, Slanted] Size [tiny, small, normal, large, larger, largest, huge, giant] Color [none, black, white, red, green, blue, cyan, magenta, yellow] Latex [no_latex, latex] EndFont Is there a name property to give it a name so I can bind it to a menu? Is there a latex property so I can associate it with a latex font? What I'm trying to do is create a custom character style (NOT an Environment) called "step" that I use for steps in the Universal Troubleshooting Process. There are hundreds of occurrences of these, so I don't want to use font-underline or something like that. Nor do I want to stop every time and go into tex mode. What I'd like to do is highlight the phrase, and Layout->StepStyle, and have the right thing happen in LyX and in the Postscript output. There are several other character styles I need to do, but once I have one I can do the rest myself. Thanks STeve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.