# All Questions

170,151 questions
14 views

### ! Extra alignment tab has been changed to \cr. - <template> \endtemplate [duplicate]

\begin{table*}[t] \renewcommand{\arraystretch}{1} \caption{C at PCC} \label{Table1} \centering \begin{tabular}{c|c|c|c|c|c|c|c|c} \hline \hline Standards &\multicolumn{2}{c}{IEEE 2014}& \...
48 views

I tried to use the package siunitx in my latex document using: \usepackage{siunitx} \sisetup{load-configurations = abbreviations} However I got the error: File siunitx.sty not found. I downloaded ...
10 views

### Force multiple figures on same page in revtex

I am writing a paper using revtex 4.1 with the following options: \documentclass[reprint,superscriptaddress, amsmath,amssymb, aps,prb]{revtex4-1} In the appendix at the end of the document I have a ...
17 views

### Matrix in LaTeXMathML

Hey! i got problem with formatting matrices in LaTeXMathML (Not to be wrong with: normal LaTeX, MathML) I tried: \begin{bmatrix} a & b \\ c & d \end{bmatrix}
21 views

### Vim-Latex: Appendix gets folded into previous section

I have main.tex file and an appendix.tex file. I use include command to insert the appendix file. No problems with latex, but vim-latex folds the \include{appendix} statement into the previous section....
12 views

### picture shows error message while executing the miktex file

I am getting the error message given below
10 views

### Customization of glossaries-extra

I use the glossaries-extra package with this preamble: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage{hyperref} \usepackage[...
21 views

### Defining adaptive width of columns in a table

Is there a neat way to define all column widths in a table as the same value and adapted to the page size? For example I would like the following 32 columns to have all equal width of 1/32 of the ...
21 views

### Bibliography STYLE [label] missing?

Please, I want my bibliography to look like this one: [Wonko and Tsio 99b] Wonko, A. C., Tsio, F.: "Extended Use of Hyperlinks"; J.UCS, 5, 3 (1999), 225-327. I tried "apalike" and "agsm" but the ...
16 views

### side by side tables latex - without \floatrow

I have the following simplified document (): \documentclass[10pt]{book} \usepackage{float} \let\origfigure\figure \let\endorigfigure\endfigure \renewenvironment{figure}[1][2] { \expandafter\...
207 views

### Strange lines in front of the document

I want to create a document with the iodhbwm class. If I compile it the first time it works fine. But if I compile it a seccond time this lines apear at the begin of the document: id=1,dest=...
27 views

### compress citation of set members in biblatex

Using the excellent solution to compress citations for @set members provided by moewe in this question results in an unexpected behaviour of the compression mechanism if members of different sets are ...
20 views

### What accessibility APIs do different latex editors have including Lyx?

I am currently working with a couple others on a system for writing math by voice. An early demo here: https://www.youtube.com/watch?v=z-iHvPmjcas&feature=youtu.be In order to decide on the best ...
43 views

### Is it possible to use biber to shorten list of authors in the tool mode?

I'm working on a document, where some references are collaboration papers with huge number of authors. Biber generates huge bbl files (ca. 8 MB) that cause pdflatex to fail (TeX capacity exceeded, ...
24 views

### Tabulars in the same table with separate captions

I'm trying to put two tables side by side and with separate captions. But I get only one caption (namely the last one I insert). Here's my code: \begin{table}[H] \begin{minipage}{.5\linewidth} ...
24 views

### Math mode trouble with backslash in Texstudio [duplicate]

In text studio, when you start typing $$it automatically fills in to \($$ with the cursor in the middle. As I try to type let's say a greek letter such as "\gamma", the editor automatically uses the ...
17 views

### IEEE Algorithms in figure environment caption should read Algorithm

I need to write some pseudocode and am using the IEEE template. However, the guidelines say that algorithmic should be contained in a figure environment and that I am not supposed to use the algorithm ...
55 views

### Hierarchical diagram in tikz/forest - level options

Based on this hierarchical diagram in tikz using the forest package, i wanted a modified version of it. Currently i have \documentclass[tikz,border=10pt]{standalone} \usepackage{verbatim} \usepackage{...
21 views

### Using this command in align* environment?

LaTeX newbie here. I am trying to create a mark scheme for an exam (pdfLaTeX). I have a command that writes the marks to a working step which works perfectly in display math mode: \newcommand{\marks}[...
36 views

### Define a function

Is it correct to define a function as follows? \documentclass[12pt,a4paper]{report} \usepackage{mathtools, nccmath} \usepackage{amssymb, amsthm, mathrsfs} \begin{document} \begin{align*} ...
112 views

### colortbl changes array behaviour

David Reiter passed the following code to me for generating CCG proofs. This works well provided one does not load colortbl. Without colortbl I get: and with colortbl I get: Is there a way to fix ...
60 views

### How can I put title chapter at center of the line in tableofcontents?

I am trying format \tableofcontents I want to put the chapter's titles Topological spacesat center and Chapter 1, ...like this picture , but I can't get the result. My code \documentclass[12pt,...
29 views

### URL - linebreak and page break

I'm using luatatex 1.0.4 and I already found some solutions for breaking urls. Nevertheless I have special cases for which I didn't find a solution. My sample code looks like: \documentclass[a4paper,...
10 views

### Texmaker - changing ctrl + Q shortcut effect does not work (Windows 10)

By default, CTRL + Q means quit in Tex. If I change the shortcut of some action in preferences to CTRL + Q, this key combination has no longer any effect. Other key combinations work for me for the ...
16 views

### Span Image over two Columns without Perturbing the Text Flow

I would like to insert an image into a two-column document, but have the text flow around the image, avoiding to perturb the text flow, like shown here: I tried to do it with the option "strip" from ...
47 views

### How can I beautify LaTeX code? [duplicate]

Is there any shortcut (or something else) that beautify the code, like ctrl+shift+f does in Eclipse or ctrl+k+d in Visual Studio?
17 views

### Change the display of ( ) in a - in the glossaries package

I'm using the glossaries package and when I use \gls for the first time it shows "Complete name (acronym)" How I can change the ( ) with a single - so it prints "Complete name - acronym"?
15 views

### dialog problem with Greek characters

Good morning! I 'm trying to make a dialog environment using the code: \documentclass{book} \usepackage{dialogue} \usepackage[english,greek]{babel} \usepackage[utf8]{inputenc} \begin{document} \...
16 views

### Bibliography is empty

I've read most of the other posts on this, but their errors/solutions aren't the same and don't seem to work. Maybe I just need a simple explanation. Anyways, Here goes: \documentclass[letterpaper]{...
27 views

### Control space before and after specific cmidrule in tabular [on hold]

I would like the space after the \cmidrules to be reduced. However, belowrulesep affects all the rules. \documentclass{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx} \...
21 views

### Using \equiv causes my font to become italicized and doesn't allow spacing [duplicate]

I am trying to write a logic equation with symbols and when I use \equiv everything afterwards is italics and does not allow spacing, even if I go to a new line. Example: p \to q \equiv \lnot q \to ...
42 views

### How to remove additional spaces in table in latex [duplicate]

I am using the following code to generate a table. \documentclass[acmsmall]{acmart} \begin{document} \begin{table}[!t] \renewcommand{\arraystretch}{1.3} \caption{Some text} \centering \begin{tabular}{...
23 views

### How to prevent the loss of a Greek Unicode character when converting to ODT using tex4ht

To convert from XeLaTeX source to .odt/.docx, I am using the solution provided by Michal Hoftich. (See there for MWE and the solution by @michal.h21.) That setup works great for converting Unicode, ...
32 views

### How to write y i = β 0 + β 1 x i + β 2 x 2 i + e i in Latex code? [duplicate]

I'm a beginner of using R and Latex. Just wonder how to write yi = β0 + β1xi + β2x2i + ei by using Latex?
59 views
+100

### Properly installing circuit_macros on a Windows PC

I am using WINDOWS 8.1, am a REAL BEGINNER with circuit_macros, a tool for creating circuit diagrams using M4 macros written by Dwight Aplevich. I realized that the support for Windows is very ...
73 views

### Use xstring to substitute reformatted names in strings

I would like to bold-face occurrences of strings conditionally on them occurring within longer strings, using the \IfSubStr and \StrSubstitute macros from the xstring package. The issue that I'm ...
19 views

### Page headers for glossary in arsclassica

I cannot find a good way of making page headers of glossaries-extra’s glossary formatted in ʟᴏᴡᴇʀᴄᴀsᴇ sᴍᴀʟʟ ᴄᴀᴘs that is default format for arsclassica’s chapter (i.e, left-hand side pages) and ...
53 views

### Why does it cause errors in subsubsubsections

I want another level of subsections (i.e. subsubsubsections). For that I am using; \setcounter{secnumdepth}{5} \paragraph{This is my subsubsubsection} However, this gives me an error saying that ...
18 views

### Merging table rows instead of splitting them?

I have a table that looks like this: | COLUMN A | COLUMN B | COLUMN C | COLUMN D | |-------------------------------------------| | 0 | A | 100 | 150 | | 1 | B | ...
40 views

### trees with straight spines, and not too much vertical space?

I want to be able to typeset syntactic trees in a way that will achieve the following: straight spine when there is no label on the nonterminal node obtuse angle at each (binary) branch (so the tree ...
176 views

### How can I give this perspective with Tikz?

I am trying to complete the image of the figure: I know how to perform the dashed circle and the legs of the table. The problem is to draw the upper part of the table. Can you give me a hint of how to ...
27 views

68 views

### How to install font Tex Gyre Termes

I installed TexLive 2018 from https://www.tug.org/texlive/quickinstall.html Consider this script: \documentclass{article} \usepackage{fontspec} \setmainfont{Tex Gyre Termes} \begin{document} \end{...
35 views

### torn paper problem compile [on hold]

I read this article about how to make a torn paper effect. So I tried the code below, but some errors arise. \documentclass[a4paper,11pt,twoside]{book} \usepackage{lipsum} % To generate test text \...
10 views

### Perform a page break within \cvlistitem in moderncv template

I am using following template \cvlistitem{ \begin{itemize} \item 1 \item 2 \item 3 \item 4 \item 5 \item 6 \end{itemize}} Currently, if it is not able to fit in same-page, it take whole ...
41 views

### How to run tlmgr in Ubuntu

I installed TexLive from https://www.tug.org/texlive/quickinstall.html in Ubuntu 18.04. I have tlmgr which tlmgr /usr/local/texlive/2018/bin/x86_64-linux//tlmgr I try tlmgr install tex-gyre and ...
51 views

### Tikz: Align text in nested nodes

27 views

### May pstool call lualatex instead of pdflatex?

I'm working with a document containing huge bibliography. That forced me to switch to lualatex, because pdflatex generated errors: {\csname blx@nih@author\endcsname {{{hash=...