All Questions

1
vote
1answer
6 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 ...
0
votes
0answers
10 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. ...
2
votes
2answers
77 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?
0
votes
0answers
10 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, ...
4
votes
2answers
1k views

pdflatex file missing after upgrade

My documents won't compile after upgrading to El Capitan on MacTex, and I saw that this usually means that the upgrade changed the path to pdflatex. However, it looks like the file is no longer on my ...
4
votes
1answer
20 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 ...
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 ...
10
votes
2answers
172 views

tabularx inside tcolorbox not centered properly

I am trying to put a tabularx inside a tcolorbox but it's not centered properly, it's shifted slightly to the right. Here is the code I am using. I am using figure environment for the caption. Is ...
5
votes
2answers
143 views

Inaccurate Calculations By pgfplots

In graphing a certain function using pgfplots (link here) I noticed a distortion in the curve that at first I assumed must have been a point of inflexion - but on investigating the maths, found that ...
2
votes
2answers
161 views

Hyperlinks, theorems, enumerate, and autoref

Hyperlinks to theorem-like environments that begin with a nested itemize or enumerate are often broken (see for example http://tex.stackexchange.com/a/187647). Here is a MWE: \documentclass{amsart} \...
4
votes
1answer
14 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
10 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 #+...
0
votes
0answers
58 views
+100

Properly installing circuit_macros on a Windows PC

I am using WINDOWS 8.1, am a REAL BEGINNER with circuit_macros, a tool for creating circuit diagrams using M4 macros written by Dwight Aplevich. I realized that the support for Windows is very ...
1
vote
2answers
45 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
486 views

How to group several charts into one chart?

I have several charts that I want to represent via Bar Charts. Initially I thought about grouping charts together (as shown in pic A) but since I will have several different charts and to save space I ...
1
vote
1answer
33 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[...
2
votes
1answer
33 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{...
0
votes
0answers
14 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 ...
15
votes
5answers
1k views

Is there a program for managing glossary tags?

This question led to a new application: bib2gls I use the "glossaries" package a lot, and it is super helpful in complex writing for sorting lots of things out. However, as my "glossary.tex" file ...
0
votes
2answers
33 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
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
9 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
17 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
8 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 ...
1
vote
1answer
23 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$'. ...
4
votes
1answer
360 views

TikZ path with rounded corners and decorations.markings not working as expected (pos=0.0 at wrong location)

I want to put small round markings at fixed distances on a six-pointed star. There are two problems though: pos=0.0 is not at the expected location, but slightly shifted possibly due to the rounded ...
1
vote
2answers
19 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} \...
4
votes
1answer
43 views

Longtable and tikz

I used a preamble for many months where tikz and longtable lived together without problems. From a few days, I think after last update, I have the problem that I have reproduced with the MWE I send. ...
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? ...
2
votes
2answers
39 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}...
1
vote
1answer
24 views

Title overlapping page when using pdfpages

I'm trying to include a printed Google forms form as a part of an appendix using the following commands: \documentclass{report} \usepackage{pdfpages} \begin{document} \chapter{Chapter 1} Some text ...
1
vote
1answer
19 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 ...
6
votes
1answer
42 views

Reverse direction of writing automatically with RTL script

A new interesting feature with latest release of babel a lua algorithm which detect the beginning and the end of Arabic sentences and revers direction of writing without adding explicit markup (\...
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 ...
0
votes
1answer
21 views

Defining adaptive width of columns in a table

Is there a neat way to define all column widths in a table as the same value and adapted to the page size? For example I would like the following 32 columns to have all equal width of 1/32 of the ...
1
vote
1answer
12 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 ...
3
votes
3answers
83 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 ...
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
0
votes
1answer
32 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
45 views

Cubes drawing code modification

The following code from this example (by Jang Soo Kim) has 2 faults, I could not figure out how to overcome them. Firsty, the value 0 equals to value 2; i.e. value 0 draws 2 cubes. Secondly, it does ...
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.
2
votes
1answer
16 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 ...
1
vote
1answer
28 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, ...
0
votes
1answer
51 views

pdf_tex not found

I am writing my PhD in Polish. I use pdf_tex files for inserting images. This is the file which is working fine \documentclass[oneside, 12pt]{book} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, ...
1
vote
1answer
19 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 ...
31
votes
3answers
128k views

Increment the section number with 1, not 0.1 [duplicate]

Possible Duplicate: Section numbering I'm happy with the logical layout of my document, but the section numbering is bugging me. I'd like the first section (the introduction) to be 1, not 1.1. ...
8
votes
1answer
129 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
17
votes
3answers
7k views

How do you put multiple paragraphs in a caption?

I have a really long caption for a figure in a LaTeX document. I would like to break the caption into a few paragraphs. How do I do that? As per the request below, I removed everything I could ...
0
votes
0answers
22 views

Hyperref in LoF do badbox (overfull \hbox)

I write theses and when I compile the file, I get "Overfull \hbox (1.74275pt too wide) in paragraph at lines 21--21". I think it is the problem with hypperref as you can see in the picture bellow. (...

15 30 50 per page