All Questions

0
votes
0answers
4 views

spacing when using subfloat

Consider this example: \documentclass{report} \usepackage{subfig} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \begin{figure}[htp] \centering \def\twidth{0.45} \subfloat[{\lipsum[...
0
votes
0answers
9 views

Where is a missing point of “$”?

My Code: \documentclass{article} \usepackage[a0paper]{geometry} \usepackage{amsmath} \usepackage{siunitx} \usepackage{diagbox,array} \newlength{\setsize} \begin{document} \settowidth{\setsize}{$\...
3
votes
0answers
7 views

Fill background of a plot depending on different/third column

I have a time series with values for x0 and x1. Depending on their distance, the system is in a specific state and that should be marked with a background over the full axis area. The calculation for ...
0
votes
0answers
6 views

lipsum as a caption for subfloat

Consider this script: \documentclass{report} \usepackage{subfig} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \begin{figure}[htp] \subfloat[\lipsum[1]]{ \includegraphics{example-...
0
votes
0answers
4 views

How well does Flashmode work with MacTeX-2018?

I was considering trying Flashmode, an instant-preview add-on for TeXshop: https://tekonomist.wordpress.com/2011/02/03/latex-and-instant-preview/ See also one of the answers here: Is there any way ...
0
votes
0answers
5 views

Specific feynman diagram

I am very new to Tex and wanted to draw these diagaram using Tikz-Feynman or some package. Forget about the labels on the diagrams, I can adjust them my self.
0
votes
0answers
3 views

Modify ToC page number position for two-line content entries

I'm putting together a book (using the book class) where each chapter is written by a different author. So each chapter will have two lines of text, and so will each entry on the ToC. By default, ...
0
votes
1answer
29 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
20 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
10 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
1answer
15 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, ...
2
votes
1answer
14 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
23 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
20 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
14 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
34 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
10 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 ...
1
vote
0answers
14 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
10 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
38 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 ...
2
votes
2answers
26 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
21 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
90 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
49 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
34 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
35 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[...
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
48 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
30 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
40 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
25 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
135 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
95 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
75 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 ...

15 30 50 per page