# Tag Info

5

After a research marathon, I finally came up with some workaround based on plain TeX/LaTeX boxes handling; this is why I'll explain how the kernel works in plain code first. Since the problem started with LaTeX's cell vertical space handling, one solution is to avoid it "a priori" by building a sub-cell capable of fixing the inner arrangement as the user ...

4

I know it`s not the nicest way to do this, but here we go... (I tried some time ago to find a nicer way and failed. I give you my improvised result) Just enter the polynomials into a regular table, and use separating lines for the top and side. In LyX it looks like this: and after compilation it looks like this:

4

4

Don't load beamerarticle with beamer, but load it with an article-class (article, scrartcl, etc.). beamerarticle is used to "convert" a presentation into a normal article. To do that it declares the same commands as beamer, that's why all commands are already declared and why you can't use both together.

4

The apa document class redefines the tabular environment, ending it in the wrong way. Here's the ending definition \def\endtabular{% \let\BBAB\normal@BBAB% -- thp 2005/07/23 \orig@endtabular\ifapamodedoc{\hfill}{}}% 2006/01/02 \hfill for centering in doc mode The \let definition before \orig@endtabular is considered an entry in ...

3

As others have said, you cannot use beamerarticle with the beamer class. Compile interactively or look at the log/output to see the errors this produces. You can ignore these and get a PDF but things are going to go awry in subtle, and not so subtle, ways if you do that. Besides, there are better options: Handout Mode Here is the effect of using beamer's ...

3

The three screen fonts you see there apply to both text and math. Most math will show up in the Roman one but the other two are used for math in \mathsf and \mathtt regions. If you were hoping for a way to change the math font independently of the text font, unfortunately I don't think that there's a way. However, you could turn on instant preview in Look ...

3

To add the label in the prob, do as you would otherwise, click the button on the toolbar, or do Insert --> Label, right at the start of the prob. After adding your sol, right click its title, choose Insert Short title, and write niceProb in this. If you look in the source code panel this will add niceProb where it's supposed to be. It doesn't appear, at ...

3

Very nicely written question, Nasser. As Torbjørn T. said, this is a LyX GUI issue. You can post an enhancement request at http://www.lyx.org/trac/. You might be interested in going to Tools > Preferences > Look & Feel > Display and turning Instant Preview to "on". Then the correct equation numbers will be displayed when you are not editing the ...

3

A better idea is to use LyX's native integration with Xfig. This is better because if you modify your Xfig you do not have to remember to export again. I've seen many problems (e.g. "I forgot to reexport") occur from such copy/paste issues. This has the further advantage that LyX will show your figure. Go to Insert > File > External Material: And then ...

2

I figured out my own answer, I learned that Lyx only takes into account the preamble of the master document, so I changed language (spanish instead english) of this one in Document>Configuration>Language, but nothing happened. I looked out the Tex code and I realized that Lyx first load the classicthesis-config.tex and after the Language option, this way: ...

2

the syntax \begin{frame}[fragile] comes from beamer and it does not make a visible frame box around the content, a "frame" in beamer is one slide of the presentation. But it seems you are not using beamer (you should always post a complete small document so we don;t have to guess) in which case you are using the standard latex \frame command which is ...

2

If the table floats, the boxes will end in a different page; to prevent this, draw the boxes inside the corresponding table environment: \documentclass{article} \usepackage{booktabs} \usepackage{tikz} \usetikzlibrary{tikzmark} \usepackage[english]{babel} \usepackage{blindtext} \newcommand\FramedBox[3][]{% \draw[red!80!black,rounded corners,#1] ...

2

Something strange happens on import to LyX. If you look at the source code generated by LyX, the start of the tikzpicture is \begin{tikzpicture}{[}remember picture,overlay{]} while it should be \begin{tikzpicture}[remember picture,overlay] Note that on import, \begin{tikzpicture} is in an ERT, while [remember picture,overlay] is not. Move the latter ...

2

A workaround is to not use a list at all, but a table where the first column is an l column, and the second is a p column. Add a table with Insert --> Table, or the corresponding button on the toolbar, remove all horizontal and vertical lines, and make it two columns. Right click a cell in the second column, and choose More --> Settings. Set the width to a ...

2

In addition to the regular lists, LyX also provides a List, which outputs a lyxlist. Similar to a description, the first input is the item label. You can't insert a display math item here but you can insert an inline math equation: I guess you have a couple of options (without knowing exactly what the text looks like): Remove the List and insert the ...

2

Absolute path in the \addbibresource is required with LyX, as it probably works in some temporary directory to render the output. It couldn't find the bib file as it was defined with a relative path. Hope this helps, it helped myself:-) Also make sure you are using the Unix-ish slashes even on Windows e.g. \addbibresource{C:/file.bib}. Same goes for the ...

1

It appears to be a minor bug. If you create a new document and add just one definition and one table, the file will not compile. I'm not sure, but it appears makeindex is not called. If you add a single printable letter, anything at all, the file will compile. Interestingly, if you delete printable item the file will continue to compile correctly for a ...

1

1

Got it!!! Add \defbeamertemplate{description item}{align left}{\insertdescriptionitem\hfill} in preamble. Use description environment in LyX. Add \setbeamertemplate{description item}[align left] in ERT before the description environment in LyX. Right click the first entry in the list, choose Insert Longest label. Add an ERT in the opt box, with Ctrl + ...

1

The answer to the LaTeX part of this can be found in How to change the numbering of \part, \chapter, \section, ... to alphabetical, Roman numbers, etc. You need to such commands to the preamble, by going to Document --> Settings --> LaTeX preamble. To get the result you ask for, add \renewcommand\thesection{\Roman{section}} ...

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