# All Questions

6 views

### How dos \input adds a space?

Consider the following : A\input{foo1}C A\input{foo2}C A\input{foo3}C A\input{foo3} C with foo1.tex containing "B", foo2.tex containing "B%" and foo3.tex containing "B\n%". In the first case, ...
4 views

### Remove comma between two fields (instiution and series) in .bst file

I'm trying to format bibtex entries of type unpublished (for Working Papers) like those of type article. That is, institution + series shall be formatted as if it was the name of the journal. This is ...
7 views

### syntax error, unexpected T_DNUMBER in /home/a8223085/public_html/functions/db.php on line 5

$host = "mysql6.000webhost.com";$user = "a8223085_alpha"; $pwd = "****";$db = "dbforum"; $con = mysql_connect($host,$user,$pwd) or die("Could not connect"); mysql_select_db($db,$con) or die("No ...
14 views

### Symbols at node in latex and their explanation

Let’s say, I draw a diagram like this % \usetikzlibrary{arrows} \begin{tikzpicture}[thick, scale = 0.8, line cap = round, line join = round,>=triangle 45, x = 1.0cm, y = 1.0cm] \coordinate (O) at (...
22 views

### Does Tex, LaTeX support 'Tetration' & 'super square root' notations? [duplicate]

I would like to ask how can I use Tetration notations in this page https://en.wikipedia.org/wiki/Tetration in TeX, LaTeX It seems to me it does not support Tetration symbols??
5 views

### Problems with specifying bibliographic punctuation stylings in LaTeX (overleaf platform)

I'm looking to specify my own custom bibliographic punctuation stylings in a report I'm writing on the LaTeX platform on Overleaf. However, I'm receiving a few issues. I'll outline all the key lines ...
78 views

### How to write a command to format different letters?

I hope I can have a command MyFormatter, which can make letters p and k bold and make letters m and t italic. For example: \MyFormatter{Supermarket} will output as follows: Supermarket How ...
8 views

### Specify xtick/ytick with multiplication in Pgfplots

I often use plots with a second x/y-axis which is proportionally related to the first one. Therefore, I would like to calculate the tick-values by multiplication. Let's say the first one is a time and ...
9 views

### How to use \citet in section title?

I am trying to use the \citet command in a section title, but the space after the reference and the first letter of the following word are cut off if I use the \texorpdfstring comand around the \citet ...
13 views

### Wrong font in EPS files

I'm not totally sure if this is a Tex, Matlab or PDF problem... I create some plots in Matlab with 'Times New Roman Italic' as font (i.e. set(gca, 'FontName', 'Times New Roman')). The output of ...
17 views

### Remove line between two cells

I would like to merge two cells and at the same time have a break in the merged cell but I face an error. How can I have $x \le 120$ and $y \le 200$ at two rows without being separated by a ...
19 views

### From article to book (in a modular document)

I am trying to compile a list of articles (in the sense that these texts are originally written and compiled using the article class) with the book class in a modular way. However, for reasons not ...
25 views

### How to use TeX in the atom editor?

I would like to try atom. On Ubuntu 16.04, I have the full TeXlive installed. I also have atom. But I have no idea how to compile the file I opened. So far atom seems not to recognise at all the TeX-...
14 views

18 views

### Long \mapsto-arrow

Is there a longer version of \mapsto, like with \rightarrow and \longrightarrow? I found an ugly solution by inserting a couple of \quads on top of \xmapsto, but it's not very elegant.
37 views

### What will happen if I change the category code of digits to 11? (i.e. \makedigitsletter)

In this post, @Heiko Oberdiek said BUT each number TeX expects have to be catcode 12 (the problems)! Eg. \hspace{1em} What does he meant by "each number"? In addition to counters/dimensions/...
36 views

### Which library contains \left(?

I have included libraries amsthm, amsmath, amssymb, mathtools and hyperref and I get an error when I use \left( or \right). However, it doesn't happen in overleaf, which also includes graphicx, ...
10 views

### Vertically align text in tabularx environment

I tried the different approaches I have found here on TexExchange. But I wasn't successful. I'm not sure whether the embedded figure leads to that behavior. I want to align the all the text centered ...
9 views

### biblatex don't show section

24 views

### Hyperarcs with Tikz

I would like to draw hyperarcs with tikz, with one head node and several tails. Something like this: However I did not find how to do this, and I am not sure how I could write such a command in ...
19 views

### How can I reduce the size in array environment?

My code is \[ D_{k+1}(x_{k+1}) = \min_{\begin{array}{c} \text{all } x_k \text{ such that}\\ p_{{x_k}{x_{k+1}}} > 0 \end{array}} \left[ D_k(x_k)-\ln\left(p_{{x_{k-1}}{x_k}} ...
12 views

### Problem with numering pages after adding Geogebra pictures

So, as I mentioned in the title, I have a problem with numering pages. For example, I have numbers of pages in table of contents, abstract, first chapter page, but then at the 6th page I've put tikz ...
16 views

### Bigger thatcher chapter number using memoir

I would like to have the thatcher chapter number a little bit bigger or better, try and check the outcome of the tiny, scriptsize, footnotesize, small...etc Here is my MWE: \documentclass[14pt,...
11 views

### Keywords in Perl-POD breaking listing

I'm trying to include a perl-script with pod. It seems liks the listings-package does not detect the pod-documentation part as comment which breaks the rest of the listing. How to fix this behaviour? ...
29 views

### Screenshot .png not showing despite trying out every advice on the web. Cure?

The following LaTeX code produces an empty fbox where it should contain a .png picture. How can this be made to work properly? % Test for importing screenshots in LaTeX - png \documentclass[a4paper]{...
12 views

### How to change caption fontsize in documentclass book?

I am using the document class book as follows \documentclass[11pt,twoside,openright,titlepage,B5]{book} for my thesis and the font size for the figure captions is the same as my text which I don't ...
20 views

### Color only \nameref

I am using hyperref in conjunction with nameref and cleveref, and the objective is for \nameref{label} to be type-set in the link color (which it seems by default is red), but for \cref{label} to be ...
29 views

### How to remove spaces between paragraph and lines?

In given below text, I want to remove space between "diverse areas" to "2.1.1 Brief...".
12 views

### Biblatex in Beamer doesn't work unless backened=bibtex8 is provided [duplicate]

I have ref.bib and want to cite some papers at the end of the slides. So far I know I should use \footfullcite{key} with \usepackage{biblatex} and the references would be shown at the end of the slide....
20 views

### Removing lines from pgfplots plots

How do I remove the line segment joining (0, 0) and (1, 1) when 'twopoints' contains: 0 0 0 1 1 0 in the following example? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplots}...
27 views

### Conventions of package documentation

Are there guides on conventions when it comes to writing documentation for a package (especially one in a .dtx file as opposed to a separate document). I finished my first non-trivial package and ...
15 views

### Redefining \vec

18 views

### Hex game with arrow of walkthrough over board

I want to know if it's possible to do an arrow of a walkthrough of an Hex board game using the hexgame package. Anyone knows a way to do this? The idea is to make something like the arrow in this ...
35 views

### How to make 8 subfigures fit in one page?

I am a newbie in Latex and I have 8 figures with equal sizes to plot. I want to arrange them in 4*2 and plot them in one page. \begin{figure} \begin{subfigure}[t]{0.32\textwidth} \...
18 views

### tex4ht corrupts “--” inside CDATA in the HTML file

I am using an outside javascript package (syntaxHighlighter) for code formatting when I compile to HTML that requires one to put code inside <![CDATA[ ... code .. ]]> as explained in the above ...
12 views

### Fixing Landscaped Table and Layout

I'm pretty much at my limit for time spent troubleshooting this table and it's layout. So, I'm admitting defeat and hoping for some help. I've paired down the document as much as I can, but the table ...
22 views

### latexlog error: can anyone figure this out?

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9) (preloaded format=pdflatex 2016.6.30) 30 JUN 2016 08:31 entering extended mode **./newfile1.tex (newfile1.tex LaTeX2e <2016/03/31> ...
6 views

### Period goes before number when a number ends a sentence while using polyglossia hebrew

I am using XeLaTeX, Windows, polyglossia. When I define \otherlanguage{} with a right to left language it causes sentences that end in a number to be displayed with the period before the number! \...
32 views

### tclorbox and Vietnamese

I am using tcolorbox with Exercise and Solution in Vietnamese. But I can't compile this code. How can I compile? \documentclass[12pt,a4paper]{article} \usepackage{fouriernc} \usepackage[utf8]{vietnam}...
31 views

### Using \newcommand to define nested commands

I am relatively new to LaTeX which is why even though I have tried to read up on \newcommand and various ways of how to use it, I still can't get the code to work. Here's the gist of it: I'm using \...
18 views

### LNCS class doesn't like \autoref

Consider the following document: \listfiles % for debugging \documentclass{llncs} \usepackage[colorlinks]{hyperref} \begin{document} \begin{theorem}\label{th}This is true.\end{theorem} See \autoref{...
36 views

### Compilation probleme

Hi I am using TeXmaker and I got this error during compilation ! LaTeX Error: File ccmap.sty not found.
23 views

### fancyhdr fighting style code

I needed to move my page numbers from top center to bottom center. I used the fancyhdr package to move them, but something about the style code prevents the numbers from moving only on the table of ...
19 views

I'm trying to format a template for my thesis appendix and am having an issue which is doing my head in. I want my appendices to have a header saying Appendix A - "Title of appendix chapter". Or ...
33 views

### What could be causing package standalone's strange behavior?

Given file.tex \documentclass[ convert={ density=300 -alpha deactivate, outext=.png }, ]{standalone} \begin{document} \begin{tabular}{|c|c|} \hline a & b \\ \hline c & d \\ ...
7 views

### reledmac: page break before heading in verse stanza

When typesetting verse with reledmac, the command \ledpb is supposed to insert a page break at the beginning of the verse line in which it is called. But if I use the optional argument of \stanza to ...
30 views

### How can I adjust the notation in the bibliography?

How can I adjust the notation in the bibliography to become [1a], [1b] [1c] etc. instead of [1]?
54 views

### Drawing arrows for elements of a vector

I want to draw straight down arrows from different elements of a vector. I modified the code for Arrows pointing to equation. Can someone let me know why the rightmost arrow is not placed at the ...