1
vote
0answers
7 views

LyX cannot compile correctly my title page

I am trying to make the title page for my master thesis. I found on the internet a template, in which the cover page is given by the following code \begin{titlepage} \begin{center} \textsc{\LARGE ...
0
votes
0answers
15 views

Document class problem?

My text in thesis is as below: %\documentclass[croppedpdf,pagebackref,showinstructions,showtodo]{adsphd} ...
1
vote
0answers
8 views

File ended while scanning use of \@topnewpage

I get this error while trying to compile the following code. I've already tried to delete .aux files. What else could it be the issue? \documentclass[conference,harvard,brazil,english]{sbatex} ...
0
votes
0answers
41 views

pgfgantt - adjust vgrid with \gantttitlecalendar

I am using \gantttitlecalendar to generate my title block that consists of months and weeks. The default behaviour of vgrid is to take each unit as a day, or if compress calendar is true, each unit ...
0
votes
0answers
5 views

Wrap page number in colored box in footer

I a looking for a way to achieve the following outcome for the page numnbers in my footer created using fancyhdr: My current code in a stand-alone example looks like this: ...
1
vote
0answers
8 views

Where can I get datetime2.sty or what is CTAN?

I am trying to build a huge latex project on my system - I downloaded everything, and did not touch anything. XeLaTeX tells me that datetime2.sty is missing, and I guess I just have to download it, ...
0
votes
0answers
18 views

Listings not showing in \lstlistoflistings

My document looks like this when at the listings page (i dont get any errors, its just empty): My document is like this: \documentclass[a4paper,12pt]{book} \usepackage{apacite} \usepackage{natbib} ...
0
votes
0answers
7 views

Is it possible to remove an empty white page due to inserting a too large picture?

From searching here, I have understood than when inserting a picture too large for the available space, even on an empty page, the picture will be put on the next page. However, leaving a page empty ...
2
votes
2answers
14 views

Caption away from the figure

I have made a block diagram using the \framebox command. A large white space exists between the caption and bottom of the figure. How can I reduce it? Code: \begin{figure*}[!t] ...
3
votes
2answers
28 views

Arrange long multiple equations with texts between them

I have aligned the equations in the following way but using multiple \qquad. I don't think it is a good practice to do so. Moreover the equations should fit within the width of the document. What I ...
1
vote
0answers
15 views

Symbol to the right of equation

I want the contradiction symbol to the right of the equation without moving the equations to the left. I've written \begin{align*} u(2-t, 1, 3-t) & > (2,1,3) \\ 1 ...
3
votes
1answer
11 views

Table with tikz image: vertical alignment

I'm trying to create simple table with tikz pictures and its descriptions on the left side. Unfortunately I cannot vertically center those descriptions in their cells: ...
0
votes
0answers
7 views

PDF page labels

Is it possible to set page labels in pdfs “correctly”? Pages in my latex documents are numbered 1-x. I'd like the page labels to correspond to the actual page numbers (as mentioned here: ...
0
votes
0answers
7 views

Using key value in enumerate to an other key value

I continue this first post. I want to use a key value in a list in the definition of an other. Here I use a better definition of \Pointilles which allows a second parameter : the vertical space ...
5
votes
2answers
38 views

Scaling \ddots in smallmatrix

I'm trying visualize a very large matrix. To do so, I'm trying to use \vdots and \ddots in a bsmallmatrix enviroment. It works but they do not scale properly as \cdots do. Now, in the minimal ...
0
votes
0answers
7 views

′ symbol is not showing inside a bibliography

How do one fix "′" symbol not showing inside a biblatex bibliography? for example title={Metal extraction by N,N′-dialkyl-N, N′-diaryl-dipicolinamides from nitric acid solutions}, is shown like ...
1
vote
1answer
23 views

Render content normally, then wrap into box of given size, letting text stick out to the right

With komascript and geometry I made a page layout such that I can render a logo at the top right of every page simply with \ohead{\hfill\usebox{\rtlogo}} except that this pushes the logo only out ...
4
votes
2answers
181 views

PDF bookmarks for thmtools' theorems

I would like to add PDF bookmarks for some classes of theorems declared using thmtools and I couldn't find a beautiful way to do it so far. The best idea I have been able to come up with was to add ...
2
votes
1answer
81 views

Standard for typesetting mathematical objects other than variables

Is there a standard in mathematics for typesetting the textual (not symbolic) identifiers of mathematical objects other than variables? Textual identifiers of mathematical objects other than ...
1
vote
1answer
26 views

fancyhdr and chapter*

I'm using fancydr like this: \usepackage{titlesec} % Normal chapter titles \titleformat{\chapter}{\normalfont\LARGE\bfseries}{\thechapter.}{1em}{} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
2
votes
1answer
25 views

Enumitem \SetEnumitemKey and conflict between multiple key before and after

I try to make life easier by setting key to list with the package enumitem. But, the options before and after seem to be in conflict when used more than once. Here is some code that show four ...
12
votes
2answers
331 views

Grabbing data from website and use it in LaTeX document

This is a follow-up question to "Line breaking and alignment in list". \documentclass[ a4paper, 12pt ]{article} \usepackage[ hmargin=2.4cm, vmargin=3cm ]{geometry} \usepackage{amssymb} ...
5
votes
1answer
52 views

Bibliography at beginning of document

The usual practice is that the bibliography is in the last pages of a book. However, I found a book in which the bibliography is in the first pages, as shown in the following figure: Are there some ...
1
vote
1answer
49 views

list all 3 to 5 author names in the first in-text citation using apacite

I use \usepackage{apacite} in the preamble (sublime 2 editor) and \bibliographystyle{apacite}. I did not have to manually install the apacite package. For in-text citations of 3 to 5 authors, I need ...
3
votes
1answer
44 views

Not the same scale for the fading and for the actual TikZ picture

In a TikZ picture, I want a white shaded rectangle to overlap perfectly a black rectangle. Here is a MWE of what I have done so far. (In the MWE, the shading is much more simple than the one I want to ...
0
votes
0answers
14 views

How to merge multiple compound adjectives with common right part [on hold]

What is the correct way to write two compound adjectives with common right part? For example, I have two adjectives: "time-optimal" and "energy-optimal". (I use hyphens by the way, but still I am not ...
0
votes
1answer
48 views

unbold title and no line break for a subsection

How can we unbold the title of a subsection and suppress the line break, like it was done in the following image? The answers in the duplicate deal with how to do that for all the subsection. I want ...
47
votes
4answers
52k views

Adding space between columns in a table

I notice that the space between each column of a table in LaTeX is not quite wide (at least for me). Is there any way to set this? I found the \hspace, but I don't get how to use this in the table. ...
3
votes
2answers
96 views

How to create this coordinate system?

I'm currently working on a term paper / lecture notes for my electrical engineering professor and wanted to include the following coordinate system / graph / figure in my paper. (The image should be ...
1
vote
0answers
26 views

TexStudio - internal embedded pdf viewer shows different figure than external pdf viewer of the output pdf

I use TexStudio (2.9.4) on a Mac OSX (10.10.3) with TexLive. The problem here is that when I insert figures, that are saved as pdf files, and compile with PDFLaTex, the output figures deviate from the ...
3
votes
0answers
18 views

Supply rails in circuitikz

I am trying to draw the circuit below, however I am having difficulty in drawing the connections to the supply rails. I've abused the sground node since it is the same as the typical symbol for power ...
2
votes
1answer
13 views

Formatting a thesis summary chapter

I'm trying to format my thesis summary title, but the result is not very appealing. here's the code: \chapter*{\parbox{\linewidth}{\centering A very long thesis title about some very important stuff ...
0
votes
0answers
20 views

Error in reading csv file

I want to read this from .csv file but getting error Items, FactorLoadings Social Needs (Cronbach's a = 0.695) Smartphone allows me to stay connected with those I care about,0.758 I use ...
5
votes
4answers
5k views

Alternatives to asterisk and star for superscripts

While writing a paper, I find myself exhausted with superscript symbols to denote similar types of variables. I have used x, x^\ast (i.e. x*), x^\star and x'. I can't use symbols which sit right on ...
4
votes
1answer
20 views

Nested `mdframed` environments and footnotes

Suppose that you have two mdframed environments, one nested inside the other, and a footnote in the first mdframed environment but not in the second. See the MWE example below. ...
0
votes
1answer
13 views

Dashed edges from parent to normal edge in child in trees

I am creating a tree in which the edges from a child to its children are dashed. I got this using child[dashed]. Now all the edges of these children are dashed. I want to override this. So unable to ...
0
votes
0answers
19 views

Problem with title page when justified in Tufte-Book

I am using Tufte Book template and defined a new paper size (10x7 inches) in .def file. Its working fine. When I use justified option in preamble ...
1
vote
2answers
50 views

Color text in a table

Is there a way to color text in an entire table without using environment tabu? For example, change the color of text in every cell to red.
0
votes
0answers
15 views

How to write multiple lines of text in a box created using \framebox in LaTex [duplicate]

I want to draw block diagram of a system. I used \framebox command to create blocks. But when I write long text inside the box it comes out of the boundaries of block. How can I write text in multiple ...
2
votes
1answer
37 views

Declaring array of integers

Is it possible to declare in TeX array of integer numbers ? What I am trying to do is to declare new tabular environment for very long tables spanning accross multiple columns and (or) pages. My ...
0
votes
1answer
59 views

Redefining footnote reference

Need to add a reference to the following customized footnote definition: \documentclass[a4paper,10pt]{article} \usepackage{hyperref} \hypersetup{ colorlinks=true, citecolor={black}, ...
4
votes
1answer
38 views

Program package confliction

I want to write pseudo-codes in my survey using program package. Since I'm writing in other languages rather than English, I have to alter the names of those environments, like theorem and proof, etc ...
3
votes
2answers
67 views

Dotted and bent xy matrix arrow has non-dotted turns

I have this diagram I'm doing with xypic, and I want to make bent arrows going from the top to the bottom of the diagram. So I re-learn the syntax for bending around entries. THen I decide I want ...
1
vote
1answer
913 views

Direct link to MiKTeX 2.9.5505

Where can I directly download the latest version 2.9.5505 of MiKTeX? The main page does not have the latest version but you can upgrade it.
1
vote
1answer
17 views

Page not in correct size or format

Total newbie here: please bear with me. I’m running TeXShop on a Mac, trying to render a single-page musical score that uses the “bagpipe” macro-package. The file starts with %&bagpipe \input ...
1
vote
1answer
71 views

Creating Bold Column Headers using xtable (knitr)

what is the easiest way to bold all column headers using the output of calling xtable, ideally under the print.xtable command. I am using knitr.
1
vote
1answer
42 views
+50

Beamer: Show all previous \tableofcontents items and gray out future items. Also: Remove subsections from ToC and then fix distances between items

I want to present a ToC in Beamer which shows the previous items and grays out future items. I cannot quite get it to work however. Here is a MWA: \documentclass{beamer} \usetheme{Luebeck} ...
66
votes
4answers
3k views

When and why should I use % !TEX TS-program and % !TEX encoding?

Occasionally, I see other people's documents starting with two lines like that: % !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode It's clear to me that the first line declares the engine ...
0
votes
0answers
23 views

latexmk compiling the wrong file in texworks

I added the tool latexmk with the argument -pdf as shown in the screenshot below. However, when it compiles, it is building the wrong file. I assume there should be a parameter in here to pass in the ...
3
votes
3answers
144 views

Stop indenting the second line in list

I want to be able to stop indenting the second line in the list and still keep the indentation of the first line. Is it possible? \documentclass[multi={minipage}, border=5]{standalone} ...

15 30 50 per page