# Tag Info

4

There aren't many LyX users on here, and probably fewer who play with LyX layout files. I have done this before, and the general steps involved are: Find the Customising LyX: Features for the Advanced User document and go to section 5: Installing New Document Classes, Layouts and Templates. Section 5.2.3 talks specifically about .cls files. I highly ...

3


2

With the standard or KOMA classes you can add \usepackage{etoc} to the preamble, and then it is possible to use multiple times \tableofcontents command. The code sample advocates \etocsetnexttocdepth{chapter} (for example), rather than \setcounter{tocdepth}{0}, for the reason that hyperref package takes into account the value of tocdepth to decide about ...

2

First make sure you use refstyle, go to Document->Document Settings->Document Class and check "Use refstyle...". Now lets add references that are clickable: go to Document->Settings->PDF Properties and check "Use Hyperref Support". Now when adding a cross-reference select "Formatted reference" in the Format option at the bottom of the window. Choosing the ...

2

Several of the abstract fields (such as the one of kalesanUsesFSS) contain unescaped percentage characters, such as "5.2%". This leads BibTeX to consider the rest of the line as a comment, including the final "}". You may need your replace your "%" by "\%" (not tested).

2

No this is not currently possible. You can make a feature request here. It might make sense to implement it for the -E option. So you could do something like lyx -E latex - yourfile.lyx, where - means output to STDOUT. I think that's consistent with what some Unix commands do (e.g. wget). So in the meantime, you will have to output to a file and then cat ...

2

I've managed to fix it by splitting all lines of code with new lines (when copied from intellij all '\n' characters have been removed and this cause a problem as the source was too long). Then, by right clicking the source code("Program listing") and going to the "Settings" I've changed the following: in the Style menu box picked smallest font type (not ...

2

This is a new feature in LyX 2.2 (beta will be out soon if you would like to test): Go to Document > Settings > Modules and add the GraphicBoxes module. Then go to Insert > Custom Insets > RotateBox For more information, read the manuals. For example, this feature is described in section 5.8.1 of the Embedded Objects manual. Note that it has been possible ...

1

Put the cursor in the first cell and press ctrl + shift + v, or do Edit > Paste Special > Plain Text. See here for a related bug report.

1

Press TAB. This is what "nests" the environment in the parent environment in LyX. The rectangles give an indication of how deep the nesting is. Note also that Shift + TAB (on Linux at least, not sure if different on other OS) does the opposite---it reduces the nesting level by one.

1

After cropping the image, I've used the following latex code: \begin{figure} \centering\includegraphics[scale=0.4]{Figure5_RPC_Problem_1}\caption{Wider than figure text. Wider than figure text.Wider than figure text.Wider than figure text.Wider than figure text.Wider than figure text.Wider than figure text.Wider than figure text.Wider than figure text.Wider ...

1

Following the answer given here, I added the following in a LaTeX block immediately after the item text in LyX: \par\begin{minipage}{\linewidth} \centering\includegraphics{myimage} \captionof{figure}{My very very ... very long caption text} \end{minipage}

1

First, to answer the specific question you ask, yes you can view the corresponding LaTeX code in LyX in real time. Just go to View > Source Pain and it will pop up at the bottom. Click the checkbox "Automatic update" for the real time view. As for your plan, I have mixed opinions. I definitely do not think that the best way to learn LaTeX is through LyX. ...

1

To add a completely "in house" solution for LyX. (And yes, I do spend way too much time in LyX away from a proper TeX editor) In Document > Settings > Document Class make sure that Use refstyle (not prettyref) for cross-references is ticked In Document > Settings > PDF Properties tick the box for Use Hyperref Support (essentially tells LyX to use the ...

1

I had this problem, too; when I removed this: \usepackage[T1]{fontenc} the problem disappears and the fonts become very nice and sharp again! Maybe you are using fontenc, or maybe it's some other package that's causing the problem. Check this possibility.

1

Here is a simple solution with pstricks: I define a node at the top of the column, another node at the bottom, and I connect them with a \ncbox command. The width of the box is automatically calculated thanks to the eqparbox package: top node and bottom node use a system of tags which is used to compute the largest node. Note you have to use the ...

1

\setlength\floatsep{1.25\baselineskip plus 3pt minus 2pt} \setlength\textfloatsep{1.25\baselineskip plus 3pt minus 2pt} \setlength\intextsep{1.25\baselineskip plus 3pt minus 2 pt} Put the above in the preamble, and change the 1.25 to desired one. The First Line is for length between two adjacent floats The Second Line - for floats on top and bottom of ...

1

The problem here is that RStudio knows where to look for Rd.sty, which is not part of CTAN and thus not part of TeX Live. (Rd.sty is something that is distributed with the base R packages and binaries but is not included in any TeX distribution that I know of.) TeX Live, by default, is configured to only look in certain places for TeX things. The link ...

1

I suggest you use the command \vspace{} with a negative length argument, each time you need to remove an unused space. This is not obviously the best solution for such an issue, but if you don't find a better one, you should resort to it.

Only top voted, non community-wiki answers of a minimum length are eligible