Tag Info

New answers tagged

0

I found the 6 step answer above to be very helpful. I did have a few hiccups related to the way Mac likes to try to be smarter than the user, so I thought I'd share in case others are having similar troubles. I tend to be pretty computer dense, so maybe this will be helpful for others who struggle. Most of the folders needed for these operations are hidden ...


0

The situation seems quite clear: the article.cls file is fetched from /usr/share/texlive/texmf-local/texmf-compat/tex/latex/evergent/ while it should be in /usr/share/texlive/texmf-dist/tex/latex/base/ Somebody or something installed some texmf-compat subtree under texmf-local and this is the cause of your problem. Possibly the cause is having ...


1

The \xyR macro requires an argument, the desired spacing between rows. Here's how you should use it, with also a simpler approach: if you follow \xymatrix with @R=<dimen>, the given length will be used as the space between rows; you can also use \xymatrix@R+<dimen> \xymatrix@R-<dimen> that respectively add or subtract the given length ...


1

More of a comment, but I wanted to include the picture: Have you at least tried my suggestion? (I really cant tell if thats your problem, but it sounds like it), consider the following near to minimal example \documentclass{article} \begin{document} \setcounter{secnumdepth}{1} \section{section} \subsection{subsection} \subsubsection{subsubsection} ...


1

From main menu: Document>Settings...>Page Layout Then click on checkbox for "Two-sided document". Regards


1

By writing \setdefaultlanguage{hebrew} you set the entire document Right-to-Left by default, which affects also the order of table columns. This has to do with the bidi package that is loaded by polyglossia. By the way, the commands \beginL and \endL are not needed when using these packages. So, LyX should produce the opposite columns order in RTL mode. ...


1

Method Insert math macro (from the menu or the "\foo:=" button on the toolbar) a. For Name type say "qp" . b. For TeX type exactly "\mathbb Q ^\scalebox{.5 {#1" The result should look like "Q\scalebox{.5}{#1}". This will be output in the LaTeX. c. For Lyx type say "\mathbb Q ^#1 _\circ". The result should look like "Q°#1". This will be displayed in ...


0

This probably should be a duplicate but I couldn't find it. I also don't lyx installed but I imagine that the solution should be the same (so this is a latex solution). Apologies if lyx is honestly different. The problem is that \appendix redefines how chapters are printed. It also resets the chapter counter. You have not said how the next chapter should be ...


0

There is indeed an elsevier LaTeX. Otherwise, how could they receive and publish manuscripts in LaTeX in a uniform format? Their LaTeX is called Elsbook.cls etc. It is not available in the Internet. Go to their homepage and ask an Elsevier publishing editor.


2

I'm writing a separate answer, since a lot of factors finally matter when getting PlantUML to PDF: Using SVG rather than PNG or EPS SVG as an intermediate format has advantages over PNG and EPS. The PDF can contain the original text elements from the PlantUML diagram (e.g., class names, methods, comments, etc.), which could be useful for searching, ...


5

This isn't possible with a Flex inset, but it is possible with a list, as Jurgen Spitzmuller points out over on lyx-users. Style Questions Margin Static LatexType Item_Environment LatexName questions ItemCommand question Argument item:1 MenuString "Point Value" LabelString "Points" EndArgument ...


0

I got 1/2 solved by adding: \usepackage{tikz} Add: \AtBeginEnvironment{}{\selectlanguage{english}} \tikzset{font=selectlanguage{arabic}} This code worked in koma-script class. And I used: \hspace{-0.4375cm} Before: \begin{tikzpicture} Best regards


2

You should create a LocalTeXMF root directory, say in your personal directory. Whatever the exact name you give it, you have to declare it via MiKTeX Options, Roots tab, Add button. Everything you'll put in this directory must respect the TeX Directory Structure (TDS). In this root, copy the .bst file as ...


0

My error was that I wasn't using an EXACT copy of elsarticle-num.bst. I was using the one I downloaded from Elsevier. Using an exact copy fixed my problem.


0

Since Macs use unicode fonts, I'd simply use them and process the files using XeTeX, rather than pdflatex. That way you can enter your Hebrew using the natural (and


0

Turns out the font I had used "AE (Almost European)" was causing the issue. It must not have both bold and italic fonts. Changing it to Default (or other fonts) fixed this problem.


1

Since the OP responded to my comment that it was the correct solution to his problem I just repost it as an answer: Formal-style tables using booktabs The http://en.wikibooks.org/wiki/LaTeX/Tables#Professional_tables "booktabs" package gives a professional look by not using vertical borders and by adjusting the spacing above and below the ...


4

You can customize colours in Tools --> Preferences --> Look & Feel --> Colors. Different document elements have different colour settings. For example, the colour of the general text is defined by the colour called background, and that of equations by math background. Hence, you would have to consider which elements you want to have a white background, ...


3

Menu Tools > Preferences > Look & Feel > Screen Fonts As commented, also with Ctrl + mouse wheel you can increase the font size at any time.


1

in lyx preamble add: %%%%%%%%%%%%%%%%%%%%%%%% \usepackage{multicol} \usepackage{etoolbox}%إطار النظريات \usepackage{blindtext}% \usepackage[theorems,skins,breakable]{tcolorbox}% %% \newtcbtheorem[number within=section]{tdr}{theorems}% {overlay={},left=5pt,breakable,colback=blue!5,colframe=blue!35!black,fonttitle=\bfseries,title after break={Lemma ...


0

Lyx 2.2 support rtl and ltr without any additional code, only : - from document setting select hebrew. - select your fonts. Now you can write hebrew or english. Regards


0

From "Document" --> "Setting" ---> "Page Layout" then click checkbox "Two-sided document".


1

We can add degree circle in lyx: In text, with "insert" then "special character" then "symbols..." Then "Latin-1 Supplement" and click on "degree circle", there are 2 size degreeCircle in Latin-1 supplement category. In formula , from "Math Panels" then click "Miscellaneous" then click "textdegree".


1

The use of the Alt functionality is a bit of a cumbersome way of performing a subscript & superscript addition for normal text in LyX (I am using v2.1); but it does work! Use the following keys, each individually in the particular order, when you want to add a: SUBscript Alt + I O U SUPERscript Alt + I O S Then type the text which you want to have ...


1

Go to Tools > Preferences > Look & Feel > Display and set "Instant preview" to "On". Select "Save". Then select the table and go to Insert > Preview. This works for me on Ubuntu. I have seen reports that some users have problems, mostly on Windows and Mac. Note that there have been many improvements for Preview that will be part of 2.1.4, which will ...


2

The first rule is indented with the standard paragraph indentation. Right click the line right next to the rule, select Paragraph settings, uncheck the box for Indent paragraph.


1

This is a situation where probably using LaTeX directly is more adequate. Lyx is a convenient interface to LaTeX for people who don't want to be concerned with the "programming" their document, and it is very easy to use as long as it runs "out of the box". Here, a lot of effort would need to go into making Lyx understand rsc template. It appears that using ...


1

It is much easier to typeset languages such as Hebrew with one of the newer TeX engines because you have access to fontspec, polyglossia, bidi... and so on. Here's the output I think you want: Here's my code, which has to be compiled with XeLaTeX: \documentclass{article}% egreg's preamble from http://tex.stackexchange.com/a/139006/ \usepackage{fontspec} ...


2

I assume the problem arises because of \usepackage[utf8]{inputenc}. Unicode characters are only supported, when there is a font encoding, which contains the character. Otherwise package inputenc would not know, how to print the character. The encoding TS1 can be used, which is loaded by package textcomp. The next obstacle is that ackage listings does not ...


1

Do you mean ${^\circ}$? This would give you the degree sign, when option mathescape is enabled. And your script would look like this: \documentclass{article} \usepackage{listings} \begin{lstlisting}[mathescape] 10${^\circ}$C \end{lstlisting}



Top 50 recent answers are included