# All Questions

3 views

### How to change theorem display citation style right after thmhead

I would like to change the display style of 'citation' in a theorem using 'book' class. For example, by default, it would display \begin{theorem}\cite{pS97} <theorem-content> \end{theorem} ...
7 views

### Define how printed bibliography looks based on source

After a while I have to write a paper again and I want to use my old LaTeX template which is still working without problems. One thing I noticed and which bothers me is that the bibliography looks ...
10 views

### Labeling a picture, refering back to it in the document

I have a code for a picture, but I want to label it and referred back to it in the document. Below is the code for my simple picture \begin{center} \begin{tikzpicture}[line cap=round,line ...
13 views

### Include LaTeX commands from external file in asymptote file

I have many asymptote drawings in a .asy file whose generated pdf is included in a main.tex. I have many user-defined commands, like \vec or \vxi which I use in my current main.tex and I want to use ...
15 views

### Oriented curves

Can someone link me to a tutorial or some examples of how to make oriented curves using pgfplots? Something along the lines of I'm not asking for someone to spend the time reproducing the above ...
15 views

### Multiple cases with automatic braces

I am writing a relation in which I need to describe the value of G(i, s, a): \documentclass{article} \usepackage {amsfonts} \usepackage {amsmath} \usepackage [margin=1in]{geometry} \usepackage ...
8 views

### Drawing curved “domain” lines in qtree + tree-dvips (NOT tikz-qtree)

I'm trying to draw a curved line dividing two nodes in qtree in order to separate the domains. For example, in the following tree, I'd like to be able to put a horizontal curved line between VP and ...
12 views

### How to change APA-like.sty to name 3 authors?

I use a very complicated template that has a line \bibstyle{apalike} Looking at apalike.sty I see that if a paper has more than two authors, it will be cited as First Authors et al. How should I ...
19 views

### In nested tables, how can I make an inner table stretch to fit its column?

I'm trying to design a layout that has tables nested within tables, and I'm having trouble getting things to line up. The question is quite similar to How to make width of an inner table use full ...
43 views

### Problem plotting in TikZ

I have to draw a random curve in TikZ, connecting the origin to infinity. I thought the easiest way to do that would be to plot sin(x)-x from the origin to the left. This way it connects 0 to infinity ...
22 views

### How to remove protection to comments in the document .pdf, generated latex? [duplicate]

How to remove protection to comments in the document .pdf, generated latex? I'm working on my thesis in latex, but today my partner need to discuss the pdf, and can not do for the protection of the ...
33 views

### Adjust table spacing and cells centering

I want to make a formal table in a report. I used the following code; however, I still need to remove the gaps between the cells contents and data to save space. Also, I want to center the cells ...
37 views

### Commenting a single line comments the whole block

So there are paragraphs in my document, and even if I try to comment a single line using % I find that all the rest of the paragraph is also commented. I know this since the color changes to grey ...
11 views

### Layout problem when mixing tasks and enumitem

There seems to be a layout issue when attempting to incorporate a tasks environment directly within an enumerate environment, when no text is specified between the \item (enumerate) and the beginning ...
36 views

### Different page labels/numbering in PDF viewer

I am using the report class and would like to have front matter with a different numbering than the main matter. So I use Roman numbering at first and then Arabic numbering later on, but what I would ...
23 views

I have a book with three parts, each introduced with \part{}, and using custom part pages that add a graphic to the Part page. e.g., \part[Exploratory and Hypothesis-testing Methods]% {Exploratory ...
17 views

### Bibtex / biber and letters in the pages-Field

I'm using biblatex and MiKTeX to write my thesis. My citations contain articles from a journal which uses a combination of a letter and numbers for the pages. The challenge is to cite the article ...
245 views

### Complex musical chords

For my thesis in musicology (somebody create that tag!) that is due this monday I need help figuring out how to achive notation of complex musical chords in Latex. I have tried every googable solution ...
48 views

### Rename last chapter to epilogue,

First of all: I read through many possible solutions here, but none seem to work for me. I want to rename the last chapter of a book to be named "Epilogue" in the ToC and for all similar purposes AND ...
26 views

### Need help with structuring text with figures?

I need help in order to be able to make this for my own thesis. If anyone would try to help me, I would be very thankful.
32 views

### How to create checkbox todo list?

I am having trouble trying to create a simple to do list in LaTex. Basically, what I want is a list with empty squares/boxes down the left side instead of bullets, numbers, letters, etc. Here is ...
16 views

### Classicthesis: how to get “unlinked” footnotes?

In a document using the classicalthesis package, in order to get footnotes without links (*) (but leave the links everywhere else), I tried all the options I could find: using \hypersetup with ...
30 views

### Getting TikZ to work on Elementary OS (Ubuntu)

I'm running Elementary OS (which is a fork of Ubuntu 12.04), and am having troubles getting a LaTeX installation to work. Code that worked on my old installation on Windows, doesn't appear to work ...
42 views

### Create a “special” cover

I'd like to create a cover similar to this: I found it (https://www.overleaf.com/latex/templates/imperial-college-london-phd-thesis-latex-template/zfybynnyczhb) but I can't make this work, I mean, ...
40 views

### Better way to achieve TikZ label offset

In the following diagram, which is generated by the following TikZ code, \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}[h] \centering \begin{tikzpicture}[scale=2, % ...
10 views

### latexdiff: marking whole block as changed

When I rewrite a paragraph (but keeping a few sentences or equations the same) I would like to mark the whole block as changed so it appears in the diff as one whole block in strike-through-red and ...
29 views

### Wrapfigure keeps space for rest of page

Can anyone helped me with this? I've looked up questions with similar problems but nome of them seem to work for me. I'm writing a book and I like to use wrapfig for site-notes for recalls or notation ...
18 views

### Layer beamer blocks

I just saw this example (see image) and I would like to know how one can do similar things. Thanks
14 views

### Stopping an lstlisting from breaking on a literate replacement

The default behaviour of the listings package is not to automatically break lines. However, I find that listings will still break lines after a literate replacement. An MWE: \documentclass{article} ...
14 views

### Cancel command: color, verse, number of lines

I need a command like \cancel{} but with more '' options '': change the cancel color the number of the line that cancel the text compatible with math mode change the verse !
36 views

### How to typeset a MinMax algorithm tree?

I want to typeset MinMax decision trees in LaTeX, just like the one in following picture: I have played around a little and achieved part of my goals: \documentclass{article} ...
12 views

### AVI movie not displaying in Beamer using Multimedia package

Trying to embed a .avi in a Beamer presentation using the multimedia package and I can't figure out where I went wrong. Using Windows 7 and Adobe Reader to view the presentation, and TeXworks to ...
15 views

### How to get headings at top of the List of figure and list of table

I am writing my report. I am using following codes. \documentclass{report} \usepackage{chngcntr,tocloft} \counterwithin*{figure}{section} \counterwithin*{figure}{subsection} ...
8 views

### Problem with eps-converted-to.pdf files with TeXShop

I'm writing a lab report using LaTeX with a friend. We are using the epstopdf package to insert .eps figures into our report. For some reason, though, while my friend has no problem at all while ...
24 views

### How to label data with the real value in pgfplot?

Taking this example from PGFplot gallery. \begin{tikzpicture} \begin{axis}[ x tick label style={ /pgf/number format/1000 sep=}, ylabel=Population, enlargelimits=0.15, legend ...
47 views

### Conditional whitespace in math mode

Clarification \documentclass[fleqn]{article} \def\foo{What do I put here???} \begin{document} $a \foo b$ $\foo b$ $a, \foo b$ $a, b$ \end{document} I would like the document just ...
25 views

### How to get Theorem Numbers to Have three parts?

Using the document class amsart, how can I get theorem numbers to also contain the number of the subsection and not just that of the section? Here is a minimal working example of what I mean, in ...
15 views

I am trying to work on my bachelor degree thesis and I need my name in the left header and chapter name in the right header, how can I do that? I made something but it's displaying my name and the ...
17 views

### Problem with tcblisting: First listed LaTeX command is missing

Following code shows the problem. I've declared a \newtcblisting with an optional argument. \newtcblisting{codiltxb}[1][]{listing only, #1} When the optional argument is present in further ...
15 views

### Greek letters in fancyvrb verbatim on OS X using xelatex

How can I get greek letters, such as λ, to appear inside Verbatim? Which font should I use? I am on OS X, using xelatex, and currently using ...
24 views

### How to remove sidenote citations in Tufte-LaTeX

In Tufte-LaTeX, the standard behavior of the \cite command is to put the reference in the sidenotes area (see example at https://github.com/Tufte-LaTeX/tufte-latex/blob/master/sample-handout.pdf). ...
13 views

### Selective breaking of biblatex urls?

Based on Avoiding inelegant splits on URLs, I have this MWE: \documentclass{article} \usepackage[backend=biber]{biblatex} \usepackage{filecontents} \usepackage{trace} \usepackage{hyperref} ...
18 views

### Error with algorithm and algorithmic packages

I have the following problem that involves the algorithm and algorithmic packages with the garamondx font. This is a minimal example: \documentclass[letterpapet,10pt]{article} \usepackage{garamondx} ...
2 views

### How to include subfloat in href description field or \movie placeholder image (Beamer video)

I am using Beamer to include a video like so: \documentclass{beamer} \usepackage{multimedia} \usepackage{subfig}= \title{Project} \author{Author} \date{June 4, 2015} \begin{document} \maketitle ...
21 views

### pgfplot | tikzpicture | changing length + width of ticks

While there are any number of posts on how to fiddle (from the Latin) with tick labels, or tick placements, or tick color, I haven't been able to find anything (in terms of worked examples, or in the ...
14 views

I'm sure a lot of people is having the same problem as mine because I've tried to make this work in two completely different computers and nothing happens. I'm trying to use "Jump to the line" on my ...
16 views

### References linked to website by click

I am new to LaTeX and I have the problem about linking the references to the available papers in the internet. I have loaded these packages \usepackage[bibstyle=authoryear-ibid,citestyle=authoryear, ...
19 views

### Acronyms that include other acronyms

I am using standard astrophysical acronyms that include other acronyms, e.g. Coronal Mass Ejection (CME) Interplanetary Coronal Mass Ejection (ICME) and I would like them to work together, that is if ...