0
votes
0answers
10 views

List of open source LaTeX books

Is there a list of open source LaTeX books? I've only found this books but I want to know if there is a list with more diversity as this has only mathematical books. I want to find open source books ...
0
votes
0answers
3 views

Problem with legend on a 2 y-axis line & ybar figure

I cannot seem to figure out a way to switch the legend symbol to the ybar symbol in a two y-axis plot. Here is a minimal working example of my problem Which yields this: So the only problem with ...
1
vote
2answers
9 views

Compiling from chapter

I'm new to LaTeX. I created a new document with the following structure \documentclass{scrreprt} \usepackage[english]{babel} \usepackage{appendix} % ... % \begin{document} \maketitle ...
0
votes
0answers
12 views

Flowchart Tikzpicture - Draw arrow from path

I am creating a flowchart using the tikzpicture package. Because I am short on space, I would like to draw an arrow from a path to a box. Using this code below, I would like to have an arrow that ...
0
votes
0answers
19 views

Multiplication by decimal numbers in TeX macro?

How can i multiple variable by decimal number? I have this code: \newcount\tempArgument \def\headerColor#1{ \tempArgument = #1 \multiply\tempArgument by 0.75 ...
0
votes
1answer
11 views

Change the cventry style of moderncv banking to classic one

I started learning LateX recently and i tried to do my own CV. I used the moderncv theme in banking style. But i would like to have the cventry of the classic style. I tried to do it with the ...
2
votes
4answers
67 views

How to write below bullet

I have to write something under the symbol \bullet in Latex. Is it possible? I'm using the class beamer. Here it is an example of a frame: \begin{frame} \begin{itemize} \item<1-> Products ...
0
votes
1answer
19 views

Latex showing “undefined control sequence” error when using cases inside align*

I am trying to use LaTeX to run the following code: \begin{align*} A\left(x\right)&= \begin{cases} 1, &\text{if } x \eq 1\\ 0, &\text{otherwise} ...
0
votes
1answer
17 views

Create a block matrix with four quadrants

I want to create a block matrix of this form: But Block A should be a diagonal matrix with 1 on the diagonal, the other blocks should be B, C and D like in the picture. But the size of each block ...
3
votes
1answer
17 views

Change name of algorithm

I've been trying to use this answer Changing label name for algorithm to no avail. I use the packages: \usepackage{algorithm} \usepackage{algpseudocode} And this code for defining new environment: ...
3
votes
1answer
19 views

Arabic with Latin mathematical notation

I would like to write math formulas to look like the picture below: I have the following segement of code, for example \documentclass[10pt,a4paper]{report} \usepackage{amsthm} ...
0
votes
0answers
14 views

Problem with converting \frac into mathematica output [on hold]

Please help me with the following problem: TeXForm[2/3] The Answer is correct: "\frac{2}{3}" I don't understand why Mathematica gives me a wrong inverse: ToExpression["\frac{2}{3}", TeXForm] ...
0
votes
2answers
115 views

I am trying to draw this picture with latex

I have recently presented statistics of breast cancer and made a powerpoint image: Please notice that the icons are not exactly the same (I was lucky enough to find similar icons with different ...
0
votes
0answers
35 views

Matlab chart into LaTeX

I use Matlab print command to generate an .eps file (abcax) stored in the same directory as my TeX file. However, while compiling, I end up with the error Unknown graphics extension: .eps. ...
0
votes
0answers
20 views

I would like to plot kaplan-meier curve in latex

I am writing my M.Sc. thesis in biochemistry. I am working on breast cancer. I have plotted survival curves with external software. I am writing my thesis with latex (love it) but would like the ...
2
votes
0answers
15 views

Unwanted behavior of Chinese punctuation mark getting incorporated into the URL right before it

Minimal working example: % !TeX program = XeLaTeX \documentclass[12pt]{article} \usepackage{xeCJK} \setCJKmainfont{標楷體} \begin{document} 網址:http://www.google.com/。 \end{document} When I open the ...
2
votes
1answer
16 views

TikZ won't support HSB color model hsb in article document class

I'm trying to use the wave color model in a tikz picture using the document class article. When I do, I get the error message "Unsupported color model 'hsb'". Consider the code below. ...
0
votes
0answers
20 views

How to insert pspicture in article

I unable to run the following code. How to resolve it. Now i am using Miktex 2.9. and Winedt. Kindly help me to resolve it. \documentclass[a4paper,12pt]{article} \usepackage{layout} ...
1
vote
0answers
17 views

Tex command for changing the heading of references [duplicate]

I want to submit just the abstract of some paper of mine. There I have mentioned just one reference so I need to give the heading reference and not references. Can somebody please tell how to change ...
1
vote
1answer
20 views

Add colon after volume + number

I am using biblatex for this. I would like to change the comma to a colon after vol (num) in articles. Currently, the format is: Beth, T. and Gollmann, D. (1989). Algorithm Engineering for Public ...
1
vote
0answers
5 views

Insert knitr (1.9) Chunks From Separate File Into Lyx (2.12) Document

I have a LyX document (report class) called mwe.lyx and I would like to execute the following Rmd chunk called "mwe.Rmd". {r, eval = FALSE, echo = TRUE, cache = FALSE} 2+2 Of course, I can ...
0
votes
0answers
44 views

How to draw spherical figures?

I need to input in my document this kind of images. How to 1. draw this image? 2. set its position to text? 3. enumerate and give name, to refer to its number?
5
votes
2answers
54 views

Is it possible to limit the number of pages a long table uses?

I have a table that is longer than one page but only by like half a page, and so am using longtable to break it into 2 pages. However, the problem that I'm running into is that based on where it is in ...
1
vote
0answers
22 views

Pgfplots: Placing legends individually to the end of lines

I have a few days of experience with LaTeX. It seems almost everything is possible if you just find out how. So, here is a challenge... If a plot has many lines it is much more readable to have ...
3
votes
1answer
37 views

How to dim some of the items and keep the others visible in a frame?

I want to do something line this: \begin{frame} \begin{itemize} \item First point, dim this on the next slide. \item Second point, keep this as is on next slide. \item Third point, dim this on the ...
17
votes
5answers
446 views

Drawing the dragon curve

I'd like to draw the dragon curve (or paper-folding curve) in a programmatic way. For example, create a sequence representing the curves, and then parse the sequence to draw the curve. The sequence ...
1
vote
0answers
18 views

How to install TikZ and PGF on OzTex 6?

I am trying to install the TikZ and PGF Packages on OzTex 6. so to be able do draw complex trees. Once downloaded I put them respectively in OzTex-6/Tex/Inputs/LaTex/tikz-qtree and ...
0
votes
1answer
19 views

Fixing first paragraph indentation in custom class

I've downloaded a LaTeX dissertation template from my university that comes with its own custom .cls file. One of the first things I noticed is the paragraph indentation. Every single paragraph is ...
0
votes
0answers
12 views

BibLateX/biber, maxbibnames with style=apa?

I'm trying to make a citation to an IPCC technical summary and want to include all authors in the bibliography entry. I also want to use APA-style citations for the paper. These two settings seem to ...
4
votes
1answer
44 views

TikZ wrong node placement on curve

I use TikZ to draw a Bézier curve and place 4 circles (nodes) on that curve using pos=0.25 etc. (see MWE below). The curve has an arrow at the end. I would like to use >=latex to get LaTeX-style ...
1
vote
1answer
9 views

Code caption with listing without title, only numbers

I'm writing a book in spanish which has R code in it. I need some of the code listings to have a caption but I don't really need a title. I want the caption to show also the number of caption and ...
3
votes
1answer
16 views

Using pythontex \py with fancyhdr

I don't know what I'm doing wrong, but this MWE does not work for me: \documentclass[a4paper]{article} \usepackage{pythontex} \usepackage{lipsum} \usepackage{fancyhdr} \pagestyle{fancy} ...
6
votes
1answer
55 views

Relative Order of Overlays in Beamer

I am creating a presentation with beamer using relative overlays. When the order overlays should appear in is different from the order the tex code is parsed things become difficult (see e.g. relative ...
1
vote
1answer
29 views

Webform not recognizing my PDF as a PDF

Sometimes when i try to upload my resume onto an online form the site wont accept my file saying something along the lines of: The file you uploaded is not a PDF file. This has happened to me a ...
0
votes
0answers
9 views

pdfpages postioning problem

I am trying to create a pdf from a selection of pages from an existing pdf. Simply put, I want the resulting pdf to feature only a selection from the parent pdf. No added text from my side. However, ...
1
vote
1answer
22 views

Large table to next page

I have a very large table that extends to at least 2 pages, but the tables just continues down along the bottom of the paper. How can I get it to extend to the next page? And how can I get a bit more ...
2
votes
1answer
24 views

Spacing between multiple choice question in examdesign documentclass

Is there a way to control the spacing between multiple choice questions using the examdesign documentclass? So far I've only been able to do it by manually adding space after the last alternative, but ...
1
vote
2answers
11 views

How to locally change the “Table” caption prefix in table environment

In my memoir document, I have several tables looking something like: \begin{table}[htbp] \centering \caption{This is a caption.} \label{tab:some_table} \begin{tabular}{l p{10cm}} \toprule some text ...
0
votes
1answer
10 views

No vertical space between question title and question

In a book I am writing I want to write various exercises for problems. For this purpose I am using the package exsheets. How can I ensure that the text for the question is immediately after the ...
2
votes
2answers
24 views

Header should display section if no subsection available

I'm writing a document which uses scrartcl alongside with twoside and want to create a header with scrpage2. As expected the package prints the section on even pages and the subsection on odd pages. ...
2
votes
1answer
12 views

Subfigure alignments

I am at the moment using the code: \begin{figure} \centering \subfloat[][a]{\includegraphics[scale=0.4]{d_vs_r0_varying_redshift_mass.pdf}} \label{test1} ...
0
votes
0answers
49 views

What is indentation good for? [duplicate]

I am a German native speaker and I have a question that concerns latex, i.e. the command \noindent. As I would do it, a text with several paragraphs would look like this: Duis autem vel eum ...
3
votes
2answers
106 views

High degree polynomial plotting with Tikz/pgfplot

I am new to tikz/pgfplots...so sorry if my question has been asked... I am trying to plot the tanh function using pgplots, then add a set of N points and plot the (n-1) degree polynomial passing ...
0
votes
3answers
68 views

Plot y=x^(-0.5)

How can I plot y=x^(-0.5)? \documentclass[border=2pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[->] (0,0) -- (6.2,0) node[right] {$Q$}; ...
0
votes
2answers
60 views

Redefining math symbols like \eta (with ensuremath)

An easy one: I would like to define a shortcut so that I can write \eta without having to enclose it in $\eta$. However, the naive approach will not work: \documentclass{article} ...
0
votes
0answers
21 views

breaking table row across pages

I am using xtabular package. Is there a way to break a row across pages? In the case of my table, I have some rows that are lengthier than the rest, and this results in a lot of unnecessary empty ...
3
votes
1answer
20 views

How to add an electonic identifier (eid) field to inproceedings type in biblatex

By default, in biblatex, inproceedings entries do not support the eid field (electronic identifier). In article entries, the eid is printed instead of the page number, see the following MWE: ...
3
votes
3answers
72 views

Side brace in dfrac

So I have this formula \begin{empheq}[right=\empheqrbrace]{align*} \dfrac{\dfrac{\dfrac{\dfrac{ \frac{1}{a} % <-- start with this a }{a}}{a}}{\vdots}}{a} that's rendered in this formula: ...
3
votes
1answer
15 views

Print glossary with divided sections for each group of words ordered by letter

i successfully wrote my glossary and everything works great using this code \usepackage[section]{glossaries} \makeglossaries \newglossaryentry{API} { name=API, text=API, ...
0
votes
0answers
24 views

Beamer + hyperref + latex->dvips->ps2pdf

i have a problem with this minimum code (i let all the packages for possible conflict) : \documentclass[10pt,a4paper,dvips]{beamer} %Avec effet de transition \usepackage[utf8x]{inputenc} ...

15 30 50 per page