0
votes
0answers
8 views

Avoid R output leaking into LaTeX with ggnet

Please consider the following MWE which I compile into a .tex document via knitr \documentclass{article} \begin{document} <<echo=FALSE, message=FALSE, warning=FALSE>>= library(igraph) ...
1
vote
1answer
20 views

Optimized creation of text nodes

I have created a block diagram with several nodes with text and I need to optimize the node creation and hopefully use the \foreach construct to automate the creation of each node with its associated ...
2
votes
2answers
21 views

Columns are not the same width in a table

I have the following code for a table, but I can't figure out why 2 columns are wider: \newcolumntype{C}{>{\centering\arraybackslash}p{2em}} \begin{table}[h] \centering ...
1
vote
0answers
14 views

Citing (author, journalabbr., year) needed

I am looking for a certain kind of citing in my thesis. Unfortunality there is no option in biblatex for my needs. Is the best thing to declare an new "short journal"-field in the bib file or does ...
0
votes
0answers
15 views

Undefined control sequence \captionsetup [on hold]

This is my first post so sorry if I get the format wrong. I get the following errors whenever I try to compile my file using the caption package: Undefined control sequence \captionsetup ...
0
votes
0answers
6 views

Problem with in-text figure references in APA-style manuscript with Knitr

I'm having trouble getting a Knitr documents figure references to work in an APA style manuscript. I have looked around, but I haven't seen anything that references this problem specifically. When ...
0
votes
0answers
18 views

Modify the @tufte@margin@float environment to automatically align floats

The Tufte classes provide the @tufte@margin@float environment which is used for tables and figures, but its result it's not automatically aligned with the text. The \marginnote command provide a ...
1
vote
0answers
10 views

Problem with documentclass memoir + pgfplots from data file

I need help! I'm using the documentclass memoir and I want to make a plot from a file.dat of two rows, nothing special. But I keep getting that pgfplots could not open the file. The point is that if I ...
1
vote
0answers
24 views

How do you display words, not variables, in equations in LaTeX? [duplicate]

In particular, I need to display the following: P(success) = size of successful region/size of possible region But with a nice divisor line for the fraction. If I just enter this in typical fashion ...
1
vote
2answers
32 views

PSTricks not working in TeXlive 2014

I have TeXlive 2014 recently installed on a new machine. Everything seems to be working smoothly EXCEPT for PSTricks. I am testing with minimal code such as \documentclass{article} ...
2
votes
0answers
11 views

LYX - Hiding inserted latex commands

I'm new to LYX. I needed to find an easy way for my boss to be able to edit my reports without the need to learn LaTeX. I found LyX and I think it's the solution. Even in LyX, often times I need to ...
0
votes
0answers
11 views

Conflict between UTF8 and UTF-CJK

I appear to be having a conflict with font encodings. I am currently using LyX 2.1.1 (under Linux Mint 17). I have Chinese text scattered throughout most chapters, but I receive the following error ...
2
votes
0answers
41 views

How to write norm symbol with three line? [duplicate]

I want to have a norm symbol with three line in my equation such as |||x||| but with equal distances.
4
votes
1answer
38 views

How to make a keyword list with enumitem with labels aligned right in the margin?

I kinda succeeded in doing with without using the enumitem package, by doing this: (disregard the lines, it's made with showframe) \newenvironment*{keywordlist}{% \list{}{% ...
1
vote
1answer
22 views

Iterate over pages and set variable

I am looking for a way to take the output of a pageref, iterating through, and assigning a property to each of those pages. Specifically, I want to take this: \documentclass{article} ...
1
vote
0answers
20 views

printglossaries, makeglossaries: (0 entries accepted, 0 rejected)

I'm trying to create a glossary for my document but am having trouble getting it to show up. The last three lines of my document are: \newpage \printglossaries \end{document} I've also got: ...
0
votes
0answers
27 views

List of abbreviations for book class

How should I create list of abbreviations in a book class document (thesis)? which package should i use and what I write in chapter list of abbreviations? ...
4
votes
1answer
36 views

How to set the listings font for the whole document

How do I change the listing font size of the whole document? I am quite sure that it must be specified in Document->Settings->Listings but I do not know the input parameter for setting the font ...
2
votes
0answers
26 views

Alter location of edge in graph in tikz

So I have the following: \begin{tikzpicture}[shorten >=1pt,node distance=1.75cm,thick] \node (A) {$A$}; \node (B) [below left of=A] {$B$}; \node (C) [below right of=A] ...
3
votes
2answers
35 views

FiraSans and XCharter — XeLaTeX

I found both packages and wanted to use Fira Sans as sans serif font and XCharter as serif, body text font. But for some reason, only compiling with pdflatex works with both fonts at the same time. ...
3
votes
2answers
28 views

\centering\arraybackslash with an array environment?

The following code gives me an error: \documentclass[12pt]{article} \usepackage[margin=2cm]{geometry} \usepackage [english]{babel} \usepackage{amsmath, amssymb} \usepackage{enumitem, array} ...
0
votes
0answers
16 views

Testing if XeTeX is being used [duplicate]

I'm writing a package. One of its options is supposed to do some font selection. However, the commands it uses are XeTeX-specific, as far as I know: \newfontfamily, \setromanfont and so forth. So I ...
2
votes
0answers
23 views

How to pass the option “listings” to examplep

I've been trying to pass the option listings to the examplep package. According to the documentation one can pass the options to activate the listing by doing listings=yes, listings={}. However, ...
3
votes
0answers
12 views

Increasing font size in eledpar doesn't increase the line spacing sufficiently

I try to typeset a bilingual text on facing pages. For this I use the eledmac/eledpar packages. The latin text on the even pages should get displayed larger than the translation on the odd pages. ...
1
vote
0answers
14 views

How to set the justification for all the standard paragraphs in a LyX document

This must be trivial. I am new to LyX but I have read most of the 183 page User Guide and not found the answer. When I change the justification setting (to remove right justify) it only does it for ...
0
votes
0answers
17 views

Output command arguments for spellchecking

I have a longer tex file which contains text in different languages. The languages are highlighted in different colors, e.g. {\color{blue} some text in french } {\color{red} some text in ...
3
votes
1answer
31 views

Biblatex mla - no bibliography, no references, no nothing

I'm relatively new to the world of LaTeX, but so far I managed to put together a nice looking layout by browsing through StackExchange and reading manuals. Now I've been trying for 3 days to get ...
3
votes
1answer
33 views

Having some page with roman number before beginning of document

I want to have a document. Before its Table of Content I would like to have some pages with roman page numbers for (Acknowledgments and etc.) Could you please say me how can I do that for this ...
2
votes
1answer
14 views

“Author et al., submitted”, is that possible with \citep?

Is it possible to have "Author et al., submitted" using the package natbib? e.g.: @article{papersubmitted, title = {{I love LaTeX, and you?}}, author = {Author1, Name and Author2, Name and ...
0
votes
0answers
10 views

BioC packages in a text

how is it possible to have the following font for a Bioconductor library (for example "limma") in a text? Best e
0
votes
0answers
21 views

Latex - after pseudocode =0 is added [duplicate]

I have some problems with using pseudocode in LaTeX. After I build the file =0 is added at the end of the file. Any suggestion how can I fix that? \documentclass{article} ...
0
votes
0answers
35 views

How to get Latex formula in inkscape on mac?

I am using Inkscape version 0.48.2 on Mavericks OS X. I have to add latex formulas in some of the images but when I tried it through Extensions > Render > couldn't find the option there. After going ...
3
votes
0answers
22 views

Paralist package breaks hyperref pdf links [duplicate]

Something bizarre is happening with the clickable links that hyperref creates in my PDF file. Here is an example LaTeX file: \documentclass[12pt]{article} \usepackage{amsmath,amsthm,paralist} ...
2
votes
1answer
46 views

ToC entry formatting

I'm using the code below to redefine my \part style. I want to modify it so that I see "Part I: A Test ... " with \scshape font in the TOC. Right Now, in the TOC I see "I A Test ... ". How should I ...
3
votes
0answers
20 views

probsoln's solution environment in beamer documentclass

When compiling this piece of code \documentclass{beamer} %%% save beamer's `solution' environment as `beamersolution': %\let\beamersolution\solution %\let\endbeamersolution\endsolution %%% ...
0
votes
1answer
19 views

How to make sideways table with horizontal text in a cell?

I need to make such table in LaTeX: I came up only with this: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{table} \rotatebox{270}{ \begin{tabular}{|c|c|} \hline ...
5
votes
1answer
35 views

Footnotes not showing up (no tables involved here!)

I'm having a difficult time with footnotes because I'm trying to do a project report and some footnotes do show up, other don't. Here is a minimal document showing this behavior: ...
3
votes
1answer
50 views

Codename for “kp serif” in TeX

mainly i'm aiming at doing the same thing as discussed in this question (How To Change Math Font Only?); except i want to use the "km serif" font and no matter what i search for on the web, i don't ...
2
votes
2answers
58 views

Creating Multiple-State Models (rectangular nodes)

I would like to replicate the following image for my work: I now have the following MWE: \documentclass[12pt]{article} \usepackage[margin=2cm]{geometry} \usepackage [english]{babel} ...
0
votes
0answers
12 views

Cannot set local Tex path on ubuntu with “vanilla” TeX Live

Using manual installation of TeX Live on Ubuntu (i.e. not via repos) I cannot seem to get LaTeX to look through my local tex directory path. I've set TEXMFHOME using sudo tlmgr conf texmf TEXMFHOME ...
2
votes
1answer
20 views

Tikz externalization: Latex dvi/ps produces a4paper boundary-box around figure

I am successfully using tikz in combination with externalization and pdflatex for some time now. But now I need to switch to latex->dvi->ps. I followed the instructions from the tikz documentation ...
3
votes
2answers
118 views

Macro for moving hat symbol up

I use mathpazo font package and I think the hat symbol is too low. Can I make a macro to change behavior of all my hats? This question has a good example, but I don't want to have to retype all of ...
6
votes
0answers
38 views

show “continued” for nested description list item on page break

I'm using enumitem to create a description list. These lists can sometimes be nested and can get very long. When a list item with a lot of description text breaks over a page it is difficult to ...
1
vote
1answer
28 views

A frame option in beamer that I can't figure out [h]

Does anyone know what \begin{frame}[h] Content \end{frame} does? I can't seem to find it in the beamer user manual.
2
votes
0answers
25 views

Scatterplot with marginal histograms using pgfplots

I've tried to use pgfplots to create a scatterplot with marginal histograms like it can be seen here: ...
0
votes
1answer
13 views

R Chunk Code within Enumeration Environment with knitr in LyX

I need R Chunk Code within Enumeration Environment in Rnw file. The following .Rnw document works fine. \documentclass{article} \begin{document} \begin{enumerate} \item The quick brown fox jumps ...
1
vote
1answer
35 views

How Can I create a PDF background which is not printed (by default)?

I'm looking for a solution include a PDF background layer, which is not printed by default. I've seen that adobe seems to support a watermark layer, as discussed on graphicdesign.SE. I cannot test ...
1
vote
0answers
18 views

Force a block to be backward while using a logo

I am preparing a pdf by using beamer applications in Latex. I have a logo which appears in all slides below on the right: Unfortunately, in one of the slide, it becomes hidden cause of a block: ...
0
votes
0answers
13 views

Bibliograph format for JACS

I am using the journal = jacsat (JACS) format and try to create a bibliograph with BibTex, using the \cite commands. This works, in principle, fine, as far as I can see, but I have noticed a flaw in ...
3
votes
1answer
52 views

Rotate only the shape

Is it possible to rotate only the shape, keeping the anchors and text inside the same? \documentclass[12pt,a4paper,preview,multi={tikzpicture},border=0pt]{standalone} \usepackage{tikz} ...

15 30 50 per page