New answers tagged

3

Yes. To place an image in the text, same as if you place any letter in the text, just place the cursor where you want the image, and do Insert --> Graphics. Many people seem to think that a floating environment (the figure environment) is required to add images, which is a misunderstanding.


2

Here is a pure LaTeX solution (sorry). Simply enclose the bibliography statement in a box. In this way all the crucial parts of \bibliography are still executed but typesetting is prevented. This has the advantage, that it does not depend on implementation details of \bibliography. \documentclass{tufte-handout} \begin{document} Lorem ...


1

I had similar problems. Large gaps after figure floats. None of the above had any impact. It was the placement option for the figure floats. Right click on the "float: Figure" The issue stems from if you have large figures in close proximity to each other. Lyx tries to do what you've asked it to. If the check box indicates "Here definitely", the software ...


1

You can use algorithm and algorithmic to generate the protocol. more info here and here. To do the Protocols "preamble" (Party, input and so on) I would use a simple tabular. The final outcome would be something like this: \documentclass[a4paper,11pt]{article} \usepackage{algorithm} \usepackage{algorithmic} %need these for the protocol ...


1

I don't know this command, but in your source-code, you can load the boldline package, which defines \hlineB{x}, meaning x times default arrayrule width (0.4pt, but it may be changed), \clineB{m-n}{x} and V{x} in the preamble of the tables, in replacement of | for vertical rules. Alternatively, the makecell package, among many other useful things defines ...


3

LyX does support Mathematica. Make a math box in LyX (Ctrl+M), put in the math box solve(...), then right-click and go to Use Computer Algebra System and then Mathematica.


0

You need a file dcsbook.layout. You also need the necessary LaTeX files. You can copy them from your Windows computer to your Ubuntu computer or you can get them from here. Once you install the new LaTeX files, put the layout file in ~/.lyx/layouts and then go to Tools > Reconfigure and restart LyX.


0

In my case, I had the same problem and nothing worked until I changed my directory to a non-UNC one. The UNC paths are not seemed to be supported by the epstopdf package (in my experience).


2

Just uninstall the whole MiKTeX package itself (don't touch LyX), download from MiKTeX then do a whole reconfigure from within LyX. It worked. Things are back to normal now.


1

Make sure that your bibliography and document are using UTF-8 and then declare \usepackage[utf8]{inputenc} rather than [latin9]. For UTF-8 Bibliographies you might need bibtex8 or biblatex/biber depending on exactly how much language support you need. (Non English titles etc are not a problem but classic bibtex will not understand non ascii letters so ...


0

What worked for me is unchecking the option "Automatically fill header" under Document-> Settings-> PDF properties. I guess that just helps never loading babel and running into the problems caused by it.


1

The problem was identified by Joseph Wrigt in a comment: LyX adds \bibliographystyle to the document, but as achemso already does that, you get an error. I think that to make this work you have to do two things: First choose Insert --> Note --> Comment. Inside this comment-inset, add the bibliography the normal way, with Insert --> List/ToC --> BibTeX ...


1

Go to Document --> Settings --> Document class. Select American Chemical Society (ACS) as the class, and add journal=langd5 to the Custom options. For a twocolumn document, add layout=twocolumn as well. journal=langd5,layout=twocolumn Do not select Two column document in the Text layout tab.


6

I don't know why this was never answered. But for reference, in case anyone else sees this. When you do Insert --> List/ToC --> BibTeX bibliography, you get this window: The \bibliographystyle is chosen by the Style drop-down menu. Choose the one you want from the list. There is no style called alphaabbrv in the list, but alpha does something like what ...


1

The command \definecolor{shadecolor}{rgb}{0, 0, 1} issued in a TeX inset (Ctrl+L) before the shaded box will change this color to blue. If the change should be only local for that particular box, do Ctrl+L; {; exit the TeX inset; Ctrl+L again; \definecolor{shadecolor}{rgb}{0, 0, 1}; exit the TeX inset; insert your box; Ctrl+L; } I do not understand why LyX ...


1

If you want a finer control over your layout you can use \vskip. Some text \vskip 0.2in Some text You can change the value and units should you desire. Anothing thing you can do is create a custom command: \newcommand{\newpara} { \vskip 1cm } So now you can just type \newpara in much the same way as \newline: Some text \newpara Some text ...


1

Are you looking for something like this? \documentclass{article} \usepackage[T1]{fontenc} \usepackage{titlesec,titletoc,lipsum} \titleformat{\section} {\normalfont\Large\bfseries} {\thesection}{1em}{} [\vspace*{2pc}% \startcontents \printcontents{}{1}{\setcounter{tocdepth}{2}}% ] \newcommand\repeatsection{% \section{This section} ...


1

The Drag-Dropping is not working at least in Lyx OSx with my settings but Lyx > Preferences > Look & Feel > Document Handling and select the option "Open documents in tabs" works, this is suggested by scottkosty where a small difference with "Tools > Preferences > Look & Feel > Document Handling" with Tools instead of Lyx toolbar link. There ...


3

There are four predefined page styles that can be used with KOMA-Script class without loading an additional package for header and footer. You can use \pagestyle{plain} to get the page number in footer but an empty header. empty: header and footer are empty headings: page number in footer, headings will be set by chapters, sections etc. myheadings: page ...


0

@scottkosty, herewith are both files requested. They are separated by double lines of asterisks. Well, it turns out that they are formatted to lines. Also some line ends have been messed up. I imagine this is because of \r\n versus \n or similar. This one works LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 ...


2

I have discovered that in LyX I have to put the minted part of the file into a [ctrl]+[L] box. Only then does it work.


3

There is a bug request asking for a button to stop the compilation: http://www.lyx.org/trac/ticket/10108. In the meanwhile, you can try to stop the spawned processes (pdflatex, knitr...) and lyx will give up at some point (not ideal).


0

Also you can use this option Indented for this the option fleqn must be inserted in the menu Document ▷ Settings under Document Class


0

Changing a theme for presentation in LyX is easy. Just go to Document > Settings Select LaTeX preamble and write \usetheme{ThemeName}, where ThemeName can be changed to the name of the theme like Warsaw etc. Check out this video. It will show you how to change the Theme in LyX: Changing Theme for Presentation in LyX


0

A slide or Frame in LyX consists of a Frame heading followed by contents and then a separator. So first select the Frame tag from the drop down list and give it a title Then fill in the Contents of the Frame and in the end select a separator from the drop down list at the top right corner. You can repeat this process to create as many slides/Frames as you ...



Top 50 recent answers are included