1
vote
1answer
109 views

Inverse search search via syncTeX

I'm using TeXnicCenter 2.0 with SumatraPDF and MiKTEX2.9 and try to use the inverse search. I set up the profile according to the instructions / different fora but I can’t manage to get it work then ...
23
votes
8answers
1k views

LaTeX vs Word; improvements of LaTeX over the years

When comparing MS Word vs LaTeX the proponents of Word often say that many advantages of LaTeX over Word from say 1997 disappeared over the years as Word evolved to the current 2013 version for ...
5
votes
2answers
38 views

Multiline regression equation in Latex

Noob here. I'm trying to put together a multiline multivariate regression equation in Latex and am having some issues. $ {Unit.Sales_t} = \alpha + \beta_{1} Date_{t} + \beta_{2} Cable.TV_{t} + ...
0
votes
0answers
15 views

Quattrocento in Ubuntu 14.04 (TeXLive 2014)

Although I went over here: Texlive 2014 on Ubuntu 14.04: Font WebOMintsGD not found and here: Installing missing fonts in Texlive on Ubuntu I'm unable to use quattrocento in my Ubuntu 14.04 ...
4
votes
2answers
155 views

Result from summary in xtable

I have a vector of values, and I want to use the output of "summary" in LaTeX. I understand that xtable is designed for exactly that purpose. However ... > values <- c(1,2,3) > ...
0
votes
2answers
28 views

\newpage does not seem to create a new page

Brand new to LaTeX, using LaTeXit on OSX 10.10.1. Here is my preamble and my code after the preamble. \documentclass[10pt]{article} \usepackage[usenames]{color} %used for font color ...
0
votes
1answer
25 views

Appendices in REVTeX 4.1 [on hold]

How does one get into appendix mode when using the \prl option in the documentclass? According to the instructions you put \appendix into the code and everything following is treated as an appendix. ...
0
votes
0answers
15 views

twoside making wrong margins

I'm using twoside on my article. The first pages in the report (Abstract and preface) has the correct margins (larger margins to the right for left-pages, and larger margins to the left for ...
3
votes
3answers
35 views

Symbol for not conditionally independent

I have previously used some code from here to produce a symbol to represent the conditionally independence of some variables. Does anyone know a method for generating a symbol for not conditionally ...
2
votes
1answer
42 views

User-Defined Document Templates

When writing homework sheets, I make use of a template whose preamble incorporates all of the LaTeX goodies that I typically require: packages, page parameters, user-defined commands and environments, ...
4
votes
1answer
97 views

Separating academic and non-academic references: Illegal, another \bibdata command

I am trying to use a separate bib file for two kinds of references: academic (articles, journals, etc) and non-academic (websites, blogs, etc). To separate them, I create a file Academic.bib: ...
1
vote
1answer
50 views

Multiple \marginnote commands on the same line in math environment

If multiple \marginnote commands are triggered on the same line, by default they are typeset on top of one another, making them unreadable. I would like them to stack vertically, which is the default ...
3
votes
3answers
30 views

Figures on two pages next to each other

I have a number of figures that I want to have next to each other. Since they do not fit well on one page, I placed them on two pages. Is there a way to make sure that the figures are next to each ...
3
votes
4answers
32 views

Hiding description part of item in description environment

How can one hide/display all descriptions in a description environment at the same time. \documentclass[]{article} \begin{document} \begin{description} \item[Keep This] Discard This \item[Keep ...
2
votes
0answers
17 views

post-process cell content in one column based on another column

I am trying to do something quite similar to this post: pgfplotstable: Conditional post-processing of cell content on a per-column basis However, I'd like to post-process the column based on the ...
4
votes
3answers
79 views

Define stretchable shading

I would like to define horizontal shading, that could be stretched depending on needs. What I did to far is this \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...
3
votes
2answers
305 views

How to replace AUCTeX's “LaTeX” command with latex->dvips->ps2pdf chain?

What is the proper way of solving this problem with respect to AUCTeX's design - I mean, how to do that in a way that it will still recognize the errors, display log on demand, make "View" command ...
1
vote
0answers
16 views

How to suppress multiple authors harvard style

I writing an entry for a journal publication that has its own documentclass. I am using the package: \usepackage{harvard} And style: \bibliographystyle{dcu} When I cite an author: blah blah ...
1
vote
1answer
26 views

Unable To Display Image using Fly-Latex

I have setup a Fly Latex server which is running perfect. Now, I want to add images to it and whenever I add the image name using proper syntax, I always end up getting a box with the image name ...
9
votes
6answers
401 views

Adjust the height of the “|” in a mathematical term

I have a mathematical term produced by two different pieces of code: \displaystyle H\left(\frac{1}{2},\frac{1}{2}\left|_{C_{k}=1}\right.\right) \displaystyle ...
1
vote
2answers
46 views

Lyx citation problem with OSCOLA

Since the most recent release of LyX (2.10.20- Yosemite hot-fix), my citations haven't been appearing properly using the OSCOLA style and natbib. Instead of getting the full citation in the footer, ...
1
vote
1answer
73 views

Biber/BibLaTaX problem: no such file or directory in cache

I am having a problem using biber/biblatex, that I just can't seem to solve. The first problem was Biber complaining about finding the wrong version of biblatex control file (2.6 instead of 2.5), ...
1
vote
0answers
13 views

pst-solides3d Installation/Use Isuues

first time user, having trouble getting pst-solides3d to work, hoping somebody has some easy advice. I use TeXShop and my package is installed through MacTex. I've installed the pst-solides3d package ...
120
votes
1answer
126k views

What commands are there for horizontal spacing?

I know that \: in LaTeX produces a space when rendered. Are there any alternatives, because my LaTeX renderer doesn't support \: (it renders it as text), and there is no help / FAQ that I can find.
8
votes
1answer
61 views

SplitArgument on colon doesn't work under expl3 syntax

\documentclass{article} \usepackage{xparse} \DeclareDocumentCommand\TestA{>{\SplitArgument{1}{:}}m}{% \Example #1 } \ExplSyntaxOn \DeclareDocumentCommand\TestB{>{\SplitArgument{1}{:}}m}{ ...
5
votes
1answer
142 views

Open images from AUCTeX with your favourite image editor

Suppose I edit a LaTeX-file with AUCTeX and the point is on a \includgraphics{myimage.jpg} line. Is there a possibility in AUCTeX to open myimage.jpg with my favourite image editor, say gimp by just ...
2
votes
1answer
70 views

Avoiding widows while keeping text height even across two-page spread

In The Elements of Typographical Style, the author notes (§2.4.8) that widows—single lines occurring at the top of a page—should be avoided. Yet the text height of two facing pages should be the same, ...
1
vote
0answers
18 views

Stretchable \leadsto [duplicate]

I'd like something similar to \xrightarrow and \xleftarrow but for squigy arrows \leadsto in LaTeX. I need to do this because I sometimes have to overset the \leadsto with some equation/label that can ...
1
vote
1answer
18 views

Moving arrows and nodes in tikzcd for Mayer-Vietors sequence

I encountered the problem, that for the direct sum, I want the arrow to go down, starting from the first summand, and not from the middle. No Problem, I can xshift the arrow. But what about the target ...
1
vote
1answer
19 views

Making the subscript under the summation [duplicate]

I'm writing some formulas inside a tabular. My formulas have summation but the subscript is showing next to the summation not under it! How can I make it under it? Example (j is next to summation!): ...
1
vote
2answers
72 views

Black bar at the bottom of slides

Due to restrictions of the prjection space, I cannot use the full frame size, thus I want to add a black bar at the bottom of every slide (underneath the footer). Therefore I effectively reduce the ...
3
votes
1answer
23 views

How to set one header for each page using multicols

I want to use multicols in my document and also having a small box on each page (upper left) to be drawn automatically. I already tried \AtBeginPage hooks but the box didn't print at proper ...
2
votes
2answers
2k views

Using LyX bibliography sorting order is not working [duplicate]

I am new to Lyx and have spent the better part of a week getting things to work correctly. I am stumped how to fix the problem of the bibliography sorting order not working. I have a LyX file like ...
2
votes
2answers
53 views

“Runaway argument?” error with \NewEnviron

I have two files. Basically, the main file just loads the environ package and inputs the secondary file. The secondary file creates an environment that basically does nothing, and creates one instance ...
0
votes
1answer
146 views

nextfoot in scrlttr2

I do not understand some of the features the nextfoot variable has in the scrlttr2 KOMA-script class. \documentclass[]{scrlttr2} \pagestyle{headings} \usepackage{fontspec} \setmainfont{Linux ...
3
votes
0answers
29 views

What is the correct load order for hyperref

I got an error with egreg's solution when loading hyperref and could produce the following MWE to demonstrate it: \documentclass{article} \AtBeginDocument{\bgroup} \AtEndDocument{\egroup} ...
7
votes
1answer
175 views

Fine-tuning letter space for small caps with fontspec

I'd like to have different settings for small caps letter space as a function of font size by using the appropriate fontspec settings when the compilation is done over XeLaTeX. So far I haven't been ...
3
votes
2answers
33 views

IEEE tran: How to left justify Single column headings in Lyx

I'm using LyX and have created an IEEE tran document. It says in the documentation that in order to make the document single column all one has to do is add the following to the class option: ...
3
votes
0answers
25 views

\SplitArgument with underscore [duplicate]

Is there a way to use \SplitArgument macro with the _ sign? The following example don't works. \documentclass{article} \usepackage{expl3,xparse} \ExplSyntaxOn \NewDocumentCommand{ \testone }{ ...
2
votes
1answer
21 views

subcaption incompatible with backref option of hyperref

I have a problem with the subcaption package. It leads to backrefs to tables only being displayed as questionmarks. Minimal working example \RequirePackage{filecontents} ...
3
votes
1answer
44 views

TikZ: ordinary arrow tip on double line

I like the ordinary arrow tip that you get in TikZ from \draw [->] (a) to (b);. In my document I have lots of ordinary lines like this, and also lots of doubled lines like \draw [double,->] (c) ...
0
votes
1answer
25 views

Metapost won't compile from the command line

I just downloaded MiKTeX and started to learn Metapost. I created the text file example.mp and went to cmd with command "mpost example" and it says: "I can't open file 'example' " I know that it ...
2
votes
1answer
50 views

Floating text in XELaTeX

I have the following section header which uses two different font sizes. I'd like to add a series of 2-3 vertical lines of text off to the far right, anchored to the top of the section's bounding ...
1
vote
1answer
18 views

Book title in Revtex bibliography

I'm writing an article using revtex4-1 format, and in order to generate the bibliography I use the BibTeX style apsrev4-1. The problem is that when I cite books, the book title does not break at the ...
0
votes
0answers
16 views

How to write citation in Harvard style and numbered referencing sorted in alphabetical order? [duplicate]

I want to write journal article which requires Harvard style citation but numbered referencing sorted out in alphabetical order. MWE is \documentclass[a4paper,times,12pt]{article} ...
8
votes
2answers
5k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
0
votes
0answers
12 views

How to prevent font size in condition equation from getting changed [duplicate]

Below is a snippet of my latex source that prints an equation. In the attached image output, I see a significant decrease in font size in the part of the equation that is represented as in the ...
36
votes
3answers
53k views

Escape character in LaTeX

I need to output the below text but since \ is a special character, I cannot: [RegularExpression(@"\d+")] Also sometimes I need use dollar sign $ as well but it seems to be a special char, too. ...
4
votes
2answers
93 views

Manually specifying a system TTF font seems to break curly/smart quotes

The following code... \documentclass{article} \usepackage{lipsum} \usepackage[a4paper, margin = 0.4in]{geometry} \usepackage{fontspec} \begin{document} \fontspec[Scale=3]{URW Bookman L Light} ...
1
vote
1answer
98 views

Hanging indent of citations in footnotes using koma-script

I'm writing a thesis using Lyx, the Koma-script bookclass and jurabib. I'm trying to format the footnotes/citations so that the citations are not indented in The trival example below (edit to remove ...

15 30 50 per page