Tag Info

New answers tagged

1

I believe I found the problem. Though I am not clear on why this happened, it appears that a number of my floats broke all at once. I had them referenced as "float: Model" (a custom module), and at some point they all were redesignated to the blank float choice. "float: model" appeared instead, but if you clicked on the float tag (the tab on the top left ...


0

I solved my problem. There was a conflict with an old version of Lyx on my max. So I deleted all directories Libary/Application Support/Lyx and reinstalled Lyx. Problem solved. best regards Jean-Christophe


0

The LyX file collection includes several files that are not placed into the correct position to be found by the LyX program itself on the Macintosh. It actually IS necessary to move the template files into a place where LyX is looking for them. Or else they are not found when a user runs File/New from template. This is a long standing LyX problem (see ...


0

Since using tocloft changes the overall style unacceptably, you can use \mbox{} to prevent individual words from being hypenated and \sloppy to prevent the line from extending too far. It is even possible to force a line break using \hbox to (at least for this setup). Since the chapter title at the start of the chapter is already \raggedright, adding ...


3

The class ubcthesis for thesis submission to the University of British Columbia is based on genthesis. You can redefine the font commands in the preamble. \renewcommand\chapterfont{\scriptsize} \renewcommand\chaptertitlefont{\scriptsize} genthesis uses options to define new sets of matching font commands, ubcthesis resets them partially. Changing the ...


0

The correct way is using \begin{subarray}{l}...\end{subarray}. \documentclass{article} \usepackage{amsmath} \begin{document} \[ \left[\frac{k}{k'}\right]_{\begin{subarray}{l} k=1\\k'=2+4\end{subarray}} \] \end{document}


1

@scottkosty's answer is correct to your question, but as he already mentioned, there is a more efficient and flexible way to create the references table then you asked for. The BibTeX-file can be easily generated by software like JabRef, Mendeley, Zotero or simply an ASCII editor. Very convenient is that most journals and even some libraries offer to ...


1

I would recommend you use BibTeX (or another manager). But if you want to input them directly, in LyX go to the environment dropdown (e.g. in a new document it says "Standard"). Click on it and choose "Bibliography" (it might be the last option). For a keyboard shortcut, do alt + p, and then start typing "bibliography" to filter the dropdown list. Here is a ...


2

You can do this with advanced find: Edit > Find & Replace (Advanced). A panel will open on the right. First go to the "Settings" tab in that panel and uncheck "ignore format". Then go back to the "Search" panel, and click in the "Find" field and go to Insert > Insert Regular Expression > Anything. Highlight the whole box that appear (not just the ...


-1

Author one \and{ Author two } \and{ Author three } Just add the accolades in LaTeX code and it will work.


2

Go to Document > Settings > Text Layout. Look at "paragraph separation". You can choose "vertical space".


2

Layout Folders There are generally two folders, where LyX searches for .layout files: A system-wide folder (for all users, usually one needs root privileges to alter this) and a user-specific folder in the users home. It depends on your operating system, where exactly these are located. The directories listed in Preferences->Paths are a good starting point. ...


2

For any other who faced the same problem, I managed to solve it indirect. On LyX go to: tools->preferences->paths-> and in path prefix add the destination of the folder in which you have install maple, mathematica, or any other software. After that, just insert into a math type mode and write the code. Let the cursor in the end of your code and then go ...


2

Don't say caption=false if you want to use captions.... \documentclass[twocolumn,journal]{IEEEtran} \usepackage[demo]{graphicx} \usepackage[font=footnotesize]{subfig} \begin{document} Fig. \ref{fig:comparision}. As shown in Fig. \ref{fig:comparision1}, From the Fig. \ref{fig:comparision2}, \begin{figure}[h] \centering ...


1

is is a function in the methods package, so you have to library(methods) The methods package is not loaded by default if the R script is executed from Rscript, per documentation of ?Rscript. That is how LyX calls R to load knitr and compiles the document.


3

Adjusting anything with regards to the lyxlist environment globally would have to be done using a Document > Settings... > Local Layout. The following layout was copied verbatim from stdlyxlist.inc: Format 49 Style Labeling Category List Margin Manual LatexType List_Environment LatexName lyxlist ...


1

Well, this is half a solution. Right clicking somewhere in the labeling environment and changing the Paragraph Settings... > Label Width > Longest Label value to the longest word you are using does the trick, but it isn't a global solution. EDIT: The LyX version I am using is 2.1.2.


4

This is heavily dependent on the LyX interface separating the first word from the rest, and making it the label. As such, it seems best to fool LyX in think you're still typing the first word by using a non-breaking space - Ctrl+Space - for setting subsequent words: Note that the lyxlist environment defined under the Labeling List uses a default label ...


2

Try switching to XeTeX. Using XeTeX solves lot's of bugs when using Hebrew (like hyperref is actually working). It's relatively easy to set up LyX to use XeTeX for Hebrew documents.


2

hyperref together with Hebrew and pdftex has never worked properly. However, recently I had success with modern versions of XeTeX in which hyperref and Hebrew do work together. You can follow this tutorial to set LyX to typeset Hebrew using XeTeX.


1

If you want footnotes at the bottom of your table, numbered independently from the ‘general’ footnotes (with lowercase letters, for instance) you can do that with the threeparttable package.This requires editing your code. The general structure is the following: \begin{table} \begin{threeparttable} \caption{...} \begin{tabular}...% or {tabular*} ...


1

just add to the \lstset{...}-section lineskip={-1.5pt} and: voilá!



Top 50 recent answers are included