help: elsevier article( bibliography problem)
Hi, I am writing an article to be submitted to an Elsevier Journal. I am using article(elsevier). I require citation in simple number style "references by number(s) in square brackets in line with the text.". The problem that I am facing is that my old references are in simple number style (this is an article previously written for different journal hence different style was used, but now I want it to be submitted to a different journal). Now whatever new citations I add and refer to them in my article they come in aurthor (number) format. what is puzzling me is that why two different type of citations in same article when settings are the same. Any help to solve this problem will be deeply appreciated. Regards Subir
Re: PDF compile strange behavior
Am 13.08.2010 23:21, schrieb bjleend: I am using Lyx 1.6.5 in WinXp. I found a strange behavior when Lyx converts documents into pdf files. I am using document style book (koma) with AMS math package. I have compiled one with PDF hyperref support enabled using Document->Settings->PDF Properties to produce document Example1.pdf (left side), and uncheck the hyperref support to produce Example2.pdf (right side). Every other setups are exactly the same. Strangely, Example1.pdf has extra space between equations like (2.5)-(2.6), (2.7)-(2.8), etc. Can anyone help me to understand here why this happens? This is strange and should not happen. Can you send a LyX file with the corresponding text part to be able to reproduce the problem? Perhaps you are suffering from a bug in hyperref. regards Uwe
Viewing documents 'element DUMMY undefined
Hello people. I edited a document in 'docbook' style, and get loads of error messages like this one: jade:/tmp/lyx_tmpdir.TJ9507/lyx_tmpbuf0/mspgcc.sgml:440:41:E: element "DUMMY" undefined (the converter gives up after 200 of them). The 'DUMMY' element occurs in lines like: 15 14 These are entries in tables. I have assigned no special formatting to the text in the table cells... Are tables not allowed in docbook (the _do_ appear in the styles menu)? Or am I missing some file? Thanks in advance... John
Re: Centering page numbers for a book
Thanks Marcelo! What I mean is, if after typesetting the book, I need to remove or add pages (post printouts), then things go awry. FN Frederick Noronha +91-9822122436 +91-832-2409490 2010/8/14 Marcelo Acuña : >> Is there some way I could CENTRE all the page numbers at >> the bottom of the page, on a book? > > titlesec package or fancyhdr package. They allow to define page styles. > >> I like the current look, of having the page numbers on the >> outer side of the page. But if any pagination changes, all >> goes awry. > > !? > > That would not have to happen. There there is a problem. > > Marcelo > > > >
Re: Centering page numbers for a book
> Is there some way I could CENTRE all the page numbers at > the bottom of the page, on a book? titlesec package or fancyhdr package. They allow to define page styles. > I like the current look, of having the page numbers on the > outer side of the page. But if any pagination changes, all > goes awry. !? That would not have to happen. There there is a problem. Marcelo
PDF compile strange behavior
I am using Lyx 1.6.5 in WinXp. I found a strange behavior when Lyx converts documents into pdf files. I am using document style book (koma) with AMS math package. I have compiled one with PDF hyperref support enabled using Document->Settings->PDF Properties to produce document Example1.pdf (left side), and uncheck the hyperref support to produce Example2.pdf (right side). Every other setups are exactly the same. Strangely, Example1.pdf has extra space between equations like (2.5)-(2.6), (2.7)-(2.8), etc. Can anyone help me to understand here why this happens? Thanks. http://lyx.475766.n2.nabble.com/file/n5421642/Example1.jpg http://lyx.475766.n2.nabble.com/file/n5421642/Example2.jpg -- View this message in context: http://lyx.475766.n2.nabble.com/PDF-compile-strange-behavior-tp5421642p5421642.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Centering page numbers for a book
Frederick Noronha gmail.com> writes: > > Is there some way I could CENTRE all the page numbers at the bottom of > the page, on a book? Document > Settings > Page Layout, change the Headings style to fancy? /Paul
Re: Spacing between equations
Am 13.08.2010 20:19, schrieb Byung-Joo Lee: I am wondering how I can adjust space between equation. I am using Lyx 1.6.5, and document class is book (koma) with AMS Math package. My current PDF document looks like this. Obviously, there seems to be an extra line space between (2.5) and (2.6). I did not add any extra space between them. This occurs because LaTeX is trying to fill the page. What you can do is to either - add a pagebreak some paragraphs below the equations - set the cursor behind the first equation in LyX and press DELETE. If this doesn't delete the second equation, there was a paragraph break between both equations. Without a paragraph break, LaTeX cannot stretch things. regards Uwe
AW: short cuts: fonts in math mode
Jannick Asmus wrote: Last question on that: How about a short cut for \mathcal? Alt+z h or Alt+z i - in the German menu. J.
AW: AW: short cuts: fonts in math mode
Paul Rubin wrote: Jannick Asmus gmail.com> writes: I added a column for German menus since some of the short cuts differ from the English ones. Paul, could you have a look at the wiki page, because this is the first time that I posted something there? I hope that everything is alright. "n.a." should mean "not available". Looks great. Thank you. One question: did you try Alt-z h and Alt-z i for mathcal? According to the German version of menus.bind, they both bind to the lfun font-emph, which is what produces mathcal in my (US) version with the binding Alt-c e. If one of those works, try Alt-z k for mathbb Yes, that works as you say. When I tested I typed in small letters only - so it did not come out as I wanted it to be. I added that in the wiki (http://wiki.lyx.org/LyX/MathInLyX#toc4). But I am not sure about \mbox. Thanks for your help again ! Best wishes, J.
AW: AW: AW: short cuts: fonts in math mode
Paul Rubin wrote: I have used macros for sets and matrices (set in boldface) in articles submitted to journals (including INFORMS journals, and they're a bit picky) with no problems. I don't know of a way to globally search and replace them in LyX (maybe a forthcoming feature in LyX 2.0?), but it certainly could be done by running the .tex file through a text editor (or sed if you are a Linux fan). I think this might be a good feature for LyX - especially if more complex maros are used which cannot be easily "decoded" by search & replace in some text editor. J.
Re: AW: short cuts: fonts in math mode
Jannick Asmus gmail.com> writes: > > I added a column for German menus since some of the short cuts differ > from the English ones. > > Paul, could you have a look at the wiki page, because this is the first > time that I posted something there? I hope that everything is alright. > "n.a." should mean "not available". Looks great. Thank you. One question: did you try Alt-z h and Alt-z i for mathcal? According to the German version of menus.bind, they both bind to the lfun font-emph, which is what produces mathcal in my (US) version with the binding Alt-c e. If one of those works, try Alt-z k for mathbb /Paul
Re: AW: AW: short cuts: fonts in math mode
Jannick Asmus gmail.com> writes: > For reasons of compatibility I am asking myself how such a solution > translates to the corresponding tex file? If I use \sX as a short form of \mathcal{X}, then the .tex file will contain \global\long\def\sX{\mathcal{X}} at the point where I define it (in the body, although it could be moved manually to the preamble) and \sX in the formulas. > If it is to sent to some > journal, they do not like any macros - as I have experienced. So are > there any routines which eliminate macros in a tex file? I have used macros for sets and matrices (set in boldface) in articles submitted to journals (including INFORMS journals, and they're a bit picky) with no problems. I don't know of a way to globally search and replace them in LyX (maybe a forthcoming feature in LyX 2.0?), but it certainly could be done by running the .tex file through a text editor (or sed if you are a Linux fan). /Paul
AW: short cuts: fonts in math mode
Uwe Stöhr wrote: Am 13.08.2010 17:24, schrieb Jannick Asmus: Sorry for being a bit insisting here. In my version Alt+z k means font-noun. That is \mathbb. Just use the shortcut Alt+z k and you can see in LyX's View source window (menu View->View Source) that \mathbb is created. You are right. Sorry for the noise. Last question on that: How about a short cut for \mathcal? Thanks a lot for your patience. Best wishes, J.
Re: short cuts: fonts in math mode
Am 13.08.2010 17:24, schrieb Jannick Asmus: With German menus you get \mathbb with Alt+z k . the shortcuts are defined in the file "menus.bind". So have a look at your windows in the folder ~:\Programme\LyX 1.6.7\Resources\bind\de and open menus.bind with a text editor. Sorry for being a bit insisting here. In my version Alt+z k means font-noun. That is \mathbb. Just use the shortcut Alt+z k and you can see in LyX's View source window (menu View->View Source) that \mathbb is created. regards Uwe
AW: short cuts: fonts in math mode
Uwe Stöhr wrote: Am 13.08.2010 09:50, schrieb Jannick Asmus: Alt+c and c gives for example \mathbb. This changes to mathtt (typewriter - as given in the LyX menu for short cuts and the short cut docu (German version)) in my version (1.6.7 Greman/WinVista) - of course with the modication in your important PS. With German menus you get \mathbb with Alt+z k . the shortcuts are defined in the file "menus.bind". So have a look at your windows in the folder ~:\Programme\LyX 1.6.7\Resources\bind\de and open menus.bind with a text editor. Sorry for being a bit insisting here. In my version Alt+z k means font-noun. I checkeb that both in the config and in the file "menu.bind" (German folder). And I could not find any other bind for \mathbb or \mathcal. The English shortcuts are defined in the menus.bind in this folder ~:\Programme\LyX 1.6.7\Resources\bind regards Uwe Best wishes, J.
Re: short cuts: fonts in math mode
Am 13.08.2010 09:50, schrieb Jannick Asmus: Alt+c and c gives for example \mathbb. This changes to mathtt (typewriter - as given in the LyX menu for short cuts and the short cut docu (German version)) in my version (1.6.7 Greman/WinVista) - of course with the modication in your important PS. With German menus you get \mathbb with Alt+z k . the shortcuts are defined in the file "menus.bind". So have a look at your windows in the folder ~:\Programme\LyX 1.6.7\Resources\bind\de and open menus.bind with a text editor. The English shortcuts are defined in the menus.bind in this folder ~:\Programme\LyX 1.6.7\Resources\bind regards Uwe
Re: UI - enumerate lists
On 08/13/2010 03:47 AM, Peter Baumgartner wrote: Is there a way in the LyX user interface to label enumerate lists besides the standard (arabic)? Using package and module enumitem I've written some list formats I'm using very often but can't display in LyX their different labels. I've tried to define counters at paragraph style and text class level but the LabelString parameter does not work for me. There is a cryptic footnote in the manual saying "any numbertype other than those described below will produce arabic numerals", but than the text goes on and describes all relevant types like alph, roman etc. I've seen that other people in their modules have used in similar situations blue font to warn that there is no WYSIWYG. So what: Is this a bug or I'm doing something wrong? I'd have to see what you'd tried to do to know what was wrong. Possibly the issue is that enumerations can only use the predefined enumi, enumii, etc, counters. I think enunitem and the module are best for one-off changes to lists. If you want regularly to use a list that is marked with roman numerals, then I'd write a new list type and a little module that contained it, such as the attached. Ps.: I very appreciate the module "customizable list" by Guenter Milde. Thanks! But IMHO it lacks appropriate documentation. Feel free to write some! Also the name for the inset "Short Title" is misleading and should - as long as is not provided as standard with LyX - go into the Custom insets menu. This will be addressed in 2.0, where argument support is much more flexible. Richard #\DeclareLyXModule{Entry} #DescriptionBegin #An environment for syllabus entries. #DescriptionEnd Format 11 Style Entry MarginFirst_Dynamic LatexType List_Environment LatexName Entry NextNoIndent 1 LabelSep xx LeftMarginMMM ParSkip 0.4 ItemSep 0.2 TopSep0.7 BottomSep 0.7 ParSep0.3 Align Block AlignPossible Block, Left LabelType Manual #define the environment Preamble \usepackage{calc} \newlength{\dwidth} \newenvironment{Entry}% {% \begin{list}{}% {% \setlength{\parsep}{0pt}% \setlength{\itemsep}{0.25\baselineskip}% \settowidth{\dwidth}{29--29 September 2007}% \renewcommand{\makelabel}[1]{##1\hfill}% \setlength{\leftmargin}{\dwidth + 0.5in}% \setlength{\labelsep}{0.5in}% \setlength{\labelwidth}{\dwidth}% \renewcommand{\makelabel}[1]{##1\hfill}% }% } {% \end{list} } EndPreamble End
AW: short cuts: fonts in math mode
Paul A. Rubin wrote: This is very useful to know but not visible in the Tools > ... > Shortcuts dialog. (If you filter on Alt+C, only boldsymbol and roman appear, and the user has to recognize that roman implies \mathrm in math mode.) I've filed an enhancement ticket to add the relevant options to the Mathematical Symbols section of Tools > ... > Shortcuts, and in the interim I put a table of shortcuts in the wiki (http://wiki.lyx.org/LyX/MathInLyX#toc4). I added a column for German menus since some of the short cuts differ from the English ones. Paul, could you have a look at the wiki page, because this is the first time that I posted something there? I hope that everything is alright. "n.a." should mean "not available". /Paul Best wishes, J.
Re: short cuts: fonts in math mode
On 8/12/2010 6:22 PM, Uwe Stöhr wrote: There are already some shortcuts. Highlight some parts of your formula and then press "Alt+c" and then "r". This leads to upright characters (\mathrm). Alt+c and c gives for example \mathbb. After typing Alt+c the LyX status bar will show you the available characters connected to the Alt+c shortcut. For more shortcuts have a look at the LyX menu Tools->Preferences->Editing->Shortcuts. This is very useful to know but not visible in the Tools > ... > Shortcuts dialog. (If you filter on Alt+C, only boldsymbol and roman appear, and the user has to recognize that roman implies \mathrm in math mode.) I've filed an enhancement ticket to add the relevant options to the Mathematical Symbols section of Tools > ... > Shortcuts, and in the interim I put a table of shortcuts in the wiki (http://wiki.lyx.org/LyX/MathInLyX#toc4). /Paul
Re: Simplification symbols
Thanks a lot, I will give it a look. - Julio Rojas jcredbe...@gmail.com On Fri, Aug 13, 2010 at 1:36 PM, Tennessee Carmel-Veilleux wrote: > On 12 August 2010 18:39, Julio Rojas wrote: >> >> Thx Tennessee, I use it and its answer was "nearrow"!!! :D >> >> The thing is how can I overstrike this arrow over one of the terms to >> signal a simplification. > > Oh, I understand what you mean now :) > > The cancel package provides this > (http://www.tex.ac.uk/tex-archive/macros/latex/contrib/cancel/cancel.pdf). > > Just "\usepackage{cancel}" in the preamble. > > You can insert it in math mode, but you have to be careful that in the > source view, you have "real" braces ({}) around the argument. To do this > follow these step (example: you want to cancel ab in ab+cd): > > CTRL-M (enter Math Mode) > \cancel (will appear in red) > CTRL-L (enter raw LaTeX) > type the "{" symbol on your keyboard (will insert a raw "{ }" argument box > to \cancel) > fill the box with terms to cancel, here "ab" > Exit the brace box and continue the equation: "+cd" > > I made a similar example in the screenshot attached. Hope this helps. > > I got the hint from the following: > http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-05/msg00282.html > > Best regards, > > Tennessee Carmel-Veilleux, ing. jr (OIQ) > Electrical engineering masters student, ETS (http://www.etsmtl.ca) > Project AREXIMAS (http://areximas.etsmtl.ca) > >
Re: lyx: Font derail (with semi-related ranting)
BTW, all interested parties can check: ftp://ftp.tug.ctan.org/hefferon/tug2009/gyre.pdf - Julio Rojas jcredbe...@gmail.com On Fri, Aug 13, 2010 at 11:10 AM, Julio Rojas wrote: > But qpx seems a rather old package, compared to mathpazo. Isn't it a > little dated? > - > Julio Rojas > jcredbe...@gmail.com > > > > On Fri, Aug 13, 2010 at 8:22 AM, Guenter Milde wrote: >> qpxmath >
Re: Problem loading mnsymbols
Thanks Guenter, but I need AMS for the theorems. I don't have to look at it now, but I plan on revisit this as I love minionpro. Best regards. - Julio Rojas jcredbe...@gmail.com On Fri, Aug 13, 2010 at 8:14 AM, Guenter Milde wrote: > On 2010-08-12, Julio Rojas wrote: >> Dear all, I have been able to install the minionpro font on my MikTeX >> 2.8 installation. I could render text documents, but while trying to >> render my thesis (huge, lots of math, figures, tables, etc.) I >> received the following errors: > >> ! LaTeX Error: Command `\hslash' already defined. > > ... > > Looks like mnsymbols/minionpro clashes with amsmath (providing its own > definitions). > > Check in the package documentation to be sure. > > Disable the "Use AMS" in Document>Settings. > > > Hope this helps > > Günter > >
Re: lyx: Font derail (with semi-related ranting)
But qpx seems a rather old package, compared to mathpazo. Isn't it a little dated? - Julio Rojas jcredbe...@gmail.com On Fri, Aug 13, 2010 at 8:22 AM, Guenter Milde wrote: > qpxmath
Problems in 'fig2pdftex.py'
Hello Lyx-Users, i have some problems using .fig-files in my lyx document. Whenever I try to compily my file I get an error message that the is an error in the script-file fig2pdftex.py. On the console i see the following message: NameError: name `mkstemp` is not defined On the dialog box in lyx I see: "Bei der Ausführung von python -tt "_some_path_/bin/../Ressources/s ist ein Fehler aufgetreten." I added the fig2dev.exe file to path to get the script fig2pstex.py running. It seems that there are parts of python missing. Is there somebody out there who can give mit some hints to get ist working? I use lyx 1.6.7 on windows. (no alt-installer) Many thanks - Tino smime.p7s Description: S/MIME cryptographic signature
AW: AW: short cuts: fonts in math mode
Jannick Asmus wrote: Paul Rubin wrote: Jannick Asmus gmail.com> writes: If you want to use a macro to convert arbitrary symbols to mathcal, create a new macro (let's call it \mc). Before fiddling with the TeX box, we want to add an argument. If the macro toolbar is displaying, click the second icon (tooltip = "Append argument" -- I won't attempt to describe the icon). If not, or if you can't sort out the icons, use Edit > Math > Macro Definition > Append Argument. The macro now shows a LaTeX argument placeholder #1 in braces. In the TeX box, highlight #1 (which should be automatically filled in) and type \mathcal (which will somewhat unhelpfully convert #1 to down-arrow infinity -- ignore that). Now, in any math formula, type \mc followed by a space to get an inset. Anything you type in the inset is set in mathcal. If you highlight content and type \mc space, the highlighted content is converted. That sounds easy too. This is for tomorrow since it is late in my time zone now. I tried - and it works smoothly. For reasons of compatibility I am asking myself how such a solution translates to the corresponding tex file? If it is to sent to some journal, they do not like any macros - as I have experienced. So are there any routines which eliminate macros in a tex file? I know this is another topic already. Thanx for your replies. Best wishes, J.
AW: short cuts: fonts in math mode
Uwe Stöhr wrote: There are already some shortcuts. Highlight some parts of your formula and then press "Alt+c" and then "r". This leads to upright characters (\mathrm). Alt+c and c gives for example \mathbb. This changes to mathtt (typewriter - as given in the LyX menu for short cuts and the short cut docu (German version)) in my version (1.6.7 Greman/WinVista) - of course with the modication in your important PS. After typing Alt+c the LyX status bar will show you the available characters connected to the Alt+c shortcut. For more shortcuts have a look at the LyX menu Tools->Preferences->Editing->Shortcuts. I looked around there, but I couldn't find anything for \mathbb. :( If it is possible for \mathtt, I wonder if it could be done for \mathbb as well? regards Uwe p.s. Note that on LyX with German menus, Alt+c becomes Alt+z That's really important. I tried Alt+c first. ;) Thx for your input. Best wishes, J.
UI - enumerate lists
Is there a way in the LyX user interface to label enumerate lists besides the standard (arabic)? Using package and module enumitem I've written some list formats I'm using very often but can't display in LyX their different labels. I've tried to define counters at paragraph style and text class level but the LabelString parameter does not work for me. There is a cryptic footnote in the manual saying "any numbertype other than those described below will produce arabic numerals", but than the text goes on and describes all relevant types like alph, roman etc. I've seen that other people in their modules have used in similar situations blue font to warn that there is no WYSIWYG. So what: Is this a bug or I'm doing something wrong? Using LyX 1.6.7 on a Mac. Peter Ps.: I very appreciate the module "customizable list" by Guenter Milde. Thanks! But IMHO it lacks appropriate documentation. Also the name for the inset "Short Title" is misleading and should - as long as is not provided as standard with LyX - go into the Custom insets menu.