# All Questions

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, ...
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,*-] ...
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 ...
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} \label{Equ. 3.9} x_{i+1}=\cos(a_i) \cdot ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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} ...
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 ...
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 ...
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 ...
12 views

### Appendix numbering (Alph.arabic) in Latex

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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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} ...
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 ...
58 views

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 ...
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 ...
18 views

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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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} ...
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 ...
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 ...
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 ...
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 ...
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} ...
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 ...
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?
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 ...
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?
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 ...
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 ...
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: ...
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} 2+2=3.99 ...