# All Questions

17 views

### How to reduce the gaps between words in a reference entry

I am using the Easy Thesis template to write my thesis. I find one of my reference entry contain huge gaps between the words. . I am using natbib bibliography style. How I can reduce or condense the ...
7 views

### Lilypond generated with MuseScore does not fit the width of the page in XeTeX doc

I am using MuseScore 1.3 on Ubuntu 14.04 to write my scores. Then I save them as LilyPond files, and include them in my tex document using \lilypondfile, like this: \documentclass[a4paper]{article} ...
20 views

### Chapter style design

I need the chapter style of the following design for my Ph.D thesis in latex. Kindly help me.
25 views

### axis alignment for 3D graph using matlab2tikz

I am trying to include multiple 3D figures (created in matlab) into a latex file. The original 3D figures in matlab look like this: In the .m file that creates these figures, I use ...
26 views

### longtable side by side

I've two longtables and I'd like to place them side by side. Tabular environments work very well, but I think it is not possible to place longtable side by side (why?). It needs to be a longtable or ...
11 views

### Unable to define scala language with listings

I'm using the solution here for scala support, but this fails to properly color the scala code, and throws a number of errors when processing lstset - % ! Package keyval Error: breakatwhitespace ...
20 views

### How to ignore left margin and move centered math equation to the left?

I have a following equation I need to move it a little bit to the left because it is way to close to the right side and may get clamped while printing. Those equations are using $$R=...$$ syntax. ...
40 views

### Two similar Tikz images spacing/scaling/centering issues

I'll start first with what I want to ultimately have. I want to have the two images side by side. I want the point G to be horizontally even between the two pictures and I want the scale of both ...
12 views

### gb4e item numbers with tikz-qtree trees

I am using gb4e for numbered examples in my dissertation, since most of my examples are interlinear glosses. I am also including syntax trees, using tikz-qtree. One problem, though, is how to keep ...
17 views

### How do I remove unwanted space between paragraphs

I am writing a two-column document. First everything was fine but then without changing anything I starred getting a 5-7 line space between two paragraphs on first page of my document. I searched n ...
23 views

### Unable to typeset vectors using physics package

I'm trying to typeset the equation for the dot product like this (using the physics package). $$\va{A} \dot \va{B} = abs{A}abs{B}\cos{\theta}$$ However, LaTeX keeps throwing this: ./AP Physics ...
10 views

### Error in installing MiKTEX: Permission denied mfc100.dll

I've been trying to install MiKTEX and I couldn't get thru because of this: Error: Permission denied: C:\Program Files (x86)\MiKTeX 2.9\miktex/bin/mfc100.dll Does someone know how to fix this? I ...
26 views

### How to clear the background of just the current page?

eso-pic provides \AddToShipoutPictureBG to add content to the background at every page and \AddToShipoutPictureBG* to add it only to the current page. \ClearShipoutPicture clears all the content. But ...
16 views

### dashed calligraphic curved parenthesis

I tried to get a dashed curved brace but I didn't got exactly what I expected. Here is the code I used and the result below. \documentclass{standalone} \usepackage{tikz} ...
14 views

I am completely new to doing bibliography and watched a youtube video about it. Downloaded JabRef, filled out the list for an article, saved it to the tex.file location, went to TexStudio and wrote ...
50 views

### Set some horizontal border in my table

I have a big table and I want to put something, in order to divide the table in 3 parts. Here is my table: \begin{center} \begin{large} \begin{tabular}{|l|l||l|l|l|l|l|l|l|l|} \hline ...
32 views

### Tikz plot not precise enough

In the plot pictured below the two curves should cross at (4,3) but they do not. Is there some way to fix this? I tried to load the fixed point arithmetic library hoping to increase precision but the ...
12 views

### Sorting references with special characters alphabetically [duplicate]

I have a problem within the reference list. Namely I have some references where the authors first surname letter is Š (\v{S}) and when listing them in the references they appear amid those authors ...
12 views

### Different titleformat style for different numberless chapters

I want each numberless "chapter" page to have a different style for the title. Please see: \documentclass{book} \usepackage{titlesec} \titleformat{\chapter}[display] ...
13 views

### Show current chapter number on each page margin with appendix

I am trying to use @Gonzalo-Medina code (Show current chapter number on each page margin) to display chapter number on each pages from a book document class. I used a counter to overcome the issue ...
27 views

### Examining the current value of a beamertemplate

Beamer offers \setbeamertemplate and \addtobeamertemplate. I am trying to change one of these templates, but I cannot find a command to examine the current value of a template. The use case is that I ...
47 views

### Documentation Generator for LaTeX

Is there Documentation Generator for LaTeX like Javadoc for Java or Doxygen for C++? Especially when defining macros or environments for LaTeX-files throughout a big project it would be useful for ...
15 views

### Removing appendix header after the end of appendix

I would like to insert my personal acknowledgements by means of a \chapter*{acknowledgements} command after the end of appendix. I created the appendix in the usual manner, with \appendix or ...
17 views

### how to include variables from tikz/pgf into pgfdeclareshape

\documentclass[tikz]{standalone} \usepackage{circuitikz} \pgfdeclareshape{oscillator} { \anchor{center}{\pgfpointorigin} % within the node, (0,0) is the center \anchor{text} % this is used to ...
96 views

### How to detect an empty unicode slot in a font?

Consider the below unicode table. Some slots are undefined by the Unicode Consortium and appear empty in the table (slot 7,8,15 &16 in second row). How can I detect these and replace the ...
55 views

### How to remove (2) border lines from this table?

Any clues on how to easily remove those lines? I read other articles explaining the use of 'cline' command, but couldn't get it working myself. \begin{table} \scalebox{0.85}{ ...
92 views

### Omega appears from if result

I am attempting to edit an if statement that I was using in an environment I created. Previously, the code was \if #1\empty \else \textbf{#1.}\hspace{0.5em}% \fi I want to change it to something ...
32 views

### How to remove space after the description label and add after the whole description?

I have the following tex source: Lorem ipsum dolor Lorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ...
24 views

### How to get the text equally separated from the headrule and footrule with geometry?

In the following MWE I'd like to define a dimen, usep, and do the blue margins (uhsep and ufsep) be equal to it, and ubsep (in green) to the half of it, when footnotes are to be printed. Otherwise, ...
30 views

### Is there a way to have different behavior for even pages and odd pages

I would like to modify the below template so that it prints out 1 problem per sheet. Example: Problem 1 on pages 1-3, problem 2 on 5-6 and nothing on page 4. Another Example: Problem 1 on Pages 1-2, ...
33 views

### What do I tell titlesec to get default values?

I'm making a style package for my student union, changing to our official fonts and adding other convenience methods. I've declared a main (serif) font and a title (sans) font family, and I want to ...
26 views

### Redefine \chapter and \chapter* with \cleardoublepage inside .cls-file

\newcommand{\Chapter}[1]{{\let\cleardoublepage\relax\chapter{#1}}} works fine. How can I do the same for the stared (*) version inside a .cls-file? (Could be interesting for others: Is there any ...
21 views

### How can I add an xmlns to the <html> tag in tex4ht

According to Amazon's Kindle Publishing Guidelines, I need to add xmlns:mbp="http://www.kreutzfeldt.de/mmc/mbp" to the <html> tag in my html file. I have tried many variants of the following: ...
11 views

### Disable backref printing with fullcite

Consider the following MWE \documentclass{article} \usepackage[style=authoryear-comp,backend=biber,backref=true]{biblatex} \addbibresource{biblatex-examples.bib} \newbibmacro*{mypageref}{% ...
20 views

### Matlab axis labels always remain small when converted to pdf [on hold]

I am trying to save a matlab figure in pdf form. When I plot the figure I add larger font size to axis labels. But when I save it in pdf form, it always saves in a small font size. Can someone help ...
23 views

### Latex equivalent of DECODE (check text and assign number)

I've four probable sentences in CSV file. Ex: sentence 1 here , one more sentence, one more sentence added, last sentence. In Latex; I want to print 1 if "sentence 1 here" is present. Something like ...
26 views

### Adding specific citation creates error message

I am quite new to Latex. Using citations works well until I add a specific one. After adding this citation (with: \autocite{Yamashita:2000a} this error occurs: Runaway argument? {We isolated ...
24 views

### Not distinct x values and different domain in one graph

I want to plot data like this \pgfplotstableread{ x y 5 10 6 12 6 12 7 11 }\dataA \pgfplotstableread{ x y 5 8 5 15 6 10 7 13 8 14 ...
16 views

### How to get csquotes, polyglossia with german and hyperref work together?

I found a strange problem which seems to be unique to the combination of polyglossia with german language together with csquotes and hyperref. % XeLaTeX \documentclass{article} ...
18 views

### xelatex can't find article.cls, but it exists

I have texlive-latex-base and texlive-latex-recommended installed in my Ubuntu 14.04. I am trying to compile this document: \documentclass[11pt,oneside]{ article } \usepackage{fontspec} ...
20 views

### space between equal points circuitikz

\documentclass[tikz]{standalone} \usepackage{circuitikz} \begin{document} \begin{circuitikz}[european, scale=1] \draw (0,0) node[ocirc]{} -- ++(right:1) ...
23 views

### Tikz coordinates scaled to image size

Is there anyway to specify coordinates relative to the image size ? Consider for example the following code : \begin{tikzpicture} \node [inner sep=0pt,above right] ...
48 views

### How do you reset counters?

I would like to reset the counter that appears next to equations in and \begin{align} so that my last homework problem doesn't refer to an equation several lines up as equation 42. Is ...
27 views

### Polynomial Long Division

\polylongdiv{x^3+1}{x+2} using polynom package gives the following! The first mark : I'd like to remove the space between the parenthesis and the overline as marked. Next two marks : I'd like to ...
23 views

### Problems with centering a figure

I have a problem with centering a figure. At first I have set for 12 pt and the figures were centered. Then I put 10 pt and all the figures shifted to right. How can I solve this problem? Here is ...
23 views

### How to stop certain pages appearing in the TOC

I need to add a couple of pages at the front of my report that should not appear in the table of contents. What is the best way to do this? I thought that maybe I could write the section normally ...
47 views

### Why does using the amsmath package break the following code?

I am trying to find a way to hide expressions inside a math environment. I found a solution, provided by Steven B. Segletes at Hiding part of text leaving blank space However, when I add the amsmath ...
17 views

### Is there a quick way to jump out of brackets in TexMaker?

This might sound like a minor issue, but I love typing in Latex and its shortcuts in e.g. Texmaker are awesome, like when I want to type \frac{}{}, I can use auto-completion and jump between brackets ...