2
votes
2answers
181 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
32 views

typesetting chains of maps

Can anyone help me of how to construct this chain in Latex?
1
vote
1answer
19 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. ...
2
votes
1answer
65 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 ...
3
votes
1answer
77 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. ...
2
votes
1answer
46 views

Build special table header (multicolumn, rotated) automatically

I have to build lots of tables similar to my MWEm only more complex and with many more columns. Manually adjusting the cmidlines and column width etc. is very annoying. What can I do to automatically ...
4
votes
3answers
37 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
1answer
22 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
29 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 ...
8
votes
0answers
73 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
2answers
48 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
62 views

Matrix equation

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

Weird citation error for a specific entry [duplicate]

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
16 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
21 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
45 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
30 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
27 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
215 views

MikTeX not installing packages [on hold]

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, ...
12
votes
1answer
56 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 ...
5
votes
2answers
56 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
22 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
21 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 ...
6
votes
2answers
85 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
33 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
12 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
36 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
36 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
56 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
24 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 ...
5
votes
4answers
103 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
108 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
43 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 ...
2
votes
1answer
50 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
218 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
62 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 ...
6
votes
2answers
73 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 ...
2
votes
1answer
36 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 ...
4
votes
1answer
92 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
73 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
39 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
116 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
13 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.
8
votes
5answers
295 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 ...
1
vote
1answer
35 views

How to place a photo on this resume template

I would like to use this template(xelatex) for resume, in particular, I want to add a photo in the title block, just in the right of the name, could anyone help?
1
vote
0answers
42 views

How to format the online source citations and the author biography in ieeetran inside “thebibliography” tag? [on hold]

What should I write inside \begin{thebibliography}{} \end{thebibliography} For online reference and conference reference [include all]. Reference number is also ...
3
votes
1answer
72 views

How to convert pdflatex to word [duplicate]

I have a tex document with math formula, figure, tikz drawings. What is the best way to convert tex to doc format. I tried with latex2rtf, pandoc, ... but nothing works. Can someone write step ...
2
votes
1answer
43 views

Exporting Bibliography from LaTex to MS Word

I have a document in LaTex but the template of the journal is in word. I have copied most of the text into word template. Now I am facing problem in Bibliography. Is there a way to export bibliography ...
3
votes
1answer
18 views

algorithm and controlling comment lines (shifting right or left)

I need to shift a comment to the right. Basically, in the below picture The comment is distracting the pseudocode, therefore, I'm hoping to get the below picture How to shift the comment to ...
2
votes
0answers
19 views

getting error “could not start command pdflatex -synctex=1 -interaction=nonstopmode %.tex”

I use a texmakerwin_32 \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} sharath ...

15 30 50 per page