# All Questions

44,284 questions
Filter by
Sorted by
Tagged with
3k views

### TexStudio autocompletion

How can I make TexStudio autocomplete the commands in gb4e such as \begin{exe}? It doesn't suggest \begin{exe} automatically and doesn't autocomplete \end{exe}. Thanks.
105 views

### fontenc causes error in appendix table of content [duplicate]

I am making a table of content for my appendices, but when I use fontenc a strange series of letters appears in the compiled pdf file. my code: \documentclass[10pt,a4paper,dvipsnames]{article} \...
1k views

### Table cell color overlaps left cell border of first column which is multicolumn [duplicate]

I've tried to follow many posts about this general issue but have not yet understood the problem or how to fix it. In this example, the color overlaps the left border, or the left border does not ...
115 views

### Polyglossia and equations numbers [duplicate]

I'm a little ashamed but I seem as in the first step of Latex... In this example, the parenthesis of the equation number are inversed. Why? How I can I obtain the good numbering? Thanks. I give a ...
553 views

### Apply background color in algorithm environment part 2

This question is building of the solution found here. I wanted to change the background color to blue or a user defined color \definecolor{mybluei}{RGB}{0,173,239}. However when I tried to implement ...
241 views

### standard or recommended font for vocabulary or gloss terms

I'm writing notes for my students and in the present section, the bulk of the content is defining terms. To help make the notes more practical, I put the technical terms being defined in bold so that ...
35 views

### Let TexStudio play .wav after compiling failed

I just found out how to get reminded once TexStudio finishes compiling, see this question. But how do i achieve the same thing when TexStudio doesn't manage to compile? To be more specific, I dont ...
52 views

### Figure-like environment

I have a document with a large number of figures and not much text (about six lines per page). Using the figure environment isn't an option since I can't decide the position of each image. Now I'm ...
1k views

### How to recover lost .tex files [closed]

Initial position I recently bought a new computer, and I thought I have backed up all of my LaTeX files and documents from my old computer onto an external hard drive. Upon searching for old LaTeX ...
3k views

### TeXstudio, no preview pdf file after compiling using User Commands

I was trying to use package minted to insert Python code in my document and now succeeded in compiling and could generate the correct PDF file. I followed this thread which said it's better to create ...
607 views

### In nested tables, how can I make an inner table stretch to fit its column?

I'm trying to design a layout that has tables nested within tables, and I'm having trouble getting things to line up. The question is quite similar to How to make width of an inner table use full ...
43 views

### Prevent pagebreaks before and after part

I'm trying to create a titlepage that's linked in the table of contents (i.e. clicking the link should send me onto the titlepage). It should look like this: \documentclass[oneside]{scrbook} \...
267 views

### Issue with tabularx and hbox options in tcolorbox

I'm having a problem with formatting a tcolorbox so that it contains a table and its width fits the width of the table. A MWE of my code is as follows: \documentclass{standalone} \usepackage{booktabs}...
119 views

### Subcaptions not centered for pgfplot

This is my first time working with side-by-side pgfplots, so I am a little out of my zone of comfort. However, I noticed that my subcaptions for each panel is not centered around the figure, as in: ...
105 views

### error in displaying table last column in Beamer

Using the following code, I can not figure out why the last column text is not displayed when using the code \centering {\textcolor{black} {\bf receptors}} giving the error message ! Misplaced \...
179 views

### Draw special arrow with latex

I searched to find a simple way of drawing something like the figure below using tikz, but I couldn't find. Can someone help me with this?
417 views

### Horizontal Flow Chart with Images

I am wanting to create a standalone flowchart with images and arrows. Here is the mockup: Each box would be an image.
1k views

### Setting up multiple-page table with table notes in apa6 document with longtable, threeparttable and threeparttablex

I am working on an apa6 document and need to place a multiple-page table with table notes (not footnotes). I thought the best way to achive that is using longtable threeparttableand threeparttablex ...
1k views

### Adding marks of different questions in exam class

I have generated the following document using exam class. I would like to add the marks for each of Questions 2, 3 and 4 and write the total either next to underneath the Section II heading. I know ...
350 views

### \usechemmodule from chemmacros undefined

I'm trying to use the thermodynamics module, among others, to display enthalpy but it doesn't seem to work. \documentclass[twocolumn]{article} \usepackage{chemmacros} \usechemmodule{all} \begin{...
956 views

### How can I use biblatex in latextools for sublime text? [duplicate]

I am trying build this file: \documentclass{article} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @article{einstein, author = {Albert Einstein}, title = {the true about tree}, ...
171 views

### Set of Venn Diagrams [duplicate]

What is the best way to draw four partially shaded venn-diagrams next to each other in the middle of a page? My goal is to depict the union, intersection, complement, etc.
618 views

### How to cross reference across child documents in Classicthesis LyX version

I have perfect solution for cross referencing propositions etc within each Chapter, that is, each child document, see my previous question. but I am stuck again in cross referencing them aross Chapter ...
14 views

### Bold names of some authors with prefixes [duplicate]

There is a nice solution for making the names of several authors bold in the bibiliography: https://tex.stackexchange.com/a/355317 However, this removes the prefixes ("de", "von", etc) of the author ...
63 views

### Problems in citing in Beamer [duplicate]

I'm trying to cite an article in a frame and display the URL at the same time (Beamer). But all I get for the citation is a print out of the key. As for the URL I can't make it work. \documentclass{...
52 views

### Modify bibliography title independent of manager

I'm trying to write a custom class file, and I want to modify the style of the bibliography layout, e.g. put a blank page before the bibliography, single space it, etc. Note, I don't want to change ...
464 views

### To control Appearance of citations with natbib and pagesel

Minimum Tex \documentclass{article} \usepackage[1]{pagesel} \usepackage{hyperref} \usepackage{natbib} \begin{document} Its study has resulted in various methods, \cite{jiapu, suppappola, kadambe, ...
143 views

### Change temporary or locally error behaviour suppress undefined errors

I googled about this problem with no result yet. You might discourage this, but is there a way to suppress errors? This is an example how it should work. \documentclass[12pt,a4paper]{article} \...
232 views

### Guitar tablatures typesetting with tabs over #9 and double hitting notes?

Many previous posts give clue on how to strike a chord, with each of the finger placements on a guitar. Also, other posts even state how to do a note by note progression like clemens shows for ...
396 views

### How can I align plots generated by pgfplots relative to a background TikZ grid?

Consider the following code: \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{plotmarks} \begin{document} \begin{tikzpicture} \draw[<->] (0,5) ...
2k views

### Why do I get a “! Missing \right. inserted.” message?

What's wrong with this? Error message: "! Missing \right. inserted." (But I don't see it. Everythink works!) \begin{multline} U=\sum\limits_{n=0}^{\infty}\sum\limits_{k=0}^{\infty}\left[(a_{nk}\cos ...
217 views

### Edit beamerbaseboxes.sty to create square corners

I came across this answer, which shows how to edit the beamerbaseboxes.sty file to increase the "rounded-ness" of the corners of boxes, when using the "rounded" boxes innertheme. In this answer, the ...
83 views

### Side by side pages synchronised by heading

Apologies if the question title is not clear, feel free to edit or provide suggestions. Currently I am typing up my maths notes and my system is to have definitions on the left page and proofs on the ...
137 views

### Issue with xparse and lualatex

I have the following code \documentclass{article} \usepackage{luacode,xparse,amsmath} \begin{luacode*} local matrix = require "matrix" local complex = require "complex" function add(m,n) m=...
56 views

### F9 key allows PDFTexify/how do I bind other F key to PDFLaTex?

In WinEdt 9, F9 key allows PDFTexify. How do I bind other F key,say F10, to PDFLaTex OR PDFTex? I have some .tex files in PDFTeX and not PDFLaTeX and I need a hot key F10 for them. I will then modify ...
639 views

### Error installing packages on-the-fly

I set out to install all the packages on-the-fly. When I run texstudio (or another editor) I received a dialog box MiKTeX Error Report with the following error: When I click in OK, the following ...
732 views

### Runaway argument error in IEEE template

I am using the template entitled "Preparation of Papers for IEEE Sponsored Conferences \& Symposia", in the overleaf. I have a figure that I was using in an ACM template, without errors, and I ...
508 views

### Using variables to draw a tikz diagram

I am defind my own command to plat a diagram with tikz. Instead of constant values I rather want to pass numbers to my command which determine the height of the bars in my diagram. Problem: I am ...
203 views

### Different colors for each bib file and custom prefix

I have multiple bib files. I would like to use different text colors for all the references mentioned in different bib files. Secondly, i would like a custom prefix for each bib file. Please let me ...
77 views

### \ref`erence in uppercased header (memoir + hyperref)

I would like to reference something in a header, while still having it upper-cased. Is it possible to "protect" the \ref commands? \documentclass{memoir} \usepackage{hyperref} \begin{document} \...
226 views

### redefine section style with titleformat

I want to define my own section style by titlesec package, just after in a chapter, the section title show chapter title and section title. Simple code example: \documentclass[]{book} \usepackage{...
447 views

### How to lint for undefined control sequence?

So I'm beginning to learn LaTeX and often find myself mistyping control sequences like \idotsint. I use editor plugins which call lacheck and chktex on the document which helps catch some errors, but ...
163 views

### How to make commands defined by \def behave as strings?

I found this issue while designing a complex image embedding command, as one perhaps may guess from the names of the various auxiliary commands defined in the code below: also the structure of the ...
360 views

### Problem with beamer: text gets stuck in a certain font

I had a problem with ${\mathbf{}}$ persisting, even after I close the $\mathbf$ tag. Looking at my advisor's template, I inserted a certain line which made it stop doing that-- but then, trying to ...
115 views

### Table of content and header [duplicate]

I have table of content in my document and header/footer with section, subsection marks. When I include tocloft package I don't have header/footer anymore, that is not I want. On the other hand, I ...
173 views

### Get chapter numbers as text in the report class

im trying to get my chapter numbers printed as text, but on the way there i messed up my section numbers with text "ONE" and "TWO" an such, here is what i was doing, This code centers, pull up and ...
1k views

### Command \bibhang already defined with Zotero

I'm trying to use a Zotero .bib file for the citation backend in this template document setup below but I get the error: /usr/share/texlive/texmf-dist/tex/latex/biblatex/biblatex.sty:462: LaTeX Error:...
757 views

### Installed .sty with tlmgr but latex can't find it [duplicate]

I have installed Tex live 2013 Version 3.1415926 and I want to install the package mdframed. My first try was to enter in the terminal tlmgr install mdframed but the terminal responded to me that I ...