0
votes
0answers
13 views

Can anyone help me to draw the following shape?

please help me to draw this shape with pgfplots.
0
votes
0answers
4 views

getting error message using movie15 package

I am trying to embed a \GIF image in my miktex.But it is showing the message that movie15.sty not found.What causing this problem?
0
votes
0answers
6 views

Error in Updating FNDB after last update

After updating packages this morning nothing works anymore (I am working under Windows 8). Particularly, compiling files with TeXWorks returns the message: running 'initexmf --quiet --update-fndb' to ...
1
vote
1answer
26 views

How to do search-and-replace in a macro?

Is it possible to let (La)TeX search and replace text in a macro during compile time? For example, given \newcommand{\sometext}{a b c d e f g} I'd like to have something like ...
1
vote
1answer
13 views

Making a horizontal & vertical continuous list

I'm looking to make assignments and tests in latex article class. I want to be able to do the following very easily: Couple things: I would like the text in a) or c) to wrap around the imaginary ...
0
votes
1answer
16 views

how to cite the report in the text in APA format?

how to cite the report in the text in APA format? http://www.irena.org/DocumentDownloads/Publications/IRENA_RE_Power_Costs_2014_report.pdf For example, In research you write (Ahmed, 2014) in the end ...
2
votes
2answers
61 views

Writing the entire document as a command

When writing a document, I like to use the following format. %Settings for document %Packages I need \newcommand{\insertdocument}{ %Everything that would ordinarily be put between \begin{document} ...
2
votes
1answer
18 views

typesetting chains of maps

Can anyone help me of how to construct this chain in Latex?
1
vote
1answer
12 views

Width of table captions when using threeparttable in memoir

In the MWE below, I would like the table caption to be left aligned, and have a maximum width as the width of the table. ...
1
vote
0answers
21 views

Beamer and Serif fonts

How does one specify a particular letter to be serif in the beamer class? I want to keep the notation as similar in the presentation as the article as I can, and most of it turns out well, except for ...
2
votes
1answer
39 views

Does LaTeX have some incrementation system to use with description lists?

Sometimes I'm writing exercises on LaTeX. Suppose I do the following list: Exercise 1. Exercise 2. Exercise 3. But then I find that the first exercise is not relevant anymore and want to erase it. ...
0
votes
0answers
15 views

Build table mutlirow header (multicolumn,rotated)

I have to build lots of tables similiar to my MWE. Just more complex and with much more columns. Manually adjusting the cmidlines and column width etc. is very annoying. What can I do to ...
4
votes
3answers
24 views

enumitem: description with unbold item - math mode (hepthesis)

I would like to have a normal font symbol (in math mode) as description item in the hepthesis document class. Example: \documentclass{hepthesis} \usepackage{amsmath} \usepackage{enumitem} ...
4
votes
0answers
7 views

Extra space(s) between last text and period in apsrev4-1.bst citations

The apsrev4-1.bst bibliography style (for cases with two links (journal and arxiv)) puts extra spaces between the end of the last text and the period. Only happens when the last text is part of an ...
2
votes
0answers
23 views

Can I take a photograph and change it's background in mdframed, includegraphics setting?

Is there a way to change the background colour of a photograph within the \begin{mdframed}, \begin{figure} and \includegraphics{filename}. My mdframed environment is coloured, but my photograph has a ...
6
votes
0answers
30 views

Question about exercise 23.3 in TeXbook

This is exercise 23.3: Explain how to change the output routine of plain TeX so that it will produce twice as many pages. The material that would ordinarily go on pages 1, 2, 3, etc., should go ...
2
votes
1answer
28 views

tex file compilable on windows but not on OSX

first time Mac user. All my tex files (dissertation, CV, etc) compile fine on windows: texStudio + miktex. But the same files give errors on OSX: texStudio + macTex There are numerous error messages, ...
2
votes
2answers
51 views

Matrix equation

I'm a new user in texmaker. How can I produce this equation? Thank you for your help
3
votes
0answers
16 views

Weird citation error for a specific entry

I am pretty new to Latex but I thought it would be better to write my bachelors thesis in latex than in word... its pretty easy to look up the main parts for latex but I'm at my wit's end: A specific ...
3
votes
1answer
13 views

Two figure side-by-side in a single column of tikzposter?

How to put two figures (different sizes) side by side in a single block in tikzposter? Is there a neat way of using? \begin{tikzfigure}[Caption of figure] \includegraphics[width = \linewidth]{image} ...
3
votes
1answer
18 views

How can I include the address in the letter text?

I want to include the address, as defined in \address{My address here} at a certain point in the text of the letter. I am using dinbrief 1.73.
5
votes
1answer
32 views

Split line in `legend` with `pgfplots`

In the following plot, how can I split the red line of the caption into a red line and a blue dashed line (so that the total length of the red-blue segment is that of the green one)? MWE: ...
2
votes
1answer
22 views

\everypar in section (or chapter) command not working

This is a follow up question of Automatic Paragraph Numbers (\everypar only for paragraphs and not for \section and so on). I want to change \everypar in every section (or chapter). As soon as ...
2
votes
1answer
20 views

left and right aligned section title on one line

I am trying to have a simple bilingual title for a section. The English text should align to the left and the Arabic text should align to the right, both on the same line. The following line of ...
3
votes
0answers
121 views

MikTeX not installing packages

I am using WinEdt and I wanted to install the package esint. When I compile my document to generate my pdf, it asks me if I want to install the package from online. However, nothing ever happens, ...
6
votes
1answer
39 views

What is the relationship between natbib, apacite package, and apa document class?

This is the first time I have to submit to a journal and need to reformat my bibliography according to APA guidelines. This leaves me very confused since there seem to be multiple ways to do the same ...
4
votes
2answers
35 views

How do I use equation in this scenario without running into “Missing number, treated as zero”

I'm pretty new to Latex and I am working with a bunch of formulae. I'd like to give each of them different numbering and this is what I've got: \begin{align} \begin{split} &|\Theta_P| = {|P| ...
4
votes
1answer
16 views

Fancy Header Chapter Thumb - Change boxed text to display Subsections in two lines

In the code given below, I wanted to change the text that appears in the Chapter Thumb to display the current Subsections Titles. Currently, the chapter thumb shows the chapter name. ...
2
votes
0answers
17 views

Can't Make pdf of Math Help Document in Lyx 2.14

Using Lyx 2.14 on Windows 7. When I try to create a pdf of the built-in Math help document I get the following error: LaTex Error: Command \@textsubscript already defined. I have had no problems ...
5
votes
1answer
48 views

Align images with text without using tables

Problem: I have searched how you can align text without the use of tables using LaTex. What I am after is to align images after each other on one side and text to align to respective image on the ...
1
vote
1answer
19 views

Captioning my tikzpicture using figure environment causes issues

If I remove the figure environment this code works perfectly fine. Unfortunately, I am not able to put a caption on this figure. \begin{center} \begin{figure} \begin{tikzpicture} ...
2
votes
0answers
11 views

1) suppress pagebreak between index entry and subentry 2) first and lasst entry in page header

I am using makeid on documentclass book. The resulting index is fine, but page breaks occur between a main entry and subentries. A subentry may occur as an orphan at the top of page/column, and a main ...
5
votes
2answers
21 views

Style \listofalgorithms from algorithm package

I have some weird requirements for thesis formatting at my university. I was able to manage to mimic almost all of them, but List of Algorithms from algorithm package is something I cannot go through ...
3
votes
1answer
29 views

Scatterplot from table with markers set by meta column value

My input data is a txt file with a number of columns and rows. The last column value is always an integer taking a value of 0, 1, 2, or 3. I need a scatterplot which has a different marker depending ...
2
votes
0answers
47 views

TeXstudio and TikZ

Can someone please run me through the steps to install the TikZ package on TeXstudio? I have been struggling for hours but just can’t seem to get it installed so that I can use it. Thank you in ...
2
votes
0answers
23 views

Bibliography with multibib problem

For my thesis I'm working with the polyglossia package and now I need to include my bibliography. I'd like to work with multibib, to seperate primary and secondary sources but I can't seem to make it ...
4
votes
3answers
88 views

Tabbing from the beginning of a line

I want to tab a list of items like in Microsoft Word, where the tab command always tabs by a fixed number of spaces from the beginning of the line. Here's a sample of what I'm looking for: Kav ...
3
votes
1answer
86 views

Why don't book, report and article provide the same commands?

The popular question Regarding the `book`, `report`, and `article` document classes: what are the main differences? collects many differences between the book, report and article classes. In ...
2
votes
0answers
38 views

Inserting SVG images in Latex

I need to include some SVG graphics in my latex file. The SVG files have been created with a Python program, they don't come from Inkscape (I know that there are a lot of questions answered about the ...
1
vote
0answers
27 views

pdfTeX: set Minion Pro font only for specific document parts

I configured Minion Pro to correctly work with LaTeX through FontPro. I'd like to use it only for bold, bold italic, and section names, while being able to use any other font for text and math. Is ...
8
votes
2answers
187 views

Creating a symbol that combines a number with a triangle for math-mode

I'm trying to create a new symbol that simply combines a number with a triangle, by placing the number inside the triangle. It should work in math-mode (text mode would be nice, but not required). ...
2
votes
1answer
38 views

How to create classification taxonomies for Literature Review using Latex?

I have to make a literature review taxonomy for my final thesis, highlighting the salient features of each paper referred, its categories etc. I want to represent this diagrammatically using a ...
5
votes
2answers
37 views

Rotate label on secondary axis

So, I want to have a plot with two y-axes - done. However, since the labels consist of only one symbol, I want them written horizontally. That is usually accomplished by rotate=-90. This works, but ...
1
vote
0answers
13 views

Custom Table Coding for Table Cells

Below is my code Normal Table: \documentclass{article} \begin{document} \begin{table} \caption{Sample Table.\label{tab:active_distance}} \begin{center} \begin{tabular}{lcccc} \hline H1 & H2 ...
3
votes
1answer
84 views

Automatic Paragraph Numbers (\everypar only for paragraphs and not for \section and so on)

I want to write a specification and each paragraph should automatically be numbered. I found something similar in a book about fitness training: I prepared a small MWE (two-sided layout): ...
3
votes
1answer
52 views

LaTeX template for document to be submitted to SAP

I am having a hard time formatting my paper for the following journal submission. They don't supply any tex templates. Can anyone assist me in formatting the first page at least? This is the ...
3
votes
0answers
25 views

Understanding \cventry from moderncv

I'm using modercv class with casual style. At the end there is the preview of 1st page. Note the Education section. It contains date and description and it is produced with the command ...
3
votes
2answers
104 views

Flowchart + Tikz

Would like to include PRISMA flowchart in my study and I might need help on setting up my tikzpicture commands. Any help is much appreciated. Thanks
0
votes
0answers
12 views

using the package pb-diagram in MathJax [on hold]

How do I implement the package pb-diagram within MathJax? \require{pb-diagram} inside the equation environment does not work. Thank you.
6
votes
5answers
222 views

What's the best practice way to test whether parameter is empty?

I have a macro that might work either in LaTeX or in plain TeX and I'd like to test whether one of its parameters, which presumably should be just text, is empty. Currently I do it this way: \bgroup ...

15 30 50 per page