2
votes
0answers
18 views

using pinyin package with xelatex

I am trying to use the pinyin package for glossing Chinese text. There are two problems: First, it complains about \Xiand \Pi allready being defined and second the dash about the a and the e is not ...
2
votes
0answers
49 views

With the following preamble the identation works fine but there is no distance added between the footnote number and the footnote text

% XeLaTeX can use any Mac OS X font. See the setromanfont command below. % Input to XeLaTeX is full Unicode, so Unicode characters can be typed directly into the source. % The next lines tell ...
2
votes
1answer
35 views

NewEnviron, \BODY and lstlisting [duplicate]

I was trying to understand egreg's answer to Hide content to show later, and I noticed that there were some problems when using lstlisting or tcblisting environments inside the solution environment ...
1
vote
2answers
34 views

spacing between text and frame of table?

I use tcolorbox to define a new environment as suggested by Gonzalo at Create a color box?. In that environment, I put the figure inside the frame as the code shown below. I want to adjust the space ...
4
votes
1answer
47 views

\thinspace/\, inserts no space

In my greek-german document, the second \, of the combination \,--\, doesn't actually insert a space. It rather looks as if I wrote just \,-- (Often, the same occurs with other languages and fonts, ...
1
vote
0answers
16 views

\ref to algorithm/algorithmic not working [duplicate]

I am trying to reference an algorithm in my thesis, made using the algorithmicx and algorithm packages, but it fails, ending up with the dreaded ?? and the following error: LaTeX Warning: Reference ...
2
votes
2answers
18 views

Forcing an Alignment to a Specific Part of the Page

I know how to align these equations along the equal sign. What I want to do is put the equal sign anywhere on the page I want to, as though I was taking the aligned equations and shifting them left or ...
1
vote
1answer
35 views

animate package: how to correctly display image files with different size

I'am a bit confused by the animate package I compile with LuaTeX. It is a very simple code: \documentclass{article} \usepackage{graphicx} \usepackage{animate} \begin{document} ...
1
vote
2answers
26 views

aligning text in a cell of a table

How to vertically align short stack in a cell of a table? I am using "\shortstack" and would like it vertically centred in the cell of a table
3
votes
3answers
205 views

Amplifying fractions

I want to make myself a math portofolio (as a quick reference) and I have a part where I have to 'amplify' a fraction like here: But I don't know how can I do this thing, can you help me? Thank ...
1
vote
1answer
27 views

\varnothing or \emptyset not at the end of the line

I'd like to place either a \varnothing or a \emptyset symbol in my text, but every time I try, the symbol appears at the end of the line and not just behind the text where it needs to be. How can I ...
3
votes
1answer
162 views

How can I get the following output,using what commands?

If there is no frame ,I just can get it . \begin{verbatim} \verb+text+ \end{verbatim} but with the frame ,I don't know how to manage it.
5
votes
0answers
28 views

Transfer a makeindex example to a xindy example

I use makeindex for 25 years and I know it isn't perfect. Since xindy is now available also for MiKTeX, I would be happy to switch to this more modern and flexible index processor. Now, I'm looking ...
6
votes
1answer
145 views

What is the difference between \NewDocumentCommand and \DeclareDocumentCommand?

These commands are part of the LaTeX3 Project xparsepackage. This question is to satisfy curiosity… From xparse documentation released on 25 Nov 2014: \DeclareDocumentCommand will always create ...
6
votes
2answers
438 views

Using arrays to align parallel equations: Why isn't $|z|$ centered?

There was an earlier question about aligning different parts of two parallel equations in a multiple line environment, and I'm trying to adapt Werner's answer that used an array for my own use. ...
3
votes
3answers
111 views

Aligning 3 equations with cases and equation number

in the equations shown below I would like to have the 'if' texts aligned - right now this does not work due to the use of three independent array environments. Thanks!! Here is the code to ...
5
votes
1answer
50 views

Using TeX to Typeset Indian Raga Music Forms

I could use any input on this one. I am trying to typeset the various raga forms and scales that I am learning in my sitar class. I need to be able to put from one to three dots (not periods) over and ...
3
votes
1answer
41 views

Adding figures with a certain order

I am trying to add some figures in a specific order as shown below but it didn't work, Any Ideas? My code: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure*} ...
0
votes
1answer
13 views

Break up long equation with square brackets into multiple lines

I'm having trouble splitting the portion of the equation within square brackets into two lines. How can it be done? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \ ...
0
votes
0answers
30 views

Vertical spacing not working properly

I'm trying to use \bigskip, \medskip, and \smallskip for spacing but they don't do anything. So I tried to use \vspace{bigskipamount}, and I got 2 errors: 1) ! Missing number, treated as zero. 2) ! ...
0
votes
0answers
29 views

Error when compiling using tikzmath

I am trying to learn how to use Tikz and its library Tikzmath to make graphics. I am trying to practice by drawing a series of circles along a line. My code is as follows: ...
1
vote
1answer
19 views

Is there a way to use commands like \equiv without declaring a function?

I just want to add \equiv to my sentence but I keep getting an error when trying to compile in texmaker. Seems like what I need to do is wrap it in \begin{equation} but I don't want to treat it as ...
4
votes
1answer
24 views

How to print shortauthor in the references as well? Further question

Here lockstep asked how to additionally use the shortauthor field in the bibliography. I, however, would like to completely replace the author field with shortauthor. Instead of International ...
-1
votes
0answers
24 views

docx to PDF for ACM SIG template using pandoc [on hold]

I am trying to convert docx files that use the ACM SIG style format into PDF. When I run the command pandoc -o pubform.pdf pubform.docx I get a totally flat document that misses all the styling. ...
3
votes
1answer
36 views

How to include a photo using this code

I'm trying to achieve these goals: Include a photo on the right of \personaltitle. (flushright) To center the display of \title on the head of the page. Here is my MWE: ...
2
votes
1answer
38 views

Undefined control sequence. …\infty} F{_i} \right ) = \sum_{i=1}^{\infy Underfull \hbox (badness 10000) in paragraph Command \' invalid in math mode

What's wrong \begin{equation} H^{s}\left ( \bigcup_{i = 1}^{\infty} F{_i} \right ) = \sum_{i=1}^{\infy} H^s(F_i) \end{equation} Undefined control sequence. ...\infty} F{_i} \right ) = ...
3
votes
1answer
67 views

Center plot created with pgfplot from matlab

If I have a nice plot in matlab, then I save it as a tikz standalone file matlab2tikz('myimage.tikz','standalone',true) and I create a pdf in my terminal with pdflatex myimage.tikz to include ...
3
votes
2answers
76 views

How to check that image has valid size before `\includegraphics` is called?

Related to this question Dimension too large. error from pdflatex when using \includegraphics I run large computation in Mathematica, which generates thousands of image file in pdf. Few of them are ...
2
votes
1answer
20 views

vertically align pgfplots using subfigure

I need to align my two plots. They seem to be anchored by something other than the text. Because one pgfplot has more text in the caption then the other, it offsets it. Please see image. I tried ...
2
votes
0answers
28 views

“ compile timeout ” error on beamer class

I am making a presentation using \documentclass{beamer}. Moreover, I am making it at overleaf.com My presentation has a lot of high resolution images, which are in .png format, because of which I am ...
6
votes
1answer
64 views

Dimension too large. error from pdflatex when using \includegraphics

I am getting the following error on few images being loaded by pdflatex. The images are in pdf files. MWE \documentclass[10pt,notitlepage]{article} \usepackage{graphicx} \begin{document} ...
4
votes
2answers
38 views

Odd spacing due to diagonal dots in pmatrix environment

I'm trying to typeset this matrix, but it seems the spacing between the fourth and fifth lines is off, perhaps due to the diagonal dots : Here is my Latex code : \[ \mathrm{Mat}_{\mathcal B}D = ...
2
votes
1answer
39 views

How to use LaTeX with Inkscape (MAC OS X)

I've seen somebody asked this question a year ago, but no answers given so I'm hoping this might attract some more/new/different attention. Simple question. I want to use LaTeX with Inkscape on mac. ...
4
votes
1answer
84 views

Why Won't m{} Vertically Center My Contents?

I am trying to center ALL the contents of ALL the cells in the table below. It's working horizontally, but not vertically. I definitely don't know how to best vertically center the last column, ...
2
votes
0answers
24 views

Caption of figure on multiple pages using PhDThesisPSnPDF class

I am writing my thesis using PhDThesisPSnPDF class. I need to make large caption of a figure to span over multiple pages. For most document classes package capt-of can be used: How do I make figure ...
2
votes
1answer
38 views

Section numbering does not comply. I am using Lyx, Document class 'Report (standard class)'. Please help

I am writing my thesis in Lyx, using Document class 'Report (Standard Class)'. I have one main document 'thesis.lyx', in which I include all my chapters as Child Documents. In the main document ...
2
votes
0answers
23 views

Using special characters with lstlisting

I am using the Algorithm2e package to use code in my LaTeX document. However, the code contains special characters such as à, é, è etc. Those characters causes errors such as Unicode character x not ...
1
vote
1answer
52 views

Why do all of my latex figures say “chesches” next to it? [duplicate]

When I use \includegraphics all of my figures say "chesches" at the bottom left of the figure. Here is the code: \begin{figure} \includegraphics[width = 6 inches]{HHCircuit.png} \end{figure}
3
votes
1answer
44 views

Poster lay-out congress poster

I was wondering if it was possible to make a poster with the following lay-out (this was made in Microsoft Office PowerPoint, but I've had a hard time with images and dragging everything everywhere so ...
6
votes
2answers
132 views

How can I take precise control over the size of caption text of images?

In the caption of the images of my text, the size of the text "Figure 1.1" (and so) is greater than the text itself. The result is How can I take precise control over this text? The code is ...
6
votes
1answer
57 views

How does the \newcolumntype command work?

I'm a StackExchange and LaTeX newb trying to figure out tables and tabularx. Sometimes I copy code but don't actually know what I'm doing or why it works or fails. Can someone explain to me how the ...
4
votes
3answers
97 views

Empty space under a figure

I am getting a significant amount of empty space under the following figure. How do I get rid of it? (I am a new user and I don't know how to post a tex code.) \documentclass{article} ...
2
votes
2answers
29 views

Vertical alignment with cases environment

I hope this question is not duplicate: How is it possible to align all of these equals signs? The main problem is the cases environment, because I don't know how to reference the &-Operator. ...
1
vote
3answers
56 views

memoir: paragraph indent in marginpar

I use memoir and defined my own version of margin notes. I would like margin notes consisting of multiple paragraphs to have each paragraph except the first one to be indented. However, I can't figure ...
2
votes
2answers
52 views

tkz-kiviat : increase label length and get the right legend

I want to draw a spider/kiviat diagram. I am using the tkz-kiviat library but I have some problems. Here is my MWE \documentclass[xcolor={dvipsnames}]{beamer} \usetheme{Warsaw} ...
2
votes
1answer
22 views

installing the persian latex for Windows

how to install the Persian LaTeX? I searched a lot in the Internet but there is not a good Reference that explain how to install LaTeX. Thanks so much.
2
votes
1answer
38 views

Appending an empty row after every 5 or 10 rows in LaTeX table

I wonder how to append an empty row after every 5 or 10 rows in LaTeX table. Here is my MWE in .Rnw format. Any help will be highly appreciated. Thanks \documentclass{article} \usepackage{longtable} ...
1
vote
1answer
19 views

multiple subequations same line with reference compact

I posted a question earlier, multiple subequations same line with reference But I'd like to be able to combine the numbering at the end of the line for the following two cases: Re = UL/nu , Ha = BL ...
5
votes
1answer
23 views

Varioref and previous page

With the following MWE: \documentclass{article} \usepackage{thmtools} \usepackage{varioref} \usepackage{cleveref} \declaretheorem[name=Lemma,Refname={Lemma,Lemmas}]{lem} \begin{document} ...
0
votes
0answers
26 views

How can I remove comma between two citations?

I am writing a paper for IEEEtran. How can I remove comma between two citations? Here is the source code. \documentclass[conference]{IEEEtran} \usepackage{cite} Text \cite{ref1, ref2} %The result ...

15 30 50 per page