All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

“Dimension too large” What is the correct size to check for to avoid this error?

I process Latex output from computer algebra program. Some of the output expression are too large, so when my program put these expression inside a \[..\] or inside \begin{align*}....\end{align*} I ...
1
vote
0answers
6 views

How to check if a macro is defined in MetaPost

Suppose one may or may not have a macro with a particular name defined in metapost, and depending on what's the case the behavior of the code needs to change in some way. Something like this: vardef ...
0
votes
0answers
13 views

Bracket when breaking line in align [duplicate]

I have read several line-breaking inside align environment but I fail to deal with the bracket {}. LaTex seems not recognize \left\{ and \right\} belong to the same equation when I break the line. \...
2
votes
2answers
40 views

Span command across LaTeX environments

Suppose I have an environment redacted which I wanted to declare in such a manner: \begin{redacted} This is some secret content. \end{redacted} Which, I wanted the result to be equivalent to passing ...
1
vote
3answers
29 views

How to split a string variable into an array and call from an array

I'm fairly new to LaTeX, and want to know if I have a string John Citizen how can I break down so that I can access John and Citizen independently of each other through out the document. Currently my ...
0
votes
0answers
37 views

pdftex not working, I dont know, ? Please help me

I used the miktex 2.8 version with an old pdflatex. And everything worked fine. I compiled my thesis of approximately 400 pages, with figures, texts, graphics in 3 or 4 minutes, no problem. But I ...
2
votes
2answers
35 views

How to get three words to show up spaced out?

I'd like for the end result to look something like this: Certain [A bunch of space] Neutral [A bunch of space] Uncertain where the twp bunches of space are equal, and where the full line takes up ...
0
votes
0answers
13 views

Argument Spacing When Using lw Option for causes Compile Error with Tikz-Network Package

Writing the code with no spaces between the arguments of "\Edge[h local options i](Vertex i)(Vertex j)" normally handles processing: \documentclass{article} \usepackage{tikz-network} \thispagestyle{...
0
votes
0answers
24 views

numbers at the beginning in ntheorem

How can I get ntheorem to write 1.7 Theorem instead of Theorem 1.7 ? I thought that was easy enough, but can't find anything with google.
1
vote
0answers
37 views

How to draw a cylinder in prism?

I am trying to draw cylinder like this picture I tried \documentclass[border=2mm,12pt,tikz]{standalone} \usepackage{tikz-3dplot} \usetikzlibrary{3d,calc,backgrounds,patterns} \usepackage{fouriernc} ...
0
votes
1answer
20 views

Beamer presentation. Changing the color theme

Please consider this document. https://da.sharelatex.com/templates/presentations/thomas-jansson-ku-style-beamer How do I change the theme from Green to Red? Dark green = dark red, light green = ...
0
votes
0answers
11 views

glossaries: Calculating the width of custom field

For the following MWE % arara: lualatex: { options: [ '-synctex=1', '-shell-escape' ]} % arara: makeglossaries % arara: lualatex: { options: [ '-synctex=1', '-shell-escape' ]} \documentclass{...
2
votes
1answer
26 views

Custom itemize symbols with dynamic color

I have succeeded in building an itemize environment with circled number symbols that auto-increment thanks to the pifont package \documentclass[a4paper,10pt]{article} \usepackage{pifont} \begin{...
1
vote
1answer
17 views

How to write Chapter no. left side with this code

Iwant the chapter no.alongwith chapter title. Chapter No., it should be left side on top \documentclass{book} \usepackage{tikz} \usepackage{fourier} \usepackage[explicit,calcwidth]{titlesec} \...
0
votes
0answers
23 views

Article format for double blind review

I am supposed to change an article to double blind article. I wish I could do it without much fuss. I want to have a title page that can save my title info including author details and the rest ...
2
votes
2answers
25 views

Centering label in a table

Credits to: Torbjørn T. I have removed the $L$ that was posted here: Torbjørn T example. Now I need to center the second ML. \documentclass{article} \usepackage{multirow} \usepackage{amsmath} \...
3
votes
1answer
23 views

Re-declaring \bit in siunitx

It is possible to re-declare/redefine existing siunitx units in general. However, this seems to fail for the binary units \bit (and \byte) as shown in the MWE below. Only if the declaration is done ...
1
vote
0answers
8 views

ConTeXt: How to remove vertical space before top section headings in columns?

It has gotten that far that I have made a shopping list with ConTeXt… However, there remains one æsthetic problem: There is some unwanted vertical space above those section headings which are located ...
0
votes
1answer
29 views

how to create a table that repeats in every page with fixed size?

https://ibb.co/zH7L8kj I've uploaded the image, I have this table to be repeated for 30 pages the size is fixed as well. The page should have margins of 2.5 cm from the left/right and 2 cm on top/...
0
votes
1answer
10 views

Numbering pages with hindi numerals using polyglossia

I use polyglossia to produce multi-lingual documents, written in arabic and english. I use the usual numeration with arabic numbers 1,2,3 and I want to number the pages by using the hindi numbers, ...
4
votes
3answers
77 views

Correct use of smash with math and root signs

How can I get the same height on the second root-sign as the first?; $$\sqrt{\tfrac{1+2\cdot4a^2+(4a^2)^2}{16a^2}} =\sqrt{\tfrac{1+2\cdot4a^2+(4a^2)^2}{(4a)^2}}$$ I've tried different methods using \...
1
vote
1answer
12 views

Unstack bar graph columns

I'm trying to create a simple bar graph with four data sets. But, when I typeset, it produces a plot but the bars seem to overlay each other, which I want to eliminate. How do I fix this? I tried ...
0
votes
0answers
23 views

Getting started drawing basic 3D objects with TikZ

Is it possible to draw this with TikZ (or perhaps a similar package related to postscript, metapost, SVG, etc.)? Sorry, I don't have much to offer this time. I usually like to provide a bunch of code ...
0
votes
0answers
13 views

Xelatex fails, no pdf, empty log

I would like to compile a tex-file with XeLatex using Texmaker 4.5 on Debian 10. On a Windows machine with Miktex it works fine. Running "XeLatex" in Texmaker on debian results in an empty log / no ...
1
vote
1answer
38 views

Several attempts to improve the appearance in a subequation environment

I am trying in every way to find all the possibilities to best center the first equation in a subequations environment. I can't use the option alignat because the colored enumeration (here there is ...
1
vote
2answers
17 views

Itemize in TabularX: How to remove new line before items?

Consider the following Minimum Working Example (MWE): \documentclass{article} \usepackage{enumitem} \usepackage{tabularx} \begin{document} \begin{tabularx}{\textwidth}{| p{2cm} | p{2cm} |} ...
5
votes
1answer
51 views

Adding one more column to a table

I need to add one more column to the table and add $L$ parameter next to $n$. How can I add it? mwe: \documentclass{article} \usepackage{multirow} \usepackage{amsmath} \usepackage{setspace} \begin{...
1
vote
0answers
30 views

How can I use [@ref] in a figure context in latex?

I want to add the source of a figure in the caption with [@testQuelle] but it just shows the text "[@testQuelle]" under the picture. What am I doing wrong? When I try to cite my source outside the ...
0
votes
0answers
22 views

Customise biblatex entry type or amend existing one?

I was wondering whether it's possible to add a biblatex entry type (as I do not wish to use a different biblatex style) to something like "law". When it comes to law, unfortunately my university's ...
0
votes
0answers
27 views

Extra }, or forgotten \endgroup when pdflatex processing .idx on final run

On my complex source project (which has many files), I've run pdflatex, bibtex, pdflatex twice, and makeindex (with an .ist style file) without seeming error. But on the final run of pdflatex I get ...
0
votes
0answers
32 views

WinEdt 10.3 the programming language used [on hold]

What is WInEdt programmend in ? Is there available a sample from its source code ?
0
votes
0answers
8 views

Referring to Directory on Google Drive (on different machines)

I've not been able to find a good solution for this problem. I use google drive which syncs on my home and work computers. At work, we use "Google Drive Stream" and at home I use "Backup and Sync". ...
0
votes
1answer
15 views

WinEdt 10.3 meaning of bottom row

Please, does anybody know what is it good for the very bottom line of WinEdt 10.3 at least these items are needed: INS LINE --src
2
votes
2answers
42 views

Pgfplots fillbetween and Tikz \shade

I am trying to replace the rainbow in this MWE \documentclass{standalone} \usepackage{pgfplots} \usepackage{pgfmath} \usepackage{amsmath} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \...
2
votes
1answer
30 views

Underlining question command

I have to set a test for my students and I was given a template to work with. I want to underline the word Question together with the number so that it may be applied to the document globally. Here's ...
0
votes
0answers
27 views

How to write multiple author name and location? [duplicate]

I am trying to add multiple Author and institute name with location but it's not working. What I have tried is: \begin{document} \title{Multi label classification} \author[1]{John S} \author[2]{...
2
votes
1answer
58 views

How to plot this function containing ceiling in TikZ?

I am trying to plot the following function in TikZ: Note that log(.) is the natural logarithm. The discontinuities of the function occur at Here is a plot of the function in Mathematica. Any help ...
2
votes
3answers
37 views

How to apply dcolumn in my longtable case? Need help

I have the follwoing table: In panel 5, I want to decimal match the 0.018 and 0.069. However, my code consists of \begin{longtable}{*{12}{c@{}>{$}c<{$}}}, I wonder how should I putd{-1} in ...
2
votes
1answer
22 views

Putting a line underneath a word in tabular

I am trying to fix the words under the lines in the headings (for some reason they are stacked next to each other). Furthermore, I dont know why the numbers between brackets do not show in the tables. ...
1
vote
0answers
16 views

Remove space between table cell [duplicate]

I want to add background color to my table, but do not want any borders \documentclass[12pt, landscape]{article} \usepackage{colortbl} \begin{document} \begin{table}[h] \begin{tabular}{cl} \...
3
votes
2answers
41 views

How do I change a section title to include a small note?

I am creating an information document for some animals that I work with at a zoo. The general format that I would like to use is: \subsubsection*{\color{Blue}Animal Name}\textit{scientific name} ...
7
votes
1answer
70 views

Giving blur shadow to plot

How can I give the plot the blur effect that you can see in the picture below? \documentclass[tikz,border=7pt]{standalone} \usetikzlibrary{positioning,arrows.meta} \begin{document} \begin{...
0
votes
0answers
21 views

Simplest lstlistring in beamer fails to compile with LuaLaTeX [duplicate]

I expect the following code to compile to a PDF which contains a beamer page with a source code listing containing a. I see no syntax or logical errors. \documentclass{beamer} \usepackage{fontspec} \...
0
votes
0answers
26 views

xkeyval and keyval package for writing package

I am newbie to use keyval or xkeyval. I am developing some package using Lua. The following is the code in mymatrix.sty and it runs fine. \ProvidesPackage{mymatrix}[2019/07/23] \RequirePackage{...
1
vote
1answer
47 views

tikzpicture / How do I increase the vertical spacing between 2 Rectangles when the text is outside?

I'm trying to make a bar graph with the text above its corresponding rectangle but I'm not able to change the vertical spacing between each rectangle. Here's the code snippet: \documentclass{...
2
votes
0answers
24 views

rotated header and dec sep align

I have the following code, adapted from here. \documentclass{standalone} \usepackage{pgfplotstable} \pgfplotsset{compat=1.16} \begin{document} \pgfplotstabletypeset[col sep=comma, every head row/....
0
votes
0answers
27 views

Dimension too large (when using big values)

I need to represent this data in a graph, using pgfplots: someX someY 6000 2 12000 3 100000 10 but I can't because I get a lovely "Dimension too large" error, due to high values in "...
0
votes
1answer
36 views

Wrap labels of nodes

\documentclass[ pdftex, 12pt, a4paper, chapterprefix, headinclude, headsepline, footsepline, colordvi, twoside, halfparskip, final, appendixprefix, pointlessnumbers, tablecaptionabove, BCOR=12mm, DIV=...
2
votes
0answers
25 views

How to format a bilingual poetry book

I would like to write a bilingual poetry book (English-German) using LaTeX for PDF (Kindle Publishing). Here it is how it should look like: Title page with author name at the bottom; Table of ...
0
votes
1answer
30 views

newcommand for a code with \begin{…}

I am trying to edit a text right now in a LaTeX file. In order to emphasize portions that are edited vs original, I wanted to add a new command to shorten it. How would this syntax work here? \...

15 30 50 per page