How to disable popping math bar?
Hi all, I have been an addicted LyX user in the past and enjoyed it very much. However, there is a feature in recent releases of LyX that keeps annoying me. Namely, any time I enter math mode with ctrl-m, a math bar is popping in the lower area of the screen, and it disappears as soon as I leave the math mode. I understand that this feature is very useful for beginners or people who like to select stuff from menus, but I am an old LaTeX-user and I know all my LaTeX keywords by heart, so I do not really need this kind of help. On the othyer hand, constant popping and unpopping is visually very distracting. I was looking for a box to untick in LyX preferences, but did not find anything reasonable that would disable this feature. Am I overlooking something trivial? My LyX version is 1.6.4.1 and I am using the Linux version on Arch Linux. Thanx in advance for any help! Jan
Re: How to disable popping math bar?
Jan Willemson wrote: I was looking for a box to untick in LyX preferences, but did not find anything reasonable that would disable this feature. Am I overlooking something trivial? My LyX version is 1.6.4.1 and I am using the Linux version on Arch Linux. The UI is all but obvious: unchecking View Toolbars Math (auto) while you're _inside_ mathed (and the toolbars are shown) should do it. Jürgen
Re: Lyx/BibLaTeX/Memoir problems
Jasper Diego-Story wrote: \bibliography{/Users/xxx/Desktop/THESIS/CENTRAL BIB/CENTRAL BIB} Bibtex cannot handle spaces in paths IIRC. Jürgen
Need help redefining Latex definitions
Hello, for my field of studies, a greater sectioning depth than lyx normally offers is needed. For my purpose, I need at least 7 levels. I need to use all levels from part to subparagraph. I formated all headings with the titlesec package. Now I need to stop the page breaks before and after \chapter and \part. As far as I learned, the only proper way to do this is to redefine Latex definitions. I'm relatively new to lyx and latex, and don't know how to do this. Could someone help me? My document class is report [koma]. Thanks ahead, Axel
LyX Issue with Beamer Package
Dear all, writing some slides in LyX 1.6.3 with the Beamer package and running into a nasty problem and I need some help. Researching gmane I found http://thread.gmane.org/gmane.editors.lyx.general/22673 and I believe the then mentioned issue still is a bug and I assume the bug is in an internal LyX data structure, as suggested by the original poster. It looks like the poster of that thread found a different workaround which, unfortunately, is not working in my case. Moreover the then discovered bug still exists and is reproducible. I attach a minimal LyX example below (File 1). If this file is exported as plain LaTeX we get (File 2). Moreover I attach the beginning of the plain LaTeX export of another LyX document produced with beamer and not showing the mentioned problem (File 3). The reason for the error is quite clear: The export in File 3 contains a line \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}} whereas the export of the faulty file, File 2, does NOT contain this line and consequently leads to an error. This phenomenon shows up although the beginning of a working LyX file (File 4) is completely identical to the beginning of the not working lyx file. To me it looks like an internal glitch is responsible that the first 5 lines of the lyx file in one case import the correct Latex header whereas in the other they unexpectedly drop one line. Thanx for your help. PS: I do observe the suggestion of the above mentioned post and have an end_frame in the non-working lyx file. So the suggestion of the old thread is not the correct hint. == FILE 1 == #LyX 1.6.3 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass beamer \begin_preamble \usetheme{Warsaw} % oder ... \setbeamercovered{transparent} % oder auch nicht \usepackage[all]{xy} % \usepackage{pgfpages} % \setbeameroption{show notes on second screen} \setbeamersize{text margin left=.5cm,text margin right=.5cm} \end_preamble \options slidestop \use_default_options false \language ngerman \inputencoding auto \font_roman times \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry true \use_amsmath 2 \use_esint 0 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 2 \tocdepth 2 \paragraph_separation indent \defskip medskip \quotes_language danish \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Title Example \end_layout \begin_layout BeginFrame Produkte \end_layout \begin_layout Separator \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash begin{topcolumns}%{} \end_layout \begin_layout Plain Layout \backslash column{1cm} \end_layout \begin_layout Plain Layout One \end_layout \begin_layout Plain Layout \backslash column{8cm} \end_layout \begin_layout Plain Layout Two \end_layout \begin_layout Plain Layout \backslash end{topcolumns}%{} \end_layout \end_inset \end_layout \begin_layout Separator \end_layout \begin_layout EndFrame \end_layout \end_body \end_document == FILE 2 == %% LyX 1.6.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[ngerman,slidestop]{beamer} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %% Textclass specific LaTeX commands. % this default might be overridden by plain title style \newcommand\makebeamertitle{\frame{\maketitle}}% \AtBeginDocument{ \let\origtableofcontents=\tableofcontents \def\tableofcontent...@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}} \def\gobbletableofcontents#1{\origtableofcontents} } \makeatletter \long\def\lyxframe#...@lyxframe#1\@lyxframestop}% \d...@lyxframe{\@ifnextchar{\@@lyxframe}{\@@lyxframe*}}% \def\@@lyxframe#1{...@ifnextchar[{\@@@lyxframe#1}{\@@@lyxframe#1[]}} \def\@@@lyxframe#1[...@ifnextchar{\@lyxframe#1[}{\lyxframe#1[*][}} \def\@lyxframe#1[#2...@ifnextchar[{\lyxframe#1[#2]}{\lyxframe#1[#2][]}} \long\def\lyxframe#1[#2][#3]...@lyxframestop#5\lyxframeend{% \frame#1[#2][#3]{\frametitle{#4}#5}} \makeatother \def\lyxframeend{} % In case there is a superfluous frame end %% User specified LaTeX commands. \usetheme{Warsaw} % oder ... \setbeamercovered{transparent} % oder auch nicht \usepackage[all]{xy} % \usepackage{pgfpages} % \setbeameroption{show notes on second screen} \setbeamersize{text margin left=.5cm,text margin right=.5cm} \makeatother \usepackage{babel} \begin{document} \title{Example }
Re: Need help redefining Latex definitions
On 10/18/2009 06:45 AM, Axel wrote: Hello, for my field of studies, a greater sectioning depth than lyx normally offers is needed. For my purpose, I need at least 7 levels. I need to use all levels from part to subparagraph. I formated all headings with the titlesec package. Now I need to stop the page breaks before and after \chapter and \part. As far as I learned, the only proper way to do this is to redefine Latex definitions. I'm relatively new to lyx and latex, and don't know how to do this. Could someone help me? Look at how section, etc, are defined in the class you are using. Then follow that pattern. rh
Problem with latex conversion
Hello. I'm having a problem with previewing the postscript or exporting to latex and running latex on the file. The problem is that in the latex code I get: \end{sol}\end{ug} at the end of the line and it seems to ignore the \end{ug} part and thus fail. I'm only getting the \end{sol}\end{ug} stuff at some of the places and not all, elsewhere I get \end{sol} \end{ug} I attach an example lyx file. The problem occurs with the environment called GGGUG and seems to vanish if I change the part of the environment GGGSats to something else. I've attached the nessecery module. Have I gotten some of my environments wrong or is LyX doing something wrong? Any help on this matter is very much appreciated. b.lyx Description: application/lyx #\DeclareLyXModule{Gunnar} #DescriptionBegin #Gunnars modul #DescriptionEnd Style GGGExample LatexType Environment LatexName EE ParSkip 0.4 ParSep1 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringExempel #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Sats style definition Style GGGSats LatexType Environment LatexName Ss # ParSkip 0.4 # ParSep 1 # TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringSats #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Definition style definition Style GGGDefinition LatexType Environment LatexName DD ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringDefinition #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Definition style definition Style GGGDefinitionEnv LatexType Environment LatexName DDe ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringDefinition #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Bevis style definition Style GGGBevis LatexType Environment LatexName BB ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringBevis #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Uppgift style definition Style GGGUG LatexType Environment LatexName ug ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringUppgift OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End
Re: Urgent: Latex error with version 1.6.4.1
Guys, I've found a solution for this shittiest error finally. There were nothing wrong with the software, just a little thing that often you don't think. The fact is that to write my thesis a friend of mine passed me a folder with a thesis already done. In this folder there were files model with the right graphic settings. So, I just overwrite my stuff with them. But, I didnt' eliminate the backup/temporary files (whatever you call them) and once I tried to compile them, the error showed up. So, I just eliminated them and all work perfectly. I really didn't think of this...so, I'm apologize for your time spent! Bye Nicola
Re: Problem with latex conversion
On 10/18/2009 08:52 AM, Gunnar wrote: Hello. I'm having a problem with previewing the postscript or exporting to latex and running latex on the file. The problem is that in the latex code I get: \end{sol}\end{ug} at the end of the line and it seems to ignore the \end{ug} part and thus fail. I'm only getting the \end{sol}\end{ug} stuff at some of the places and not all, elsewhere I get \end{sol} \end{ug} I attach an example lyx file. Add a newline to the \end{sol} ERT. The problem occurs with the environment called GGGUG and seems to vanish if I change the part of the environment GGGSats to something else. I've attached the nessecery module. Have I gotten some of my environments wrong or is LyX doing something wrong? When the next layout is an environment, LyX does not write the newline before writing the closing tag. There's a reason it's done that way, mostly to avoid excessive space between successive environments and it seems to work with all of LyX's own environments. When you use ERT, though, that can cause problems and you may need to add your own newlines where necessary. rh
How do you enter additional arguments?
Hi All. I'm missing something obvious here. I'm using moderncv to construct my CV. One of the paragraph environments is \cventry I need to have a cventry look like the following: \cventry{date} {major} {University}{School} {City} {title} When I use the paragraph environment in Lyx for an Entry I get the following code: \cventry{} Only one argument is listed but I need six. How do I get it to enter the next argument? I've tried '\{' with no luck, it just buries the bracket inside the existing bracket. How do I move out of the first set of argument brackets and start the 2nd set of argument brackets? To be concrete... How do I move from \cventry{} To \cventry{date}{} Thanks in advance, Rick
Re: LyX Issue with Beamer Package
Clemens Cap wrote: Dear all, writing some slides in LyX 1.6.3 with the Beamer package and running into a nasty problem and I need some help. Researching gmane I found http://thread.gmane.org/gmane.editors.lyx.general/22673 and I believe the then mentioned issue still is a bug and I assume the bug is in an internal LyX data structure, as suggested by the original poster. The problem mentioned in that thread was not a bug as I recall, it was just user error. In any case, I do not think it pertains to your file. Your file #1 contains a LaTeX command \begin{topcolumns}%{}. When I try to compile your file, LaTeX complains that the topcolumns environment is undefined -- which does not surprise me, since I've never heard of it and you are not loading any packages in the preamble that define it. It looks as though you want to create two parallel columns (aligned at the top?). Does the attached file do what you wish? /Paul test2.lyx Description: application/lyx
Tufte-book Layout File
I recently made a .layout file for the Tufte-book class. http://code.google.com/p/tufte-latex/ I had good luck making it work with my materials, but I know nothing about LyX .layout files. I simply took the existing tufte-handout.layout file on the LyX.org website and modified it appropriately. I also added the full-width figure class figure* which seemed to be missing. Anyway, I'm hoping those with more skills can evaluate this .layout file, improve it, and, possibly, find some use for it. --Jason Waskiewicz Bowman County High School #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[tufte-book]{book (Tufte)} # tufte-book textclass definition file. # Jason Waskiewicz jason.waskiew...@sendit.nodak.edu, 2009/10/18 # Adapted from the tufte-handout.layout file from # Juergen Spitzmueller juer...@spitzmueller.org, 2008/10/22 Format 4 Provides geometry 1 Provides natbib-internal 1 # General textclass parameters Input book.layout Preamble % This should be in the class file, actually \RequirePackage{mcaption} EndPreamble Style Full_Width Margin Static LaTeXType environment LaTeXName fullwidth NextNoIndent1 ParSkip 0 ItemSep 0 TopSep 0.5 BottomSep 0.5 ParSep 0 Align Block AlignPossible Block, Left, Right, Center LabelType No_Label End NoStyle Subsubsection NoStyle Subsubsection* NoStyle Paragraph NoStyle Paragraph* NoStyle Subparagraph NoStyle Subparagraph* # FIXME: this should step the figure counter Counter Name marginfigure End # FIXME: this should step the table counter Counter Name margintable End # This defines the full width figure environment. # I honestly don't know what I'm doing, so I hope someone # better with LyX than I am can fix it! Float Type figure* GuiName Figure* Placement tbp Extension lot NumberWithin none Style plain ListName List of Figures LaTeXBuiltin true End Float Type margintable GuiName MarginTable Placement tbp Extension lot NumberWithin none Style plain ListName List of Tables LaTeXBuiltin true End Float Type marginfigure GuiName MarginFigure Placement tbp Extension lof NumberWithin none Style plain ListName List of Figures LaTeXBuiltin true End CharStyle NewThought LatexType Command LatexName newthought LabelFont Family Roman Color red EndFont End CharStyle AllCaps LatexType Command LatexName allcaps LabelFont Family Roman Color blue EndFont End CharStyle SmallCaps LatexType Command LatexName smallcaps Font Shape Smallcaps EndFont LabelFont Family Roman Color green EndFont End
Re: Lyx/BibLaTeX/Memoir problems
I have corrected the spaces in the path, and still receive the same problem. As an aside, I have encoded the bibliography in a range of different ways, not just UTF-8. =( Jasper
Re: How do you enter additional arguments?
Rick DeShon wrote: Hi All. I'm missing something obvious here. I'm using moderncv to construct my CV. One of the paragraph environments is \cventry I need to have a cventry look like the following: \cventry{date} {major} {University}{School} {City} {title} When I use the paragraph environment in Lyx for an Entry I get the following code: \cventry{} Only one argument is listed but I need six. How do I get it to enter the next argument? I've tried '\{' with no luck, it just buries the bracket inside the existing bracket. How do I move out of the first set of argument brackets and start the 2nd set of argument brackets? To be concrete... How do I move from \cventry{} To \cventry{date}{} Thanks in advance, Rick Not sure this is the right way to do it, but the following works. After the Entry: prompt, type the date, insert an ERT widget (the TEX button on the toolbar) and type a right brace, a left brace, whatever makes you feel good, another right brace/left brace pair if you need another argument, and so on ... everything but the final right brace. It might help to have View-View Source on so that you can see this unfold in real time. BTW, you're not the Rick DeShon at MSU, are you? /Paul (the Paul Rubin at MSU) (accept no cheap substitutes)
Epsilon ran off ...
... and took varrho with it. This is some sort of screen font problem, but one I don't recall seeing reported before. I've got a copy of LyX 1.6.3 installed on Mint Gloria (a Linux distro built over Ubuntu -- Jaunty Jackalope, I think). Of the Greek letters in the math palette, all but two (\epsilon and \varrho) display correctly in formulas; those two show up as text in the GUI (display correctly in output). Usually missing math glyphs are the result of a missing screen font, but it seems unlikely to be the case here since only two glyphs are missing. I've also got LyX 1.6.3 installed on an Ubuntu (Jaunty) box, and the glyphs are present there. Any suggestions where I could look for the cause? Thanks, Paul
Re: Page numbers in abstract, section numbering, and TOC modification
I hate to bump this, but my thesis is close to its due date, and I'm hoping to have these issues sorted so I can print it! Would anyone be able to help me at all? Thank you! Pete. On 13/10/2009, at 10:00 AM, Pete Crite wrote: Hi, I am attempting to write a thesis using LyX, and have a few questions. I have Googled extensively, but can't seem to find the answers. I am using the report class. 1. How do I get the page numbers to continue in the abstract? The abstract is the third page in, and appears to reset the page count. 2. I have two major Parts in my document. The first Part consists of sections (no chapters), with the second Part including chapters. I don't want chapters in the first section, for both inline effect (e.g. don't want new pages), and Table of Contents listing (i.e. don't want bold and no dots. What I _would_ like, if possible, if for the sections to be numbered similarly to chapters. i.e. 1 instead of 0.1, with the rest of its formatting remaining as a section. Is it possible to change the numbering of the sections (in the first Part only) without changing anything else? 3. In the second Part, I'd like the chapters in the TOC to be listed as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to be consistent with the inline chapter headings. Thanks in advance! Pete.
How to disable popping math bar?
Hi all, I have been an addicted LyX user in the past and enjoyed it very much. However, there is a feature in recent releases of LyX that keeps annoying me. Namely, any time I enter math mode with ctrl-m, a math bar is popping in the lower area of the screen, and it disappears as soon as I leave the math mode. I understand that this feature is very useful for beginners or people who like to select stuff from menus, but I am an old LaTeX-user and I know all my LaTeX keywords by heart, so I do not really need this kind of help. On the othyer hand, constant popping and unpopping is visually very distracting. I was looking for a box to untick in LyX preferences, but did not find anything reasonable that would disable this feature. Am I overlooking something trivial? My LyX version is 1.6.4.1 and I am using the Linux version on Arch Linux. Thanx in advance for any help! Jan
Re: How to disable popping math bar?
Jan Willemson wrote: I was looking for a box to untick in LyX preferences, but did not find anything reasonable that would disable this feature. Am I overlooking something trivial? My LyX version is 1.6.4.1 and I am using the Linux version on Arch Linux. The UI is all but obvious: unchecking View Toolbars Math (auto) while you're _inside_ mathed (and the toolbars are shown) should do it. Jürgen
Re: Lyx/BibLaTeX/Memoir problems
Jasper Diego-Story wrote: \bibliography{/Users/xxx/Desktop/THESIS/CENTRAL BIB/CENTRAL BIB} Bibtex cannot handle spaces in paths IIRC. Jürgen
Need help redefining Latex definitions
Hello, for my field of studies, a greater sectioning depth than lyx normally offers is needed. For my purpose, I need at least 7 levels. I need to use all levels from part to subparagraph. I formated all headings with the titlesec package. Now I need to stop the page breaks before and after \chapter and \part. As far as I learned, the only proper way to do this is to redefine Latex definitions. I'm relatively new to lyx and latex, and don't know how to do this. Could someone help me? My document class is report [koma]. Thanks ahead, Axel
LyX Issue with Beamer Package
Dear all, writing some slides in LyX 1.6.3 with the Beamer package and running into a nasty problem and I need some help. Researching gmane I found http://thread.gmane.org/gmane.editors.lyx.general/22673 and I believe the then mentioned issue still is a bug and I assume the bug is in an internal LyX data structure, as suggested by the original poster. It looks like the poster of that thread found a different workaround which, unfortunately, is not working in my case. Moreover the then discovered bug still exists and is reproducible. I attach a minimal LyX example below (File 1). If this file is exported as plain LaTeX we get (File 2). Moreover I attach the beginning of the plain LaTeX export of another LyX document produced with beamer and not showing the mentioned problem (File 3). The reason for the error is quite clear: The export in File 3 contains a line \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}} whereas the export of the faulty file, File 2, does NOT contain this line and consequently leads to an error. This phenomenon shows up although the beginning of a working LyX file (File 4) is completely identical to the beginning of the not working lyx file. To me it looks like an internal glitch is responsible that the first 5 lines of the lyx file in one case import the correct Latex header whereas in the other they unexpectedly drop one line. Thanx for your help. PS: I do observe the suggestion of the above mentioned post and have an end_frame in the non-working lyx file. So the suggestion of the old thread is not the correct hint. == FILE 1 == #LyX 1.6.3 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass beamer \begin_preamble \usetheme{Warsaw} % oder ... \setbeamercovered{transparent} % oder auch nicht \usepackage[all]{xy} % \usepackage{pgfpages} % \setbeameroption{show notes on second screen} \setbeamersize{text margin left=.5cm,text margin right=.5cm} \end_preamble \options slidestop \use_default_options false \language ngerman \inputencoding auto \font_roman times \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry true \use_amsmath 2 \use_esint 0 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 2 \tocdepth 2 \paragraph_separation indent \defskip medskip \quotes_language danish \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author \author \end_header \begin_body \begin_layout Title Example \end_layout \begin_layout BeginFrame Produkte \end_layout \begin_layout Separator \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash begin{topcolumns}%{} \end_layout \begin_layout Plain Layout \backslash column{1cm} \end_layout \begin_layout Plain Layout One \end_layout \begin_layout Plain Layout \backslash column{8cm} \end_layout \begin_layout Plain Layout Two \end_layout \begin_layout Plain Layout \backslash end{topcolumns}%{} \end_layout \end_inset \end_layout \begin_layout Separator \end_layout \begin_layout EndFrame \end_layout \end_body \end_document == FILE 2 == %% LyX 1.6.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[ngerman,slidestop]{beamer} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %% Textclass specific LaTeX commands. % this default might be overridden by plain title style \newcommand\makebeamertitle{\frame{\maketitle}}% \AtBeginDocument{ \let\origtableofcontents=\tableofcontents \def\tableofcontent...@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}} \def\gobbletableofcontents#1{\origtableofcontents} } \makeatletter \long\def\lyxframe#...@lyxframe#1\@lyxframestop}% \d...@lyxframe{\@ifnextchar{\@@lyxframe}{\@@lyxframe*}}% \def\@@lyxframe#1{...@ifnextchar[{\@@@lyxframe#1}{\@@@lyxframe#1[]}} \def\@@@lyxframe#1[...@ifnextchar{\@lyxframe#1[}{\lyxframe#1[*][}} \def\@lyxframe#1[#2...@ifnextchar[{\lyxframe#1[#2]}{\lyxframe#1[#2][]}} \long\def\lyxframe#1[#2][#3]...@lyxframestop#5\lyxframeend{% \frame#1[#2][#3]{\frametitle{#4}#5}} \makeatother \def\lyxframeend{} % In case there is a superfluous frame end %% User specified LaTeX commands. \usetheme{Warsaw} % oder ... \setbeamercovered{transparent} % oder auch nicht \usepackage[all]{xy} % \usepackage{pgfpages} % \setbeameroption{show notes on second screen} \setbeamersize{text margin left=.5cm,text margin right=.5cm} \makeatother \usepackage{babel} \begin{document} \title{Example }
Re: Need help redefining Latex definitions
On 10/18/2009 06:45 AM, Axel wrote: Hello, for my field of studies, a greater sectioning depth than lyx normally offers is needed. For my purpose, I need at least 7 levels. I need to use all levels from part to subparagraph. I formated all headings with the titlesec package. Now I need to stop the page breaks before and after \chapter and \part. As far as I learned, the only proper way to do this is to redefine Latex definitions. I'm relatively new to lyx and latex, and don't know how to do this. Could someone help me? Look at how section, etc, are defined in the class you are using. Then follow that pattern. rh
Problem with latex conversion
Hello. I'm having a problem with previewing the postscript or exporting to latex and running latex on the file. The problem is that in the latex code I get: \end{sol}\end{ug} at the end of the line and it seems to ignore the \end{ug} part and thus fail. I'm only getting the \end{sol}\end{ug} stuff at some of the places and not all, elsewhere I get \end{sol} \end{ug} I attach an example lyx file. The problem occurs with the environment called GGGUG and seems to vanish if I change the part of the environment GGGSats to something else. I've attached the nessecery module. Have I gotten some of my environments wrong or is LyX doing something wrong? Any help on this matter is very much appreciated. b.lyx Description: application/lyx #\DeclareLyXModule{Gunnar} #DescriptionBegin #Gunnars modul #DescriptionEnd Style GGGExample LatexType Environment LatexName EE ParSkip 0.4 ParSep1 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringExempel #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Sats style definition Style GGGSats LatexType Environment LatexName Ss # ParSkip 0.4 # ParSep 1 # TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringSats #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Definition style definition Style GGGDefinition LatexType Environment LatexName DD ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringDefinition #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Definition style definition Style GGGDefinitionEnv LatexType Environment LatexName DDe ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringDefinition #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Bevis style definition Style GGGBevis LatexType Environment LatexName BB ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringBevis #. OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Uppgift style definition Style GGGUG LatexType Environment LatexName ug ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelStringUppgift OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End
Re: Urgent: Latex error with version 1.6.4.1
Guys, I've found a solution for this shittiest error finally. There were nothing wrong with the software, just a little thing that often you don't think. The fact is that to write my thesis a friend of mine passed me a folder with a thesis already done. In this folder there were files model with the right graphic settings. So, I just overwrite my stuff with them. But, I didnt' eliminate the backup/temporary files (whatever you call them) and once I tried to compile them, the error showed up. So, I just eliminated them and all work perfectly. I really didn't think of this...so, I'm apologize for your time spent! Bye Nicola
Re: Problem with latex conversion
On 10/18/2009 08:52 AM, Gunnar wrote: Hello. I'm having a problem with previewing the postscript or exporting to latex and running latex on the file. The problem is that in the latex code I get: \end{sol}\end{ug} at the end of the line and it seems to ignore the \end{ug} part and thus fail. I'm only getting the \end{sol}\end{ug} stuff at some of the places and not all, elsewhere I get \end{sol} \end{ug} I attach an example lyx file. Add a newline to the \end{sol} ERT. The problem occurs with the environment called GGGUG and seems to vanish if I change the part of the environment GGGSats to something else. I've attached the nessecery module. Have I gotten some of my environments wrong or is LyX doing something wrong? When the next layout is an environment, LyX does not write the newline before writing the closing tag. There's a reason it's done that way, mostly to avoid excessive space between successive environments and it seems to work with all of LyX's own environments. When you use ERT, though, that can cause problems and you may need to add your own newlines where necessary. rh
How do you enter additional arguments?
Hi All. I'm missing something obvious here. I'm using moderncv to construct my CV. One of the paragraph environments is \cventry I need to have a cventry look like the following: \cventry{date} {major} {University}{School} {City} {title} When I use the paragraph environment in Lyx for an Entry I get the following code: \cventry{} Only one argument is listed but I need six. How do I get it to enter the next argument? I've tried '\{' with no luck, it just buries the bracket inside the existing bracket. How do I move out of the first set of argument brackets and start the 2nd set of argument brackets? To be concrete... How do I move from \cventry{} To \cventry{date}{} Thanks in advance, Rick
Re: LyX Issue with Beamer Package
Clemens Cap wrote: Dear all, writing some slides in LyX 1.6.3 with the Beamer package and running into a nasty problem and I need some help. Researching gmane I found http://thread.gmane.org/gmane.editors.lyx.general/22673 and I believe the then mentioned issue still is a bug and I assume the bug is in an internal LyX data structure, as suggested by the original poster. The problem mentioned in that thread was not a bug as I recall, it was just user error. In any case, I do not think it pertains to your file. Your file #1 contains a LaTeX command \begin{topcolumns}%{}. When I try to compile your file, LaTeX complains that the topcolumns environment is undefined -- which does not surprise me, since I've never heard of it and you are not loading any packages in the preamble that define it. It looks as though you want to create two parallel columns (aligned at the top?). Does the attached file do what you wish? /Paul test2.lyx Description: application/lyx
Tufte-book Layout File
I recently made a .layout file for the Tufte-book class. http://code.google.com/p/tufte-latex/ I had good luck making it work with my materials, but I know nothing about LyX .layout files. I simply took the existing tufte-handout.layout file on the LyX.org website and modified it appropriately. I also added the full-width figure class figure* which seemed to be missing. Anyway, I'm hoping those with more skills can evaluate this .layout file, improve it, and, possibly, find some use for it. --Jason Waskiewicz Bowman County High School #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[tufte-book]{book (Tufte)} # tufte-book textclass definition file. # Jason Waskiewicz jason.waskiew...@sendit.nodak.edu, 2009/10/18 # Adapted from the tufte-handout.layout file from # Juergen Spitzmueller juer...@spitzmueller.org, 2008/10/22 Format 4 Provides geometry 1 Provides natbib-internal 1 # General textclass parameters Input book.layout Preamble % This should be in the class file, actually \RequirePackage{mcaption} EndPreamble Style Full_Width Margin Static LaTeXType environment LaTeXName fullwidth NextNoIndent1 ParSkip 0 ItemSep 0 TopSep 0.5 BottomSep 0.5 ParSep 0 Align Block AlignPossible Block, Left, Right, Center LabelType No_Label End NoStyle Subsubsection NoStyle Subsubsection* NoStyle Paragraph NoStyle Paragraph* NoStyle Subparagraph NoStyle Subparagraph* # FIXME: this should step the figure counter Counter Name marginfigure End # FIXME: this should step the table counter Counter Name margintable End # This defines the full width figure environment. # I honestly don't know what I'm doing, so I hope someone # better with LyX than I am can fix it! Float Type figure* GuiName Figure* Placement tbp Extension lot NumberWithin none Style plain ListName List of Figures LaTeXBuiltin true End Float Type margintable GuiName MarginTable Placement tbp Extension lot NumberWithin none Style plain ListName List of Tables LaTeXBuiltin true End Float Type marginfigure GuiName MarginFigure Placement tbp Extension lof NumberWithin none Style plain ListName List of Figures LaTeXBuiltin true End CharStyle NewThought LatexType Command LatexName newthought LabelFont Family Roman Color red EndFont End CharStyle AllCaps LatexType Command LatexName allcaps LabelFont Family Roman Color blue EndFont End CharStyle SmallCaps LatexType Command LatexName smallcaps Font Shape Smallcaps EndFont LabelFont Family Roman Color green EndFont End
Re: Lyx/BibLaTeX/Memoir problems
I have corrected the spaces in the path, and still receive the same problem. As an aside, I have encoded the bibliography in a range of different ways, not just UTF-8. =( Jasper
Re: How do you enter additional arguments?
Rick DeShon wrote: Hi All. I'm missing something obvious here. I'm using moderncv to construct my CV. One of the paragraph environments is \cventry I need to have a cventry look like the following: \cventry{date} {major} {University}{School} {City} {title} When I use the paragraph environment in Lyx for an Entry I get the following code: \cventry{} Only one argument is listed but I need six. How do I get it to enter the next argument? I've tried '\{' with no luck, it just buries the bracket inside the existing bracket. How do I move out of the first set of argument brackets and start the 2nd set of argument brackets? To be concrete... How do I move from \cventry{} To \cventry{date}{} Thanks in advance, Rick Not sure this is the right way to do it, but the following works. After the Entry: prompt, type the date, insert an ERT widget (the TEX button on the toolbar) and type a right brace, a left brace, whatever makes you feel good, another right brace/left brace pair if you need another argument, and so on ... everything but the final right brace. It might help to have View-View Source on so that you can see this unfold in real time. BTW, you're not the Rick DeShon at MSU, are you? /Paul (the Paul Rubin at MSU) (accept no cheap substitutes)
Epsilon ran off ...
... and took varrho with it. This is some sort of screen font problem, but one I don't recall seeing reported before. I've got a copy of LyX 1.6.3 installed on Mint Gloria (a Linux distro built over Ubuntu -- Jaunty Jackalope, I think). Of the Greek letters in the math palette, all but two (\epsilon and \varrho) display correctly in formulas; those two show up as text in the GUI (display correctly in output). Usually missing math glyphs are the result of a missing screen font, but it seems unlikely to be the case here since only two glyphs are missing. I've also got LyX 1.6.3 installed on an Ubuntu (Jaunty) box, and the glyphs are present there. Any suggestions where I could look for the cause? Thanks, Paul
Re: Page numbers in abstract, section numbering, and TOC modification
I hate to bump this, but my thesis is close to its due date, and I'm hoping to have these issues sorted so I can print it! Would anyone be able to help me at all? Thank you! Pete. On 13/10/2009, at 10:00 AM, Pete Crite wrote: Hi, I am attempting to write a thesis using LyX, and have a few questions. I have Googled extensively, but can't seem to find the answers. I am using the report class. 1. How do I get the page numbers to continue in the abstract? The abstract is the third page in, and appears to reset the page count. 2. I have two major Parts in my document. The first Part consists of sections (no chapters), with the second Part including chapters. I don't want chapters in the first section, for both inline effect (e.g. don't want new pages), and Table of Contents listing (i.e. don't want bold and no dots. What I _would_ like, if possible, if for the sections to be numbered similarly to chapters. i.e. 1 instead of 0.1, with the rest of its formatting remaining as a section. Is it possible to change the numbering of the sections (in the first Part only) without changing anything else? 3. In the second Part, I'd like the chapters in the TOC to be listed as Chapter 1. Foobar rather than 1 Foobar. i.e. I'd like it to be consistent with the inline chapter headings. Thanks in advance! Pete.
How to disable popping math bar?
Hi all, I have been an addicted LyX user in the past and enjoyed it very much. However, there is a feature in recent releases of LyX that keeps annoying me. Namely, any time I enter math mode with ctrl-m, a math bar is popping in the lower area of the screen, and it disappears as soon as I leave the math mode. I understand that this feature is very useful for beginners or people who like to select stuff from menus, but I am an old LaTeX-user and I know all my LaTeX keywords by heart, so I do not really need this kind of help. On the othyer hand, constant popping and unpopping is visually very distracting. I was looking for a box to untick in LyX preferences, but did not find anything reasonable that would disable this feature. Am I overlooking something trivial? My LyX version is 1.6.4.1 and I am using the Linux version on Arch Linux. Thanx in advance for any help! Jan
Re: How to disable popping math bar?
Jan Willemson wrote: > I was > looking for a box to untick in LyX preferences, but did not find > anything reasonable that would disable this feature. Am I overlooking > something trivial? My LyX version is 1.6.4.1 and I am using the Linux > version on Arch Linux. The UI is all but obvious: unchecking View > Toolbars > Math (auto) while you're _inside_ mathed (and the toolbars are shown) should do it. Jürgen
Re: Lyx/BibLaTeX/Memoir problems
Jasper Diego-Story wrote: > \bibliography{/Users/xxx/Desktop/THESIS/CENTRAL BIB/CENTRAL BIB} Bibtex cannot handle spaces in paths IIRC. Jürgen
Need help redefining Latex definitions
Hello, for my field of studies, a greater sectioning depth than lyx normally offers is needed. For my purpose, I need at least 7 levels. I need to use all levels from part to subparagraph. I formated all headings with the titlesec package. Now I need to stop the page breaks before and after \chapter and \part. As far as I learned, the only proper way to do this is to redefine Latex definitions. I'm relatively new to lyx and latex, and don't know how to do this. Could someone help me? My document class is report [koma]. Thanks ahead, Axel
LyX Issue with Beamer Package
Dear all, writing some slides in LyX 1.6.3 with the Beamer package and running into a nasty problem and I need some help. Researching gmane I found http://thread.gmane.org/gmane.editors.lyx.general/22673 and I believe the then mentioned issue still is a bug and I assume the bug is in an internal LyX data structure, as suggested by the original poster. It looks like the poster of that thread found a different workaround which, unfortunately, is not working in my case. Moreover the then discovered bug still exists and is reproducible. I attach a minimal LyX example below (File 1). If this file is exported as plain LaTeX we get (File 2). Moreover I attach the beginning of the plain LaTeX export of another LyX document produced with beamer and not showing the mentioned problem (File 3). The reason for the error is quite clear: The export in File 3 contains a line \newenvironment{topcolumns}{\begin{columns}[t]}{\end{columns}} whereas the export of the faulty file, File 2, does NOT contain this line and consequently leads to an error. This phenomenon shows up although the beginning of a working LyX file (File 4) is completely identical to the beginning of the not working lyx file. To me it looks like an internal glitch is responsible that the first 5 lines of the lyx file in one case import the correct Latex header whereas in the other they unexpectedly drop one line. Thanx for your help. PS: I do observe the suggestion of the above mentioned post and have an end_frame in the non-working lyx file. So the suggestion of the old thread is not the correct hint. == FILE 1 == #LyX 1.6.3 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header \textclass beamer \begin_preamble \usetheme{Warsaw} % oder ... \setbeamercovered{transparent} % oder auch nicht \usepackage[all]{xy} % \usepackage{pgfpages} % \setbeameroption{show notes on second screen} \setbeamersize{text margin left=.5cm,text margin right=.5cm} \end_preamble \options slidestop \use_default_options false \language ngerman \inputencoding auto \font_roman times \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry true \use_amsmath 2 \use_esint 0 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 2 \tocdepth 2 \paragraph_separation indent \defskip medskip \quotes_language danish \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \author "" \author "" \end_header \begin_body \begin_layout Title Example \end_layout \begin_layout BeginFrame Produkte \end_layout \begin_layout Separator \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash begin{topcolumns}%{} \end_layout \begin_layout Plain Layout \backslash column{1cm} \end_layout \begin_layout Plain Layout One \end_layout \begin_layout Plain Layout \backslash column{8cm} \end_layout \begin_layout Plain Layout Two \end_layout \begin_layout Plain Layout \backslash end{topcolumns}%{} \end_layout \end_inset \end_layout \begin_layout Separator \end_layout \begin_layout EndFrame \end_layout \end_body \end_document == FILE 2 == %% LyX 1.6.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[ngerman,slidestop]{beamer} \usepackage{mathptmx} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \makeatletter %% Textclass specific LaTeX commands. % this default might be overridden by plain title style \newcommand\makebeamertitle{\frame{\maketitle}}% \AtBeginDocument{ \let\origtableofcontents=\tableofcontents \def\tableofcontent...@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}} \def\gobbletableofcontents#1{\origtableofcontents} } \makeatletter \long\def\lyxframe#...@lyxframe#1\@lyxframestop}% \d...@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}% \def\@@lyxframe<#1>{...@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}} \def\@@@lyxframe<#1>[...@ifnextchar<{\@lyxframe<#1>[}{\lyxframe<#1>[<*>][}} \def\@lyxframe<#1>[#2...@ifnextchar[{\lyxframe<#1>[#2]}{\lyxframe<#1>[#2][]}} \long\def\lyxframe<#1>[#2][#3]...@lyxframestop#5\lyxframeend{% \frame<#1>[#2][#3]{\frametitle{#4}#5}} \makeatother \def\lyxframeend{} % In case there is a superfluous frame end %% User specified LaTeX commands. \usetheme{Warsaw} % oder ... \setbeamercovered{transparent} % oder auch nicht \usepackage[all]{xy} % \usepackage{pgfpages} % \setbeameroption{show notes on second screen} \setbeamersize{text margin left=.5cm,text margin right=.5cm} \makeatother \usepackage{babel} \begin{document}
Re: Need help redefining Latex definitions
On 10/18/2009 06:45 AM, Axel wrote: Hello, for my field of studies, a greater sectioning depth than lyx normally offers is needed. For my purpose, I need at least 7 levels. I need to use all levels from part to subparagraph. I formated all headings with the titlesec package. Now I need to stop the page breaks before and after \chapter and \part. As far as I learned, the only proper way to do this is to redefine Latex definitions. I'm relatively new to lyx and latex, and don't know how to do this. Could someone help me? Look at how section, etc, are defined in the class you are using. Then follow that pattern. rh
Problem with latex conversion
Hello. I'm having a problem with previewing the postscript or exporting to latex and running latex on the file. The problem is that in the latex code I get: \end{sol}\end{ug} at the end of the line and it seems to ignore the \end{ug} part and thus fail. I'm only getting the \end{sol}\end{ug} stuff at some of the places and not all, elsewhere I get \end{sol} \end{ug} I attach an example lyx file. The problem occurs with the environment called GGGUG and seems to vanish if I change the part of the environment GGGSats to something else. I've attached the nessecery module. Have I gotten some of my environments wrong or is LyX doing something wrong? Any help on this matter is very much appreciated. b.lyx Description: application/lyx #\DeclareLyXModule{Gunnar} #DescriptionBegin #Gunnars modul #DescriptionEnd Style GGGExample LatexType Environment LatexName EE ParSkip 0.4 ParSep1 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelString"Exempel #." OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Sats style definition Style GGGSats LatexType Environment LatexName Ss # ParSkip 0.4 # ParSep 1 # TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelString"Sats #." OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Definition style definition Style GGGDefinition LatexType Environment LatexName DD ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelString"Definition #." OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Definition style definition Style GGGDefinitionEnv LatexType Environment LatexName DDe ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelString"Definition #." OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Bevis style definition Style GGGBevis LatexType Environment LatexName BB ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelString"Bevis #." OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End # Uppgift style definition Style GGGUG LatexType Environment LatexName ug ParSkip 0.4 ParSep0.4 TopSep0.4 Align Left AlignPossible Left LabelTypeTop_Environment LabelString"Uppgift " OptionalArgs 1 # label font definition LabelFont Series Bold EndFont End
Re: Urgent: Latex error with version 1.6.4.1
Guys, I've found a solution for this shittiest error finally. There were nothing wrong with the software, just a little thing that often you don't think. The fact is that to write my thesis a friend of mine passed me a folder with a thesis already done. In this folder there were files model with the right graphic settings. So, I just overwrite my stuff with them. But, I didnt' eliminate the backup/temporary files (whatever you call them) and once I tried to compile them, the error showed up. So, I just eliminated them and all work perfectly. I really didn't think of this...so, I'm apologize for your time spent! Bye Nicola
Re: Problem with latex conversion
On 10/18/2009 08:52 AM, Gunnar wrote: Hello. I'm having a problem with previewing the postscript or exporting to latex and running latex on the file. The problem is that in the latex code I get: \end{sol}\end{ug} at the end of the line and it seems to ignore the \end{ug} part and thus fail. I'm only getting the \end{sol}\end{ug} stuff at some of the places and not all, elsewhere I get \end{sol} \end{ug} I attach an example lyx file. Add a newline to the \end{sol} ERT. The problem occurs with the environment called GGGUG and seems to vanish if I change the part of the environment GGGSats to something else. I've attached the nessecery module. Have I gotten some of my environments wrong or is LyX doing something wrong? When the next layout is an environment, LyX does not write the newline before writing the closing tag. There's a reason it's done that way, mostly to avoid excessive space between successive environments and it seems to work with all of LyX's own environments. When you use ERT, though, that can cause problems and you may need to add your own newlines where necessary. rh
How do you enter additional arguments?
Hi All. I'm missing something obvious here. I'm using moderncv to construct my CV. One of the paragraph environments is \cventry I need to have a cventry look like the following: \cventry{date} {major} {University}{School} {City} {title} When I use the paragraph environment in Lyx for an "Entry" I get the following code: \cventry{} Only one argument is listed but I need six. How do I get it to enter the next argument? I've tried '\{' with no luck, it just buries the bracket inside the existing bracket. How do I move out of the first set of argument brackets and start the 2nd set of argument brackets? To be concrete... How do I move from \cventry{} To \cventry{date}{} Thanks in advance, Rick
Re: LyX Issue with Beamer Package
Clemens Cap wrote: Dear all, writing some slides in LyX 1.6.3 with the Beamer package and running into a nasty problem and I need some help. Researching gmane I found http://thread.gmane.org/gmane.editors.lyx.general/22673 and I believe the then mentioned issue still is a bug and I assume the bug is in an internal LyX data structure, as suggested by the original poster. The problem mentioned in that thread was not a bug as I recall, it was just user error. In any case, I do not think it pertains to your file. Your file #1 contains a LaTeX command \begin{topcolumns}%{}. When I try to compile your file, LaTeX complains that the topcolumns environment is undefined -- which does not surprise me, since I've never heard of it and you are not loading any packages in the preamble that define it. It looks as though you want to create two parallel columns (aligned at the top?). Does the attached file do what you wish? /Paul test2.lyx Description: application/lyx
Tufte-book Layout File
I recently made a .layout file for the Tufte-book class. http://code.google.com/p/tufte-latex/ I had good luck making it work with my materials, but I know nothing about LyX .layout files. I simply took the existing tufte-handout.layout file on the LyX.org website and modified it appropriately. I also added the full-width figure class figure* which seemed to be missing. Anyway, I'm hoping those with more skills can evaluate this .layout file, improve it, and, possibly, find some use for it. --Jason Waskiewicz Bowman County High School #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[tufte-book]{book (Tufte)} # tufte-book textclass definition file. # Jason Waskiewicz, 2009/10/18 # Adapted from the tufte-handout.layout file from # Juergen Spitzmueller , 2008/10/22 Format 4 Provides geometry 1 Provides natbib-internal 1 # General textclass parameters Input book.layout Preamble % This should be in the class file, actually \RequirePackage{mcaption} EndPreamble Style Full_Width Margin Static LaTeXType environment LaTeXName fullwidth NextNoIndent1 ParSkip 0 ItemSep 0 TopSep 0.5 BottomSep 0.5 ParSep 0 Align Block AlignPossible Block, Left, Right, Center LabelType No_Label End NoStyle Subsubsection NoStyle Subsubsection* NoStyle Paragraph NoStyle Paragraph* NoStyle Subparagraph NoStyle Subparagraph* # FIXME: this should step the figure counter Counter Name marginfigure End # FIXME: this should step the table counter Counter Name margintable End # This defines the full width figure environment. # I honestly don't know what I'm doing, so I hope someone # better with LyX than I am can fix it! Float Type figure* GuiName Figure* Placement tbp Extension lot NumberWithin none Style plain ListName "List of Figures" LaTeXBuiltin true End Float Type margintable GuiName MarginTable Placement tbp Extension lot NumberWithin none Style plain ListName "List of Tables" LaTeXBuiltin true End Float Type marginfigure GuiName MarginFigure Placement tbp Extension lof NumberWithin none Style plain ListName "List of Figures" LaTeXBuiltin true End CharStyle NewThought LatexType Command LatexName newthought LabelFont Family Roman Color red EndFont End CharStyle AllCaps LatexType Command LatexName allcaps LabelFont Family Roman Color blue EndFont End CharStyle SmallCaps LatexType Command LatexName smallcaps Font Shape Smallcaps EndFont LabelFont Family Roman Color green EndFont End
Re: Lyx/BibLaTeX/Memoir problems
I have corrected the spaces in the path, and still receive the same problem. As an aside, I have encoded the bibliography in a range of different ways, not just UTF-8. =( Jasper
Re: How do you enter additional arguments?
Rick DeShon wrote: Hi All. I'm missing something obvious here. I'm using moderncv to construct my CV. One of the paragraph environments is \cventry I need to have a cventry look like the following: \cventry{date} {major} {University}{School} {City} {title} When I use the paragraph environment in Lyx for an "Entry" I get the following code: \cventry{} Only one argument is listed but I need six. How do I get it to enter the next argument? I've tried '\{' with no luck, it just buries the bracket inside the existing bracket. How do I move out of the first set of argument brackets and start the 2nd set of argument brackets? To be concrete... How do I move from \cventry{} To \cventry{date}{} Thanks in advance, Rick Not sure this is the "right" way to do it, but the following works. After the "Entry: " prompt, type the date, insert an ERT widget (the TEX button on the toolbar) and type a right brace, a left brace, whatever makes you feel good, another right brace/left brace pair if you need another argument, and so on ... everything but the final right brace. It might help to have View->View Source on so that you can see this unfold in real time. BTW, you're not the Rick DeShon at MSU, are you? /Paul (the Paul Rubin at MSU) (accept no cheap substitutes)
Epsilon ran off ...
... and took varrho with it. This is some sort of screen font problem, but one I don't recall seeing reported before. I've got a copy of LyX 1.6.3 installed on Mint Gloria (a Linux distro built over Ubuntu -- Jaunty Jackalope, I think). Of the Greek letters in the math palette, all but two (\epsilon and \varrho) display correctly in formulas; those two show up as text in the GUI (display correctly in output). Usually missing math glyphs are the result of a missing screen font, but it seems unlikely to be the case here since only two glyphs are missing. I've also got LyX 1.6.3 installed on an Ubuntu (Jaunty) box, and the glyphs are present there. Any suggestions where I could look for the cause? Thanks, Paul
Re: Page numbers in abstract, section numbering, and TOC modification
I hate to bump this, but my thesis is close to its due date, and I'm hoping to have these issues sorted so I can print it! Would anyone be able to help me at all? Thank you! Pete. On 13/10/2009, at 10:00 AM, Pete Crite wrote: Hi, I am attempting to write a thesis using LyX, and have a few questions. I have Googled extensively, but can't seem to find the answers. I am using the report class. 1. How do I get the page numbers to continue in the abstract? The abstract is the third page in, and appears to reset the page count. 2. I have two major Parts in my document. The first Part consists of sections (no chapters), with the second Part including chapters. I don't want chapters in the first section, for both inline effect (e.g. don't want new pages), and Table of Contents listing (i.e. don't want bold and no dots. What I _would_ like, if possible, if for the sections to be numbered similarly to chapters. i.e. 1 instead of 0.1, with the rest of its formatting remaining as a section. Is it possible to change the numbering of the sections (in the first Part only) without changing anything else? 3. In the second Part, I'd like the chapters in the TOC to be listed as "Chapter 1. Foobar" rather than "1 Foobar". i.e. I'd like it to be consistent with the inline chapter headings. Thanks in advance! Pete.