# All Questions

3 views

### Centering two line caption in memoir

I'm struggling to center my two line captions. I'm using memoir and I want the second line to be the reference to where I got the figure from. I'm using the following code for the figure: ...
4 views

### Force hyphenation for a word beginning with a digit

What is the best way to make LaTeX hyphenate the word 9-dimensional. Currently I have a case where it produces an overfull line without hyphenation. Adding \hyphenation{9-di-men-sional} doesn't work ...
5 views

### why hyperref link text border(box) doesn't have uniform size under Xelatex

I found that the same code under different tex engines gives different hyperref link border(box) size, see the minimal sample code below: \documentclass[UTF8]{ctexart} \usepackage{hyperref} ...
15 views

### How to number chemical reaction separately from mathematical equations? [duplicate]

While writing part of my dissertation, I need to number chemical reactions separated from mathematical equations. I checked chemscheme, but it seems not what I'm looking for. I need to numbering of ...
13 views

### How to modify pattern of dashed line to not start/end with a space?

How can I force the pattern of a dashed line to be shifted/modified in such way that it does not start/end with a space? Simple example: \documentclass{article} \usepackage{tikz} \begin{document} ...
12 views

### Tikz: axis overlays markers

I am creating a simple graph having plots with markings. I use the decorations.markings library to create markers with a uniform distance between them. However, the markers close to the borders of the ...
29 views

### Latex bar graph PGFPlots

Im trying to create a bar plot but something doesn't go quite right the bar plot is sort of scrambled and i can figure out where it goes wrong . Here is what is have ...
24 views

### Exclude a line of text in a tabular environment

I have this problem: inside a framebox there is a line of text which should not be a part of the tabular enviromnent because it widens the first tab. Here is the code \documentclass[12pt, ...
8 views

### remove quotation marks in the reference titles using longbibliography of revtex

I am writing a paper and for the bibliography I need to use revtex4-1 which produces the reference as: Author list, volume, page and (year). I need to add the title of the reference in there after ...
48 views

### How to increase resolution of a picture in tikz?

While trying to draw a parabola in tikz I used Geogebra. But the resolution of the picture is doesn't come out to be that great as is the case in using directly tikz. The code that Geogebra generated ...
27 views

### How to draw dashed horizontal line in sequence diagram using pgf-umlsd?

I am drawing a sequence diagram using Tikz. I first tried tikz-uml, but it has some issues which I asked about in another question. I am now trying out pgf-umlsd, but it lacks the support for the ...
14 views

### Resizing images based on DPI and display size

I find that my pdfs are exceedingly large, since I use many high quality pictures in them. To automatically reduce the quality, I found this question [ Can pdflatex (or any tex package) automatically ...
18 views

### “pages” useless backref in the end of bibliography section compiled with pdfTeX 3.1415926-2.5-1.40.14 (MiKTeX 2.9)

Got an odd misprint at end of thebibliography enviroment, how to get rid of it and don't get an error with too many citations. Having only five of them I got an error of compilation "File ended while ...
21 views

I am preparing a document using the twoside class option. The end of the Table of Contents falls such that an blank page is inserted so that the following section (List of Figures FWIW) falls on an ...
7 views

### Examdesign spacing in two column

Long multiple choice questions (with graphs) are causing formatting issues, where the question runs off the bottom of the page and is not visible. Deleting the images seems to resolve the spacing ...
11 views

### seqsplit error: \SQSPL@scani has an extra }

I created some commands to allow me to easily handle Japanese text in Latex. Recently I added seqsplit to automatically break lines, as Japanese text is handled as a single word due to the lack of ...
31 views

I am new in LaTeX and I am writing my thesis with it. My problem is when a chapter ends up to an odd number, automatically a blank page is added. But it doesn't work for an even page number I tried ...
34 views

### Wrong superscript positioning with xelatex and alternative font

Trying to change the math font with xelatex, I used the following commands: \usepackage[cm]{sfmath} \usepackage{mathspec} %\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} ...
15 views

### Language conflict between bohr and babel [on hold]

This weekend I updated my MikTEX 2.9 installation and installed packages. To my suprise I promptly received an error message when recompiling a tex file (that previously compiled without a problem). ...
62 views

### Install RevTex 4.1 in MiKTeX 2.9

I am having a problem with installing/upgrading the revtex package in miktex. Using the upgrading feature leads nowhere because it seems that the new revtex package was not added on the update list. I ...
30 views

### Error when updating texlive 2015

When I want to update packages of texlive 2015 I get this error? what is the problem? tlmgr update --list The locale codeset (cp720) isn't one that perl can decode, stopped at C:\texlive ...
35 views

### HowTo: Tikz 3d Plot of an object

Hi I have problem with plotting an integration area. In the x-y-plane the area ist bounded by the polynoms 3x^2-1 and 3-x^2. In z-direction there are the limits z=0 and z=4-x-y. Now I want to plot the ...
15 views

### Inserting “evaluated at” vertical bar in TeXmacs for derivatives [on hold]

everyone. Recently, I've started using TeXmacs and apart from some minor difficulties, I find the editor very intuitive to use. However, there's one symbol that I failed to insert no matter what: the ...
24 views

### Double backslash or \cr in \newcommand to be used in a table

I have a \newcommand*\mycmd[3]{#1 & #2 & #3 \\} that is used in a tabular environment later, like this \begin{tabular}{ccc} \mycmd{a}{b}{c} \mycmd{d}{e}{f} \end{tabular} But the double ...
12 views

### How to insert a large number of authors in IEEE conference

I am writing a paper where are participating more than 30 authors. I am wondering what is the right way to include all these authors in a paper In general I use \author{\IEEEauthorblockN{Author ...
36 views

### Compare Variables

I want to have a macro that checks if the string has been used in the previous call of the macro as well. I found some examples here how to create switch structure comparing strings in latex but I ...
54 views

### Indentation of a longtable

I have a table without borders, spanning two pages, the text contained in which I want to start with the same indentation as my hanging footnotes. I have a rough solution, but it relies on inserting ...
31 views

### HowTo make beamer's \insertauthor all uppercase?

So I was finally able to create a MWE for this one: I am creating my own beamer style which has some areas, where all text is supposed to be all caps. Using \MakeUppercase with the beamer class' ...
27 views

### Tikz-UML sequence diagram: how to extend lifeline and shrink vertical space before \umlfpart?

I am using Tikz UML to create a sequence diagram. How can I extend the lifeline of c:C and d:D to match the lifeline length of b:B? And how can I shrink the vertical space before the dashed line ...
21 views

### Concise numbering [duplicate]

I am a beginner at LaTeX and I would like to know the answer to the following: If one has references [1,2,3,4] in a document, how does one change it to [1-4], i.e. to club them in the typeset ...
179 views

### Why the new changes to LaTeX kernel breaks zref-perpage package?

Consider the following minimal example: \documentclass{book} \usepackage{zref-perpage} \zmakeperpage{footnote} \begin{document} \chapter{Test} \footnote{A footnote} \footnote{A footnote} \newpage ...
30 views

### Formatting a paragraph indentation

I am using TeXStudio. Can I please ask how to apply the hanging indentation to a paragraph? For an example, Step 1. I am using TeXStudio to write a thesis. The second line wants to be aligned up ...
14 views

### Change citation label using multibbl package

I'm writing a document with two bibliographies, one for references and the other for links. My code is in this format: \documentclass{article} \usepackage{multibbl} \newbibliography{R} ...
28 views

### How to make animate package compile with lualatex in texlive 2015? pdfTeX, version >= 1.20 [on hold]

I have installed TL 2015, and switched my makefiles to use lualatex instead of pdflatex. I have some latex files that use the animate package. Now these files do not compile. I get an error ...
25 views

### How can I create the synctex file for the LaTeX source?

I deleted the synctex file by mistake and I'd like to know if there's a way to recover it. I want to be able to Ctrl-click in the preview and jump to the corresponding place in the LaTeX source.
35 views

### Conflict between option ISO of package txgreeks and \mathcal

When I use the package option ISO to make Greeks italic, I find that \mathcal is out of work. Can anybody help me out? Thanks. \documentclass{article} \usepackage{etex} \usepackage{amsfonts} ...
216 views

### Tikz television screen

I've tried to improve my Tikz skills - I've tried to make a simple figure. I wanted to try the foreach function out. But I have some trouble with the arranging of the blocks. Here is the code: ...
129 views

### PSTricks equivalent to TikZ

Is there a way to make the grid in \psgrid look the same as the one in the tikzpicture? \documentclass[12pt,pstricks]{exam} \usepackage{tikz} \usepackage{pst-all} \begin{document} \psset{unit=0.5cm} ...
51 views

### Wrong emptyset symbol

Each time i type $\emptyset$ an ugly (if I may say so, I think it's ugly), or rather unexpected slashed circle comes out instead of the (expected) emptyset. I want my \emptyset! What should I do? ...
27 views

### Arguments in a tcolorbox

Following with the answer for this question Create a color box? given by Gonzalo Medina I just made a few arrangements for a list of exercises the code is this \documentclass{article} ...
39 views

### How can I conditionally reference a figure?

So here's my knitr .Rnw file: \documentclass{article} \usepackage{hyperref} \hypersetup{} \begin{document} \let\ref\autoref <<plot,fig.cap='try'>>= if(rnorm(1) > 0) x = rbinom(1, 100, ...
29 views

### beamer: \only and itemize

I would like to write somethings out of the itemize environment using \only, but to do so I need to add an item before \only<2>. Does anyone know how so solve this without adding this new item? ...
23 views

### Author name position on book title page [on hold]

This is not really a TeXnical question, I apologise, but the Typophile site is currently down, I haven't been able to find an answer and I am sure there are some colleagues here with just the right ...
42 views

### How to fit a Tikz picture into a tabularx cell?

I am trying to put a Tikz picture into a cell of a tabularx. The problem is that it doesn't fit in my cell. Here is the code : \documentclass[10pt,a4paper]{article} \usepackage[utf8x]{inputenc} ...
60 views

### What is the easiest way to draw a graph with asymptotes using TikZ?

I have a graph with some extra graphics on it: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[ declare function={ f(\x) = 4/(1+pow(\x/5, 2)); }] % partitions ...
36 views

### I am trying to assemble my thesis but I am having troubles

I have started assembling my thesis, and ran up into problems while assembling it. My chapters and appendices are in folder called "Chapters". Here is my main file: \documentclass[12, ...
24 views

### Calculate pearson correlation, r in pgfplots

Is it possible to calculate the pearson correlation, r or r^2 value from a linear regression using pgfplots? I already have the curve and would like to display the r value in the legend. I couldn't ...
74 views

### Draw zipf curve and luhn cuts with tikz

I'd like to draw a picture in latex, like the image below. I've tried to study the pgfmanual, but i couldn't figure out how to do it. Can anyone help me, please? ...