1
vote
0answers
12 views

How to match vertical alignment of titlesec with tocloft?

I want to vertically align the Contents title including the horizontal rules (using tocloft) with the Introduction chapter title (using titlesec). However, I am confused as both packages seem to ...
3
votes
1answer
9 views

Loading a package as an option in a personal style file?

I'm sure this has been answered many times before, but all my reading has just got me more confused. Anyway, I'm trying to create a little style file containing all my personal definitions and ...
1
vote
1answer
16 views

Problems with language?

I don't know why this code doesn't work: \documentclass[11pt]{article} \usepackage{fullpage} \usepackage{amsfonts} \usepackage[utf8]{inputenc} \usepackage{amsthm} \newtheorem{theorem}{Teorema} ...
3
votes
2answers
32 views

tikz plot of two sine waves, showing the phase difference

What I am trying to achieve here is to plot two sine waves, and with some dotted lines on the peaks showing a \Delta t in the middle, as the phase difference. Any help appreciated.
1
vote
1answer
15 views

How to use \theorem?

I don't know why this doesn't work: I'm a beginner in LaTeX and I'm trying a lot to understand this. The code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} ...
0
votes
0answers
21 views

ToC content spacing and related formatting

I'm working in memoir class and creating ToC with both short and (sometimes very) long chapter title. I need to: Adjust horizontal spacing between part\chapter number and the title so they won't be ...
1
vote
0answers
9 views

How do I keep one figure in its place and move the rest to the end?

I am working on my thesis with many chapters. In one of it, I use a lot of figure and table. I have been able to use endfloat to send all of the figure and table. However, other chapter has only one ...
0
votes
0answers
15 views

Unable to cite in text APA style reference

I am unable to cite references in APA style. Below is the code. Can somebody please show how to correctly cite references? In the output pdf I am getting The Authors in (?,?) instead of the correct ...
1
vote
2answers
23 views

Creating a multi-level list numbered like 1a), 1b)

I am trying to create a list that will look like this: Something 1a) apple 1b) pear 1c) banana Something 2a) This is the code I have now, but apparently it does not automatically change the "1" in ...
1
vote
0answers
20 views

badness for lines without glue?

I want to typeset a special paragraph which have some penalty items inside it but no glue. TeX always produces an overfull box for this paragraph. I have two questions: What is the line badness if ...
0
votes
0answers
21 views

Performance Function [on hold]

I'm working on a non-deterministic optimization model and need to define a performance function. Does anyone please know that is there any mathematical definition for performance functions? Should a ...
0
votes
0answers
19 views

Paragraph break adjustment

I've been encountering an issue regarding the spacing between paragraphs: In this particular page, as there is a new section starting right on the next page, the paragraphs are stretched in order ...
1
vote
0answers
13 views

Really lots of multiple indices with imakeidx - ind files not being created

I am writing my thesis in law and need to create about 21 different indices (lists of treaties, lists of statutes, lists of cases from different jurisdictions, etc). I am using the package imakidx ...
2
votes
0answers
18 views

[spanish]{babel} and circuitikz [duplicate]

When i use \usepackage[british]{babel} everything works fine, but when i do \usepackage[spanish]{babel} everything brakes... I reduce the code and find out that the part with scope is the problem, but ...
1
vote
0answers
14 views

Shortening text height across chapter to fill last page

We all know the problem of having a chapter that is just too large to fill the last page conveniently, leaving one or two (or three) lines at the top of the last page. Besides attempting feats of ...
5
votes
1answer
27 views

Token replacement within a group

A comment below has clarified my problem, it has nothing to do with lua. In the code snippet below: \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \cs_new_protected:Npn ...
2
votes
0answers
21 views

Avoiding widows while keeping text height even across two-page spread

In The Elements of Typographical Style, the author notes (§2.4.8) that widows—single lines occurring at the top of a page—should be avoided. Yet the text height of two facing pages should be the same, ...
0
votes
2answers
26 views

Multiple align points and multiple equations

I have 2 equations, both have to be numbered and aligned. Equations' numbers should be vertically centered. But equations are long and have to be broken into 2 or 3 lines each. It would be great to ...
3
votes
0answers
30 views

decorating with tkz-berge

In my continuing quest to draw circles and lines willy-nilly, I've made the following use of tkz-berge: \documentclass[11pt]{standalone} \usepackage{tkz-berge} \usetikzlibrary{shapes,snakes,mindmap} ...
4
votes
0answers
25 views

pgfplots: horizontal distance between two plots

I'm trying to plot the following graph using pgfplots: This plot was generated with matlab. I can easily plot the two curves with pgfplots but I have no clue how to add the vertical line with the ...
0
votes
0answers
11 views

How do I to fix “Command txs:///pdflatex not defined” error from a fresh install of linux mint?

I installed texstudio and received the following after compling my first document: "Command txs:///pdflatex not defined" I then installed texlive and received the following error after complying ...
5
votes
1answer
31 views

Beamer newtheorem translation

Consider the following MWE: \documentclass{beamer} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \uselanguage{Spanish} \languagepath{Spanish} ...
0
votes
0answers
34 views

How to fix the inconsistent paragraph spaces in this MWE using KOMA? [duplicate]

MWE code \documentclass[twoside=semi, a4paper, 11pt, open=any, chapterprefix=false, toc=graduated]{scrbook} \usepackage{blindtext} \usepackage{fontspec} \usepackage{libertine} %uncomment ...
4
votes
3answers
69 views

How to merge several tex files so that they have one table of contents/List of tables & figures

I have three chapters which I combine into a thesis using pdfpages: as shown in this link Merging several papers This gets me 95% of what I need the only thing I still need is a table of contents ...
0
votes
0answers
22 views

\ProcessKeyvaloptions{Hyp} can anyone help me with this problem?

I'm a beginner of Tex, I met a problem when trying to run the following code.. 1.3925 \ProcessKeyvaloptions{Hyp} I tried to generate a PDF file using LaTex...maybe this is the problem..the options ...
3
votes
1answer
25 views

Nodes not printed on x-axis

The following code instructs TikZ to draw the graph described by the equation y=\sqrt{x^{2}-25}/\sqrt{x-5}. (This graph looks like y=\sqrt{x+5}.) I specifically want two numbers, -5 and 5, on the ...
4
votes
1answer
57 views

How to define a private color in a (possibly LaTeX3) package?

Suppose I'd like to define, in a personal package mypackage, a private (xcolor's) color: \definecolor{my_so_beautiful_red}{rgb}{1,0,0} the name of which I'd like to not be accidentally used by ...
1
vote
0answers
29 views

Change Paper Size in Tufte Book Class

Is there a (relatively) easy way to change the paper size in the tufte-book class? The manual for Tufte 3.50 by Kevin Godby (http://kevin.godby.org/2009/12/11/tufte-latex-350-released/) says, "To ...
3
votes
1answer
13 views

Clash between amsmath, atbegshi, and texpower packages?

Consider this document: \documentclass{article} \usepackage{amsmath} \usepackage{texpower} \usepackage{picture} \usepackage{atbegshi} \setbox0\hbox{\textbf{TEXT}} \AtBeginShipout{% ...
1
vote
0answers
16 views

Include siunitx package in subdirectory

I am creating a TeX project that uses the siunitx package. I would like to be able to place the siunitx package in a subdirectory, to simplify folder structure and to allow me to easily transfer this ...
0
votes
0answers
30 views

No image in PDF using PDF_Tex

I am using .pdf_tex from InkScape to create figures in my LaTeX file, but when I compile the caption appears with no image above it. Any ideas why? \documentclass{article} \usepackage{geometry} ...
0
votes
1answer
54 views

Why my LaTeX doesn't compile?

In my preamble, you'll find: \renewcommand{\baselinestretch}{1} \renewcommand{\familydefault}{\sfdefault} \usepackage[sfmath]{kpfonts} \usepackage[mathrmOrig]{sfmath} \usepackage{amsmath} ...
0
votes
1answer
22 views

\wrapfigure makes my image to disappear

I try to add an image with text side by side. I've googled a lot and found that the most easy way is to use the package \wrapfigure. Actually, it is a mathematical school exercise with the solution ...
0
votes
1answer
28 views

Myriad Pro : Font shape `OT1/MyriadPro-OsF/m/n' undefined

I am trying to install MyriadPro on my MiKTeX 2.9 (32bit). Sadly, something, somewhere seems to have gone wrong. I allready installed MinionPro on my TeX Distribution and basically I proceeded the ...
6
votes
2answers
70 views

\hbox spread in plain TeX

I want to learn Plain TeX to understand the underlying mechanics of TeX and friends. I am trying to reproduce the spacing of this dedication from the Spanish music-theory treatise, El porque de la ...
0
votes
1answer
26 views

Footnotes in list get numbered incorrectly

I am using the friggeri-cv Latex package. I have used footnotes in the following way: \documentclass[]{friggeri-cv} \section{experience} \begin{entrylist} %-- ...
0
votes
0answers
31 views

Including files from google drive

Does someone knows how can I include a file from Google drive? Something like \input{http://adress_to_myfile_at_GDrive.tex} ?
1
vote
1answer
17 views

Manually set headmark in scrheadings

I am trying to get the proper header mark for my Preamble in my thesis. \documentclass[headsepline,12pt,a4paper]{scrreprt} \pagestyle{scrheadings} \ohead[\pagemark]{\pagemark} ...
6
votes
5answers
824 views

Sum of (example: 0+1+2+3 = 6 , 0+1+2+3+4+5+6+7 = 28 and so on)

Can anyone help please? I need to know how to make the sum of value S(n) = 0+1+2+3+4...+(n-1)+n (example: 0+1+2+3 = 6 , 0+1+2+3+4+5+6+7 = 28 and so on) on Latex
0
votes
1answer
40 views

Alignment across multiple equations

Right now, my document looks like this: Or, like this: It bothers me a lot that the equations are scattered all over the place and are not evenly aligned. I want, for example, each line be ...
2
votes
2answers
66 views

Mindmap won't progress correctly in my beamer presentation

I'm making a mindmap in my beamer presentation. The mindmap either disregards grow cyclic and everything goes to the right/east of the mindmap, or the siblings always align eastward, rather than ...
0
votes
0answers
72 views

What are the most horrible things you see in simple documents?

I once saw a poster similiar to my minimal example: The code is in the end of the post. What odd things confuse you most reading a non-latex document/ presentation? Where do I find the original ...
2
votes
1answer
30 views

Matrices off the page

My matrix goes off the page. Usually, when I work with simple equations, I use the code \begin{eqnarray}\end{eqnarray*} to align equations vertically by the equal sign. Do you know if I can do ...
1
vote
0answers
14 views

Setting LaTeX => PS => PDF in RStudio

I am using RStudio, with knitr, and want to use Lodewyckx's graphicalmodels.sty for graphs. It requires changing output profile to LaTeX to PS to PDF. Can this be done in RStudio still using knitr?
4
votes
2answers
35 views

Line breaks in \fbox

I sometimes have bits of text I want to emphasize. My idea is to change the margin with changepage's adjustwidth and then frame the text with \fbox. The problem is this prevents linebreaks. For now, ...
5
votes
1answer
45 views

Own command works not with all LaTeX distributions and LaTeX document classes

A new defined command (see below) works on my windows with MiKTeX 2.9 and on a Mac with MacTeX. On another windows (running in a Mac) with an absolute fresh installed MiKTeX and on the same Mac in Mac ...
0
votes
0answers
23 views

biber - warning about non-ascii characters

Biber gives me the following warning: WARN - The entry 'csorgo__sandor:10' has characters which cannot be encoded in 'ascii'. Recoding problematic characters into macros. Is this anything to worry ...
2
votes
1answer
30 views

Fully written word (not abbreviated) when word first occurs in every chapter

I use the glossaries package for acronyms with default settings. Now I need that abbreviated words are fully written when they first occurs in the next chapter and not only when they first occurs. But ...
2
votes
1answer
23 views

Koma-script and glossaries package

This has driven me crazy for some time now and I finally found out the origin of my problem. Now I would like to solve it. In my thesis document, I add acronyms using the glossaries package. This ...
0
votes
0answers
5 views

Two dates in an apa/natbib citation?

I am using natbib, csquotes, and the apa-style. Now, I have a reference to a book where I would like to give the original date as well as the date of the edition I use. I tried using 1710/2009 as ...

15 30 50 per page