3
votes
2answers
59 views
How to align continued/spilled line to part of the sentence
Is there any way to align the spilled over line to a particular part within the sentence
I want to align the second line under MS Office....
\textbf{Software} --- MS Office Powerpoint, Software 1, ...
2
votes
0answers
34 views
Vertical spaces above and below longtabu
This is, in a way, a follow-up-question to New table-environment, spaces and enclosing { } in a new environment, which has already been answered conveniently by @egreg.
Please compile this MWE:
...
0
votes
0answers
12 views
How to view messages/log files in kile?
I am using text editor 'kile 2.1 beta 4' on the system 'ubuntu 10.04' . But in kile I can,t view the 'messages/log files' :
Here is an screenshot of my 'kile' is given below :
How can I view ...
1
vote
1answer
34 views
Package natbib: change in-text citation [Johnson 1990] to [Joh1990]
I'm using natbib and I'd like to change the in-text citation.
If author and year are Johnson 1990 the output should be [Joh1990], I want natbib to print the first three letters of the author and the ...
2
votes
0answers
17 views
Nested tabularx doesn't work with ltablex
This works:
\documentclass{article}
\usepackage[a5paper]{geometry}
\usepackage{array}
\usepackage{tabularx}
\setlength{\parindent}{0cm}
\begin{document}
\begin{tabularx}{\textwidth}{ |X|}
\hline
...
3
votes
1answer
42 views
Highlight referenced equation number
I have to give a talk, and I am using a LaTeX paper that I will write onto the blackboard. However, it is quite annoying to write all equation numbers on the blackboard, but I do want to have them all ...
9
votes
2answers
171 views
Japanese practise paper (Genkou Youshi)
I'm trying to figure out a way of creating a Japanese character practice sheet. The type that I'm looking to create looks a little like the Genkou Youshi that this question was looking to cover. ...
0
votes
1answer
35 views
What is the counter name for verbments?
I'm trying to use the verbments package with the cleveref package. I need to find the name of the counter which is usually used for \ref{listing_label} to be able to define the name cleveref uses for ...
3
votes
1answer
83 views
Boxplot in latex
I am new to Latex.
How can I draw a boxplot in latex. My data set is as below
index median box_top box_bottom whisker_top whisker_bottom
0 1 1.2 0.4 1.5 0.2
1 2 2.3 1.5 2.7 1
2 0.7 1.4 0.5 1.9 0.1
...
4
votes
1answer
27 views
Clash between alltt and semantic and minus sign
Why does this code...
\documentclass{article}
\usepackage{alltt}
\usepackage{semantic}
\begin{document}
\begin{alltt}
\(x-y\)
\end{alltt}
\end{document}
...give this error?
ERROR: TeX capacity ...
3
votes
2answers
49 views
Cross reference to align
What I want to do is to make a cross reference to program (P) and still be able to make cross references to each separate line in the alignment.
\begin{align}
(P)\quad \min ...
1
vote
1answer
63 views
How can I do automatic 'environment' of command in 'Texmaker'?
I have knowledge about 'Kile' more or less. Now I am using 'Texmaker'. But there is a problem in it. In Kile when we write \begin{env} it automatically write \end{env} from the following :
Settings ...
3
votes
0answers
94 views
How to mitigate “same number of coordinates” error?
I have a rather complicated pgfplots graph mixing const plot with ybar stacked and it doesn't like the data sets I am importing due to coordinate mismatch.
However the graphs are correct and exactly ...
2
votes
3answers
41 views
How can I get text and symbols to have the vertical alignment that I need?
I am trying to create a list of notations in which the symbols are on the left of the page but they have an alignment on the right while the meanings are on the right of the page but they have an ...
2
votes
2answers
45 views
illegal unit of measure in tex code created from dot2tex
I am using dot2tex to convert some code from graphviz into LaTeX (PSTricks) drawings. However, I get following error
! Illegal unit of measure (pt inserted).
<to be read again>
l.21 ...
1
vote
2answers
69 views
Problem in compression of multiple citations using abbrvunsrtnat.bst
I had a problem in modifying abbrvnat.bst to have unsorted abbreviated reference list using natbib. Many thanks to @Marco Daniel for his great answer. He perfectly solved my problem by creating ...
0
votes
0answers
25 views
How do I set itemize options in the theme (style) file
I have had a look at this thread here but that did not help me solve my problem. This post suggests defining another environment so that nothing breaks, but since I am using a style file, it is not ...
0
votes
0answers
21 views
Including a document into another one without redefining setting
For a publication, I have to include another publication. The second one is in English and uses IEEEtr style.
I could of course compile the second one into a pdf file and include the pdf into the ...
2
votes
1answer
30 views
tiny fonts for IEEEtran not working on biblography
I added \tiny before adding \bibliographystyle. But it is not changing the font size. Any suggestions for reducing the font size of the reference?
\tiny{
\bibliographystyle{IEEEtran}
...
2
votes
1answer
49 views
How to define the default vertical distance between nodes?
Use positioning can control the individual vertical position of nodes. But is there any way to control the default vertical spacing?
\documentclass{article}
\usepackage[utf8]{inputenc}
...
3
votes
2answers
99 views
biblatex: List of publications in the CV
I am writing my CV using the article class. How can I list my journal publications and conference presentations each in a separate section? I saved my publication in the .bib database.
2
votes
1answer
41 views
How can I \Aboxed a Matrix?
I am trying to use \Aboxed around a function containing a pmatrix, but anything other than a column vector seems to break \Aboxed. I think it has something to do with the &'s in the matrix, but I ...
4
votes
1answer
60 views
Implementing marginfigure
sorry for the absolutely beginner question here.
I've been looking at the tufte-latex class, specifically the tufte sample book. It makes use of marginfigures, which I believe are provided by the ...
4
votes
1answer
34 views
How to put two subfloats side-by-side, which use 100 % of the text width?
In draft-mode a black marker indicates that the reserved space is too low. This also appears in the following example, but it shouldn't. How can I put two subfloats exactly side-by-side?
...
4
votes
1answer
57 views
TikZ externalization with floatrow package
When using the TikZ externalization library within a \ffigbox from the floatrow package, the external image is created two times. The reason is, that the argument of \ffigbox gets parsed two times. ...
1
vote
0answers
70 views
Font Rendering Artefacts on OS X
Ever since I started using OS X, I have noticed strange rendering artefacts when viewing PDFs I create using pdfTeX, XeTeX, or LuaTeX using Preview.app. These artifacts are not always reproducible, ...
18
votes
2answers
398 views
MATLAB like command box
hello i am trying to set up style for script box.
so far i got
\begin{script*} >> help \end{script*}
working and displaying
i want final version to look some what similar to this picture
...
6
votes
1answer
29 views
Cross referencing: zref-xr does not detect .aux file of second document
So I am trying to crossreference labels across two documents: draft.tex and appendix.tex. When compiling I get the following error message:
./draft04.tex:16: Package zref-xr Warning: File ...
4
votes
1answer
37 views
LaTeX plus BibTeX but don't work in TeXworks
I have Googled a lot about how to make it work. This is what I have now:
I have IEEEtran.bst, mybibfile.bib and test.tex all located in the same folder.
This is test.tex:
\documentclass{article}
...
13
votes
1answer
92 views
Simple example of pgfmath
I'm trying a small educational example using pgfmath. I want to calculate the minimum of a list of numbers.
More accurately, I have a list of (number,string)-pairs, and I want the minimum of all the ...
0
votes
0answers
23 views
Cleveref reference table as section [duplicate]
I am using cleveref for my references, and I just noticed that a reference to a table is actually resolved by cleveref into “section”. Is that indended behaviour? Is there maybe something wrong with ...
3
votes
1answer
29 views
How to make the first page of index fancy
I have a file called index.tex that looks like this:
\begin{theindex}
\item apple, 39
\item banana, 23
... lots more of this stuff stretching over say 4 pages
\end{theindex}
I include it in a MWE ...
3
votes
1answer
57 views
Package conflict when using the combine document class
The following code demonstrates two types of errors, which I think are fundamentally the same. The code should format as is; now remove the % in front of \usepackage{semantic}. Reformatting fails to ...
1
vote
1answer
19 views
How to remove xdata entries using biber --tool_resolve --tool (after resolution)
Consider the file myrefs.bib containing the following biblatex entries:
@XDATA{pom,
EVENTDATE = {1999-12-31/2000-01-01},
EVENTTITLE = {Party},
VENUE = {Somewhere},
}
@PROCEEDINGS{pomp,
...
2
votes
1answer
63 views
language problem
I created this command:
\newcommand{\NewPart}[1]{\section*{\uppercase{#1}}}
and run it like this:
\NewPart{Personal details}{}
My problem is that instead of 'Personal details' I want to give a ...
2
votes
0answers
101 views
+50
Insert a character in the beginning of each line in a special verbatim environment
How can I insert a special character or a symbol in the beginning of each line in a verbatim environment? In particular, there is a constraint that applies to the verbatim environment: it must be of a ...
3
votes
1answer
61 views
Underlining fractions
I need to be able to underline equations involving fractions, which are aligned using the alignedat environment from amsmath. To be able to underline at all, I'm using the solution from this question ...
2
votes
0answers
33 views
Ensure float appears directly after `\afterpage` and `landscape`
I have a large (full page) landscape figure that I would like to appear on the page opposite to a large (full page) portrait figure. The landscape figure is generated like so:
\afterpage{
...
10
votes
3answers
195 views
Calculate prices
I want to calculate prices in a LaTex file. This means I want to add two numbers with exactly 2 decimal places and I want to multiply these values by an integer.
An other thing is the output format. ...
6
votes
1answer
71 views
How to remove the white space on the top of the following table?
How to remove the white space on the top of the following table?
\documentclass[preview,border=0pt,varwidth]{standalone}
\usepackage[table]{xcolor}
\usepackage{array}
\usepackage{longtable}
...
7
votes
2answers
47 views
\setbox containing maths interferes with surrounding math mode in XeTeX
I encountered what might be a bug in XeTeX (but I would be glad to be proven wrong) while chasing a strange interaction between bytefield, unicode-math, and mathtools.
In general, I do not expect a ...
9
votes
1answer
60 views
Scan argument for parentheses
I'd like to define a macro which expands to (#1) if #1 does not contain any parentheses, but expands to \big(#1\big) if it does.
I'd choose simplicity over generality: if a solution works in the most ...
0
votes
0answers
27 views
Identify a math script font [duplicate]
Today I saw an amsart article with the following script "I" in it:
But I can't identify which font it is. All math script fonts I know are \mathcal, \mathscr, and \mathfrak, but none of these ...
5
votes
0answers
56 views
Looking for an “easy to understand” description of the tfm file format
I try to understand TeX more deeply, and one part of it is the TFM (TeX font metric) file format. Is there an easy to understand yet complete description of it somewhere (perhaps free)?
I know I can ...
1
vote
0answers
68 views
Convert Indesign content to LaTeX?
Are there any tools for migrating the content of an Indesign document to LaTeX markup?
I guess some preprocessing, and a lot of postprocessing would be needed. I am only looking for the most basic ...
0
votes
0answers
29 views
How to surround portions of a tree with boxes
I need to group portions of a tree with boxes, and additionally label them, e.g. put "W1" on the side of the box, or in the top right corner of the box.
The result I want to achieve is somewhat ...
2
votes
0answers
26 views
Description environment doesn't like ] in item [duplicate]
Consider the following MWE
\documentclass{standalone}
\begin{document}
\begin{description}
\item[$[1]$] Some item
\end{description}
\end{document}
Notice especially the \item[$[1]$]. When I am ...
1
vote
1answer
22 views
Indentation and page colors with standalone
Question
I want to create a page whose size is cropped to the size of the content on the page. I also want to be able to have indented paragraphs and to set the color of text and background. Is there ...
2
votes
0answers
62 views
How do I embed an external image within tikzpicture?
I tried the following:
\begin{tikzpicture}[]
\pgftext{\includegraphics[width=150pt]{pic1.png}} at (0pt,0pt);
\pgftext{\includegraphics[width=150pt]{pic2.png}} at (100pt,0);
\end{tikzpicture}
...
0
votes
0answers
8 views
algorithm2e with boxruled gives overfull hbox
I am using the algorithm2e package with the boxruled option to format my pseudo-code. However, I am getting an overfull hbox, which I suspect is due to margin/box conflicts.
Does anyone have a fix ...







