0
votes
0answers
5 views

biblatex authoryear with very similar author lists

I'm using biblatex with the authoryear style, and I happen to be citing three papers: Authors A, B, C, D, E, 2009. Authors A, B, C, D, E, 2012. Authors A, B, C, E, D, 2009. When I cite all three, ...
1
vote
1answer
9 views

Label offsetting with multiple labels in Circuitikz

I have written the following code to draw the diagram of an RLC circuit: \begin{tikzpicture}\draw (0,2) node[anchor=east] {1} to [short,*-] (0,2) to[R,R=$R$] (4,2) node[anchor=west] {2} to [short,*-] ...
1
vote
0answers
6 views

How can I control the space above a section heading in the memoir class?

I'm using the memoir class to typeset a cassette cover with some lyrics in it. I'd like to section headings to be very basic, just with a lineskip above and under them. But it seems that there's more ...
0
votes
1answer
8 views

Reducing space between for some of the equations

I need to display a few equations as below The code I have written is :- \documentclass{report} \usepackage{amsmath} \begin{document} \begin{equation} \label{Equ. 3.9} x_{i+1}=\cos(a_i) \cdot ...
1
vote
1answer
10 views

Two Side by side figures having problem with captions (a) and (b)

I am making presentation in latex, I have two side by side figures with same size. I want to give caption (a) and (b) to the figures left and right respectively, and a main caption (some text) for ...
0
votes
1answer
17 views

mitochondria plot

could someone give me a code to plot a mitochondria like the picture below, or something similar. The pie plot is not necessary. I'm a beginner of tikz and I tried some method and googled a lot but ...
0
votes
0answers
11 views

Problem with line width in a list

I have a problem with this template https://www.overleaf.com/latex/templates/a-designer-cv/klstlngczkld#.VecxhPmqp-E The lists don't allow many words without breaking the line. I tried everything but ...
0
votes
0answers
19 views

Order table by row

I have many tables like this: \begin{table}[] \centering \caption{Osmotic down TR CC} \resizebox{1\textwidth}{!}{ \label{my-label} \begin{tabularx}{1.4\textwidth}{|l|Y|T{-1.4}|} \hline term ID ...
0
votes
1answer
26 views

How to print `n` arguments in a command?

This is what I want to do: \newcommand{\foobar}[n]{% \hspace*{1.5ex}-\hspace{1ex}\emph{#n}\\% } And then use it like this: \foobar {Hello} {World} However this doesnt actually work. I want ...
0
votes
0answers
6 views

ShareLatex knitr install package

Sharelatex comes with a few R library's that you can query. However, it is impossible for me to install a package or query a non pre-installed package. The package I am trying to use is the arm ...
0
votes
2answers
21 views

Accuracy of distance measures in geometry

In the following MWE, I set the distance from the edge of the paper to the body text to be 25mm. \documentclass[a4paper]{article} \usepackage[showframe, paper = a4paper, tmargin = 25mm]{geometry} ...
1
vote
1answer
17 views

citation format style change from X & Y to X and Y

I'm using \usepackage{natbib} and \bibliographystyle{agsm}. I want to remove '&' from the citation and replace it with 'and' (Ex: Instead of "Fama & French (1993)" I need "Fama and French ...
1
vote
2answers
24 views

Unnumbered section numbered figures

I have unnumbered sections (\section*) in my document (documentclass article) but I need to have numbered figures, tables and footnotes within sections. Normal solution like ...
1
vote
0answers
10 views

Externalize with tikz images not displayed

I am currently trying to externalize my tikz images. I get a problem that the pdfs are generated from tikz, but they cannot be displayed in the main file. Instead is a white box with the path to the ...
0
votes
0answers
12 views

Appendix numbering (Alph.arabic) in Latex

I'm trying to have a appendix as Appendix A A.1 A.2 A.3 This is what I have do so far \appendix %\renewcommand\thesection{\Alph{subsection}} \renewcommand{\thesubsection}{\arabic{subsection}} ...
0
votes
0answers
20 views

`:` is set to `\colon`, but the spacing is still wrong - part 2

This question explains how to make : behave as \colon. It has two solutions. The present question concerns the second, less upvoted solution, egreg solution, as in this question of mine, it turned out ...
1
vote
0answers
10 views

autonum and cleveref conflict

The following code produces erroneous output. When I put cleveref first, it doesn't pick up the references at all. When I put autonum first, really weird stuff happens. See the images below. I ...
0
votes
0answers
6 views

Error with log4cxx

Since the update on August 29, the updater finishes with a message log4cxx: no appender could be found for logger. MikTeX remains functional, but the caching of fonts that usually happens at the end ...
1
vote
1answer
22 views

Equation number syntax: [Section] . [Subsection] . [Subsubsection] – [EquationNumber]

I would like to use section numbers within equation reference counters. This typically requires \numberwithin from the amsmath package. I would like to change the section number depth of these ...
0
votes
0answers
22 views

Simple method to draw diagram for Mac [on hold]

I have been struggling to find an application to draw simple block diagrams and insert mathematical symbols and export the drawing to either .png or .jpg My ultimate goal is to use these images in my ...
1
vote
1answer
13 views

XeLaTeX Unicode symbols do not show up in verbatim

The following snippet produces the desired result outside of the verbatim block, but not within the verbatim block. I guess I have to specify a font for verbatim mode that contains support for the ...
4
votes
1answer
108 views

Typesetting an infinite page

How would I go about typesetting a document which will end up being printed on a long continuous roll of paper. The paper is 21cm wide (a vertical A4 page width) and infinitely long. Obviously I ...
3
votes
1answer
21 views

Is it possible to make a gradient from 'opaque color' to 'total transparency'?

It seems like the 'color' transparent acts just like black (changing opacity acts as some kind of gray): \documentclass{standalone} \usepackage{pgfplots} \usepgfplotslibrary{fillbetween} ...
1
vote
1answer
16 views

pdfpages does not correctly scale inserted pdf pages

I use the following code : \usepackage{pdfpages} ... \includepdf[pages=-]{article.pdf} I also tried many pdfpages options such as fitpaper, templatesize, noautoscale, scale and so forth. I also ...
3
votes
2answers
58 views

How can I turn off url links within the table of contents?

I'm using the hyperref package to write an unusual document. It has clickable url links in the section titles. Unfortunately, when clicking on the section title in the table of contents, one is not ...
4
votes
1answer
13 views

Preventing page break at specific location

I am currently compiling a booklet of presentation abstracts. Each entry has a title (which I render as a \section*), an author, and the abstract text itself. For some of the entires, LaTeX decides ...
0
votes
1answer
18 views

subsection text spread out

I am using overleaf to make my resume but unfortunatley in the subsection row my text is spreading out. for eg \subsection{Research projects} is not coming out as Research project but ...
0
votes
1answer
108 views

MiKTeX won't typeset

I have just bought a new computer and downloaded MiKTeX onto it. When I try to typeset some of my old TeXworks files I get: "Sorry, but "MiKTeX Configuration Utility" did not succeed. The log file ...
0
votes
0answers
14 views

Referring to a label: how to change the name?

I define a basic hypothesis called "Hyp A", using theorem environment, and also give it a label (say Hyp_A). Then when I refer to this hypothesis, how to display something like "Let X and G satisfy ...
0
votes
0answers
23 views

“\binom” shows as “\mathchoice” in Ipython Notebook [on hold]

I am learning Latex and my lecture note in Ipython Notebook has this error below. The latex code: A. $13\binom{4}{3}$ The output text: A. 13\mathchoice((((43\mathchoice)))) I have no idea how ...
0
votes
0answers
13 views

Sorting of bibliography and index [duplicate]

In the following MWE, I want the bibliography to be sorted by the last name, first name of the first author/editor, and first name, last name of subsequent authors. In the attached image, they are ...
1
vote
0answers
41 views

What software/package can be used to draw something like this?

I refer to Allen Hatcher's famous book on Algebraic Topology: http://www.math.cornell.edu/~hatcher/AT/ATch1.pdf What software or LaTeX package can be used to draw those figures? Or are those best ...
3
votes
1answer
39 views

Latex class for one page document

Which class should I use to write simple documents? With 'simple documents' I mean short documents (about one or two pages) without the indication of author, title and dates. Wikipedia says that ...
2
votes
1answer
19 views

Skipping line numbers in lstlisting

Referring to Skip line numbers and resume from specific number I tried to skip several line numbers in my listings and continue with a specific number. But in my case there is a really bad side ...
3
votes
1answer
14 views

pdfcomment and breqn

I'm trying to use \pdfmarkupcomment from pdfcomment inside a dmath environment from breqn, but they appear to be incompatible. Here is a simple example where it fails: \documentclass{article} ...
1
vote
0answers
7 views

Custom Figure Citation Linking Text

Below is my Coding \documentclass{article} \usepackage[colorlinks]{hyperref} \begin{document} To test whether Figure \ref{fig1} a suspicious URL is vulnerable, we utilize the URL to download a ...
0
votes
0answers
14 views

Using setmonofont with Bera Sans Mono in Beamer produces garbled output

I am using Bera Sans Mono as the monospaced font for typesetting code listings using the listings package. This is done for slides which are produced using beamer and XeLaTeX. My preamble includes the ...
0
votes
0answers
6 views

AGPS Harvard referencing style

LaTeX newbie here! I'm using natbib and the 'agsm' bibliography style right now but need a full in-text citation (like what I get in the bibliography). I've played around a bit, and know it works with ...
2
votes
2answers
16 views

Boldfaced line numbers in critical apparatus with Sanskrit script

I am making a critical edition that has some Sanskrit text in which I would like the numbers in the critical apparatus referring to the line numbers in the text to be bold. The problem is that the ...
3
votes
2answers
102 views

Shrink a line of verse

I have some lines of Sanskrit verse (left indented via a quoting environment) which are slightly too long, similar to the following example: \documentclass{memoir} \usepackage{quoting} ...
3
votes
1answer
31 views

Problem solving an ODE in Asymptote

I am trying to graph a space curve from its curvature and torsion using Asymptote but cannot get the ODE solver to work in this case: import ode; real kappa(real t){return 1;} real tau(real ...
0
votes
0answers
28 views

How to generate pdf using LuaTeX from java code [on hold]

I'd like to generate PDF file after LuaLaTex compilation in java code. Can anybody suggest a solution?
0
votes
0answers
17 views

package pdflscape gives wrong values in ToC

For every page I use pdflscape, an extra 'page' is added in the toc. No actual page is present in the document, but the numbers of the toc do not coincide any more with the page-numbers of the ...
0
votes
0answers
16 views

Short footnotes on same line or centered in plain TeX

Is there in plain TeX a way to print two short footnotes on the same line (spaced as if in columns) or a single footnote centered?
0
votes
0answers
12 views

How to change reference hierarchy from section to subsection in latex article

I am writing a report using article class where I have to put bibliography in as a separate subsection in every section. But in general reference are coming as separate section. Can we make hierarchy ...
3
votes
1answer
25 views

Using Needspace within paragraph provides too much space

I am trying to implement the solution provided in Equation tag in twoside-mode outer. It seems the solution provides too much space above the align environment. The following code reproduces the ...
0
votes
0answers
12 views

Contents are not clickable for navigation in Report file

I have preparing a report. The items in the table of contents are not clickable in the pdf file and hence, I cannot go to a chapter directly from the table of contents page. My Code: ...
5
votes
3answers
114 views

When using section* counters don't reset properly. How to fix this?

For example : \documentclass{article} \usepackage{chngcntr} \counterwithin*{equation}{section} \counterwithin*{equation}{subsection} \begin{document} \section{One} \begin{equation} 2+2=3.99 ...
0
votes
1answer
10 views

\href{} problem on moderncv document class

Here is a MWE: \documentclass{moderncv} \usepackage{hyperref} \begin{document} \cvitem {some text}{\href{url}}{text} \end{document} The problem I get is: Option clash for package hyperref ...
3
votes
0answers
45 views

Grouping data in pgfplots

I have a file with measurement results for different settings (group) in a single csv file as shown below. I would like to plot a line in pgfplots for each group and provide an appropriate legend. Is ...

15 30 50 per page