# All Questions

14 views

### Caption alignment of grid subfigures

I have 5 images and I would like to display them in 2 rows (3x2). This is what I've done so far, \begin{figure}[h] \begin{tabular}{ccc} \subfloat[caption]{\includegraphics[width = ...
22 views

### Poster in tikzposter not compiling

I am right now in the process of writing a poster in tikzposter but am having problems with LaTex. At times it ignores the errors (I do not understand how they arise) and compiles but by now it just ...
31 views

### How to use \nameref on a element of a tocloft custom list?

I am using the tocloft package to create a new list "question" and I would like to use \nameref (from the \hyperref package) to manually list questions (not using \listofquestion) at some point in my ...
38 views

### Runaway argument at \begin{document}

I got this error, probably because I inserted a wrong table. Now I removed the table, but the error remains. I read something about removing the aux. file, but I don't even see this file. And there ...
22 views

### How to draw bend arrows between the terms of the brackets [duplicate]

MWE \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \begin{document} \Large \begin{eqnarray*} ...
177 views

### equation with latex

I am trying to write this equation with latex: this is the code I wrote: \label{1} \min \sum_{i=1}^{$\infty$} $u_j$ (L.B.H) - \sum_{i=1}^{N} ...
18 views

### adding frame=none to lstlisting options in \lstdefinestyle gives error with tabular

lstlisting has an option called frame= But when I use the frame=none in \lstdefinestyle and put the lstlisting command inside tabular or longtable I get an error Forbidden control sequence It ...
29 views

### Very basic example of pgfpictureboxed in Beamer

According to the userguide (§2.1, p. 6), the pgfpictureboxed-environment works as follows: \begin{pgfpictureboxed}{〈lower left x〉}{〈lower left y〉}{〈upper right x〉}{〈upper right ...
44 views

### How to force a special numbering with literals for a specific equation

As in How to force a special numbering for a specific equation I want to introduce a set of chemical reactions (see code below) within a text containing some standard equations. Standard equations ...
64 views

### How can I fix my bibliography with LaTeX?

Hello I am newbie with Latex and I couldn't compile my bibliography.tex when I comment it the pfd work well but when I uncomment it. the PDF doesn't appear and I couldn't resolve it I tried a lot ...
71 views

### Using list environment to refactor messy table

I'm writing a book using Latex (obviously). Xetex actually. I'm doing a lot of tables w/ \parboxes in the table cells. In the end there's alot of repetitions and the code looks bad as a result (it's ...
14 views

### How to place the author's affiliation in a specific place

I am writing an article and I would like to place the affiliation of the authors right after them and before the abstract, just like in the image. I would like to maintain the footnote's style, but ...
46 views

### How can I manually create a hidden bookmark (PDF anchor)?

I would like to create invisible bookmarks/anchor points in my PDF. I want something like \pdfbookmark but with an invisible parameter. Does this exist? After experiments and reading, I determined ...
19 views

### How to get mathfrak required font [duplicate]

Currently I am using amsfont package use the command of \mathfrak{J}. So i am getting EUFM10 font viewed. But I need cmsy10 font looks like below image: How to get the required cmsy10 mathfrak ...
19 views

### Parameter numbering doesn't work in a \newenvironment footer. How to make it work? [duplicate]

I try to create a new environment for a monotonously repeating tabular, which has one parameter. This must be at the end of the tabular. I tried this way: \documentclass[12pt]{article} ...
39 views

### draw circle around cells in table and use pause for this cells

I am trying to draw circles on two cells on Latex beamer then use \pause to mention that. here an example which I want to draw a circle around AA and BB, the mentions shows that BB first then AA. ...
28 views

### Embedded video without Flash

Is there a way to add a video in a PDF created using Beamer or LaTeX without having the need to use a flash container? I currently use media9 but this solution only seems to work with Acrobat+Flash ...
39 views

### Alegreya font kerning problems

I have a question, whether there is some possibility to adjust kerning around some specific symbols without caring what symbols will be written next. Also, could I possibly adjust kerning only for ...
17 views

### How can I add borders to my textblocks in a0poster without using minipages?

I am new to Latex and I made a poster using \documentclass[a0,portrait]{a0poster}. Now I want to add borders to some of my textblocks and color their background. The output using ...
254 views

### Stackengine centering problem

I have a problem centering text with stackengine stacks. My MWE is: \documentclass{article} \usepackage{stackengine} \begin{document} \Shortstack[c]{Cognicion abstractiva} \end{document} The result ...
56 views

### LaTeX news issue 24: who to contact [on hold]

The February issue of LaTeX news is out, but is not linked to from https://latex-project.org/ltnews/. What to do?
39 views

### What is the a good PDF crop tool for creating diagrams? [on hold]

I originally used TikZ for a lot of the diagrams I use for my tex file. However, as diagrams get more complicated (think insanely nested loops with labels everywhere) I find it is usually easier and ...
41 views

### PgfPlots - Plot semilogx of a matched filter

I tried to plot a frequency response of a matched filter, which its response defined by: H(f) = Since x (=f) runs from very big negative value to very big positive value, and y (=H(f)) runs only ...
24 views

### How to enhance a figure region using a second image (no digital zoom) [on hold]

I need to show a zoom for specific regions in a plot. I do not want a digital zoom (for that you can check web1 or web2). I have different figures, one for the complete plot and another one for the ...
28 views

### Cannot get newtcolorbox to work properly

Here is a MWE: % !TEX TS-program = pdflatexmk \documentclass[11pt]{book} \usepackage[usenames,dvipsnames]{xcolor} \definecolor{lightcyan}{rgb}{0.88, 1.0, 1.0} \usepackage{cleveref} ...
17 views

### Tex4ebook and page breaks

This is a follow-up of this question of mine and uses the same setup. How do I force tex4ebook to respect requests to go to a new page. Example: \documentclass{article} \usepackage{xskak} ...
108 views

### how to get rid of extra \hline drawn before start of longtable?

Whenever I have a long table \begin{longtable}...\hline .... \\\hline \end{longtable} That happens to start at top of a page, I see an \hline drawn at the end of the previous page. However, if ...
28 views

### How to prevent Beamer from automatic frame break unless \framebreak explicitly

It is well known that Beamer splits one frame into multiple frames automatically if we add a frame option allowframebreaks. Also we can explicitly specify where to break by \framebreak command. ...
100 views

### Table with a diagonal line that crosses cells

How can I draw the following table in LaTeX? I tried looking here but from the examples I can't figure out how I can draw this. Edit: After browsing a few more times I found this with the help of ...
29 views

### Command inscribed in command

May I know if there's a way to use a defined command in other commands without producing an error? Code(the line with error is commented) \documentclass{article} ...
59 views

### Make a smoother plot of functions with pgfplots

The following code gives me a plot which is not very smooth. It looks like several points (with spacing 0.5 in the horizontal direction) are drawn first and then connected by straight lines. What ...
43 views

### Improving compile time with xelatex

I'm currently compiling a document using xelatex. I've included a lot of packages that I think slow it down. Here's my preamble: \documentclass{article} \usepackage{cite} \usepackage{pdfpages} ...
22 views

### edges on graph do not align with center of nodes in foreach

As far as I can understand this should draw the same set of five edges in exactly the same way. The first set of edges are positioned correctly. But the second set of edges is horribly aligned. On ...
19 views

### Large data in pgfplots. Error exceeds memory?

Good evening. I am trying to include a sismo signal in my homeworking, it has 8,000 points. Is it possible to work in pgfplots? This is the error: ./Tarea 3.tex:266: TeX capacity exceeded, sorry ...
22 views

### IEEEbiography does not appear in my Latex document

I am pretty new to Latex and have a problem when I try to write down my biography in my document. My code looks like this: ...
9 views

### reledpar: remove unused space for line numbers

I want so set an original text and its translation in parallel columns without any line or paragraph numbering. The texts are from an older project, each part is in its own file and is included via ...
23 views

### Incompatibility of \setcounter{secnumdepth}{0} with \titlecontents{section}{\thecontentslabel\quad}{\underline}{}{\hfill\thecontentspage}

The following (other than the \setcounter{secnumdepth}{0}) is taken from User math's answer in Underline the section title text in table of contents. \documentclass{article} \usepackage{titletoc} % ...
16 views

### Texmaker cannot find class file. “LaTeX Error: File `revtex4-1.cls' not found.”

I am using Ubuntu 16.04 with Texlive, and more specifically with the Texmaker graphical editor. I am attempting to use a class file from a third party, .cls, which is located in a subdirectory of ...
42 views

### How do you write Urs Hölzle in LaTeX and in BibTeX?

I don't know how to use Unicode.
23 views

### Auctex not compiling on C-c C-c, “TeX-master-file-ask: Master file already set” [on hold]

I recently started using Emacs/Auctex on windows 10. I am trying to compile a latex document using the command C-c C-c and it does not compile and instead just reports "TeX-master-file-ask: Master ...
21 views

### Only name appears when using currfile

My problem was partly addressed in this question. Since I cannot comment yet, I will continue Ulrike Fischer's answer with a new question. The expample worked on my system as well with pdflatex, but ...
28 views

### Space between text and its following figure

How can I make some space between the text and its following figure? (Only once and not for the whole document).
12 views

### changing numbering depth in certain subsection

I have a document with several sections, most of which contain subsections. In all but one of the sections, I want the theorem numbering to go by section depth. In one particular section, I want the ...
38 views

### Horizontal lines in nested tabular environment

I currently have this table: \begin{table} \centering \begin{tabular}{ |c|c| } \hline no test & no test \\ \hline no test & \begin{tabular}{c|c} D1 & 1.23 \\ \hline D2 & 1.23 \\ ...
16 views

### \centerline ignores page margin

I have the following page which I am trying to get the first line to be centered without affecting the other text. However, using \centerline{} seems to ignore the page margin and does not wrap text ...
23 views

### equation inside frame in beamer causes error - Missing \$ inserted

I do not find the error that latex shows, this is my code. \documentclass{beamer} \usepackage{beamerthemeshadow} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{amsmath,amssymb} ...
44 views

### Filling the space between two arcs between two nodes

I have the following code: \begin{pspicture}(-1,-1)(2,2) \psmatrix[rowsep=3cm,colsep=3cm,mnode=circle] [name=A]A & [name=B]B \endpsmatrix \ncarc[arcangle=30]{A}{B} \naput{4} ...
26 views

### How to remove extra space added by tex4ht to minted listing at start of each line?

This is really annoying. For some reason, tex4ht adds an extra space to the left of each line in the listing when using minted. This does not happen with listings or verbatim. Only with minted. If you ...