# All Questions

173,859 questions
8 views

### Output Devanagari (Hindi) from raw unicode using luatex

I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \...
9 views

### How to extend the elements package to print melting and boiling points?

To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements. Using the same logic used in elements package, I thought about creating ...
13 views

### sinunitx package

What is wrong with this table please? Probably $\si{\degree}$. Thank you \documentclass[a4paper]{article} \usepackage{amsmath, amsthm, amssymb, mathtools} \usepackage{siunitx} \begin{document} \begin{...
17 views

### Adding Labels and arrows in Tikz graph

I'm trying to do something similar to this epsilon-delta graph I've found. Specifically, I'd like to copy the placements and arrows, like the L+e and L-e coming out of L. Same thing with the x0 + d ...
15 views

### Cylinder. OXYZ. 3D Cylinder . cylinder with dots

i whant help with drowing cylinder in 3d with dots(p1,p2,...pn) on both side cylinder
15 views

### What is a reasonable course to convert a novel from latex to epub/azw?

I need to convert a novel (NO math, but lots of citations and direct speech) from current PDF/printed paper to high-quality epub/azw4 to publish as eBook. Current layout is based on memoir and ...
12 views

### ntheorem and LyX (with amsmath)

Recently, I tried to use the ntheorem package with LyX and amsmath, but when compiling (pdflatex format) it complains: "! Package ntheorem Error: Theorem style plain already defined." When exporting ...
12 views

### How to use Biber with BibLaTeX from the command line on osx

I am attempting to use Biber with BibLaTeX from the command line on osx. When I compile my .tex file I get No file print_bibliography.bbl. LaTeX Warning: Citation 'Huse2007' on page 1 undefined on ...
20 views

### Differences between \documentclass[spanish]{article} and \usepackage[spanish]{babel}

This is my second post in latex-SE. Here is a very (I think) basic question, but I could'nt find a precise answer yet: What exactly does the command \documentclass[spanish]{article} and what sets it ...
19 views

### Modifying arcarrow

I have found this PDCA cycle (plan, do, check, act) here http://www.texample.net/tikz/examples/pdca-cycle/ % PDCA cycle % Author: tikzanfaenger, Helmut, and Bartman \documentclass[tikz,border=10pt]{...
17 views

### How to transform dynamic data into static data

Maybe I asked this somewhere sometime ago. Is there a way to change dynamic data into static data? I have defined the macro \def\date{\the\day.\the\month.\the\year} With every run of TeX the ...
13 views

### Mathjax: use the parameter in the \style [on hold]

Please tell us this is acceptable? I wrote the following sample: <script type="text/x-mathjax-config"> MathJax.Hub.Config({ showProcessingMessages: true, jax: ["input/TeX"], tex2jax: {...
15 views

### Vertical spacing in table

I am trying to create a table, but inside has some mathematical fractions which is too wide for the table. Originally I used arraystretch 1.4, the vertical space is too tight. So I wanted to stretch ...
40 views

### Diagram, 4 dots. (knot theorem)

How to drow this in teXstudio? I cant draw dots and arrows like that
17 views

### probsoln error: “undefined control sequence \repeat” in a loop

For context, I am using the probsoln package to create a list of problems and solutions. The problems and their solutions come from files in the same directory titled bank_lesson1.tex, bank_lesson2....
10 views

### Hyperlink at Beamer for external files

I need to do hypperlink to external file to hyppertarget in it . is it possible to do this ? I read about href and url ,but I didnt find info about this . Tex file with hyppertarget will be placed ...
71 views

### Dots and lines (knot theorem)

How to draw this in TeXstudio? help me please.
12 views

### How to get rid of parenthesis that appears in year on the reference list using dcu.bst Harvard citation style?

I am using \bibliographystyle{dcu} for Harvard style citation, I want to get rid of the parenthesis from the dcu.bst file. How can I remove the () parenthesis around the year that appears in the ...
26 views

### Stata, Python, MS office logos (wordmark/typeset) in LaTeX list or TikZ?

Curious if anyone has built Stata, Python, or MS Office logos/wordmarks/typeset in LaTeX or TikZ? For example, this has been nicely done for R here: New R Logo with Tikz Similar to hologo and dtk-...
38 views

### How to save space when writing equations with cases?

I am writing in IEEE double column environment. I have some equations with cases. For example, this equation seems to have too much space after the brace and also before and after the commas. I was ...
16 views

### How can I have an additional "source'' caption in a table redefined with renewenvironment`?

I had tables working well with a regular caption above and source information below each of them: After implementing a solution given in https://tex.stackexchange.com/a/485538/91816, the captions ...
10 views

### Algorithm2e: Using function name (as formatted ) in the caption and in the document text

In algorithm2e how can I use the function name (as printed/ style) in the caption and any other part of the document. I notice using the "\FUNNAME" ,in general, sometimes works and sometimes do not. ...
37 views

### Emoji insertion in latex pdf

Here is my code in latex file \begin{filecontents*}{example.eps} \RequirePackage{fix-cm} \documentclass[smallextended]{svjour3} \smartqed \usepackage{graphicx} \begin{document} \...
21 views

### Tilde in section title + amsmath & hyperef & silence leads to crash

I stumbled upon a LaTeX crash (capacity exceeded, parameter stack size=10000) and condensed it into the minimal working example below. I assume this is a bug in one of these packages? Can anyone ...
19 views

### An issue with chapterbib (TexPad)

I write a report using TexPad. Each chapter has a unique reference list. I mainly use chapterbib and natbib packages to make the lists of reference appear; however, could not manage. That is, the ...
86 views

### Draw 4 of the same figure in the same tikzpicture

I want to draw this: I have managed to do one of the Hexagons using this code: \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure} \begin{tikzpicture}[scale=2,cap=round,>=...
28 views

### MiKTeX PDF Viewer Extremely Blurry

I'm new to LaTeX and having trouble with the pdf viewer. When I compile my document, the pdf viewer is extremely blurry - barely readable - at what seems like a reasonable level of zoom (Fit to Width, ...
19 views

### typing a special letter in the bibliography [duplicate]

In bibliography of a manuscript, I wish to point out an author whose name is written in the form How can I type the last letter of his/her name?
39 views

### Problem using \cite for large number of citations

I am currently experiencing a problem with \cite which I've never encountered. I am using \cite to reference many citations at once. Instead of the output being [67-95] as expected, it is outputting ...
27 views

### How can I reference item (i) in Theorem 1.1 such that it displays “Theorem 1.1-(i)”?

Consider the following example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, amsthm, amssymb, mathtools, thmtools} \usepackage{hyperref, cleveref} \usepackage[shortlabels]...
55 views

### How to align multiple equations

I want to align multiple equations and two "conditions". \begin{align} \begin{split} ||\pmb{x}||_p &= \left(\sum_i |x_i|^p\right)^{\frac{1}{p}} \label{formel:pnorm}\\ p & \in \mathbb{...
55 views

### How do I make a diagram like this in LaTeX? Thanks! [duplicate]

How to draw this comutative diagrams in LaTeX
210 views

### Drawing spherical mirrors

What is the best way to draw 3D spherical mirrors like these on tikz?
20 views

### Evaluate/round a mathematical expression using \input

I want to evaluate a mathematical expression using a number from a different latex document. In this case, number.tex consists of a single number (e.g., 40) that has been exported from a statistical ...
37 views

### Curiosity: why an externalized document builds faster and in a single pass?

It could be just me being enthusiastic about completing the externalization of a sizable book into the separate chapters by way of using import package, but I get a distinct impression that the ...
16 views

### Turning on sub-preamble in standalone packages

I run this simple code \documentclass{article} \usepackage[subpreambles=true]{standalone} \begin{document} Document \end{document} But I get this error Argument of \filename@simple has an extra }. \...
35 views

### How do I recreate this two-column TOC layout with chapter goals on the left and TOC on the right

Recently I have been looking through Till Tantau's (the creator of TikZ) script on logic (see here). He uses a beautiful layout at each beginning of a chapter. So I want to recreate the little "...
21 views

### Greek fonts in Calibri, Times, Consolas etc

I am confused and I have a general-purpose question. If I want to use Calibri, Times, Consolas fonts in Greek and English language (something like Libre, Microsoft Word) which is the most common way ...
19 views

### How to remove Tikz pgfplot ticks from the top, bottom and right borders?

I am creating a histogram, which I've managed to do with the following code: \begin{tikzpicture} \centering \begin{axis}[ ymin=0, ymax=50, minor y tick num = 2, axis background/.style={...
104 views

### Dyck paths with extra diagonals from valleys (Laser construction)

I would like to create a Dyck path in Latex with two additional features. First, I would like to number all the East step except(!) for the last one. Secondly, for each valley (that is, an East step ...
32 views

### How do I use special characters from the danish alphabet as a part of keywords when using listings?

Im writing a report in overleaf about a programming language im making, I want to be able to use listings to have the syntax of the language highlighted in the report, however since the programming ...
16 views

### How to change the label format on x-axis of Tikz pgfplot?

I am trying to make a nice looking histogram of my data, and have managed to produce the following so far: \begin{tikzpicture} \centering \begin{axis}[ ymin=0, ymax=8000, minor y tick num = 2,...
42 views

### Mindmap diagram in Beamer

What is the proper way to include a mindmap in Beamer like the following one (adapted from here http://www.texample.net/tikz/examples/computer-science-mindmap/)? Should insert with includegraphics ...
604 views

### How to write capital alpha?

Unfortunately, the command \Alpha does not produce capital version of \alpha (as one might expect in analogy with how, say, \Pi produces capital \pi). It so happens that the capital alpha looks rather ...
19 views

### How to add several time periods into date cventry in moderncv?

I am using moderncv package, banking style I want to list several time periods in one \cventry. Best thing I managed is to use more than one \cventry, but this leaves too big spacing between entries....
32 views

### Modifying a timeline in beamer

I have found the code in this selected answer of this questions How can I make a standard timeline? and I modified it to achieve what I want. \documentclass[svgnames]{beamer} \usepackage[french]{...
15 views

### Prepare for double sided printing and OMR lines

I want to create a macro that helps me with correctly printing. First of all, if I define that the document should be printed double-sided (recto/verso), the macro should add an empty page at the end ...
19 views

### double view and single view textstudio help [on hold]

Perhaps the question will seem trivial. I need a suggestion to return the view of the editor to a single view. yesterday I tried out of curiosity, the double window, but I would like to be able to ...