All Questions

20 views

Figure number doesn't show up in Beamer even with \setbeamertemplate{caption}[numbered] is there [on hold]

I am trying to number Figures in my beamer presentation. However, adding \setbeamertemplate{caption}[numbered] doesn't change things and Figures still unnumbered. Here is MWE: \documentclass{beamer} ...
13 views

how to split bibliography for different sections without redundancy

I need to have two reference lists, one for main body and one for appendices. However the references should not be redundant, and they should appear in a consecutive numbering. For example : MAIN ...
44 views

Substitute \frac for a slash (/) only on inline math mode

I was wondering if there is a way to have LaTeX interpret $\frac{a}{b}$ as $a/b$, but $\frac{a}{b}$ as $\frac{a}{b}$. It is a little tedious to change a inline equation $a/b$ to a display ...
192 views

How do I get my integral-like symbol to align like the integral?

OK, so I've been tasked with creating this integral-like symbol in Latex, and the best way to create it from scratch seemed to be using the includegraphics command and giving it a /def/. Unfortunately ...
23 views

Theorems in italic, but not examples [duplicate]

Is there are way to make theorems, lemmas and definitions in italics, but not examples? E.g., Theorem: This is a theorem. Example: Here is an example. So far, I am using the plain theoremstyle, i.e....
33 views

Aligning elements in height

I have created a tikz file representing a legend (for different plots). my file looks as follows: % This file was created by matlab2tikz. % \definecolor{mycolor1}{rgb}{0.00000,0.70000,0.70000}% \...
35 views

How to adjust 'fill' option in this problem

I have a question related to How to make beamer overlays with Tikz node. What Do I need to do so that the rectangles get filled with a color when they get highlighted. I am looking for a piece of ...
15 views

why does glossaries fail on the SECOND \mathbf?

For some odd reason glossaries fails to print the glossaries list when there's more than one bold notation... here is the MWE \documentclass{book} \usepackage[nonumberlist,acronyms,section]{...
22 views

How to make the second enumerate environment continue withe the same format?

When I use the enumerate environment inside another enumerate, it change the format of listing from numbers to letters, all I want to do is to continue with numbers but with sub numbers like this: ...
23 views

pst-3d + macos + fontspec

I think this is a FAQ but I'm not finding the right question to look for, I think. If I use xelatex and pst-3d the resulting pdf does not show any 3d transformation. If I use latex and dvips the 3d ...
53 views

MikTeK doesn't show an updated package

There is a new release of a fancytabs package. It can be seen in the mailing list and in this CTAN mirror. However, when I try to Update MikTeX (both Admin and non-admin - following advice in How do ...
32 views

after changing to \usepackage{fontspec} now make4ht do not compile my Latex file in lualatex mode

I was told by Latex experts to use \usepackage{fontspec} with Lualatex. It works ok with lualatex, but now my files do not compile with make4ht any more after I changed to \usepackage{fontspec}. ...
30 views

Need help in understanding answer to “how-to-make-beamer-overlays-with-tikz-node”?

Can someone explain this code. How to make beamer overlays with Tikz node. In particular I need to know Why do we get three copies of a given slide. If I need to make more than two copies, what ...
7 views

I updated Miktex last night, selected update all (as admin and also as user). Now I get an error ! Package pgf Error: Driver file pgfsys-luatex.def'' not found.. Here is the full screen log >...
35 views

custom spacing for chapter page, and page number for normal page

I am trying to get the following geometry. I have geometry set like this: \usepackage[a4paper, top=4cm,bottom=2.5cm,right=2.5cm,left=4cm, headheight=15pt]{geometry} and I am using the book document ...
31 views

Confusion between dot and title in contents

I have a confusion in the toc between the title and the dots. \documentclass[oneside]{book} \usepackage{color, xcolor} \newcommand{\mysection}[2]{ \setcounter{section}{#1} ...
28 views

Jump from section 1.1 to section 1.3 in the ToC

The \tableofcontents command shows sections enumerated accordingly. Suppose I am on Chapter 1, and say I have subsections as 1.1,1.2,1.3,1.4,.... and so on. Suppose I don't have section 1.2 and I want ...
56 views

LU factorization of a matrix with plot

I want to plot the below figure. What must I do in Latex.
19 views

Display \acrfull reversed

Is there a built in command that displays the output of \acrfull but then reversed? So when I have: \newacronym{vm}{VM}{Virtual Machine} And I do: \acrfull It shows: Virtual Machine (VM) But ...
5 views

How to align the content of the legend to the left instead of default centre?

I have a question regarding the alignment of the content of the legend. The default option is centering, but I want to have it aligned to the left. How can I change this? \begin{figure}[H] \begin{...
28 views

Automatic labelling of isolines based on table's column name

I would like my code to use the column name (from pgfplotstable) to automatically label the lines. Here is a MWE: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.13} \...
28 views

Change the name of Listings

I have the following MWE: \documentclass{article} \usepackage{listings} \begin{document} \lstlistoflistings \end{document} It produces a listing header called "Listings". Is there a way to ...
40 views

Text selection in PDF is broken

I am working in a big project and I'm using someone elses template. I recently noted something strange about text selection, and it's that the selection text isn't working properly. In the image below ...
33 views

moderncv banking style doesnt reconize \makecvheadnamewidth for fiting long names

Hi the answer given here works nice for the classic style of moderncv but once i switch to banking style, Latex doesnt reconize it Undefined control sequence.\makecvheadnamewidth (neither the old ...
42 views

How to suppress output when carrying over counters?

I've got a study book split into multiple individual books. To continue chapter and part numbers across volumes, I've used the solution by Werner provided here: Carrying counters over to another file ...
18 views

Package listings and new language definition

I tried to define a few PowerShell cmdlets for the lstlisting environment, but it seems that the - breaks the definition. So when I try: \lstdefinelanguage{powershell}{ keywords = {Get-...
18 views

How to I remove the section number in table of contents and title, but still keep it when numbering the equation or Theorem? [duplicate]

Here is what I am using now: \documentclass[english, 9pt,reqno]{amsart} \usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. \geometry{a4paper} ...
38 views

How to add animation to this tikzpicture? [duplicate]

I want to add animation to following graphic created in tikz environment. The desired sequence is 1 2 3 1 2 3 2...... Block $\mathcal{C}_1^{-1}$ turns green AND digit:1 appears in green below the ...
24 views

Adress of the Creator of the package footnotebackref? [on hold]

In relation to this problem, footnotebackref does not work with babel or polyglossia for french I seek a way to contact Hol­ger Lange so that I can communicate the bug.
46 views

Drawing simple xy axis [duplicate]

Can anybody help me to produce this? I couldn't find anything similar on the forum. No need for a grid. Thank you, Mironas
116 views

fi ligature not shown in output

Words with fi are not shown properly. »find« becomes »nd«, »first« becomes »rst«. and I receive this error 'package inputenc error :unicode char \u8 not set up for use with latex I am writing my ...
24 views

Image disappearing when scaling

I was trying to do an includegraphics within a tikzpicture, so I have something like \begin{tikzpicture}[scale=.7] ... \node (server) at (30, 0) {\includegraphics[scale=0.5]{img/server}}; \node (key) ...
31 views

Opening TeX documents with TeXworks instead of TeXstudio

When I open a TeX document by double-clicking on it, the LaTeX editor TeXstudio usually opens the document. I prefer using TeXworks, and I can open TeX documents using TeXworks by right-clicking and ...
16 views

How to have a part of text in a different font?

I would like to have just a part of my text to be in this specific font: \usepackage[sfdefault]{FiraSans} \usepackage[T1]{fontenc} \renewcommand*\oldstylenums[1]{{\firaoldstyle #1}} Do you have an ...
31 views

How to do 3d barcharts in latex using tikz?

I wanted to do a barchart for annual report. I have made it in excel There are so many problems of using this in latex as it is since I dont want any backgroud for this. In the sense that it has to ...
22 views

What is wrong with \lstinline (or my code :) )

I am using a package which makes some decoration on top of listings. It works fine, until I start to use \lstinline. The MWE works fine, until I remove the % in front of \global. Then \lstinline is ...
795 views

Handwritten comments and annotations in margin

Is it possible to typeset handritten comments and annotations in the margins around a parapgaph like in this example? What would be the closest approximation of this done in LaTeX?
33 views

How to put a listing bloc and an image side-by-side? [duplicate]

for the finetuning I have to show a codelisting and the result as an image next to each other, otherwise it will be displayed on the next page and i have to crop it extremely. Here's my progress so ...
60 views

How to add a simple text through an arrow break between nodes in tikzicture?

I guess I need to define a different node style for this arrow break. \documentclass[border=3cm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning,shapes,shadows,arrows} \begin{document} \...
24 views

I come from this question: How can I automatically calculate sums in a LaTeX table? I want to do the same but with "timing" calculations. So my example would look like this: \documentclass{article} \...
23 views

Reset \psset within a pspicture environment

How can I invalidate a style that was created using a \psset comand within a pspicture environment? Take the following MWE, which compiles with XeLaTeX: I would like to invalidate the current style ...
21 views

How to change page margins only for pages including graphics with the [p] option

I would like to reduce the page margins in my document only for those pages which include a figure embedded using the [p] option, in order to have some more space for my figures, as in: \begin{figure}...
24 views

How can I correct for a bug in ArabXeTeX that causes problems in left-to-right text?

There seems to be a bug in the arabxetex package that came with the new MacTeX 2016 distribution. The problem I have noticed is not in Arabic text but rather in ordinary left-to-right text. In ...
19 views

Problem with 'subequations'

I am trying to use 'subequations' environment in my document but it fails to do it right. It appears to happen whenever hebrew language is used somewhere in the document. Here is a MWE: \...
42 views

How to force table to maintain the margins

I created a table using LaTeX, but as shown in the image, the table width spans to reach the page width as well. I want to maintain the margin in the page. How can I do that? code: \begin{tabular}{ ...
19 views

23 views

Aligning a portion of text in a table cell

Is it possible to a align a certain portion of text in a table cell without changing the justification of the entire table? For example aligning the text that follows after (e = ). If someone already ...
46 views

University and Company logos alignment

I'm pretty new in latex and I'm trying to make a title page, the problem is that the two logos in my title page are not aligned and my author is not centered: \title{Stage Tek3} \author{% jean\_c ...