All Questions

0
votes
0answers
2 views

Additional legend (entries)

As my colorbar contains only few values, I want to use further legend entries instead of a colorbar. How can I (1) add additional entries to the existing legend or (2) add a second legend with ...
1
vote
0answers
7 views

formula and a table in align environment

I need to type formula and table in an align environment like but I only could prepare \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{diagbox} \...
0
votes
0answers
7 views

Use name of referenced object as argument of string comparison

I have argument #1 which contains some text X representing some label. I would like to use \str_if_eq to compare X and name of paragraph referenced by this string. What I want to achieve is that if \...
1
vote
0answers
11 views

Add kerning correction before capital V

Kerning correction works if the capital letter is in front of the small letter. The other way round spaces seems uneven. Take for example the space between the e and V in the word PeVatron. It seems ...
2
votes
1answer
35 views

Is there a possibility to generate a list dynamically in Latex?

As stated, I wonder if there is any possibility to dynamically add items to a list and print it anywhere in the document, regardless of where the definitions are made. I'm thinking something like ...
1
vote
1answer
22 views

Change font size in Table

How do I change the font size in my table? I have tried the \normalsize and \small commands, but it doesnt make any difference. I needed to specify column length to get the design I wanted, does ...
-2
votes
2answers
35 views

How to do it in latex

I am doing my semester thesis, but I have no idea how to do young tableaux in latex.
1
vote
2answers
19 views

How to arrange the flushleft and flushright beside each other?

\documentclass[12pt]{article} \usepackage{mathptmx} \usepackage{graphicx} %% Header Footer \usepackage{fancyhdr} \pagestyle{fancy} %\fancyhead{} \fancyfoot{} \fancyfoot[R]{ \thepage\ } \usepackage{...
0
votes
0answers
20 views

Defining pages of a document

I have formatted one page of my document in a particular way. (including alignments) Now I want to have that particular setting for every page of my document. This would have been very easy if the ...
0
votes
0answers
18 views

MiKTeX won't download ogonek package

My MiKTeX won't download the ogonek package. I went to the A-Z list of MiKTeX packages, and ogonek isn't there. Should it be?
2
votes
4answers
37 views

how to write given equation?

I want to read an equation in latex, this is my code: $$ \left \{ \begin{array}{l} \hat{p}=1/N \sum_{i=1}^{N} I_{i} \\ \begin{split} \mathrm{Var}(\hat{p})= & 1/(N^2) \sum_{i=1}^{N} \sum_{j=1}^{N}...
2
votes
1answer
50 views

Latex trimbox figure?

I wonder if it is possible to have a trim box in latex that can trim figures? For example using latex trim, I know it's possible for example to trim the top of a figure (see left figure down below). ...
0
votes
1answer
12 views

TeXstudio fails to compile a Nature template

I have downloaded a template for Nature article from Sharelatex (from here), but when I try to compile it using TeXstudio or TexMaker it gives me this error message: File `nature.cls' not found. ^^M ...
3
votes
2answers
139 views

Beamer - mp3 - file does not play

For a presentation I need to add a mp3 file. I already followed all steps in the Q&A at How to include multimedia files in beamer. My followed MMW does compile but do not deliver any sound at all. ...
1
vote
1answer
33 views

Tikz rectangle in perspective

I would like to draw a rectangle in perspective which looks like this \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,1) -- (0,3) -- (2,5) -- (2,3) -- cycle; \...
1
vote
0answers
23 views

Implement METAPOST in Blockly

Has anyone looked into this? Blockly is a visual code editor developed by Google: https://developers.google.com/blockly/ and at least one graphical language, OpenSCAD has been implemented: https://...
1
vote
0answers
11 views

Smallcaps disappearing in tex4ebook compilation

I am using smallcaps to mark certain direct speech (essentially uttered by non-human entities). I use it almost exclusively through the following macro: \usepackage{quotmark} \newcommand{\gqt}[1]{\...
1
vote
0answers
18 views

Custom quote environment: Opening curly quote at the start of every line

What would be the recommended method to customize the quote environment such that every line starts with, say, opening curly quotes on the left margin. Something like \documentclass[12pt, oneside]{...
2
votes
2answers
74 views

Tikz - create rectangle with same width as the picture

I have the following MWE: \documentclass[]{standalone} \usepackage{tikz} \usetikzlibrary{positioning,fit,shapes.geometric,calc,backgrounds} \begin{document} \begin{tikzpicture} % Headers \...
4
votes
2answers
196 views

How to begin with a paragraph in latex

I am writing my B.Sc. report. Here I have write a part of introduction. but the problem is I want begin the sentences with a gap like... **
2
votes
1answer
19 views

Color a table with toprule and cmidrule [duplicate]

I have created a table in the following way: \documentclass{article} \usepackage[table,xcdraw]{xcolor} %Tables \usepackage{array,multirow} \usepackage{booktabs} \begin{document} \begin{table}\...
1
vote
0answers
14 views

Adding space to subreference

Consider this example: \documentclass{report} \usepackage{subfig} \begin{document} See Figure~\subref*{sf1} for more information. \begin{figure} \centering \subfloat[Subfig 1]{\label{sf1} Contents of ...
0
votes
1answer
10 views

make distance between acronym and description

i have a problem with my glossaries format. Is it possible to make a distance (hspace) between the acronym or symbol and their description? now, it is something like that: Bsp. Beispiel Another ...
0
votes
0answers
16 views

Specific PDF not viewable in TeXstudio

PDF produced from the following example, by Xe- or LuaLaTeX, is not viewable in (internal pdf viewer of) TeXstudio. \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw (0, ...
-2
votes
0answers
30 views

How write “ANSYS” in LaTeX with the original font? [on hold]

How can I write "ANSYS" with the original font in LaTeX? Thank you in advance.
-2
votes
0answers
41 views

How to get “c++” symbol in Latex, namely original font of c++? [duplicate]

How can I write "c++" with the original font in LaTeX? Thank you in advance. EDIT: here the official logo:
0
votes
0answers
31 views

package inputenc error unicode character − (u+200E)

Two tables in TexStudio are having the error: package inputenc error unicode character − (U+200E)not set up for use in LaTeX. Anybody knows what the exact problem is? My first table is and the error ...
1
vote
1answer
26 views

Writing Content in the aux files without expansion

I'm creating the XML from the TOC files, in this process I'm finding issue. on looking into the files there are many commands are getting expanded while writing. for example \hat has wrote in \...
-1
votes
1answer
37 views

Writing MATLAB with the original font in modernCV [on hold]

I'm wondering if I can write MATLAB with the original font in my CV using class moderncv: Thank you for your willingness.
0
votes
0answers
22 views

Missing number treated as zero error coming for a specific line irrespective of the command which is entered there

\documentclass{article} \usepackage{eso-pic,xcolor} \renewcommand{\baselinestretch}{1.2} \hbadness=99999 \setlength{\parindent}{0.9cm} \begin{document} \begin{center} \topskip0pt \vspace*{\fill} \...
0
votes
0answers
12 views

padlatex: too long time for compilation of file with chinese symbols using ctex package

I'm usign pdflatex for technical reports. Until now I used it wihout chinese language and everything worked well. But now I need to add chinese language. I found here information how to do this: How ...
0
votes
2answers
24 views

How to avoid additional page getting rotated?

I am trying to get all sidewaysfigures automatically rotated. But for some reason I get an extra rotated page (see code and screenshot below). How can I avoid this? \documentclass[oneside]{scrbook} %...
0
votes
1answer
33 views

Fitting table into page while not ruining the caption

I have to fit this table into a page. Using adjustcode failed since it made the caption stuck onto first cell of the table instead of spanning on top of table. The paper is double column so I'm ...
3
votes
1answer
94 views

Setting chapter numbering to alphabetic in one part only

I need to have the chapter numbering of a specific part in my document be alphabetic instead of numeric. How is this accomplished? MWE playground: \documentclass[a4paper,12pt,twoside,onecolumn,...
1
vote
2answers
22 views

\footnote only show number but with no contents at the bottom

I'm just trying to show the reference by using the \footnote. However, the beamer only show the number of footnote but with no contents at the bottom. Here is my codes \frame{ \frametitle{...
0
votes
1answer
29 views

Is there a way to define \xmat*{M}{n}{m} in the physics package

As titled, I want the command\mqty(\xmat*{M}{n}{m}) to generate a matrix like this: $$ \begin{pmatrix} M_{ 11 } & M_{ 12 } & M_{ 13 } & \cdots & M_{ 1m } \\ M_{...
1
vote
1answer
19 views

How to make \autocites work as \supercite with square brackets and grouped

I found how to make \supercite with square brackets and grouped at Biblatex supercite with square brackets and grouped So I add the option autocite=superscript for biblatex package, and get this MWE:...
0
votes
0answers
17 views

Arrow in the centre of the lines [duplicate]

The following tex produces the image below. I want the arrow in the centre of the lines. Is it possible to modify the given tex to fix it? Thanks \begin{tikzpicture}[grow=right,scale=1,solid node/....
0
votes
0answers
7 views

Importing “minted”s from a subdirectory to another subdirectory

My hierarchy goes like this: Main Folder SubFolderForCode(1) doc.tex code.py SubFolderForCode(2) doc.tex code.py SubFolderForDoc doc.tex I want to ...
0
votes
0answers
24 views

BIBTEX not BIBLATEX: Suppress fields in bibliography — any updates?

I have the same question as: Suppressing fields in bibliography? Omitting unwanted bibtex information from bibliography? Any updates as on MacTeX 2019? I am asking a simple way to suppress fields ...
1
vote
0answers
29 views

Avoid passing an empty optional argument an environment with verbatim content?

this query is related to How to pass an optional argument to an environment with verbatim content? (whose solution did not work in my case) and with Emulating @ifnextchar in expl3 (which is the one I'...
0
votes
0answers
10 views

Math mode display style: Move a character to left with breaking the centered text [duplicate]

\documentclass[12pt, oneside]{article} \usepackage{amsmath} \begin{document} \begin{displaymath} \frac{2x}{(x+1)^3} = \frac{2x+2-2}{(x+1)^3} = \frac{2(x+1)}{(x+1)^3} - \frac{2}{(x+1)^3} \end{...
2
votes
0answers
28 views

Does LaTeX (lualatex) have the Adobe Illustrator equivalent of “Outline” mode?

I am working with a manufacturer (there are some language barriers) who is asking for the "outline" of some of my pdfs. What they mean: they want what Adobe Illustrator does in its "Outline" submenu. ...
-1
votes
0answers
20 views

Add footnote to equation number

I'd like to add a footnote to an equation but exponents would be confusion, rather, in the align env, adding a footnotemark to the equation number would be valid. Any way to do this?
1
vote
1answer
20 views

Add algorithm2e to toc with koma script

How can I add the list of algorithms from algorithm2e to the table of contents of a koma class? MWE: \documentclass[oneside,listof=totoc]{scrbook} \setuptoc{loa}{totoc} %does not work \usepackage{...
0
votes
0answers
17 views

Is there a way to show the “reference number in brackets” instead of “name, year”?

I'm using "apacite" package. and I was wondering whether there is a way to do this: Let reference [5] be: "Besterfield, D. (2013). Quality improevment (9 ed.). Pearson." When I use "\cite{...
0
votes
1answer
43 views

Let LaTeX decide where to place figures

There are too many posts that complains LaTeX is not doing a good enough job in placing floats such as figures, and ways to work around them ([!htbp], \usepackage{float}, etc.). Upon curiosity I ...
2
votes
3answers
102 views

Help Recreating a Table

I am trying to recreate this table using LaTeX. I want to additionally align the decimals. I have tried using this code to do so. \begin{frame} \frametitle{Table} \begin{table} \begin{tabular}{l *{4}...
0
votes
0answers
11 views

Change line spacing in Authblk

My author list consumes several lines. I would like to reduce the spacing between lines, between the authors and their affiliations, and between their affiliations. I attempted to use the setspace ...
0
votes
0answers
43 views

Typesetting journal names and abbreviations

I am confused. What is the proper / accepted way of using the journal macros in bibliography? I have found about 3 different sources, and each of them has an incomplete set of the journal macros that ...

15 30 50 per page