Re: Palatino linotype in Lyx
Am Mittwoch, 6. März 2013, 18:45:57 schrieb EK: Did you include Greek among the languages that LaTeX supports? EK Thanks, Ehud, for the feedback, but where is this done? In the preamble? and how? (\usepackage ...?) or in Document settings Language? There I have selected for Encoding Language German which is the Language I use in this document and played around with language default, other, language package (greek, babel, utf8 ..) but got errors Or is it done just before the Greek symbols (which occur only at a few occassions in the document)? Wolfgang On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: -snip--- An alternative is TeX Gyre Pagella, also a Palatino clone, which you can call by \usepackage{tgpagella} in the preamble. Hallo, using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? and what different font spec would be recommendable to handle it? Wolfgang
Re: Palatino linotype in Lyx
On 2013-03-06, EK wrote: body p { margin-bottom: 0cm; margin-top: 0pt; } OTOH, the font selection dialogue should not let you select a font that is not installed on your system.-- I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does tell me (right in the list) that the font was not installed, but the same version of Lyx under Lubuntu 12.10 64 bits omits this useful note. Both systems run TexLive 2012. Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not normally available, and since URWPalladio does not appear in the ubuntu repositories, I could not use it. Here, with LyX 2.0 under Debian/testing, I see URWPalladio only listed when clicking the non TeX fonts button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. I don't think that there is a separate entry for URWPalladio under the TeX fonts - the TeX version is available as Palatino using the mathptmx LaTeX package. Günter
Re: Palatino linotype in Lyx
On 2013-03-06, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... What is Rorγ, RevErbα, or RevErbβ? You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) This is a *text* alpha, not necessarily upright but changing shape like any other text (e.g. italic in case of \emph{RevErb\textgreek{b}}). The \textgreek command uses TeX fonts in the LGR font encoding. However, it seems you do not have installed support for Greek text, as even the fallback Computer Modern does not support this font encoding. Depending on your OS and LaTeX distribution, you will need to install some package(s) to support Greek text first (texlive-lang-greek with Debian). I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? AFAIK, there are some greek letters in the OTF version of TG Pagella. However, as * LGR is no official LaTeX font encoding and * the TeX Gyre fonts are missing most accented Greek letters there is no support for Greek with TeX Gyre fonts under 8-bit TeX engines. and what different font spec would be recommendable to handle it? Options are: * use non-TeX fonts with XeTeX or LuaTeX * install support for Greek text as well as suitable Greek TeX fonts e.g. GFS Didot (http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html) and set up a substitute font for the LGR encding. The substitutefont package may help here. http://www.ctan.org/pkg/substitutefont Example: Palatino with the standard package `mathpazo` for Latin and GFS Didot for Greek:: \usepackage[sc,slantedGreek]{mathpazo} \substitutefont{LGR}{pplx}{udidot} Günter
Re: Index does not produce consecutive page numbers
2013/3/7 Gregory Carey gregory.ca...@colorado.edu: The Index that I try to create does not give consecutive page ranges when viewing a pdflatex. That is, Idx Data set(| lottsa stuff Idx Data set|) gives Data set, in the Index. Try Idx Data set|( lottsa stuff Idx Data set|) Make sure that the I and ( characters (especially the former) are in TeX mode (ERT). Jürgen
Re: Index does not produce consecutive page numbers
Jürgen Spitzmüller spitz at lyx.org writes: 2013/3/7 Gregory Carey gregory.carey at colorado.edu: The Index that I try to create does not give consecutive page ranges when viewing a pdflatex. That is, Idx Data set(| lottsa stuff Idx Data set|) Try Idx Data set|( lottsa stuff Idx Data set|) Make sure that the I and ( characters (especially the former) are in TeX mode (ERT). Jürgen Sorry, Jürgen. I mistyped in the original post. The actual command is Ids Data set|( Here is the command from the source: \index{Data set|(}\index{Data frame|see \{Data set\}} It still does not work. Greg
Re: issues with tufte-book on LyX
Thanks Alex. It's nice to have a solution. From: Alex Vergara Gil a...@cphr.edu.cu To: John Kane jrkrid...@yahoo.ca; lyx-users Users lyx-users@lists.lyx.org Sent: Tuesday, March 5, 2013 2:28:16 PM Subject: Re: issues with tufte-book on LyX Hi John! I deeply search into my problem and find out that by adding the line \setcounter{secnumdepth}{3} in the preamble solves the problem of no section in TOC. But I have no good results in adding some pictures in front page, I have solved this by making the front in another document and forgoting the cover in tufte. HTH for anyone with the same issue Alex - Original Message - From: John Kane To: Alex Vergara Gil ; lyx-users Users Sent: Saturday, March 02, 2013 8:21 AM Subject: Re: issues with tufte-book on LyX I just tried to run the example and I see what you mean. There are no sections in the ToC and yes, when I stick a graphic in the title the program returns all kinds of error messages . Of course I don't know if it is because the class won't allow a graphic or my stolen cartoon is too big. Unfortunately mucking around with the tufte-book in Latex does not seem to even give me a ToC! My simple-minded example works in LaTeX and when imported into LyX but without the ToC!
Re: Index does not produce consecutive page numbers
2013/3/7 Greg Carey gregory.ca...@colorado.edu: Sorry, Jürgen. I mistyped in the original post. The actual command is Ids Data set|( Here is the command from the source: \index{Data set|(}\index{Data frame|see \{Data set\}} It still does not work. Could you post a small example file? Jürgen Greg
Re: Palatino linotype in Lyx
Wolfgang, If you are in Windows, you can use the tlmgr (the Texlive package manager) to install support for Greek. If you are in Linux (as I am), you can use the Linux package manager (since I use (L)ubuntu, for me this is synaptic)-- search on texlive in synaptic and you'll see something like: texlive-lang-greek. Install it and everything will be nice. HTH-- Ehud On 03/07/2013 03:05 AM, Wolfgang Engelmann wrote: Am Mittwoch, 6. Mrz 2013, 18:45:57 schrieb EK: Did you include Greek among the languages that LaTeX supports? EK Thanks, Ehud, for the feedback, but where is this done? In the preamble? and how? (\usepackage ...?) or in Document settings Language? There I have selected for Encoding Language German which is the Language I use in this document and played around with language default, other, language package (greek, babel, utf8 ..) but got errors Or is it done just before the Greek symbols (which occur only at a few occassions in the document)? Wolfgang On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: Am Dienstag, 5. Mrz 2013, 18:31:50 schrieb Jrgen Spitzmller: Am Dienstag 05 Mrz 2013, 11:29:30 schrieb ehud.kap...@gmail.com: -snip--- An alternative is TeX Gyre Pagella, also a Palatino clone, which you can call by \usepackage{tgpagella} in the preamble. Hallo, using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? and what different font spec would be recommendable to handle it? Wolfgang -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual Computational Neuroscience Director, Center for Excellence in Computational Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
"I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. " Again, I agree that it SHOULD work, since it seems to be installed with ghostscript, and when I use font-manager, it finds and shows the urwpalladio font without any problem. However, when I click: View(other format)/pdf(Luatex), I get a "font-not-found" error. If, instead of choosing URWpalladio I select texgyrepagella, everything works just fine. So for some mysterious reason, Latex fails to find the urwpalladio, but does find the texgyrepagella. I think it just shows how little I know about the way Latex manages the fonts on the system. BTW-- I ran texhash just to make sure the database was updated. Ehud On 03/07/2013 06:27 AM, Guenter Milde wrote: On 2013-03-06, EK wrote: body p { margin-bottom: 0cm; margin-top: 0pt; } "OTOH, the font selection dialogue should not let you select a font that is not installed on your system."-- I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does tell me (right in the list) that the font was not installed, but the same version of Lyx under Lubuntu 12.10 64 bits omits this useful note. Both systems run TexLive 2012. Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not normally available, and since URWPalladio does not appear in the ubuntu repositories, I could not use it. Here, with LyX 2.0 under Debian/testing, I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. I don't think that there is a separate entry for URWPalladio under the TeX fonts - the TeX version is available as "Palatino" using the "mathptmx" LaTeX package. Günter -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual Computational Neuroscience Director, Center for Excellence in Computational Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
editing a matrix
Section 4 of the Lyx Detailed Math manual describes how to set a Matrix characteristics when I create it. What if I change my mind? Is there any way to edit the Matrix? In particular, how do I change the horizontal alignment? For example, go from to rrcc. Bob
Re: Palatino linotype in Lyx
Am Donnerstag, 7. März 2013, 12:39:37 schrieb Guenter Milde: On 2013-03-06, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... What is Rorγ, RevErbα, or RevErbβ? transkriptional repressors respectively activators (has to do with gene expression and -regulation) You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) This is a *text* alpha, not necessarily upright but changing shape like any other text (e.g. italic in case of \emph{RevErb\textgreek{b}}). The \textgreek command uses TeX fonts in the LGR font encoding. However, it seems you do not have installed support for Greek text, as even the fallback Computer Modern does not support this font encoding. Depending on your OS and LaTeX distribution, you will need to install some package(s) to support Greek text first (texlive-lang-greek with Debian). I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? AFAIK, there are some greek letters in the OTF version of TG Pagella. However, as * LGR is no official LaTeX font encoding and * the TeX Gyre fonts are missing most accented Greek letters there is no support for Greek with TeX Gyre fonts under 8-bit TeX engines. and what different font spec would be recommendable to handle it? Options are: * use non-TeX fonts with XeTeX or LuaTeX * install support for Greek text as well as suitable Greek TeX fonts e.g. GFS Didot (http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html) and set up a substitute font for the LGR encding. The substitutefont package may help here. http://www.ctan.org/pkg/substitutefont Example: Palatino with the standard package `mathpazo` for Latin and GFS Didot for Greek:: \usepackage[sc,slantedGreek]{mathpazo} \substitutefont{LGR}{pplx}{udidot} Thanks, Günter, for the proposals. I have for the time beeing taken the greek inserts from the math selections Wolfgang
Re: editing a matrix
On 03/07/2013 01:26 PM, Bob Alvarez wrote: Section 4 of the Lyx Detailed Math manual describes how to set a Matrix characteristics when I create it. What if I change my mind? Is there any way to edit the Matrix? In particular, how do I change the horizontal alignment? For example, go from to rrcc. Certainly. On an individual matrix, click on the column you want to change, then go to the Edit menu Rows Columns and change from center to right for the column where your cursor was. If you have to do this for several matrices, what I would do would be to do a search and replace for the appropriate string on the *.lyx file, using an editor. This is not the advised way, but it is quick when it works. Before doing something like this, though, do make a backup copy of the file... -- David L. Johnson Let's not escape into mathematics. Let's stay with reality. -- Michael Crichton
Re: Index does not produce consecutive page numbers
On Thu, 7 Mar 2013 18:19:50 +0100 Jürgen Spitzmüller sp...@lyx.org wrote: 2013/3/7 Greg Carey gregory.ca...@colorado.edu: Sorry, Jürgen. I mistyped in the original post. The actual command is Ids Data set|( Here is the command from the source: \index{Data set|(}\index{Data frame|see \{Data set\}} It still does not work. Could you post a small example file? Jürgen Yes, Greg, I'm not fully understanding what you currently get and what you want, so an minimal case example LyX file and its resulting PDF would be excellent. Meanwhile, I once solved what sounds like the opposite problem, here: http://www.troubleshooters.com/linux/lyx/makeindex.htm This article might give you some ideas on how to solve *your* problem. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Palatino linotype in Lyx
On 2013-03-07, EK wrote: However, when I click: View(other format)/pdf(Luatex), I get a font-not-found error. How about XeTeX? If, instead of choosing URWpalladio I select texgyrepagella, everything works just fine. So for some mysterious reason, Latex fails to find the urwpalladio, but does find the texgyrepagella. I think it is just Lua(La)TeX that fails. And this may be a known problem or something to do with your setup or ... -- I don't think LyX should be blamed (at least if it works with XeTeX) because differentiating between system fonts that work with XeTeX and not LuaTeX is overkill. Rather this should be fixed on the LuaTeX side. BTW-- I ran texhash just to make sure the database was updated. I don't think this helps with LuaTeX font problems. AFAIK, there is a separate LuaTeX font database but I did not dive into LuaTeX yet. Günter
Vector Fonts for Russian-English LyX document
I am typesetting a LyX document with a liberal mix of English and Russian. No matter what I try, a LyX command View[PDF(latex)] produces pixeled bitmapped fonts in PDF. Please, help by walking me through a FULL sequence of steps to ensure VECTOR fonts for both Russian and English. Details: Platform: LyX 2.0.5 MiKTeX 2.9 Windows 7 64 bit Here is a sample of plain Latex input file imported into LyX: \documentclass[10pt]{article} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} %\usepackage[russian,english]{babel} \begin{document} Russian writing (русское письмо) \end{document} Following your threads about Cyrillic\Russian vector fonts, I have installed a 'cm-super' package from CTAN, using MiKTeX's package manager (included with the MiKTeX distribution). But I am not sure whether LyX/MiKTeX sees this package. I tried to force LyX to use T1 fontencoding only, without T2A (a commented line above). But that leads to a latex errmsg: Command \cyrr unavailable in encoding T1. Using 'babel' (commented out above) didn't help either. Nor View[PDF(lualatex)] could help. Nor \foreignlanguage{russian}{} or \selectlanguage{russian}{}. 1. What did I miss? 2. How do I verify that Russian vector fonts are properly installed and available? I not, then how should I install them? 3. Should I have added some further commands into preamble and/or document body? Thank you for your time
Caption-Figure Alignment
Can anyone show me how to make caption and figure in a figure plot vertically aligned? For now, it seems that the caption is left-adjusted while the the figure is right-adjusted. I can partially manually fix this (either change the left- bottom value, or use minipage and the width setting). Still, I can never adjust the figure to the left, and the current way of fixing is quite laborous.
Re: Palatino linotype in Lyx
Am Mittwoch, 6. März 2013, 18:45:57 schrieb EK: Did you include Greek among the languages that LaTeX supports? EK Thanks, Ehud, for the feedback, but where is this done? In the preamble? and how? (\usepackage ...?) or in Document settings Language? There I have selected for Encoding Language German which is the Language I use in this document and played around with language default, other, language package (greek, babel, utf8 ..) but got errors Or is it done just before the Greek symbols (which occur only at a few occassions in the document)? Wolfgang On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: -snip--- An alternative is TeX Gyre Pagella, also a Palatino clone, which you can call by \usepackage{tgpagella} in the preamble. Hallo, using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? and what different font spec would be recommendable to handle it? Wolfgang
Re: Palatino linotype in Lyx
On 2013-03-06, EK wrote: body p { margin-bottom: 0cm; margin-top: 0pt; } OTOH, the font selection dialogue should not let you select a font that is not installed on your system.-- I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does tell me (right in the list) that the font was not installed, but the same version of Lyx under Lubuntu 12.10 64 bits omits this useful note. Both systems run TexLive 2012. Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not normally available, and since URWPalladio does not appear in the ubuntu repositories, I could not use it. Here, with LyX 2.0 under Debian/testing, I see URWPalladio only listed when clicking the non TeX fonts button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. I don't think that there is a separate entry for URWPalladio under the TeX fonts - the TeX version is available as Palatino using the mathptmx LaTeX package. Günter
Re: Palatino linotype in Lyx
On 2013-03-06, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... What is Rorγ, RevErbα, or RevErbβ? You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) This is a *text* alpha, not necessarily upright but changing shape like any other text (e.g. italic in case of \emph{RevErb\textgreek{b}}). The \textgreek command uses TeX fonts in the LGR font encoding. However, it seems you do not have installed support for Greek text, as even the fallback Computer Modern does not support this font encoding. Depending on your OS and LaTeX distribution, you will need to install some package(s) to support Greek text first (texlive-lang-greek with Debian). I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? AFAIK, there are some greek letters in the OTF version of TG Pagella. However, as * LGR is no official LaTeX font encoding and * the TeX Gyre fonts are missing most accented Greek letters there is no support for Greek with TeX Gyre fonts under 8-bit TeX engines. and what different font spec would be recommendable to handle it? Options are: * use non-TeX fonts with XeTeX or LuaTeX * install support for Greek text as well as suitable Greek TeX fonts e.g. GFS Didot (http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html) and set up a substitute font for the LGR encding. The substitutefont package may help here. http://www.ctan.org/pkg/substitutefont Example: Palatino with the standard package `mathpazo` for Latin and GFS Didot for Greek:: \usepackage[sc,slantedGreek]{mathpazo} \substitutefont{LGR}{pplx}{udidot} Günter
Re: Index does not produce consecutive page numbers
2013/3/7 Gregory Carey gregory.ca...@colorado.edu: The Index that I try to create does not give consecutive page ranges when viewing a pdflatex. That is, Idx Data set(| lottsa stuff Idx Data set|) gives Data set, in the Index. Try Idx Data set|( lottsa stuff Idx Data set|) Make sure that the I and ( characters (especially the former) are in TeX mode (ERT). Jürgen
Re: Index does not produce consecutive page numbers
Jürgen Spitzmüller spitz at lyx.org writes: 2013/3/7 Gregory Carey gregory.carey at colorado.edu: The Index that I try to create does not give consecutive page ranges when viewing a pdflatex. That is, Idx Data set(| lottsa stuff Idx Data set|) Try Idx Data set|( lottsa stuff Idx Data set|) Make sure that the I and ( characters (especially the former) are in TeX mode (ERT). Jürgen Sorry, Jürgen. I mistyped in the original post. The actual command is Ids Data set|( Here is the command from the source: \index{Data set|(}\index{Data frame|see \{Data set\}} It still does not work. Greg
Re: issues with tufte-book on LyX
Thanks Alex. It's nice to have a solution. From: Alex Vergara Gil a...@cphr.edu.cu To: John Kane jrkrid...@yahoo.ca; lyx-users Users lyx-users@lists.lyx.org Sent: Tuesday, March 5, 2013 2:28:16 PM Subject: Re: issues with tufte-book on LyX Hi John! I deeply search into my problem and find out that by adding the line \setcounter{secnumdepth}{3} in the preamble solves the problem of no section in TOC. But I have no good results in adding some pictures in front page, I have solved this by making the front in another document and forgoting the cover in tufte. HTH for anyone with the same issue Alex - Original Message - From: John Kane To: Alex Vergara Gil ; lyx-users Users Sent: Saturday, March 02, 2013 8:21 AM Subject: Re: issues with tufte-book on LyX I just tried to run the example and I see what you mean. There are no sections in the ToC and yes, when I stick a graphic in the title the program returns all kinds of error messages . Of course I don't know if it is because the class won't allow a graphic or my stolen cartoon is too big. Unfortunately mucking around with the tufte-book in Latex does not seem to even give me a ToC! My simple-minded example works in LaTeX and when imported into LyX but without the ToC!
Re: Index does not produce consecutive page numbers
2013/3/7 Greg Carey gregory.ca...@colorado.edu: Sorry, Jürgen. I mistyped in the original post. The actual command is Ids Data set|( Here is the command from the source: \index{Data set|(}\index{Data frame|see \{Data set\}} It still does not work. Could you post a small example file? Jürgen Greg
Re: Palatino linotype in Lyx
Wolfgang, If you are in Windows, you can use the tlmgr (the Texlive package manager) to install support for Greek. If you are in Linux (as I am), you can use the Linux package manager (since I use (L)ubuntu, for me this is synaptic)-- search on texlive in synaptic and you'll see something like: texlive-lang-greek. Install it and everything will be nice. HTH-- Ehud On 03/07/2013 03:05 AM, Wolfgang Engelmann wrote: Am Mittwoch, 6. Mrz 2013, 18:45:57 schrieb EK: Did you include Greek among the languages that LaTeX supports? EK Thanks, Ehud, for the feedback, but where is this done? In the preamble? and how? (\usepackage ...?) or in Document settings Language? There I have selected for Encoding Language German which is the Language I use in this document and played around with language default, other, language package (greek, babel, utf8 ..) but got errors Or is it done just before the Greek symbols (which occur only at a few occassions in the document)? Wolfgang On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: Am Dienstag, 5. Mrz 2013, 18:31:50 schrieb Jrgen Spitzmller: Am Dienstag 05 Mrz 2013, 11:29:30 schrieb ehud.kap...@gmail.com: -snip--- An alternative is TeX Gyre Pagella, also a Palatino clone, which you can call by \usepackage{tgpagella} in the preamble. Hallo, using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? and what different font spec would be recommendable to handle it? Wolfgang -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual Computational Neuroscience Director, Center for Excellence in Computational Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
"I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. " Again, I agree that it SHOULD work, since it seems to be installed with ghostscript, and when I use font-manager, it finds and shows the urwpalladio font without any problem. However, when I click: View(other format)/pdf(Luatex), I get a "font-not-found" error. If, instead of choosing URWpalladio I select texgyrepagella, everything works just fine. So for some mysterious reason, Latex fails to find the urwpalladio, but does find the texgyrepagella. I think it just shows how little I know about the way Latex manages the fonts on the system. BTW-- I ran texhash just to make sure the database was updated. Ehud On 03/07/2013 06:27 AM, Guenter Milde wrote: On 2013-03-06, EK wrote: body p { margin-bottom: 0cm; margin-top: 0pt; } "OTOH, the font selection dialogue should not let you select a font that is not installed on your system."-- I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does tell me (right in the list) that the font was not installed, but the same version of Lyx under Lubuntu 12.10 64 bits omits this useful note. Both systems run TexLive 2012. Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not normally available, and since URWPalladio does not appear in the ubuntu repositories, I could not use it. Here, with LyX 2.0 under Debian/testing, I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. I don't think that there is a separate entry for URWPalladio under the TeX fonts - the TeX version is available as "Palatino" using the "mathptmx" LaTeX package. Günter -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual Computational Neuroscience Director, Center for Excellence in Computational Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
editing a matrix
Section 4 of the Lyx Detailed Math manual describes how to set a Matrix characteristics when I create it. What if I change my mind? Is there any way to edit the Matrix? In particular, how do I change the horizontal alignment? For example, go from to rrcc. Bob
Re: Palatino linotype in Lyx
Am Donnerstag, 7. März 2013, 12:39:37 schrieb Guenter Milde: On 2013-03-06, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... What is Rorγ, RevErbα, or RevErbβ? transkriptional repressors respectively activators (has to do with gene expression and -regulation) You might try inserting a different font spec; e.g., type `I\fontsame font id=substitute font name'. which refers to \textgreek{a} etc (an upright alpha) This is a *text* alpha, not necessarily upright but changing shape like any other text (e.g. italic in case of \emph{RevErb\textgreek{b}}). The \textgreek command uses TeX fonts in the LGR font encoding. However, it seems you do not have installed support for Greek text, as even the fallback Computer Modern does not support this font encoding. Depending on your OS and LaTeX distribution, you will need to install some package(s) to support Greek text first (texlive-lang-greek with Debian). I had changed in document settingsfonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? AFAIK, there are some greek letters in the OTF version of TG Pagella. However, as * LGR is no official LaTeX font encoding and * the TeX Gyre fonts are missing most accented Greek letters there is no support for Greek with TeX Gyre fonts under 8-bit TeX engines. and what different font spec would be recommendable to handle it? Options are: * use non-TeX fonts with XeTeX or LuaTeX * install support for Greek text as well as suitable Greek TeX fonts e.g. GFS Didot (http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html) and set up a substitute font for the LGR encding. The substitutefont package may help here. http://www.ctan.org/pkg/substitutefont Example: Palatino with the standard package `mathpazo` for Latin and GFS Didot for Greek:: \usepackage[sc,slantedGreek]{mathpazo} \substitutefont{LGR}{pplx}{udidot} Thanks, Günter, for the proposals. I have for the time beeing taken the greek inserts from the math selections Wolfgang
Re: editing a matrix
On 03/07/2013 01:26 PM, Bob Alvarez wrote: Section 4 of the Lyx Detailed Math manual describes how to set a Matrix characteristics when I create it. What if I change my mind? Is there any way to edit the Matrix? In particular, how do I change the horizontal alignment? For example, go from to rrcc. Certainly. On an individual matrix, click on the column you want to change, then go to the Edit menu Rows Columns and change from center to right for the column where your cursor was. If you have to do this for several matrices, what I would do would be to do a search and replace for the appropriate string on the *.lyx file, using an editor. This is not the advised way, but it is quick when it works. Before doing something like this, though, do make a backup copy of the file... -- David L. Johnson Let's not escape into mathematics. Let's stay with reality. -- Michael Crichton
Re: Index does not produce consecutive page numbers
On Thu, 7 Mar 2013 18:19:50 +0100 Jürgen Spitzmüller sp...@lyx.org wrote: 2013/3/7 Greg Carey gregory.ca...@colorado.edu: Sorry, Jürgen. I mistyped in the original post. The actual command is Ids Data set|( Here is the command from the source: \index{Data set|(}\index{Data frame|see \{Data set\}} It still does not work. Could you post a small example file? Jürgen Yes, Greg, I'm not fully understanding what you currently get and what you want, so an minimal case example LyX file and its resulting PDF would be excellent. Meanwhile, I once solved what sounds like the opposite problem, here: http://www.troubleshooters.com/linux/lyx/makeindex.htm This article might give you some ideas on how to solve *your* problem. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Palatino linotype in Lyx
On 2013-03-07, EK wrote: However, when I click: View(other format)/pdf(Luatex), I get a font-not-found error. How about XeTeX? If, instead of choosing URWpalladio I select texgyrepagella, everything works just fine. So for some mysterious reason, Latex fails to find the urwpalladio, but does find the texgyrepagella. I think it is just Lua(La)TeX that fails. And this may be a known problem or something to do with your setup or ... -- I don't think LyX should be blamed (at least if it works with XeTeX) because differentiating between system fonts that work with XeTeX and not LuaTeX is overkill. Rather this should be fixed on the LuaTeX side. BTW-- I ran texhash just to make sure the database was updated. I don't think this helps with LuaTeX font problems. AFAIK, there is a separate LuaTeX font database but I did not dive into LuaTeX yet. Günter
Vector Fonts for Russian-English LyX document
I am typesetting a LyX document with a liberal mix of English and Russian. No matter what I try, a LyX command View[PDF(latex)] produces pixeled bitmapped fonts in PDF. Please, help by walking me through a FULL sequence of steps to ensure VECTOR fonts for both Russian and English. Details: Platform: LyX 2.0.5 MiKTeX 2.9 Windows 7 64 bit Here is a sample of plain Latex input file imported into LyX: \documentclass[10pt]{article} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} %\usepackage[russian,english]{babel} \begin{document} Russian writing (русское письмо) \end{document} Following your threads about Cyrillic\Russian vector fonts, I have installed a 'cm-super' package from CTAN, using MiKTeX's package manager (included with the MiKTeX distribution). But I am not sure whether LyX/MiKTeX sees this package. I tried to force LyX to use T1 fontencoding only, without T2A (a commented line above). But that leads to a latex errmsg: Command \cyrr unavailable in encoding T1. Using 'babel' (commented out above) didn't help either. Nor View[PDF(lualatex)] could help. Nor \foreignlanguage{russian}{} or \selectlanguage{russian}{}. 1. What did I miss? 2. How do I verify that Russian vector fonts are properly installed and available? I not, then how should I install them? 3. Should I have added some further commands into preamble and/or document body? Thank you for your time
Caption-Figure Alignment
Can anyone show me how to make caption and figure in a figure plot vertically aligned? For now, it seems that the caption is left-adjusted while the the figure is right-adjusted. I can partially manually fix this (either change the left- bottom value, or use minipage and the width setting). Still, I can never adjust the figure to the left, and the current way of fixing is quite laborous.
Re: Palatino linotype in Lyx
Am Mittwoch, 6. März 2013, 18:45:57 schrieb EK: > Did you include Greek among the languages that LaTeX supports? > > EK Thanks, Ehud, for the feedback, but where is this done? In the preamble? and how? (\usepackage ...?) or in Document settings > Language? There I have selected for Encoding Language German which is the Language I use in this document and played around with language default, other, language package (greek, babel, utf8 ..) but got errors Or is it done just before the Greek symbols (which occur only at a few occassions in the document)? Wolfgang > > > > On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: > > Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: > > Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: > -snip--- > > An alternative is TeX Gyre Pagella, also a Palatino clone, which you can > call by > \usepackage{tgpagella} > > in the preamble. > > Hallo, > > using \usepackage{tgpagella} I get the following error message: > Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) > file no > Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) > file no > > and the following description of it: > Dbp, Ror\textgreek{g} > , RevErb\textgreek{a}, RevErb\textgreek{b}, > Dec1... > I wasn't able to read the size data for this font, > so I will ignore the font specification. > [Wizards can fix TFM files using TFtoPL/PLtoTF.] > You might try inserting a different font spec; > e.g., type `I\font='. > > which refers to > \textgreek{a} etc > (an upright alpha) > > I had changed in document settings>fonts all to default because of > using > \usepackage{tgpagella} > > is tgpagella not able to handle upright greek? > > and what different font spec would be recommendable to handle it? > > Wolfgang
Re: Palatino linotype in Lyx
On 2013-03-06, EK wrote: > body p { margin-bottom: 0cm; margin-top: 0pt; } "OTOH, the font > selection dialogue should not let you select a font that is not > installed on your system."-- > I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does > tell me (right in the list) that the font was not installed, > but the same version of Lyx under Lubuntu 12.10 64 bits omits this > useful note. Both systems run TexLive 2012. > Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not > normally available, and since URWPalladio does not appear in the ubuntu > repositories, I could not use it. Here, with LyX 2.0 under Debian/testing, I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. I don't think that there is a separate entry for URWPalladio under the TeX fonts - the TeX version is available as "Palatino" using the "mathptmx" LaTeX package. Günter
Re: Palatino linotype in Lyx
On 2013-03-06, Wolfgang Engelmann wrote: > Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: >> Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: > using \usepackage{tgpagella} I get the following error message: > Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file > no > Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file > no > and the following description of it: > Dbp, Ror\textgreek{g} > , RevErb\textgreek{a}, RevErb\textgreek{b}, > Dec1... What is Rorγ, RevErbα, or RevErbβ? > You might try inserting a different font spec; > e.g., type `I\font='. > which refers to > \textgreek{a} etc > (an upright alpha) This is a *text* alpha, not necessarily upright but changing shape like any other text (e.g. italic in case of \emph{RevErb\textgreek{b}}). The \textgreek command uses TeX fonts in the "LGR" font encoding. However, it seems you do not have installed support for Greek text, as even the fallback Computer Modern does not support this font encoding. Depending on your OS and LaTeX distribution, you will need to install some package(s) to support Greek text first (texlive-lang-greek with Debian). > I had changed in document settings>fonts all to default because of > using > \usepackage{tgpagella} > is tgpagella not able to handle upright greek? AFAIK, there are some greek letters in the OTF version of TG Pagella. However, as * LGR is no "official" LaTeX font encoding and * the TeX Gyre fonts are missing most accented Greek letters there is no support for Greek with TeX Gyre fonts under 8-bit TeX engines. > and what different font spec would be recommendable to handle it? Options are: * use "non-TeX fonts" with XeTeX or LuaTeX * install support for Greek text as well as suitable Greek TeX fonts e.g. GFS Didot (http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html) and set up a substitute font for the LGR encding. The "substitutefont" package may help here. http://www.ctan.org/pkg/substitutefont Example: Palatino with the standard package `mathpazo` for Latin and GFS Didot for Greek:: \usepackage[sc,slantedGreek]{mathpazo} \substitutefont{LGR}{pplx}{udidot} Günter
Re: Index does not produce consecutive page numbers
2013/3/7 Gregory Carey: > The Index that I try to create does not give consecutive page ranges when > viewing a pdflatex. That is, > > Idx Data set(| > > Idx Data set|) > > gives > > Data set, > > in the Index. Try Idx Data set|( Idx Data set|) Make sure that the I and ( characters (especially the former) are in TeX mode (ERT). Jürgen
Re: Index does not produce consecutive page numbers
Jürgen Spitzmüller lyx.org> writes: > > 2013/3/7 Gregory Carey colorado.edu>: > > The Index that I try to create does not give consecutive page ranges when viewing a pdflatex. That is, > > > > Idx Data set(| > > > > Idx Data set|) > Try > > Idx Data set|( > > Idx Data set|) > > Make sure that the I and ( characters (especially the former) are in > TeX mode (ERT). > > Jürgen > > Sorry, Jürgen. I mistyped in the original post. The actual command is Ids Data set|( Here is the command from the source: \index{Data set|(}\index{Data frame|see \{Data set\}} It still does not work. Greg
Re: issues with tufte-book on LyX
Thanks Alex. It's nice to have a solution. From: Alex Vergara GilTo: John Kane ; lyx-users Users Sent: Tuesday, March 5, 2013 2:28:16 PM Subject: Re: issues with tufte-book on LyX Hi John! I deeply search into my problem and find out that by adding the line \setcounter{secnumdepth}{3} in the preamble solves the problem of no section in TOC. But I have no good results in adding some pictures in front page, I have solved this by making the front in another document and forgoting the cover in tufte. HTH for anyone with the same issue Alex - Original Message - >From: John Kane >To: Alex Vergara Gil ; lyx-users Users >Sent: Saturday, March 02, 2013 8:21 AM >Subject: Re: issues with tufte-book on LyX > > >I just tried to run the example and I see what you mean. There are no >sections in the ToC > and yes, when I stick a graphic in the title the program returns all kinds of error messages . Of course I don't know if it is because the class won't allow a graphic or my stolen cartoon is too big. > >Unfortunately mucking around with the tufte-book in Latex does not seem to even give me a ToC! My simple-minded example works in LaTeX and when imported into LyX but without the ToC! > > > >
Re: Index does not produce consecutive page numbers
2013/3/7 Greg Carey: > Sorry, Jürgen. I mistyped in the original post. > The actual command is Ids Data set|( > Here is the command from the source: > \index{Data set|(}\index{Data frame|see \{Data set\}} > > It still does not work. Could you post a small example file? Jürgen > Greg > >
Re: Palatino linotype in Lyx
Wolfgang, If you are in Windows, you can use the tlmgr (the Texlive package manager) to install support for Greek. If you are in Linux (as I am), you can use the Linux package manager (since I use (L)ubuntu, for me this is synaptic)-- search on texlive in synaptic and you'll see something like: texlive-lang-greek. Install it and everything will be nice. HTH-- Ehud On 03/07/2013 03:05 AM, Wolfgang Engelmann wrote: Am Mittwoch, 6. März 2013, 18:45:57 schrieb EK: Did you include Greek among the languages that LaTeX supports? EK Thanks, Ehud, for the feedback, but where is this done? In the preamble? and how? (\usepackage ...?) or in Document settings > Language? There I have selected for Encoding Language German which is the Language I use in this document and played around with language default, other, language package (greek, babel, utf8 ..) but got errors Or is it done just before the Greek symbols (which occur only at a few occassions in the document)? Wolfgang On 03/06/2013 02:05 AM, Wolfgang Engelmann wrote: Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: -snip--- An alternative is TeX Gyre Pagella, also a Palatino clone, which you can call by \usepackage{tgpagella} in the preamble. Hallo, using \usepackage{tgpagella} I get the following error message: Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) file no and the following description of it: Dbp, Ror\textgreek{g} , RevErb\textgreek{a}, RevErb\textgreek{b}, Dec1... I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. which refers to \textgreek{a} etc (an upright alpha) I had changed in document settings>fonts all to default because of using \usepackage{tgpagella} is tgpagella not able to handle upright greek? and what different font spec would be recommendable to handle it? Wolfgang -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
Re: Palatino linotype in Lyx
"I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. " Again, I agree that it SHOULD work, since it seems to be installed with ghostscript, and when I use font-manager, it finds and shows the urwpalladio font without any problem. However, when I click: View(other format)/pdf(Luatex), I get a "font-not-found" error. If, instead of choosing URWpalladio I select texgyrepagella, everything works just fine. So for some mysterious reason, Latex fails to find the urwpalladio, but does find the texgyrepagella. I think it just shows how little I know about the way Latex manages the fonts on the system. BTW-- I ran texhash just to make sure the database was updated. Ehud On 03/07/2013 06:27 AM, Guenter Milde wrote: On 2013-03-06, EK wrote: body p { margin-bottom: 0cm; margin-top: 0pt; } "OTOH, the font selection dialogue should not let you select a font that is not installed on your system."-- I agree wholeheartedly. In fact, LyX 2.0.5.1 under Windows XT does tell me (right in the list) that the font was not installed, but the same version of Lyx under Lubuntu 12.10 64 bits omits this useful note. Both systems run TexLive 2012. Since under (L)ubuntu the tlmgr (the package manager for TexLive) is not normally available, and since URWPalladio does not appear in the ubuntu repositories, I could not use it. Here, with LyX 2.0 under Debian/testing, I see URWPalladio only listed when clicking the "non TeX fonts" button (i.e. for use with Lua- or XeTeX engines). URWPalladio is installed system-wide by ghostscript, so it should work with XeTeX/LuaTeX. I don't think that there is a separate entry for URWPalladio under the TeX fonts - the TeX version is available as "Palatino" using the "mathptmx" LaTeX package. Günter -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual & Computational Neuroscience Director, Center for Excellence in Computational & Systems Neuroscience Friedman Brain Institute Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Ichan school of medicine at Mount Sinai One Gustave Levy Place, NY, NY, 10029
editing a matrix
Section 4 of the Lyx Detailed Math manual describes how to set a Matrix characteristics when I create it. What if I change my mind? Is there any way to edit the Matrix? In particular, how do I change the horizontal alignment? For example, go from to rrcc. Bob
Re: Palatino linotype in Lyx
Am Donnerstag, 7. März 2013, 12:39:37 schrieb Guenter Milde: > On 2013-03-06, Wolfgang Engelmann wrote: > > Am Dienstag, 5. März 2013, 18:31:50 schrieb Jürgen Spitzmüller: > >> Am Dienstag 05 März 2013, 11:29:30 schrieb ehud.kap...@gmail.com: > > using \usepackage{tgpagella} I get the following error message: > > Font LGR/cmr/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) > > file no > > Font LGR/qpl/m/n/10.95=grmn1095 at 10.95pt not loadable: Metric (TFM) > > file no > > > > and the following description of it: > > Dbp, Ror\textgreek{g} > > > > , RevErb\textgreek{a}, > > RevErb\textgreek{b}, > > > > Dec1... > > What is Rorγ, RevErbα, or RevErbβ? transkriptional repressors respectively activators (has to do with gene expression and -regulation) > > > You might try inserting a different font spec; > > e.g., type `I\font='. > > > > which refers to > > \textgreek{a} etc > > (an upright alpha) > > This is a *text* alpha, not necessarily upright but changing shape like > any other text (e.g. italic in case of \emph{RevErb\textgreek{b}}). > > The \textgreek command uses TeX fonts in the "LGR" font encoding. > However, it seems you do not have installed support for Greek text, as > even the fallback Computer Modern does not support this font encoding. > Depending on your OS and LaTeX distribution, you will need to install > some package(s) to support Greek text first (texlive-lang-greek with > Debian). > > > I had changed in document settings>fonts all to default because of > > using > > \usepackage{tgpagella} > > > > is tgpagella not able to handle upright greek? > > AFAIK, there are some greek letters in the OTF version of TG Pagella. > However, as > > * LGR is no "official" LaTeX font encoding and > * the TeX Gyre fonts are missing most accented Greek letters > > there is no support for Greek with TeX Gyre fonts under 8-bit TeX > engines. > > > and what different font spec would be recommendable to handle it? > > Options are: > > * use "non-TeX fonts" with XeTeX or LuaTeX > > * install support for Greek text as well as suitable Greek TeX fonts > e.g. GFS Didot > (http://mirror.ctan.org/help/Catalogue/entries/gfsdidot.html) and set > up a substitute font for the LGR encding. > > The "substitutefont" package may help here. > http://www.ctan.org/pkg/substitutefont > > Example: Palatino with the standard package `mathpazo` for Latin and > GFS Didot > for Greek:: > > \usepackage[sc,slantedGreek]{mathpazo} > \substitutefont{LGR}{pplx}{udidot} > > Thanks, Günter, for the proposals. I have for the time beeing taken the greek inserts from the math selections Wolfgang
Re: editing a matrix
On 03/07/2013 01:26 PM, Bob Alvarez wrote: Section 4 of the Lyx Detailed Math manual describes how to set a Matrix characteristics when I create it. What if I change my mind? Is there any way to edit the Matrix? In particular, how do I change the horizontal alignment? For example, go from to rrcc. Certainly. On an individual matrix, click on the column you want to change, then go to the Edit menu > Rows & Columns and change from center to right for the column where your cursor was. If you have to do this for several matrices, what I would do would be to do a search and replace for the appropriate string on the *.lyx file, using an editor. This is not the "advised" way, but it is quick when it works. Before doing something like this, though, do make a backup copy of the file... -- David L. Johnson Let's not escape into mathematics. Let's stay with reality. -- Michael Crichton
Re: Index does not produce consecutive page numbers
On Thu, 7 Mar 2013 18:19:50 +0100 Jürgen Spitzmüllerwrote: > 2013/3/7 Greg Carey : > > Sorry, Jürgen. I mistyped in the original post. > > The actual command is Ids Data set|( > > Here is the command from the source: > > \index{Data set|(}\index{Data frame|see \{Data set\}} > > > > It still does not work. > > Could you post a small example file? > > Jürgen Yes, Greg, I'm not fully understanding what you currently get and what you want, so an minimal case example LyX file and its resulting PDF would be excellent. Meanwhile, I once solved what sounds like the opposite problem, here: http://www.troubleshooters.com/linux/lyx/makeindex.htm This article might give you some ideas on how to solve *your* problem. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: Palatino linotype in Lyx
On 2013-03-07, EK wrote: > However, when I click: View(other format)/pdf(Luatex), I get a > "font-not-found" error. How about XeTeX? > If, instead of choosing URWpalladio I select texgyrepagella, everything > works just fine. > So for some mysterious reason, Latex fails to find the urwpalladio, but > does find the texgyrepagella. I think it is just Lua(La)TeX that fails. And this may be a known problem or something to do with your setup or ... -- I don't think LyX should be blamed (at least if it works with XeTeX) because differentiating between system fonts that work with XeTeX and not LuaTeX is overkill. Rather this should be fixed on the LuaTeX side. > BTW-- I ran texhash just to make sure the database was updated. I don't think this helps with LuaTeX font problems. AFAIK, there is a separate LuaTeX font database but I did not dive into LuaTeX yet. Günter
Vector Fonts for Russian-English LyX document
I am typesetting a LyX document with a liberal mix of English and Russian. No matter what I try, a LyX command "View[PDF(latex)]" produces pixeled bitmapped fonts in PDF. Please, help by walking me through a FULL sequence of steps to ensure VECTOR fonts for both Russian and English. Details: Platform: LyX 2.0.5 MiKTeX 2.9 Windows 7 64 bit Here is a sample of plain Latex input file imported into LyX: \documentclass[10pt]{article} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} %\usepackage[russian,english]{babel} \begin{document} Russian writing (русское письмо) \end{document} Following your threads about Cyrillic\Russian vector fonts, I have installed a 'cm-super' package from CTAN, using MiKTeX's package manager (included with the MiKTeX distribution). But I am not sure whether LyX/MiKTeX "sees" this package. I tried to "force" LyX to use T1 fontencoding only, without T2A (a commented line above). But that leads to a latex errmsg: Command \cyrr unavailable in encoding T1. Using 'babel' (commented out above) didn't help either. Nor "View[PDF(lualatex)]" could help. Nor "\foreignlanguage{russian}{}" or "\selectlanguage{russian}{}". 1. What did I miss? 2. How do I verify that Russian vector fonts are properly installed and available? I not, then how should I install them? 3. Should I have added some further commands into preamble and/or document body? Thank you for your time
Caption-Figure Alignment
Can anyone show me how to make caption and figure in a figure plot vertically aligned? For now, it seems that the caption is left-adjusted while the the figure is right-adjusted. I can partially manually fix this (either change the left- bottom value, or use minipage and the width setting). Still, I can never adjust the figure to the left, and the current way of fixing is quite laborous.