# All Questions

10k views

### Problem after copying text: inputenc Error: Unicode char \u8:‭ not set up for use with LaTeX

I have a LaTeX document, that can be compiled without any problems, but after copying some text into the document, I'm getting a huge amount of errors that say: ! Package inputenc Error: Unicode ...
34 views

### Get the page number to the bottom with classicthesis

How can i get the pagenumber to the bottom center of the page with the classicthesis template? Currently, the page number is in the header.
10 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 ...
3 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} ...
5 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 !
15 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 ...
15 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). ...
8 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} ...
20 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 ...
7 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} ...
3 views

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

MWE: \documentclass{beamer} \mode<presentation> {\usetheme{Madrid}} \usepackage{graphicx} \usepackage{multimedia} \begin{document} \begin{frame} \frametitle{Title} ...
3 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 ...
47 views
+50

I'm getting stumped about how to generate the ToC for this book. I'm about to give up and just do it by hand. The author wants to include a lot of structural information that isn't present in the ...
20 views

### Positioning/ Size of MarginText in CV (classicthesis/curvvita)

I'm trying to write my CV in LaTeX, with classicthesis and curvvita for style format. I've got the following code: \documentclass{scrartcl} \usepackage{marginnote} \reversemarginpar % Move the ...
38k views

### Custom first page with fancyhdr

I'm using the package fancyhdr to format my footers and headers, with my name in the header and a n of m pages format for the footer. Like so: \pagestyle{fancy} \fancyhf{} % clear all header and ...
14 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 ...
8 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 ...
135 views

### How to create a custom front/title page of a thesis?

I have tried to do a front page to my thesis using mdframe after have read it here. Here it was I have done so far but I am stuck. How do I get the frame over the whole left page and how do a get a ...
12 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 ...
17 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 ...
17 views

### Horizontal alignment in multicols

I was working with math equations in multicols, but the equations don't seem to align (i.e. (a), (c) and (e) do not horizontally align). Is there any easy workaround for this? ...
16 views

### Mismatched figure positioning in twocolumn landscape format

I'm trying to create a twocolumn landscape document with four images per page (two per column, two columns per page). Except for the first figure, all are identical in form. The first figure is to ...
67 views

### Perl, Python, Lua or just Latex/Xetex

Recently I finished my thesis in LyX and this was my first steps into latex (even indirect steps). Even though LyX does a lot of thing automatically, when you want to do something yourself, then ...
8 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 ...
10 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} ...
203 views

### How to influence a command throughout the document?

I have a long document which includes quite a lot of \textbf{...} and \textit{...} even just in the middle of sentences. I would like to put something in the preamble in order to make every text that ...
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, ...
406 views

### Linenumbers don’t reset with switch option

When I use the package lineno with option [switch], linenumbers don’t reset when asked to (my setup: up to date TL 2012). MWE: \documentclass{article} \usepackage[switch]{lineno} \usepackage{lipsum} ...
45 views

### How to use Boondox calligraphic font in LaTeX without replacing \mathcal command

This is a follow-up question to a previous question I asked about how to use the Boondox calligraphic font alongside the standard \mathcal font. The solution involved getting the \mathalfa package ...
45 views

### Help with grid lines in a pgfplot

Nothing exciting here. I have a plot with xmin=-11, xmax=11, ymin=-11, and ymax=11. I would like to use the grid option in the axis environment to draw a particular grid. All horizontal and ...
109 views

### How to typeset numbers in scientific notation without using a dedicated package such as siunitx?

My thesis includes numbers such as, 9.368e-03, OR 9.368E-03, spread throughout the main text. I would like to typeset them in the form of a scientific notation such as - 9.683 x 10^-3. However, since ...
19 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

### 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 ...
54 views

### Beamer Presentation References slide can't allowframebreaks and have \frametitle

I am writing a Beamer presentation and my references are too long for one frame. So I tried to use [allowframebreaks], but then I get the TeX capacity exceeded error if I have a \frametitle. I can ...
21 views

### latexdiff: completely ignore a macro?

I have defined a 'convenience macro' for figures: \def\Figure#1#2#3#4#5{ \begin{figure*}[htp] \includegraphics[scale=#4,angle=#5]{#1} \caption{#2} \label{#3} \end{figure*} } When I change any ...
36 views

### Placing tikz picture to the right of item in itemize environment using Beamer

I am trying to place a tikz picture to the right of an \item in a beamer frame and so far the closest I have managed to come up with is this: \documentclass{beamer} \usepackage{tikz} ...
41 views

### Matplotlib symbols

I have recently drawn up a lot of plots in Python (matplotlib), but then I realized that I couldn't find their LaTeX equivalents. I am specifically looking to generate circle, square, and diamond ...
62 views

### Combine universal and existential quantfiers

I want to combine the existential and universal quantifiers so that the left part of the universal quantifier match the right of the existential. To do so I defined the command: ...
38 views

### Problem with chinese in lualatexja (bad argument #1 to 'open')?

I'm trying the example from How to use Chinese with lualatex? (TexLive 2014, updated to frozen): \documentclass{article} \usepackage{luatexja-fontspec} \setmainjfont{FandolSong} \begin{document} 在 ...
30 views

### No pdf in Latex compilation even though the encoding is correct

I have a .tex file whose preamble is this: EDIT: \documentclass[12pt,a4paper,twoside,openany]{report} \usepackage[left=2.5cm,top=2.5cm,right=2.5cm,bottom=2.5cm]{geometry} \parindent 1 true cm ...
29 views

### How to use cjk on miktex

On the forum are a lot of questions about cjk, by using them I managed to build the code for typing japanese (The fonts T8K,T8M are for georgian and may be changed) \documentclass[8pt]{article} ...
301 views

### Creating complex diagrams

I need some help devising a method for further cases. I've searced tex.stackexchange.com for a solution but have so far not seen examples that help me much. In writing my thesis, on musicology, I ...
33 views

### Keeping beamer in English while supporting Chinese characters

\documentclass{beamer} \usepackage{ctex} \begin{document} \title{Test} \author{My name (我的名字)} \date{\today} \begin{frame} \titlepage \end{frame} \end{document} Here is the current output: ...
16 views

### Trouble with referencing elements from bibliography

I am currently writing my bachelor's thesis, and have been having some trouble with Bibtex. I created a Bibliography successfully through Mendeley - However, the way the ressources are listed are as ...
40 views

### Citation call-out, with hyperlink, to manually-input bibitem

I have manually created all entries in the bibliography section. Now, I would like to create authoryear-style citation call-outs and hyperlink the citation call-outs to the entries in the ...
21 views

### How to print page number over page containing \externalfigure in ConTeXt?

I'm trying to merge a full size PDF page into my document and then to print the page number over the top in the normal position. I've read the page on the wiki about inserting PDF pages ...
328 views

### How to draw revolved disk shape using TikZ?

Is there an elegant way to rotate this shape about the axis and draw in 3D? Ideally I would like to be able to draw a revolved view of this as 180 deg, 270 deg and the full revolution at 360 deg. ...