Lyx CV modern \cventry not aligned - latex

I'm new using lyx and learning LaTex. I have to make myself a CV. You may found below the latex code taken lyx LaTex overview, the lyx window, and the pdf overview. Normally the dates are supposed to be aligned under the section title but instead it generates a dot and them my text not aligned as supposed. Looking at the lyx latex overview window we can see that it automaticaly follow my \cventry by {}{}{}{}{} and them my text.
You can see the overview clicking on the link below
Cv overview
Any idea ? :) thanks !
% Visionner le code LaTeX
%% LyX 2.3.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{moderncv}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{geometry}
\geometry{verbose,tmargin=1cm,bmargin=1cm,lmargin=1cm,rmargin=1cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\usepackage{float}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{xmpmulti}
\moderncvtheme[grey]{classic}
\firstname{Charp******}
\familyname{Paul}
\title{CV Académique}
\address{92 rue *******}{Saint Cloud 92210}
\mobile{+33 6 ** ** ** **}
\email{paul.charp_____#imt-atlantique.net}
\photo[120pt]{photoCV.jpg}
\makeatother
\usepackage{babel}
\begin{document}
\maketitle
\section{Formation}
\cventry{}{}{}{}{}{2029--2020}{IMT Atlantique }{Fusion des ex-Mines de Nantes et
de Télécom Bretagne}{}{}
\cventry{}{}{}{}{}{2018--2019}{CPGE MP option info à Hoche }{}{}
\section{Recherche et Bureau d'étude}
\cventry{}{}{}{}{}{test}{}{}
\section{Expériences professionnelles}
\end{document}

it works! just changed the arrangements of brackets, the output i get is similar to yours.
...
...
\section{Formation}
\cventry
{}{2019 -- 2020}
{}{}{IMT Atlantique}{Fusion des ex-Mines de Nantes et de Télécom Bretagne}
\cventry
{}{2018 -- 2019}
{}{}{CPGE MP}{option info à Hoche}
\section{Recherc}
\cventry
{}{2018 -- 2019}
{}{}{CPGE MP}{option info à Hoche}
definition of a cv-item: (cv-entry is a part of cv-item)
\cvitem[#1]{#2}{%
{\bfseries#3}%
\ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
\ifthenelse{\equal{#5}{}}{}{, #5}%
\ifthenelse{\equal{#6}{}}{}{, #6}%
.\strut%
\ifx&#7&%
\else{\newline{}\begin{minipage}[t]{\linewidth}\small#7\end{minipage}}
\fi}}
you can also use bulleted list(s) to look better; i mean it looks good to me
\section{Expériences professionnelles}
\cventry
{}{Exp 1}{}{}{}{}
\cvlistitem{lorem ipsum odor sit amet}
\cvlistitem{lorem ipsum odor sit amet}
\cventry
{}{Exp 2}{}{}{}{}
\cvlistitem{lorem ipsum odor sit amet}
\cvlistitem{lorem ipsum odor sit amet}
& here's the result...

Related

Umlauts in the bibliography file of LaTeX

I use Mendeley to manage my bibliography for my thesis. I add all the papers there and then I have it create a file bibtex to then use in the writing of the thesis.
One of the citation I need is Röthlisberger et al., 2000a, since I knew LaTeX would have freaked out if I dared to simply write the ö in the BibTeX file, I edited (using .tex editor on windows) the entry to be
#article{Roth2000,
author = {Regine R{\"{o}}thlisberger and Manuel A. Hutterli and Stefan Sommer and Eric W. Wolff and Robert Mulvaney},
doi = {10.1029/2000JD900264},
issn = {01480227},
issue = {D16},
journal = {Journal of Geophysical Research: Atmospheres},
month = {8},
title = {Factors controlling nitrate in ice cores: Evidence from the Dome C deep ice core},
volume = {105},
year = {2000},
}
Since I'm using natbib (\usepackage[round]{natbib}), the process of citing should be quite straightforward and in the text I used \citep{Roth2000} to call the citation where I needed and...
It doesn't work.
At all.
I tried all the combination to write the ö in that name, with multiple brackets, without brackets, only on the o, all of them. The result is always an error of
!Missing $ inserted.
<inserted text>
$
l.19 R.~R<?>
<?>thlisberger, U...
?
which makes, to me, no sense. I tried to look around and every guide I've found seems to suggest that... this is how you should write it. Am I missing something?
EDIT:
The file I'm trying to make work is as follows
\documentclass[b5paper,11pt,titlepage]{book}
\usepackage[english]{babel}
\usepackage[round]{natbib}
\bibliographystyle{abbrvnat}
\usepackage[T1]{fontenc}
\usepackage[applemac]{inputenc}
\title{Title}
\author{Raffaello Nardin}
\date {October 2021}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Introduction}
\thispagestyle{empty}
Lorem ipsum dolor sit amet \citep{Roth2000}
\bibliography{Ref}
\end{document}
With Ref being the name of the BibTeX file

Bibtex not showing in Latex Doc when inserted in main.tex

I'm trying to include the following in my latex doc (references.tex)
#INPROCEEDINGS{inception,
author={C. {Szegedy} and {Wei Liu} and {Yangqing Jia} and P. {Sermanet} and S. {Reed} and D. {Anguelov} and D. {Erhan} and V. {Vanhoucke} and A. {Rabinovich}},
booktitle={2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
title={Going deeper with convolutions},
year={2015},
volume={},
number={},
pages={1-9},
keywords={convolution;decision making;feature extraction;Hebbian learning;image classification;neural net architecture;resource allocation;convolutional neural network architecture;resource utilization;architectural decision;Hebbian principle;object classification;object detection;Computer architecture;Convolutional codes;Sparse matrices;Neural networks;Visualization;Object detection;Computer vision},
doi={10.1109/CVPR.2015.7298594},
ISSN={1063-6919},
month=Jun,
address={Boston, MA}
}
#InProceedings{vgg,
author = "Karen Simonyan and Andrew Zisserman",
title = "Very Deep Convolutional Networks for Large-Scale Image Recognition",
booktitle = "International Conference on Learning Representations",
year = "2015",
month = May,
address = {San Diego, CA}
}
#inproceedings{dean2012large,
title={Large scale distributed deep networks},
author={Dean, Jeffrey and Corrado, Greg and Monga, Rajat and Chen, Kai and Devin, Matthieu and Mao, Mark and Senior, Andrew and Tucker, Paul and Yang, Ke and Le, Quoc V},
booktitle={Advances in neural information processing systems},
pages={1223--1231},
month = dec,
year={2012},
address = {Lake Tahoe, NV}
}
However, when I include this in my latex doc, it doesn't show, any idea what is wrong here?
\documentclass[12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{biblatex}
\usepackage{acronym}
\addbibresource{references.bib}
\usepackage{titlesec}
\usepackage{lipsum}
\titleformat{\chapter}[display]
{\normalfont\bfseries}{}{0pt}{\Large}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry}
\usepackage{fancyhdr}
\graphicspath{{images/}}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO,LE]{Scaling A Neural Network Based Flower Counting Application}
\renewcommand{\headrulewidth}{0.4pt}
\begin{document}
\input{cover}
\pagenumbering{roman}
\chapter*{Permission To Use}
\addcontentsline{toc}{chapter}{Permissions To Use}
\input{sections/permissions}
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
\input{sections/abstract}
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
\input{sections/acknowledgements}
\newgeometry{top=0mm, bottom=25mm}
\tableofcontents
\addcontentsline{toc}{chapter}{Contents}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\newgeometry{top=25mm, bottom=25mm}
\addcontentsline{toc}{chapter}{List of Abbreviations}
\include{sections/abbreviations}
\chapter{Introduction}
\pagenumbering{arabic}
\input{sections/introduction}
\chapter{Section Two Title}
\input{sections/section/section-2}
\chapter{Section Three Title}
\input{sections/section/section-3}
\chapter{Section Four Title}
\input{sections/section/section-4}
\chapter{Section Five Title}
\input{sections/section/section-5}
\chapter{Conclusion}
\input{sections/conclusion}
\appendix
\chapter{Appendix Title}
\input{sections/appendix}
\printbibliography
\end{document}
Never ignore error messages. Have a look at the tiny red rectangle at the top right, this tells you where the problem is.
Multiple problems:
You must not use math commands like ^ in normal text mode
\acro{P$^2$IRC}{Plant Phenotyping and Imaging Research Center}
The command \ection is not defines, I assume you mean \section? (there are several occasions)
you must \cite{...} at least one entry from your .bib file

Changing citation language in latex

I am trying to include citations APA style in my latex document which is written in dutch. However, the citations appear as
author e.a. (year)
instead of
author et al. (year)
The first is probably some translation, but in dutch is is very common to still use et al. How do I change the citations in text to et al.?
\documentclass[dutch]{article}
\usepackage[utf8]{inputenc}
\usepackage[dutch]{babel}
\usepackage{csquotes}
\usepackage[style=apa, backend=bibtex]{biblatex}
\addbibresource{Refrences.bib}
\begin{document}
\begin{otherlanguage}{dutch}
Dit is een test. \cite{Schleigh2015}. \cite{Slater2015}
\bibliography{bibliography}
\printbibliography
\end{otherlanguage}
\end{document}
output:
Dit is een test. Schleigh e.a., 2015. Slater e.a., 2015
Also, i just discoverd that apperently this apa style does not print an "&" when more than three authors are present. Instead in prints the word "and", which is not apa.
Author1, Author2 AND Author3
which should be:
Author1, Author2 & Author3
Luckily you use the biblatex package, this makes it easy to adjust the string:
\documentclass[dutch]{article}
\usepackage[utf8]{inputenc}
\usepackage[dutch]{babel}
\usepackage{csquotes}
\usepackage[style=apa, backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\DefineBibliographyStrings{dutch}{
andothers = {et\addabbrvspace al\adddot},
andmore = {et\addabbrvspace al\adddot},
}
\begin{document}
Dit is een test. \cite{aksin}.
\printbibliography
\end{document}
Some other comments about your code:
apa styles requires the biber backend. With your attempt to use it with biblatex, you should have gotten an error messages telling you that. Please do not ignore error messages
your are mixing syntaxes from two different bibliography tools. \addbibresource{...} and \printbibliography are correct syntax for biblatex. \bibliography{bibliography} is not.
with \usepackage[dutch]{babel} you already changed the main language of your document to dutch, \begin{otherlanguage}{dutch}...\end{otherlanguage} is not necessary

How to write footnote citation in beamer in one line?

I am using beamer latex and I need to give reference in the footnote. My reference is about 2 lines. but when I write the following code it writes it in more lines!!!
\begin{frame}
\frametitle{R: Literature Review}
\setbeamerfont{footnote}{size=\tiny}
Huo et al. \footfullcite{Huo, et al. ``Computerized ...''}
\end{frame}
the output is like this:
Guo,
et al. ”Prediction of clinical phenotypes in invasive breast carcinomas from the integration of radiomics and genomics data.”
no. 4 (2015): 041007-041007..
Do you know how I can do it in just 2 lines?
Thanks and regards.
I think the problem might be, that latex has problems to hyphenate the title of the article. An easy workaround is to let latex do the work and use bibtex or biblatex.
\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
% only for this example, otherwise in .bib file
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
#article{Huo2002,
author = {Zhimin Huo and Maryellen L. Giger and Olufunmilayo I. Olopade and Dulcy E. Wolverton and Barbara L. Weber and Charles E. Metz and Weiming Zhong and Shelly A. Cummings},
title = {Computerized Analysis of Digitized Mammograms of BRCA1 and BRCA2 Gene Mutation Carriers},
journal = {Radiology},
volume = {225},
number = {2},
pages = {519-526},
year = {2002},
doi = {10.1148/radiol.2252010845},
note ={PMID: 12409590},
}
\end{filecontents}
\usepackage[style=verbose,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\begin{frame}
\frametitle{R: Literature Review}
\setbeamerfont{footnote}{size=\tiny}
Huo et al. \footfullcite{Huo2002}
\end{frame}
\end{document}
A little trick: do not use comma after 'Guo' (or 'Huo')!
\footfullcite{Huo et al. ``Computerized ...''}

latex caption language (2) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
Referring to this question (Change LaTeX caption language), I got the same problem and it does not get solved by the use of the correct language package.
Here is a MWE:
\documentclass[a4paper,twoside]{article}
\usepackage[a4paper,top=2cm,bottom=2cm,inner=6cm,outer=2cm]{geometry}
\geometry{twoside}
\usepackage{lmodern}%font
\usepackage[francais]{babel}%language corrector and punctuation rules
\usepackage[utf8]{inputenc}%encoding
\usepackage[T1]{fontenc}
\usepackage[font=small]{caption}%titres des figures
\usepackage{color}
\usepackage{array}
\usepackage{colortbl}
\usepackage[pdftex]{graphicx}
\begin{document}
\begin{table}[h!]
\caption{Calendrier approximatif du processus législatif.}
\begin{tabular}{>{\raggedleft}p{0.65\textwidth}
p{0.1\textwidth}
}
Analyse du problème, fixation des objectifs et définition des moyens d'action possibles & 1 an\\
\end{tabular}
\end{table}
\end{document}
What do I do wrong? Thank you!
The standard tag for a table defined in frenchb.ldf is the word “Table”.
If you want it to become “Tableau”, for instance, you have to tell babel to.
\documentclass[a4paper,twoside]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}%encoding
\usepackage[francais]{babel}%language corrector and punctuation rules
\usepackage[a4paper,top=2cm,bottom=2cm,inner=6cm,outer=2cm]{geometry}
\geometry{twoside}
\usepackage{lmodern}%font
\usepackage[font=small]{caption}%titres des figures
\usepackage{color}
\usepackage{array}
\usepackage{colortbl}
\usepackage{graphicx}
\addto\captionsfrench{\renewcommand\frenchtablename{{\FBfigtabshape Tableau}}}
\begin{document}
\begin{table}[h!]
\caption{Calendrier approximatif du processus législatif.}
\begin{tabular}{>{\raggedleft}p{0.65\textwidth}
p{0.1\textwidth}
}
Analyse du problème, fixation des objectifs et définition des moyens d'action possibles & 1 an\\
\end{tabular}
\end{table}
\end{document}
I have also changed the package loading order to a better one. Note that you don't need to pass the pdftex option to graphicx (unless you have a very old TeX distribution).

Resources