Tag Info

Hot answers tagged

4

The amount of intercolumn whitespace is set by the parameter \tabcolsep. Its default value in the mwbk document class is 6pt. You may find that setting its value to 3pt generates a table that's more to your taste. \documentclass[oneside,english]{mwbk} \usepackage{mathpazo} \usepackage{eulervm} \renewcommand{\familydefault}{\rmdefault} ...


4

There is a mistake in your definition of the tabular environment. While the table contains only two columns, the number of columns specified in the argument of \begin{tabular} is larger: there is one column aligned to the left (l) and additional columns with a format specified by S[table_format=..]. You could try this slightly modified code instead: ...


4

My advice would be to first check the cluster computers (e.g. the ones students have access to, such as in libraries). I know at some universities (e.g. Princeton) there is access in some clusters. If it is not there, you could ask the IT to install it. Remind them that it is free and open source so there are no license or cost issues. Here are some other ...


3

Add the line \usepackage{stackrel} to the top of your preamble in Document > Settings > LaTeX Preamble. Alternatively, instead of using stackrel you might consider the following: create the sum sign. Then, in LyX press _ to put it in subscript. Put i=1 in the subscript. Then press space (this gets you out of the subscript). Then press ^ (this puts you in ...


3

Make a new float, write the caption, and then, right-click over the caption, and select Insert Short Title in the menu This make a opt box inside the caption where you can write the text shown in the list of figures. The results must be: With Edit > View source you can see that the generated LaTeX code will be: \caption[shown in list of ...


3

I use Ben Jann's estout suite of commands: http://repec.org/bocode/e/estout/ . Very well documented, and very flexible. It has commands that makes LaTeX tables from Stata output (not only regression results, also matrices, summary stats etc ), but it allows you to append/prepend text to lines (eg \addlinespace or cmidrule from the booktabs package), which ...


2

Insert > Float > Figure. Inside float figure: Insert > Box > Frameless. Inside Frameless: Add your first image, then Insert > Caption to add the caption. Inside float figure (but outside the first frameless box): Insert > Box > Frameless. Inside frameless: Add your second image, then Insert > Caption to add the caption. Right click on the frameless box, ...


2

When you Insert > File > External Material, you should choose the PDF pages template: Note how it mentions the option pages=- in order to include the entire document. That is, by default, this template (using the pdfpages package) only includes the first page. Therefore, under the LaTeX and LyX options tabs, enter This should include the entire PDF in ...


2

There are not random results but inconsistent settings. Please use the option showframe in the package geometry and see the log file to understand what happen with your settings. Take into account that top margin in Lyx should be 15 mm plus headheight plus headsep and that header text should be enough small to fit in the headheight, otherwise LaTeX will ...


2

This is the intended behaviour, as far as I can tell from the comments to http://www.lyx.org/trac/ticket/9572. As such your only option would be to add a feature request in the bug tracker to disable the truncating.


2

Thanks to scottkosty and Torbjørn T. for directions. Indeed, I recompiled Lyx changing source file /src/insets/Inset.h from static int const TOC_ENTRY_LENGTH = 40; to static int const TOC_ENTRY_LENGTH = 400; On Lyx 2.1.4 it is on line 77 of aforementioned file.


2

I had a similar problem which I managed to fix by going into Document -> Settings -> Language and then changing the default, which was English, to English (UK).


2

inset-modify should be used just in front of the inset. Thus, the command should be: Item "Insert Minipage" "command-sequence box-insert Frameless; char-backward; inset-modify width \"100line%\"" How did I know that inset-modify should be used in front of the inset rather than inside it (which I agree is more intuitive)? Well, if you use the GUI and ...


1

The easiest way I'd think of doing this is with @{}. Using @{} you can make columns use zero, custom or even negative space (i.e., columns overlap). On purpose I modified your table to contain huge space between some columns, zero space between others, and negative space (making columns overlap). Should you choose this solution, I am sure you will ...


1

The Solution I kept digging around searching both XeLaTeX support files and found I completely misunderstood the purpose of the "crop" package. The "crop" package is designed to place various sundry post-production marks on paper that is larger in size than the actual page of content. My misunderstanding was that in either the geometry package or in LyX's ...


1

There are two choices: 1) install esint.sty (precise method depends on which LaTeX distro one uses); or 2) in LyX go to Document -> Settings... -> Math Options and uncheck "Use esint package automatically". This option will only work if you are not using any of the 'advanced' integral signs that esint provides (double integrals, path integrals, etc.), but ...


1

Assuming that the truetype and opentype versions of the Crimson font are similar, the following should work: \documentclass{article} \usepackage{fontspec} \setmainfont{Crimson Roman}[Ligatures=TeX] \begin{document} Some text. \end{document} It should work if you have the truetype but, since I've got the opentype version, that's the one I actually ...


1

I managed to overcome this problem by setting foxit reader as a default program for .pdf files. For some reason, win10 by itself had set internet explorer edge as the default program for .pdf files. In order to do so, do the followings: (This procedure works on win10. I assume that these steps are similar also for win7 and win8) control panel --> ...


1

Write "equation 1". Click Ctrl+m then write your equation. Put the cursor between the text and the equation. From the main menu, "insert" then "horizontal fill".


1

Your question is very general, so it is impossible to give specific answer. I summarize advice given by Torbjorn, and add tow examples for figures: The code for above picture: \documentclass{article} \usepackage{tabularx}% for tables \usepackage{ragged2e}% for smart right adjusting text in table \usepackage{graphicx}% for figures ...


1

Read the bottom of the site which you linked: LyX includes the template files svjour3.lyx for the sbvjour3 class, svmono_book-master.lyx for the svmono class and svmult_editor-master.lyx for the svmult class. (The files svmult_author.lyx and svmult_appendix.lyx are subdocuments of svmult_editor-master.lyx.) So start Lyx, menu file, new from ...


1

Thanks Scott! Your answer about changing the Hunspell path in Tools > Preferences > Paths worked for me. I pointed the path to "C:\Program Files (x86)\MiKTeX 2.9\hunspell\dicts" Lastly, had to restart Lyx and the spell checking started working. I tried pointing it to the dict files in the Lyx resources directory ("C:\Program Files (x86)\LyX ...


1

As a extensive LaTeX user, who handles most of the texts under version control, I have found that it is useful to structure my writing so that editing is mostly shuffling lines around. Text editors have special commands for this, and it makes e.g. differences between versions (as given by the version control system) really show differences, not artifacts due ...


1

I had this problem earlier after updating my Acrobat programs. After a great deal of fruitless searching, I found reference to a solution buried on this page: http://www.lyx.org/trac/ticket/9512 Look right towards the end for comment 19 and there is a reference to replacing a file called pdfview.exe on your system with a new version from the link given ...


1

If you have to use the Word document, you could first create a PDF from Word and then include the PDF pages in your LyX document. By doing it through LyX, you avoid having to post-process as suggested by David Carlisle. Personally, I recreate in LyX, the content from Word, et al, if at all possible.


1

Path handling has changed due to the increased security framework in El Capitan. To fix it, go to the Paths item of Lyx → Preferences. Change the contents of the PATH prefix box from /usr/texbin to /Library/TeX/texbin. Then go to Tools → reconfigure and reset LyX.


1

As you discover ... Document > Settings... > Modules > Number Figures by Section > Delete This remove \numberwithin{figure}{section} in the LaTeX Preamble (as well as \usepackage{amsmath} if not needed by another command). Note that in LaTeX preamble you can use also the chngcntr package to control the numeration of floats. See Continuous v. ...


1

As far as I can understand, mainly you have a problem with floats placements. At this respect, some suggestions for a smooth layout transition: Inside the floats, always use table/image widths relatives to line width in %,never fixed sizes as 5 cm, nor sizes relatives to the text or column width. For example, for a figure use: This must produce in ...


1

Copy everything between \begin{equation} and \end{equation}, that is W(\mathbf{F},\lambda_{\chi})=\min_{\mathbf{R}\epsilon S^{2}} (I changed the \textbf to \mathbf) and paste it into a math-environment in LyX, just using Ctrl + V, not Paste Special. With a normal displayed equation, added with Ctrl + Shift + M, you will get Pasting everything ...


1

This seems to be a bug in LyX. LyX is supposed to automatically load the right packages (unless you use ERT, then you're on your own). For some reason, when the document is set to Vietnamese, the package is not loaded automatically. To work around this bug, go to Document > Settings > LaTeX Preamble and put the following: \usepackage{textcomp}



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