All Questions

0
votes
1answer
14 views

How do I define \times as a math symbol

I want to declare $5\times 5$, so that the spacing comes out right. When I type $2 \times (8+8+1)$, the spacing next the x is always bigger than that next to the +. In order to fix this I want to ...
1
vote
1answer
12 views

How do I remove this line from the bottom of the page?

% $Id: template.tex 11 2007-04-03 22:25:53Z jpeltier $ \documentclass{vgtc} % final (conference style) %\documentclass[review]{vgtc} % review %\documentclass[...
0
votes
1answer
8 views

Using multiple footnote-citations per page in a column environment

So, I want to use multiple citations on one page in a beamer presentation slide. On this page I have a column environment and thus have to use footnotemark and footcitetext, at least I thought so. ...
0
votes
0answers
11 views

Use all name initials when using biblatex mcite command

I want to use the biblatex package to manage my bibliography. I also want to cite a set of authors as one citation, therefore I use the option and command mcite. I have to use the style alphabetic, ...
1
vote
1answer
7 views

Is there a command to find coordinates of projection of a point on a line in 3D?

Sometimes, I need determine coordinates of projection of a point on a line in 3D. I know The Syntax of Projection in 2D at 13.5.5 The Syntax of Projection Modifiers at Manual for Version 3.1. This ...
4
votes
1answer
17 views

How to generate a xy diagram with multiple grouped data sets?

Based on the answer of Stefan Pinnow in 'How to group several charts into one chart?', I tried to generate a diagram with multiple grouped data. Therefore, I modified the diagram but I have some ...
0
votes
0answers
18 views

Help with MetaPost and Metaobj with latex

Kind help with two examples to do metapost and metaobj in latex running from Texicenter. what packages to include and program two examples I read through book not able to understand. First input ...
0
votes
0answers
11 views

org-mode export to pdf ignores #+ATTR_LATEX

I am using org-mode version 9.1.9. I have a table which is pretty big. When I export the File to PDF i can see only half of the table. I tried to use the following command but nothing changes #+...
4
votes
1answer
25 views

Exam class: TikZ-circled choices not aligned to hanging indent

I am typesetting a competition examination paper, and I wanted to satisfy a very specific requirement for the multiple-choice questions: five choices, each with capital letter choice labels all in ...
1
vote
0answers
8 views

How to shorten Gantt chart?

I am doing a Gantt chart using the pgfgantt package for a graphical overview of the required steps for a thesis: Here is the code I used, which I compiled with pdfLaTeX: Will take some time to ...
0
votes
0answers
13 views

ConTeXt XML: How do I typeset blank lines, leading spaces

I have the following example, where one <Line> is blank and one has leading spaces. ConTeXt is ignoring the blank line and trimming the leading spaces. How do I turn this off? \startbuffer[demo]...
1
vote
1answer
18 views

Drop caps in a Royal Initialen font

\documentclass[11pt,letterpaper]{memoir} \usepackage{lipsum} \usepackage{type1cm} \usepackage{lettrine} \setcounter{DefaultLines}{2} \renewcommand{\DefaultLoversize}{0.14} \renewcommand{\...
1
vote
1answer
9 views

How to plot from a csv file such that one column is the data and the other is errorbar?

How to draw the plot and its error bar from a csv file, when a column is the data and the column after it, is the error bar. Look at the following example. This is an answer from Torbjørn T. to this ...
2
votes
1answer
34 views

Display table nicely and better code

I have this code for a table... \documentclass[11pt,a4paper]{article} \usepackage[margin=20mm]{geometry} \usepackage{rotating} \usepackage{float} \newcommand*\rot[1]{\rotatebox{90}{#1}} \usepackage{...
1
vote
2answers
37 views

How to limit amount of numbers after comma in metapost?

I would like to limit floating point numbers inside a label: beginfig(1) for i=1 upto 5: label.bot(textext("$" & (decimal (-0.8*i)) & "$"), (-0.8*i, -0.2)); endfig; end; Currently ...
1
vote
2answers
20 views

Make table page size

I am new to latex and cannot solve to fit this table to page size even though I looked up the problem in the forum. Any help would be very much appreciated. \documentclass[11pt]{article} \...
0
votes
1answer
18 views

Different colors for each bib file and custom prefix

I have multiple bib files. I would like to use different text colors for all the references mentioned in different bib files. Secondly, i would like a custom prefix for each bib file. Please let me ...
2
votes
2answers
83 views

can you help for diagram for in latex?

\begin{tikzcd} 3 \arrow[dr] & \\ 4 \arrow[r] & 2\arrow[dr] & \\ 1 \end{tikzcd} could you help me? how do yo writting latex?
2
votes
2answers
46 views

Align headings nicely

I have this code which is the beginning part of a big table. \begin{table}[H] \begin{tabularx}{\textwidth}{XXXXXXXXXXXX} \hline \multicolumn{1}{|X|}{} & \multicolumn{1}{X|}{Shaft Diameter}...
0
votes
0answers
13 views

LYX crash - SIGFPE signal caught

I'm using LYX 2.3 version on Win10. When I try to save my document, I get an error popup: "LYX crashed! SIGFPE signal caught! Bye". What can I do to fix this? Thanks
1
vote
0answers
25 views

prevent blank area caused by wrapfigure in multicol environment

I'm using wrapfigure inside a multicol environment to wrap my text around a tikz graph. This however creates an unwanted blank area in the second column (after \columbreak). How can I prevent this? ...
0
votes
1answer
17 views

Repeat same label of the table from previous frame

I am working on a presentation and would like to reuse the same table with the same label from the previous frame. I tried a lot of things, but did not have success. Attached u can find the frames and ...
2
votes
1answer
17 views

Tikz | How to change line color of histogram

I am trying to follow this answer for drawing a historgram. I was able to change the fill color of the histogram but I was not able to change the line color of the bars. Question: What do I have to ...
0
votes
1answer
33 views

Have a big integral in the environment \begin{cases} \end{cases}

When I write $$ \begin{cases} f(x)-\int_C f& x\in C\\ 0 & otherwise \end{cases} $$ I have a small integral as in the picture below. Is there a way to have a big integral?
1
vote
1answer
20 views

Increase space between lines in a conversation

I'm sure this has been asked before, but couldn't see an answer which I could use. I am using the \quote package to relay a conversation. How can I increase the spacing between lines in the ...
1
vote
1answer
13 views

Legend customisation in groupplot

I have a groupplot in which each plot shows only part of the data--the first shows one out of five datasets while the second shows the remaining four. For space and aesthetic reasons, however, I want ...
1
vote
1answer
34 views

Grid width not textwidth when using fillwithgrid (exam package)

When inserting space for answers by \fillwithdottedlines the resulting lines have the same width as textwidth. When using \fillwithgrid the resulting grid is smaller on both sides: \documentclass[...
0
votes
0answers
44 views

New to LaTeX and need help with table

I'm new to LaTeX im trying to convert a table I created with LaTeX. However, I'm finding it confusing any help will be appreciated. Thanks.
3
votes
3answers
86 views

Macros \dv and \pdv eat the subsequent parenthesis argument

The physics package has the macros \dv and \pdv which are great but I have a small problem with them. If an argument with parenthesis included right after them they eat the whole argument. If there ...
1
vote
2answers
47 views

How to index each tcolorbox box by a number/total fraction?

To create a course summary, I created a tcolorbox that I call for each new page. There is therefore only 1 box per summary page. This summary is indexed by 1/2 (first page on a total of 2) 2/2 (...
1
vote
1answer
29 views

Is there a way to insert paragraph breaks inside of \texttt block?

The following source code compiles just fine: \documentclass{minimal} \begin{document} \texttt{ Lorem ipsum dolor sit amet Lorem Lorem } \end{document} However, the following ...
2
votes
1answer
39 views

What is the difference between settings.render=10 and settings.render=15 in the following examples?

Both examples in ASY_3D.pdf \documentclass[border=5pt,varwidth]{standalone} \usepackage{asymptote} \begin{document} \begin{asy} settings.outformat="png"; // settings.render=10; //<<<---- ...
1
vote
1answer
24 views

TeXworks script for inserting inline math mode

I've been trying to set up a TeXworks script that would add the in-line math mode symbol '$' around a selection. E.g., if one selected '\omega' and executed the script, the result would be '$\omega$'. ...
1
vote
1answer
35 views

how to make citation abbreviations clickable in LaTex?

I know that citations in articles can be linked to references automatically via package hyperref. However, consider the case where I abbreviate a reference such as "Blah and Blah (2010)" as BB10 for ...
0
votes
0answers
21 views

Making pdf file from latex anonymous

I am trying to submit a paper to arxiv but I am giving up after trying to figure out the errors produced when my tex file is compiled by arxiv. My file compiles well with texmaker on my ubuntu machine....
8
votes
1answer
131 views

What is the difference between \text, \textt and \texttt?

LaTeX has a number of different commands which begin as \text and then end in a differing number of letter ts. What do each of the following commands do? \text \textt \texttt
1
vote
1answer
30 views

TikZ PGF: How to develop cell values for 3D graph?

Currently there are some awesome pgfplots around here. I think about something like this one: Minimum Working Example (MWE): \documentclass[border=5mm]{standalone} \usepackage{pgfplots, filecontents}...
0
votes
1answer
18 views

Typesetting pmatrix inside a tabular [duplicate]

Can I somehow make a pmatrix play nicely with a tabular environment? I tried using \def\arraystretch{1.5} but it made everything bigger. Here's a minimal example that shows my problem. I'm using ...
2
votes
1answer
36 views

I found this diagram - How do I make it in LaTeX?

I found the following diagram in a book allegedly written entirely in LaTeX. As a TeX amateur I was wondering if any of you knew how I could make this.
6
votes
4answers
94 views

Loop over an optional argument

I'd like to use the command \foo with an optional argument to step and print the counter value iterated according to the number passed. So, for example, \foo[5] should step the counter 5 times, one ...
1
vote
1answer
30 views

Use value from xparse key-value store in regular expressions

This is an extension of a previous question (link). I would like to include the following xparse key-value store holding a name value into the document below: % Key-value store \ExplSyntaxOn \...
3
votes
2answers
158 views

For the life of me I can't find the runaway argument here — but then I'm very new to all this

\documentclass[11pt, oneside]{article} \usepackage{geometry} \geometry{a4paper} \usepackage{graphicx} \usepackage{amssymb} \usepackage{arydshln} \usepackage[table]{xcolor} \usepackage{pifont} \begin{...
1
vote
2answers
72 views

Can I already install TeX Live 2019 using install-tl?

I'm using Debian testing and it has packages (containing e.g. the latex executable) from TeX Live 2019. Can I already use install-tl with some -repository ... flag to install the same packages to ...
0
votes
2answers
37 views

Avoiding an augmented space

I'm struggling to do something on LaTeX and I dont know if it is possible to do : If I write an expression like \displaystyle \frac{a}{n} in a sentence, that goes to a new line. The space between ...
2
votes
2answers
38 views

Explicit artihmetic functions as alternative to calc

Is there a way to perform compile time arithmetic with explicit functions that respect dimensions? Here is a strawman example of arithmetic functions: \mul{4}{7} % expands to 28 \mul{4}{...
1
vote
1answer
21 views

Wrapfigure displayed at wrong place after some page breaks

I have troubles with displaying right-aligned portraits wrapped by text. These images shall be displayed at the begin of (some) subsections. Displaying itself was also full of bugs, but in older ...
1
vote
1answer
29 views

Is there a flat (projected) version of \addplot3[surf]?

This relates to problem 5.7 from "Riley, Hobson and Bence - Mathematical Methods for Physics and Engineering". I would like to have a 2D projected (looking down from z) version of the surface shown, ...
1
vote
1answer
63 views

Looking for 'a'-like symbol

A math book I'm studying uses a symbol and I'd like to be able to reproduce it. I used detexify to search for it, but was unsuccessful. Most likely it is the letter 'a' in some font I'm not familiar ...
0
votes
1answer
38 views

Why does `\left|` insert unecessary vertical space below its argument?

When using \left| and \right| to typeset absolute value, I get unnecessary space as follows \documentclass[11pt, a4paper]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb, amsfonts} \usepackage{...
2
votes
1answer
16 views

obeyspaces option for url package leads to option clash with Beamer

I'm having some problems using the path command from the url package with my beamer slides. Providing the MWE below to pdflatex on 64-bit Ubuntu 18.10 produces the error: ! LaTeX Error: Option clash ...

15 30 50 per page